Modify reinforcement number in maps

Started by tosostefanots, May 30, 2016, 05:17:06 AM

Previous topic - Next topic
idk.  I am also using windows 10 and I did not do anything other than what the video recorded.

Do you have some anti-virus program that may be blocking the server software? 

Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Also, please make sure your computer account that you are using is an Administrator account.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

I'm using windows defender, but I allowed both the game and the server applications; also I'm running both as an administrator :(

OK, let's move on to option 2.

download the mission builder
http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=319

open the file bes2a.lua in the scripts/bes folder

look for these lines
--  Attacker Stats
    SetUnitCount(ATT, 25)
    SetReinforcementCount(ATT, 200)
    AddBleedThreshold(ATT, 31, 0.0)
    AddBleedThreshold(ATT, 21, 0.75)
    AddBleedThreshold(ATT, 11, 2.25)
    AddBleedThreshold(ATT, 1, 3.0)

--  Defender Stats
    SetUnitCount(DEF, 25)
    SetReinforcementCount(DEF, 200)
    AddBleedThreshold(DEF, 31, 0.0)
    AddBleedThreshold(DEF, 21, 0.75)
    AddBleedThreshold(DEF, 11, 2.25)
    AddBleedThreshold(DEF, 1, 3.0)


change the values from 200 to 1000 (or another value) in the indicated lines
click on munge.bat
go into _LVL_PC folder and get the new mission file. 

Backup your original mission.lvl file.
Put this new mission.lvl file in its place.

Play SWBF as usual.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Trying it... In the meantime, is it possible to do the same with modded maps? If it's complicated don't mind my question, I've stolen you a lot of time already.

Thanks again a lot for your help, sir :)


Quote from: tosostefanots on May 30, 2016, 11:34:37 AM
Trying it... In the meantime, is it possible to do the same with modded maps? If it's complicated don't mind my question, I've stolen you a lot of time already.

Thanks again a lot for your help, sir :)
Yeah, if u get to work the battlefront server window u'll be able to edit the reinforcements each team has.


If not, I think u're able to do it by editing the mapinfo.txt the modmap folder has (besides, u can hexedit it or create a new mission.lvl for that modmap)
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

The problem with mod maps is that we don't have the LUA for them.

There is a way, but it is complicated.  You have to do some hex editing.

I made three related videos on this topic




These videos are related to a previous discussion in this thread
http://www.swbfgamers.com/index.php?topic=10345.0


Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Ok, I'll try to do that during the next week...
For now I'm ok :)

Thaks for your valid and fast support, I've nevere been so happy to join a community :D