[normal Generals] A Whole New Faction ...
#1 Guest_DeathAngel_*
Posted 16 June 2004 - 10:02 PM
1 completely new faction (adressed in the GameData.INI)
fully selectable and playable, everything works just dandy.
now:
Copied all scripts from the America Faction, saved them to the correct folder, renamed every relevant USA to my new faction name, Made a complete AI for it.
I did change the building names because they have different build options. In the FactionBuilding I copied some buildings and gave them new commandsets.
Now, the AI wont even move, so I remembered te AIData.ini
I edited it before to have the GLA build an airfield and planes, that worked fine also.
But now when I try to set uo a new faction with a new buildlist in there it crashes the game :(
can anybody help me out here ?
#2 Guest_DeathAngel_*
Posted 16 June 2004 - 10:06 PM
I re-read the tutorial and now I get it ....
kinda mis-read it the first time.
well, back to worldbuilder ....
#3 Guest_DeathAngel_*
Posted 16 June 2004 - 10:21 PM
made a buildlist with 4 of the first buildings to be constructed, put it in the default/AIdata.ini (yes, the last END tag was good)
game crashed right before I got the loading screen.
went back to WB, made a buildlist with only the command cetner and the barracks, re-exported and everything: crash.
tried putting the AIData.INI in the regular ini dir, also had no effect ....
any help on that part ?
#4
Posted 17 June 2004 - 08:39 PM
#5 Guest_Guest_*
Posted 18 June 2004 - 05:49 AM
and this is all I got from the crashlog:
Reason Uncaught Exception during initialization.
:(
#6 Guest_DeathAngel_*
Posted 18 June 2004 - 05:50 AM
#7
Posted 18 June 2004 - 08:54 PM
#8 Guest_DeathAngel_*
Posted 19 June 2004 - 06:33 AM
SkirmishBuildList NovaCat
Structure NovaCommandCenter
Location = X:795.75 Y:815.13
Rebuilds = 0
Angle = -126.48
InitiallyBuilt = No
AutomaticallyBuild = No
END ;Structure NovaCommandCenter
Structure NovaBarracks
Location = X:914.72 Y:741.94
Rebuilds = 0
Angle = -126.64
InitiallyBuilt = No
AutomaticallyBuild = No
END ;Structure NovaBarracks
END ;SkirmishBuildList FactionNovaCat
#9
Posted 19 June 2004 - 12:16 PM
#10 Guest_DeathAngel_*
Posted 19 June 2004 - 03:54 PM
btw I'm still talking about the AIData.ini in the Default folder ... dont know if that makes any difference ?
#11
Posted 20 June 2004 - 08:55 AM
Hmm wait a minute, is there a last END after the two END's of your build list ? The AIData.ini needs a last END..
#12 Guest_DeathAngel_*
Posted 20 June 2004 - 09:25 AM
anyway, it doesnt crash now, but the first try I gave it, it didnt build it yet though ....
going to try it with a complete buildlist and see if it will work then.
Existing multiplayer maps dont need a makeover to suit the new factions right ?
they all work on the skirmishscripts and multiplayerscripts.scb ? (that last one for victory conditions)
#13 Guest_DeathAngel_*
Posted 20 June 2004 - 10:00 AM
far as I can tell everything is ok, but the construction units just stand there and do nothing :(
build list is complete, scripts are all there .... edited multiplayerscripts with the victory conditions (at least that works) but I cant see why its not building :(
#14
Posted 22 June 2004 - 07:45 PM
First of all, yes, if you have added new factions to the playertemplate.ini you must edit every map's player list (Edit>Player List) to include the new faction(s).
If that didn't work for some reason start it with the script debugger and see which scripts are being executed.
If that fails delete the _tmpChunk.dat in your My Documents\Command and Conquer Generals (Zero Hour?) Data\ folder, look at the stickied topic here in the forum for further details.
#15 Guest_DeathAngel_*
Posted 24 June 2004 - 05:59 AM
The Day before yesterday I got an idea so yesterday morning I opened up an existing map to see. Then I added the 3 new factions manually and now they work
2 small pointer for your tutorial might be:
adding the buildings to the AIData.ini everything should be put ABOVE the LAST END tag. so its actually "in" the AI module.
2nd (also my bad reading, but nevertheless) when ADDING a faction (not replacing one) you have to edit all the maps to make it work
thanks for the help guys
#16
Posted 24 June 2004 - 08:10 AM
The last one though is present there in the second last paragraph..
I've changed that sentence a bit now. I've also colored that new faction part in orange.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users