hellish73
  • hellish73
  • 56% (Neutral)
  • Private Topic Starter
14 years ago
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
10 = Command_ConstructEliteAmericaBarracks
11 = Command_ConstructAmericaWarFactory
13 = Command_ConstructAmericaAirfield
14 = Command_DisarmMinesAtPosition
End


WHY!!!!!!!!!!!
Sponsor
glumurr
14 years ago
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
hmm...
if I don't reply to a topic I don't know the answer - sorry
NOP
  • NOP
  • 100% (Exalted)
  • Major
14 years ago
probably command button not defined
hellish73
  • hellish73
  • 56% (Neutral)
  • Private Topic Starter
14 years ago
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...
  INI.rar (101kb) downloaded 39 time(s).
glumurr
14 years ago
that is because of this:

americainfantry.ini
CommandSet = AmericaInfantryElitePathfinderCommandSet
commandset.ini
AmericaInfantryElitePathFinderCommandSet
the names don't match?
AmericaInfantryElitePath[f]inderCommandSet
AmericaInfantryElitePath[F]inderCommandSet

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   INIfixed.zip (161kb) downloaded 53 time(s).
hmm...
if I don't reply to a topic I don't know the answer - sorry