View Full Version : Adding units
SilentDeathja
05-18-2004, 17:25
Hey all, first time i have gave modding a go.... I have been using the unit modding guide. However i have messed up at some point and there is no unit appearing in custom game or campaign. Any one know what i have messed up? :P(I have added what faction and what building with the gnome editor.)
Thx in advanced & soz about the lack of grammer i'm dyslexic :P
Schrodinger's Cat
05-18-2004, 19:32
Welcome to the Org, SilentDeathja. http://www.totalwar.org/forum/non-cgi/emoticons/wave.gif
Checklist of files to change:
crusaders_unit_prod11
Battle/UnitIcons - Add pic
campmap/Info_Pics/Units - Add Pic
campmap/review_panel/Units - Add Pic
Loc/Eng/Descriptions - Add description
Loc/Eng/names - Add single and plural forms of name
Textures/Men/deadpage coords - add corpse
Textures/Men/{name of bif file defined in unitprod}- weapon and shield files
Textures/Men/Items - Folder in each of the weapons and shields the unit uses
Textures/Men/ActionsPage - File defining actions
I can't think of any others. Double-check you've done all of those. Not all of them would stop the unit running, though.
The only other thing I can think of is that the unit might be limited to an era, and you might be looking in the wrong one. If you can't find the problem, it might help if you could post back what unit you pasted over to use as a template (if any), and whether you get any error messages when you start the game.
Maybe Gregoshi could send this over to the Alchemist's Lab to get the (as good as) pro's on the case. http://www.totalwar.org/forum/non-cgi/emoticons/bigthumb.gif
Schrodie's Cat
Maybe you have exceeded the limit for units (255/256). You could also have done something wrong with the requirements.
Oh, and hi http://www.totalwar.org/forum/non-cgi/emoticons/wave.gif
SilentDeathja
05-18-2004, 20:15
Hm i'm pretty sure i have done most of it right have looked thru it all anyways how would i go about allowing the irish the abilty of building celtic warriors what files would i have to change? have also tryed and failed at this rofl :P
cutepuppy
05-18-2004, 20:20
Maybe a stupid question, but did you use the correct files? If you want to give the Irish a new unit, you have to use the viking production file, not the crusader unit production.
SilentDeathja
05-18-2004, 20:32
yeah all i done was put FN_01 in the faction association list for cletic warriors but they don't seem to appear in custom battles lol i know i must be doing somthing stupidly easy wrong :/
Gregoshi
05-19-2004, 04:51
http://www.totalwar.org/forum/non-cgi/emoticons/wave.gif Welcome to the Org SilentDeathja.
I'm going to move this to the Dungeon -> Alchemist lab forum. The experts there will give you a hand.
cutepuppy
05-19-2004, 22:10
Quote[/b] (SilentDeathja @ May 18 2004,21:32)]yeah all i done was put FN_01 in the faction association list for cletic warriors but they don't seem to appear in custom battles lol i know i must be doing somthing stupidly easy wrong :/
Ahh, maybe that explains it. There are different entries for the camapaign and custom battles. If you want a unit in camapaign, you have to add the appropriate faction somewhere near the end of the first line (each unit has two lines in the unit description file), if you want that unit in custom battle, you have to add the right faction somewhere near the end of the second line. MAybe you put FN_01 in the wrong place???
Myrddraal
05-20-2004, 12:30
cutepuppy is probably right.
The faction associations for custom battles are in the last column in Gnome editor. U may not have seen this at first because there are several lines.
If u open up unit prod with Gnome, find Celtic Warriors (Row 153 I think) and scroll to the end, the last column should look like this:
...|.........................|....
| YES |
...|.........................|....
If u click next to the Yes, the box will enlarge to show the faction associations, it should now look like:
...|.........................|....
| YES |
...| "FN*08, FN*04" |....
*=underscore
This is where u edit faction associations for non campaign.
(The YES means that this unit can be a mercenary, if u change this to NO, the unit will no longer be 'hireable' as a merc)
Happy modding http://www.totalwar.org/forum/non-cgi/emoticons/gc-2thumbsup.gif
Exactly like Myrddraal said, but to add to his message;
Make sure you don't delete any tabs There's a tab between the part YES and the Period Codename (ALL_PERIODS for example) and between the Period Codename and the Faction Codename (FN_01 in this case).
If you copy paste the following in column 71 for Celtic Warriors, I think it should work:
Code Voorbeeld YES ALL_PERIODS FN_01[/QUOTE]
Also; remember to always check the last column (71 with Gnome Editor) for any spaces behind the last entry when adding a new unit. You should delete those excessive (sp?) spaces. It could sometimes be the cause of the game not starting up.
It could look like this (select it to see what I mean);
Example wrong:
Code Voorbeeld YES ALL_PERIODS FN_BYZANTINE [/QUOTE]
Example right:
Code Voorbeeld YES ALL_PERIODS FN_BYZANTINE[/QUOTE]
See all those unnecessary spaces behind FN_BYZANTINE?
Myrddraal
05-20-2004, 16:24
[DnC] in the Viking unit prod, there is no 'ALL_PERIODS', just the YES and faction associations.
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.