PDA

View Full Version : Modding questions



Vacuity
08-04-2003, 16:24
So I am able to add new units and adjust existing units (with the help of the Gnome editor).
No problem with that, thoroughly enjoying making new units and suchlike but I have hit a couple of problems.

I can add new entries to the PROJECTILESTATS.TXT file easily enough and the game will load up no problem.
The problem comes with linking units to actually use the new projectiles. When I look at the entries in CRUSADERS_UNIT_PROD11.TXT the descriptions don't match exactly the name of the entry in PROJECTILESTATS.TXT.

For example in CRUSADERS_UNIT_PROD11.TXT the ordinary archers have the entry PROJECTILE_TYPE( SBOW ). Easy enough to understand that that means a shortbow, but in PROJECTILESTATS.TXT the shortbow is *not* referred to as SBOW anywhere, it is named shortbow only. It is the same for many of the other projectiles, XBOW for crossbow, MTLG for a mounted longbow (which actually has the stats of a shortbow http://www.totalwar.org/forum/non-cgi/emoticons/confused.gif ) and so on. It's easy enough for a human to make sense of, but it's not a systematic or logical method.

I notice that in the header text for the projectiles file it states One row of data per projectile type. They must be presented in the correct order. Does this mean that the avaliable types of projectiles are hardcoded into the game?

I have attempted to add an entry named compoundbow into the projectiles file and while that is easy enough (the game runs, no errors), the moment I try and link any unit from the CRUSADERS_UNIT_PROD11 file to the new entry the game won't load with the following error: Description label is unknown referring to whatever I try to put in the PROJECTILE_TYPE field in a line of CRUSADERS_UNIT_PROD11.

I know I can modify the ninjastar entry as no units currently use it but that only gives me one entry to play around with (and I will still need to figure out what the referring name used in CRUSADERS_UNIT_PROD11 will be for this entry).

In summary I wish to add multiple new entries to PROJECTILESTATS that can be referred to by units in CRUSADERS_UNIT_PROD11 and I am currently not managing it.

If someone has already solved this issue and I missed the post then I apologise, I did do a search, but nothing came up, just point me to the post and I'll shut up, read, learn and succeed http://www.totalwar.org/forum/non-cgi/emoticons/wink.gif

If this is unsolveable then could someone please tell me so I don't waste more time on this. http://www.totalwar.org/forum/non-cgi/emoticons/frown.gif

Thanks a lot in advance for any help

CBR
08-04-2003, 16:29
You can not add any new projectile weapons..they are unfortunately hardcoded.

The Ninjastar uses NINJ

CBR

Vacuity
08-04-2003, 17:00
Cheers for that CBR http://www.totalwar.org/forum/non-cgi/emoticons/pat.gif

I had another more detailed look through the Dungeon and discovered that about two-thirds of the way through a stickied post this stuff finally got discussed. I guess I just used the wrong keywords for my search... http://www.totalwar.org/forum/non-cgi/emoticons/frown.gif

Shame that you can't add new stuff though... http://www.totalwar.org/forum/non-cgi/emoticons/mecry.gif