Hi CnC Labs,
I have been reading these forums for weeks now and not found the answers to what I am looking for. I so need some help as I am close to pulling my hair out.
I have been working on a infantry map for a friend and he has asked me to "beef up" the infantry units in game. Everytime I edit something and put it into my map.ini the game crashes when I load the map.
Here's a few of the things he has asked me to do:
1. Give Colonel Burton Black Lotuses ability to capture buildings; I have tried a few different things here but fail everytime. When I edit the unit itself I get the button but not the ability to use it. When I edit the object the game crashes.
2. Give Jarmin Kell Black Lotuses ability to capture Buildings. Same problem different guy.
3. Give rangers, China Infantry and GLA rebels the ability to place timed demo charges. Again when I edit the unit from the commandset.ini I get the picture but not the ability. However, when I edit it from the americainfantry.ini into the map.ini folder, the game crashes when i load the map.
4. give tank hunters, rocket soldiers and stinger soldiers the ability to capture buildings. again, the same problem over and over and over.
I have no problem getting the picture of the ability in but have no idea how to get the unit to be able to use the abilities they are given. I cannot edit the game files because he wants to be able to play this map online with friends but it seems i cannot do this with the map.ini file.
I have learned sooo much from reading these forums over the last few weeks, one being that I could use map.ini's in this. before I always tried to do everything via scripting in WB. But I am at a loss as what to do her. Please help CnC please help me.
Thank you humbly in advance,
Az
P.S here is one of the many scripts i have tried and ultimately failed at. this script also crashes the game when you load the map:
CommandSet AmericaInfantryRangerCommandSet
1 = Command_AmericaRangerCaptureBuilding
2 = Command_AmericaRangerSwitchToMachineGun
4 = Command_AmericaRangerSwitchToFlagBangGrenades
5 = Command_GLAInfantryRebelBoobyTrapAttack
11 = Command_AttackMove
13 = Command_Guard
14 = Command_Stop
End
ExperienceValue = 20 20 40 60 ;Experience point value at each level
ExperienceRequired = 0 40 60 120 ;Experience points needed to gain each level
IsTrainable = Yes ;Can gain experience
CrushableLevel = 0 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
CommandSet = AmericaInfantryRangerCommandSet
CommandSet = GLAInfantryRebelCommandSet
End
Edited by user
15 years ago |
Reason: Not specified