Posted by: hellish73 - Monday, August 1, 2011 5:38:09 PM
I am making a mod where I have made an elite pathfinder that has his own elite barracks. I have created the pathfinder and barracks correctly and put the.ini files in the right place, the game starts normally. However, when I add the command to build an elite barracks to a dozer when I start the game it crashes just before the ea thingy and says you have encountered a serious error.
The bit it doesn't like is:
; Dozer Command Sets ----------------------------------------------------------
CommandSet AmericaDozerCommandSet
1 = Command_ConstructAmericaPowerPlant
2 = Command_ConstructAmericaStrategyCenter
3 = Command_ConstructAmericaBarracks
4 = Command_ConstructAmericaSupplyDropZone
5 = Command_ConstructAmericaSupplyCenter
6 = Command_ConstructAmericaParticleCannonUplink
7 = Command_ConstructAmericaPatriotBattery
8 = Command_ConstructAmericaCommandCenter
9 = Command_ConstructAmericaFireBase
[color=red]10 = Command_ConstructEliteAmericaBarracks[/color]
11 = Command_ConstructAmericaWarFactory
13 = Command_ConstructAmericaAirfield
14 = Command_DisarmMinesAtPosition
End
[i][b][size=9][color=red]WHY!!!!!!!!!!![/color][/size][/b][/i]
Posted by: glumurr - Monday, August 1, 2011 5:57:59 PM
if we are able to help you you need to give us more info:
do you have an command button for the barracks?
please post the code to see if there is any error over there.
have you tried runnin world builder to see what the problem is?
world builder often detects the problems.
another that I can think of that do you have multible command sets open?
meaning.. do you have two command set files open at the same time?
I once did that and it game me the error but after I closed it it got working again
Posted by: NOP - Monday, August 1, 2011 6:14:13 PM
probably command button not defined
Posted by: hellish73 - Monday, August 1, 2011 7:02:43 PM
Yer it was no command button. But I have another problem now. The Elite Pathfinder i have made doesnt have any commands! Look in the these files for more info...
[ATTACH]855[/Attach]
Posted by: glumurr - Monday, August 1, 2011 7:09:14 PM
that is because of this:
americainfantry.ini
[code]CommandSet = AmericaInfantryElitePathfinderCommandSet[/code]
commandset.ini
[code]AmericaInfantryElitePathFinderCommandSet[/code]
the names don't match?
[code]AmericaInfantryElitePath[f]inderCommandSet
AmericaInfantryElitePath[F]inderCommandSet[/code]
one of the names has an Big F and the other one a small f..
so you either let it have a small "f" or a big "f"
(edid* fixed it for you this time)
it should work now
and I fixed most of my spelling errors, it was 3AM when I wrote this so I was a bit tired [ATTACH]856[/Attach]