Since december 2012 Battlestations: Midway is supported by GameSpy no longer. The only one possibility for Midway players is GameRanger. Please visit www.gameranger.com, download Gameranger client and make new account. You can find other Midway players in the Gameranger rooms. BS:M patch 1.1.1 is required to play online battles. Iowa Mission Pack and Midway Modders Mappacks 1 and 2 are recommended.

BSM Modding Q&A

BSM Modding Q&A

I may have a few questions about modding BSM in the future, So instead of spamming up the forum with several threads.. I figured it would be best to have one topic for any questions that come up, and to everyone else new to BSM modding.. feel free to ask your questions here as well.

First question: Where is the display pic for a mission stored?  ex: Raid on Truk has the pic of Truk Atoll, and jap ships in the distance.

Damned Machine
Guest
useravatar
Offline
Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

Damned Machine wrote:

First question: Where is the display pic for a mission stored?  ex: Raid on Truk has the pic of Truk Atoll, and jap ships in the distance.

/gui/textures/frontend

You can recognise mission by number and by name. Just take a look for names of Targa files in this folder, forget about fe_missionfoto

mm*.tga means multiplayer mission

am*.tga means single player campaign mission

NOTE: replace * with numbers.

admin
Activity Points: 5
useravatar
Offline
0 Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

I see, I completely over looked the Abbreviations for that... thanks!

I altered might of Yamato, so instead of running the AI ships come straight for you ( I moved the navpoint..etc ) and I gave them some heavier ships to protect the CV's. 

It's just a shame that you cant have all of a missions images in it's mpak instead of GVMainMenu.

Damned Machine
Guest
useravatar
Offline
Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

With some reasons its more easy way to us for replacing/adding these files, so personally i like that solution ab

admin
Activity Points: 5
useravatar
Offline
0 Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

Is there a limit to how many maps you can make

SuperE
Ensign
Activity Points: 16
ranks
useravatar
Offline
56 Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

If there is a limit, it possibly could be changed via exe edit or maybe even dll injection... you might consider asking someone over at  DCoder's coding realm

Damned Machine
Guest
useravatar
Offline
Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

Is this the correct names to use for template and type?  I keep getting errors.. and yes the models, textures, sounds, bullets. are all where they need to be.

  entity "B-25 Bomber" (PlaneSquadronGen) {
  localframe 0.7813 0.0000 -0.6242 0.0000 0.0000 1.0000 0.0000 0.0000 0.6242 0.0000 0.7813 0.0000 -7104.0684 1200.0000 1606.5737 1.0000 ;
  template "USA\AIR\B-25 Mitchell" ;

  properties (Common, GameUnit, PlaneSquadronWNavpoint, Command)  {
    "Command" {
      CommandTarget = R "" ;
    }
    HomeBase = R "" ;
    Race = E Races : USA  ;
    Type = E PlaneClasses : B-25 Mitchell  ;
    Velocity = F 300.0000 ;
    WingCount = E PlaneWingCount :" 4" ;
  }
}

NEVERMIND problem resolved, I missed a few other tags as well so it should be like this:

entity "B-25 Mitchell" (PlaneSquadronGen) {
  localframe -0.8988 0.0000 -0.4384 0.0000 0.0000 1.0000 0.0000 0.0000 0.4384 0.0000 -0.8988 0.0000 -8384.7656 1000.0000 8437.4990 1.0000 ;
  template "USA\AIR\B-25 Mitchell" ;

  properties (Common, GameUnit, PlaneSquadronWNavpoint, Command)  {
    "Command" {
      CommandTarget = R "" ;
    }
    Equipment = E  EquipmentIndex : 1  ;
    HomeBase = R "" ;
    Race = E  Races : USA  ;
    SubType = E  UnitCategories : Levelbomber  ;
    Type = E  PlaneClasses : Mitchell  ;
    Velocity = F 400.0000 ;
    WingCount = E  PlaneWingCount :" 3" ;
  }
}

Damned Machine
Guest
useravatar
Offline
Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

Damned Machine, a lot of us here use Skype and is on it quite often, if you have any questions use that instead one of us is usually on to answer your questions

Support me on Twitter!

http://twitter.com/Tipsymahn260

Tipsy3000
American Idiota! ;D
Commodore
Activity Points: 943
ranks
useravatar
Offline
1029 Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

Alright I have skype, guess I have a use for it now...

Damned Machine
Guest
useravatar
Offline
Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

Hello everyone,

    I have been learning how to mod maps for just about 2 months now. I can't say I fully understand it but I have made some progress.  I currently have a few maps in the works. Palawan Passage is closest to being done. I'm sure many things can and should be changed for many reasons such as units,position of units and historical accuracy if it matters to you or maybe it's just not a good map to work with.
So I could really use some input from you guys and some help with assigning key units in the .lua file. I can make all files available if you like.

I started with the .lua from mm2 but instead of the Japanese and the Dreadnought being the key unit with the mission target point. I wanted to reverse it so the Allied had the target point but how do I add more than 2 units for the Allies.  Thankyou for any help.

-- objective watching   
    if Mission.AlliedUnit[1].Dead and Mission.AlliedUnit[2].Dead  then
    -- japanese wins
        if not TrulyDead(Mission.AlliedUnit[1]) then
            luaMissionCompletedNew(Mission.AlliedUnit[1], "", nil, nil, nil, PARTY_JAPANESE)
        else
            luaMissionCompletedNew(Mission.AlliedUnit[2], "", nil, nil, nil, PARTY_JAPANESE)
        end
        luaObj_Completed("primary", 1)
        luaObj_Completed("primary", 3)
        luaObj_Failed("primary", 2)
        luaObj_Failed("primary", 4)
        Mission.MissionEnd = true   
    elseif not Mission.AlliedUnit[1].Dead and luaGetDistance(Mission.AlliedUnit[1], Mission.TargetPoint) < 500 then
        -- allied wins
        luaMissionCompletedNew(Mission.AlliedUnit[1], "", nil, nil, nil, PARTY_ALLIED)
        luaObj_Completed("primary", 2)
        luaObj_Completed("primary", 4)
        luaObj_Failed("primary", 1)
        luaObj_Failed("primary", 3)
        Mission.MissionEnd = true   
    elseif not Mission.AlliedUnit[2].Dead and luaGetDistance(Mission.AlliedUnit[2], Mission.TargetPoint) < 500 then
    -- allied wins
        luaMissionCompletedNew(Mission.AlliedUnit[2], "", nil, nil, nil, PARTY_ALLIED)
        luaObj_Completed("primary", 2)
        luaObj_Completed("primary", 4)
        luaObj_Failed("primary", 1)
        luaObj_Failed("primary", 3)
        Mission.MissionEnd = true
    elseif table.getn(luaRemoveDeadsFromTable(Mission.JapaneseHeavyUnit)) == 0 then                            
    -- allied wins
        luaMissionCompletedNew(Mission.JapaneseHeavyUnit[1], "", nil, nil, nil, PARTY_ALLIED)
        luaObj_Completed("primary", 2)
        luaObj_Completed("primary", 4)
        luaObj_Failed("primary", 1)
        luaObj_Failed("primary", 3)
        Mission.MissionEnd = true
    else
        Mission.JapaneseHeavyUnit = luaRemoveDeadsFromTable(Mission.JapaneseHeavyUnit)
                                 
    end
end


Asus M2N Sli Deluxe - AMD Phenom II 940 @ 3.2Ghz - OCZ 120GB SSD - 4GB Kingston Hyper-X - EVGA GTX260 - Creative XFI

HyTech
Warrant Officer
Activity Points: 27
ranks
useravatar
Offline
29 Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

Hmm... i think it's time to take you from open forum to our hidden forum.

The main idea for that is we are not sure it's good to publish open code on open forum. You know - 9 guys will use that for modding, one for cheating, and that's the reason we are scared a little ae

I'll ask core team about that.

admin
Activity Points: 5
useravatar
Offline
0 Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

OK : How many US key units do you need ?

More on hidden forum.

Velcor
Moderator
Activity Points: 128
ranks
useravatar
Offline
643 Posts
User info in posts
Administrator has disabled public posting

Re: BSM Modding Q&A

I wanted 4 Allied key units in total.  Is it as easy as this.

if Mission.AlliedUnit[1].Dead and Mission.AlliedUnit[2].Dead and Mission.AlliedUnit[3].Dead and Mission.AlliedUnit[4].Dead then

then something like this. Sorry about posting code move or remove if you need to.


elseif not Mission.AlliedUnit[1].Dead and luaGetDistance(Mission.AlliedUnit[1], Mission.TargetPoint) < 500 then
        -- allied wins
        luaMissionCompletedNew(Mission.AlliedUnit[1], "", nil, nil, nil, PARTY_ALLIED)
        luaObj_Completed("primary", 2)
        luaObj_Completed("primary", 4)
        luaObj_Failed("primary", 1)
        luaObj_Failed("primary", 3)
        Mission.MissionEnd = true   
    elseif not Mission.AlliedUnit[2].Dead and luaGetDistance(Mission.AlliedUnit[2], Mission.TargetPoint) < 500 then
    -- allied wins
        luaMissionCompletedNew(Mission.AlliedUnit[2], "", nil, nil, nil, PARTY_ALLIED)
        luaObj_Completed("primary", 2)
        luaObj_Completed("primary", 4)
        luaObj_Failed("primary", 1)
        luaObj_Failed("primary", 3)
        Mission.MissionEnd = true
elseif not Mission.AlliedUnit[3].Dead and luaGetDistance(Mission.AlliedUnit[3], Mission.TargetPoint) < 500 then
        -- allied wins
        luaMissionCompletedNew(Mission.AlliedUnit[3], "", nil, nil, nil, PARTY_ALLIED)
        luaObj_Completed("primary", 2)
        luaObj_Completed("primary", 4)
        luaObj_Failed("primary", 1)
        luaObj_Failed("primary", 3)
        Mission.MissionEnd = true   
    elseif not Mission.AlliedUnit[4].Dead and luaGetDistance(Mission.AlliedUnit[4], Mission.TargetPoint) < 500 then
    -- allied wins
        luaMissionCompletedNew(Mission.AlliedUnit[4], "", nil, nil, nil, PARTY_ALLIED)
        luaObj_Completed("primary", 2)
        luaObj_Completed("primary", 4)
        luaObj_Failed("primary", 1)
        luaObj_Failed("primary", 3)
        Mission.MissionEnd = true


Asus M2N Sli Deluxe - AMD Phenom II 940 @ 3.2Ghz - OCZ 120GB SSD - 4GB Kingston Hyper-X - EVGA GTX260 - Creative XFI

HyTech
Warrant Officer
Activity Points: 27
ranks
useravatar
Offline
29 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1690
Total Polls:
69
Total Posts:
23055
Dormant:
User Info:
 
Total Users:
20280
Newest User:
kristianheine2045149
Members Online:
0
Guests Online:
431

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked

Login Form

Battlestations Shoutbox

Latest Message: 2 weeks, 3 days ago
  • Axis_Crusher : Bismarck Mission Pack incoming!
  • jon_man0499 : Happy belated New year to all
  • Axis_Crusher : HAPPY NEW YEAR!!!
  • YamatoFavor : Would be great if the models are from Wows
  • alantay11 : Is there a way to fill up the empty ship slots when using SurgeonSasha's Yamato? Or is it my game not showing the models?
  • Axis_Crusher : Thanks, but we already implemented both ships in the Advanced Warfare Pack a few months ago...
  • SurgeonSasha : Северная каролина («link» ямато 1945 («link»
  • Legendary Da : Hi everyone, I have one (or two) quick question about BS:M modding. I try to figure out sp mapmaking, and my first act on it was to convert a MP map to SP. However I can only play as Allies in those maps. What parameter do I have to change to play those maps as Japanese in the respective map .mpak (And where is the parameter I have to change?)?
  • N_Trainz : G'day mates, I just wanted to let those who use Windows 10 and also for those who are having troubles getting the game launching because of Games for Windows LIVE, I made a tutorial of how to get it working successfully again like on Windows 8.1. Its on my channel and here's the link to the video. «link»
  • Mokeo67 : The dictator, I downloaded the mmod2txm and I added four slots to the fletcher and a couple to the lexington.Thanks for the help though.
  • The Dictator : Makeo67 i've explained how to find the unused slots in the topic and the mmod2txm it's a program that has been shared. However there aren't so many ships with unused platforms and sme of them are in wrong positions and for move them you need to know how to change the mmod file. But if you know how to do it you can make new platfors as you want. I've shared the south dakota disposition and this one is the most intersting in my opinion
  • N_Trainz : Well it looks like we have spammers again
  • Mokeo67 : No problem Thanks for the help
  • Axis_Crusher : Not really
  • Mokeo67 : Ok thanks anyway. Do you know who does?
  • Axis_Crusher : Unfortunately I don't deal with that part of modding
  • Mokeo67 : Sorry forgot the link. «link»
  • Mokeo67 : This is the forum topic I meant. The dictator said he found the unused slots in the TXM file obtainable with the mmod2txm, what is this and is it available to use.
  • Axis_Crusher : This is your best bet: «link»
  • Mokeo67 : Also I saw on the forum that ships have unused platform slots. How do I use these?

Only registered users are allowed to post

Now Online

None

Birthdays

N_Trainz Send PM
birthday was Saturday, 21 January 2017

tromp74 Send PM
birthday will Thursday, 26 January 2017

warszawa Send PM
birthday will Friday, 27 January 2017

Ghostface Send PM
birthday will Saturday, 28 January 2017

Captain saken Send PM
birthday will Sunday, 29 January 2017