-
Re: Unit and Building Editors: Caligula & Hadrian
Quote:
Originally Posted by Southern Hunter
I am at a loss of how to get changes to the names / descriptions of a unit to stick :P
Can you go through the button presses I need to make?
For example, I open up a description from my text directory and it calls a unit a 'warband'. I change that to 'red warband' for example. How do I save that and the enums file so it sticks?
Thanks,
Hunter
Are you just trying to rename the existing warband? If so, all you want to do is edit export_units.txt (this file contains all the unit names and descriptions as they appear in the game). You don't need to deal with the enums, as they already exist, so just open export_units.txt, select the unit you want to change (IIRC all the warbands use the same dictionary entry, so any of them will do) and edit away.
If you created a new unit that uses a new dictionary (or gave an existing unit a new dictionary entry), then you will need to edit both export_units.txt and the enums file.
This is alot easier then it looks (and a feature I have personally found a great time saver), just select the unit like normal, make sure the dictionary entry on the 'Unit Details' tab is set to what you want (eg. red_warband), then go to the '[Enums]' tab, open export_units.txt, and hit 'Generate Names'. This will automatically create the dictionary entries for you, edit them as you see fit, then save your export_units.txt ('Save Descr'). Thats the dictionary entries taken care of, now you just need to link it all together (thats the purpose of the enums file). Again, real easy, press 'Build Enums' and the enum file will be generated, automatically, from the export_units.txt file currently open!
Ok, that was the indepth guide, in summary....
Select unit
Open Descr (export_units.txt)
Generate Names
Edit dictionary/description entries
Save Descr
Build Enums
You don't need to put anything in the dictionary entries, but it will be hard to tell if it worked if you don't. For testing I normally just put the name in (first dictionary entry), takes me 10-15 seconds to do a unit. I love it when buttons do all the work for you ~;)
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Thanks. I will try that this weekend. Not enough time to mod :P
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
I can“t download them, the links on the first page gives me an 404 error, is there any other source where to get these very nice and handy tools?
-
Re: Unit and Building Editors: Caligula & Hadrian
Quote:
Originally Posted by GodsPetMonkey
If you created a new unit that uses a new dictionary (or gave an existing unit a new dictionary entry), then you will need to edit both export_units.txt and the enums file.
This is alot easier then it looks (and a feature I have personally found a great time saver), just select the unit like normal, make sure the dictionary entry on the 'Unit Details' tab is set to what you want (eg. red_warband), then go to the '[Enums]' tab, open export_units.txt, and hit 'Generate Names'. This will automatically create the dictionary entries for you, edit them as you see fit, then save your export_units.txt ('Save Descr'). Thats the dictionary entries taken care of, now you just need to link it all together (thats the purpose of the enums file). Again, real easy, press 'Build Enums' and the enum file will be generated, automatically, from the export_units.txt file currently open!
Ok, that was the indepth guide, in summary....
Select unit
Open Descr (export_units.txt)
Generate Names
Edit dictionary/description entries
Save Descr
Build Enums
You don't need to put anything in the dictionary entries, but it will be hard to tell if it worked if you don't. For testing I normally just put the name in (first dictionary entry), takes me 10-15 seconds to do a unit. I love it when buttons do all the work for you ~;)
I have created a new unit using the new unit button
How do you do this "Edit dictionary/description entries"? Tried many combinations but I just don't get it :P
Maybe I should figure out how to do this manually first?
Hunter
-
Re: Unit and Building Editors: Caligula & Hadrian
Quote:
Originally Posted by qvcatullus
First time trying to use Caligula and first time posting, so feel free to correct me if the question is dumb or in the wrong place.
I thought my idea was simple enough -- I was going to take the already existing unit, the Bastarnae, which can be built by Thrace, and edit them so that the Macedonians could hire them (I thought they needed at least one auxiliary sword unit, and I couldn't get them from the Merc pool). I changed the ownership id so that it says ownable by both Thrace and Macedon. That didn't work -- I still couldn't build them. So I edited the buildings file so that both Macedonian and Thracian barracks could build them, and that fixed that part of the problem. Now Macedon can build them.
Now the problem -- When I build them with Macedon, they use the portrait that I normally see on peasants. When I try to fight a battle with them, they are strange and ghosted out. I assume this must be a problem loading the models -- the model already used for them must be tagged for the Thracians because of the colors or something. I don't understand much about how the unit text file works -- the model information says something about Greek_Thracoan or some such. What options do I have here? Can I convince Macedon to load this thracian model, or something? Do I need to create a new unit, and call them Macedonian Bastarnae, and give them a Macedonian model? I don't see how to change the model in Caligula. It gives me a pull-down menu when I click on it, but the only choice in the menu is the one already selected.
Any help I could get would be great.
I have used extensivelly these tools to switch units around amongst factions as well as modify them.
In order to make all of the unit cards (portraits) properly work you will need to do some unpacking of files and place the right units under the right faction folder.
The "Ghosted" issue, well, I have not noticed any ghosting of models, but after a certain distance from your unit these do change to Spirtes from 3D models...however, the tools do not make this link when you take a unit and give it to another faction, so they simply vanish at certain distances and reapear as 3D models when you come closer.
Had Asked GPM if something could be done to have the toold make the Text Changes for the spites automatically, but I do not know if that has been done, I am downloading the latest version now.
So for now follow this please:
Quote:
Hmm, I have been thinking about the disappearing axemen. I had a similar problem when I first tried to give the gauls axemen. The troops would disappear at long ranges. All I can say is check the descr_model_battle file, and make sure this line appears under the "warband_axe" section (I incorrectly called this the "warband axe german" section in my second post) -
model_sprite gauls, 60.0, data/sprites/germans_warband_axe_sprite.spr
This just tells the game to use the german axemen sprites for the gauls. This is needed because the game stops using 3d models at long ranges and switches to sprites (cheesy, but fast, 2d images)(I forgot to add the second sprite line when I first edited the axemen).
Now, lets talk about the unit cards and unit info screen. First thing we have to do is unpack some of the image files that the game uses. The game has a few compressed files which it uncompresses when the game starts up. So, what you have to do is download the Xpak program, which is discussed in this link -
https://forums.totalwar.org/vb/showthread.php?t=37626 . After you follow the directions in the program, it will unpack the files and create a few new folders. The xpak program unpacks the files and creates the new folders within the /Data/packs folder, but you are going to leave most of the newly unpacked files and only copy the one or two that you need (this will seem a little clearer once you unpack the files).
After you unpack the files, you need to create a couple more folders. These new folders are needed because of the way the game organizes the factions image files. Create a new folder in the "Rome - Totalwar/Data/" folder, called "UI". Then, within the "UI" folder, create a folder called "UNIT_INFO". Now under the "UNIT_INFO" folder, create another folder called "Gauls". Next, you will have to make another folder in the "UI" folder, called "UNITS". Finally, make a new folder in the "UNITS" folder called "Gauls". To recap on the folders we have just created, they should look something like this - "Rome - Totalwar/Data/UI/UNIT_INFO/Gauls" and "Rome - Totalwar/Data/UI/UNITS/Gauls". The next step is to copy some of the unpacked images into these folders.
Now, look in the unpacked folder named "DATA/UI/UNIT_INFO/Germans/" (remember, this is not the normal "data" folder, but the newly unpacked one), technically the location is this - "Data/packs/DATA/UI/UNIT_INFO/Germans/". Find the file called "WARBAND_AXE_GERMAN_INFO.tga" and copy it to the folder you just created called "/Data/UI/UNIT_INFO/Gauls/". Now go into the unpacked folder called "/DATA/UI/UNITS/Germans/" (the technical location is "/Data/packs/DATA/UI/UNITS/Germans") and find the file called "#WARBAND_AXE_GERMAN.tga" and copy to the folder you just created called "Data/UI/UNITS/Gauls/".
That is all you have to do to get the unit cards and info screen to display the axemen picture. Who knows, there might be an easier way, hehe. I hope that helps, if you have any problems, post a reply. Good luck.
-
Re: Unit and Building Editors: Caligula & Hadrian
Hello, are you planning to update the editors with BI features?
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
It's being worked on right now actually...
There doesn't seem to be that much to change (just a bunch of new attributes for the units, I have not looked at buildings yet) so it should not be to long before it's ready to go.
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Hello GPM,
A small question,
Is it possible to have some units available to non-Roma Factions, after the Roman Marian Event?
How would I do that with Caligula?
Thanks
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Quote:
Originally Posted by Suraknar
Hello GPM,
A small question,
Is it possible to have some units available to non-Roma Factions, after the Roman Marian Event?
How would I do that with Caligula?
Thanks
Yes it is, but it won't change the trigger for the marian_events (something to keep in mind).
However, such a condition is actually set in the buildings file (as illogical as it may seem) so you need to use Hadrian to do it rather then Caligula. To do it goto to the Capabilities tab in Hadrian (having selected the complex and building), select the unit in question, then enter "and marian_reforms" in the "Other Requirements" field (make sure not to delete anything else already in there). That should do it.
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Oki...
Time to correct myself :P
For those of you that use Caligula to give one factions units to another...and you notice that at certain distances these units dissapear during a battle..
This is because of the Sprites...
Caligula offers already the possibility to fix this.
So lets say you take the Levy Pikemen and you want to also make it buildable by Greek_Cities as well as Macedon and the Seleucid.
a- After doing so and saving etc, you will also need to click on the "Open Model Data" button that opens "descr_model_battle.txt"
b- click on the [Model Data] tab
c- Select "Greek_levy_pikeman" from the drop down
d- at the lower most box area you will see two lines for the path to the sprites, one ofr macedon and one for seleucid.
Code:
seleucid, 60.0, data/sprites/seleucid_greek_levy_pikeman_sprite.spr
macedon, 60.0, data/sprites/macedon_greek_levy_pikeman_sprite.spr
e- Select the macedon line, and in the emediate edit field bellow, replace the "macedon" by "greek_cities" (or the faction you giving this unit to. And press the "ADD" button. Now the Box should look like this:
Code:
seleucid, 60.0, data/sprites/seleucid_greek_levy_pikeman_sprite.spr
macedon, 60.0, data/sprites/macedon_greek_levy_pikeman_sprite.spr
greek_cities, 60.0, data/sprites/macedon_greek_levy_pikeman_sprite.spr
F- Save your changes, and your done.
And thus, your units will no longer dissapear in battle when you move your camera far away from them.
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Thanks for that guide Suraknar! I am sure a few people will find it very useful.
Now onto some more good news, a new version of Caligula, now with BI support (so you can stop emailing and PMing... please!). This takes up to v0.6.0
Quote:
Originally Posted by Caligula Readme
Revision History -
0.6.0 - Added BI support. BI only options are marked [BI]. These may cause non-BI games to crash if enabled!
Several minor bug fixes
Many minor interface changes
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
i just bought bi and started to tweak some of my settings (number of soldiers, # of arrows in western archer, armor and shield strength, etc.) using caligula (hadrian doesn't seem to cause ctd), but everytime the game starts, it crashes to the desktop. what am i doing wrong?
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Quote:
Originally Posted by kyee7k
i just bought bi and started to tweak some of my settings (number of soldiers, # of arrows in western archer, armor and shield strength, etc.) using caligula (hadrian doesn't seem to cause ctd), but everytime the game starts, it crashes to the desktop. what am i doing wrong?
The old limits still apply (like a max of 60 soldiers in a unit), so you may want to double check your values.
If you can't see the problem, send me the unit file (email is in the readme) and I'll have a look for you, I may have missed something.
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Quote:
Originally Posted by GodsPetMonkey
The old limits still apply (like a max of 60 soldiers in a unit), so you may want to double check your values.
If you can't see the problem, send me the unit file (email is in the readme) and I'll have a look for you, I may have missed something.
what exactly can i edit for the troops, if not increase the number?
is it possible to change the multiplier?~;)
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Quote:
Originally Posted by kyee7k
what exactly can i edit for the troops, if not increase the number?
is it possible to change the multiplier?~;)
You can change them to 60, just no higher.
The multiplier is set by the 'Unit Size' in game (under the video options). Sadly there is not much else you can do about the number of men on the battlefield.
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Quote:
Originally Posted by GodsPetMonkey
You can change them to 60, just no higher.
The multiplier is set by the 'Unit Size' in game (under the video options). Sadly there is not much else you can do about the number of men on the battlefield.
thanks for the assistance.
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Hi there! before i post some questions, id like to comment that the tools u haf created looks great!
BUT!!!!!!
im having some difficulties. Im a newbie! pls bare with me!!
I seem to be unable to do any editing with the game using Handrian. It seems whenever I add units to a building or create new complexes, i start the game and it immedietly goes back to desktop.
For example, I created a complex of my own and did all the steps as stated in the guides. I saved the DESC under export_buildings.txt file, then build the EMUS over the export_desc_buildings_emus.txt file and finally saved everything under the export_desc_buildings.txt file (of course, i backed all of them up). I started the game to test and immedietly crashed back to the desktop after the first screen.
Another thing I tried was to add other units to a building. For example, Under Gov. House, I added roman archers and roman velites and saved it properly. The game starts out normally, and I was able to see that my gov. house was able to produce these 2 units in turn one so I added them to be recruited. When i go into round 2, the game crashes back to desktop!!
Ive tried these many times over and over again making sure the steps, spelling and all were precise but it just seem that I cannot make use of Handrian properly. My caligula works perfectly fine however. Im using the latest versions for both. please help thanks!
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Quote:
Another thing I tried was to add other units to a building. For example, Under Gov. House, I added roman archers and roman velites and saved it properly. The game starts out normally, and I was able to see that my gov. house was able to produce these 2 units in turn one so I added them to be recruited. When i go into round 2, the game crashes back to desktop!!
Hello,
Did you remove the velites and archers from the Archery Buildings? It maybe the cause of the crash.
Also you can start the game using the -show_err switch to have a chance to get a hint what went wrong.
Finally make sure not to use post marian units or at least remove the Conditional if you intend using these units prior to the marian event.
Hope this helps
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Where can I download Hadrian? The link doesn't work, it comes up with a message 404 file not found. Could anyone give me a new link to download Hadrian please?
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Hi!
I have downloaded Caligula, and executed the program.
But, after I finished to load my Unit file (button Open Unit Data), the program dont load any data from the file. Only apears that I have 0/300 units.
Anybody have that problem ?
Thanks ...
Ps.: Sorry my English ...
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Okay, I went through all the right steps, I didn't alter any enums or batches, and here is what I got:
type spartan royal guard
dictionary greek_hoplite_spartan ; Royal Guard
category infantry
class spearmen
voice_type Medium_1
soldier greek_hoplite_spartan_pylos, 81, 0, 1.3
attributes sea_faring,hide_anywhere,frighten_foot,frighten_mounted,can_sap,very_hardy
formation 1, 1, 2, 2, 5,square,phalanx
stat_health 10, 0
stat_pri 20,10, no, 0, 0, melee, simple, piercing, spear, 25, 10
stat_pri_attr ap,bp,spear,long_pike,spear_bonus_12
stat_sec 20,10, no, 0, 0, melee, simple, piercing, sword, 25, 7
stat_sec_attr ap,bp
stat_pri_armour 20, 10, 10, metal
stat_sec_armour 20, 10, flesh
stat_heat 0
stat_ground 2, 0, 0, 0
stat_mental 100,disciplined,highly_trained
stat_charge_dist 60
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1, 1, 130, 190, 1220
ownership greek_cities
This is just an experiment, but the game crashes when I get to the red Activision screen. I saved it to export_descr_unit.txt. As far as I know, I did nothing wrong.
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Some big numbers in there! Have you exceeded any maximums? There should not be a space in "frighten_mo unted".
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
may be...
stat_mental 100,disciplined,highly_trained
tay :
stat_mental 99,disciplined,highly_trained
add teh -show_err at your short cut destine :
C:\Programs\Activision\Rome - Total War\RomeTW.exe -show_err
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
I'm new to this sweet tools, and I have a question about Hardrian...... How to I batch edit the buildings? It takes a very long time to edit the stats of the building one-by-one........... Is batch editing avalible for Hardrain? Any help would be appreciated......
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Hi, when in Hadrian I use Cascade option I get a following message:
Runtime error '9'
Subscript out of range.
And a CTD
Any ideas?
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
when I try downloading hadrian I get redirected to www.atomicgames.com
any idea why that happens???
Do these editors work with rome total war gold?
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Hi, can i run hadrian and caligula tools on Rome Total Realism?:help:
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
The mod you're running has nothing to do with any of the tools found here. You can use any tool with any mod, as long as you know where the mod keeps the files you're trying to edit.
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
I cannot get Caligula to open the EB EDU. No problem with the ones from RTW/BI/RTRPE...
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
After i edit some building (roman temple) i change happy bonus of all temples. Then i save this and game crash to desktop every time when start the game.
What is wrong ?:help:
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
I'd say this isnt compatible with v1.5 (just guessing, judged by the last edit-data)
anyway as changing the happiness bonus of temples is just changing a number it basicly (more or less) confirms my guess ....
G
-
Re: Tools: Unit and Building Editors: Caligula & Hadrian
Hey, I like your tool Monkey, great programming skills, but I'm having a problem with Caligula's batch option right now. No matter what I try to change en masse, the process button just won't do anything. I open the appropriate .txt file, I go to batch, fill in the fields (I gotta say I don't get the search part of it all that well), and try to change the build time of all units to zero, but nothing happens. I go back to the different units to see if it says their construction time is 0, but it's still default. I set it to Infantry and I tried Construction Time > = > 0 and Construction Time > * > 0, but nothing. I was leaving the Search field blank at first, but wasn't sure if it was needed, so I filled it in with all the different searches possible, still nothing though. I read through most of these posts and there was someone who had a problem with the process button, but I don't think his problem is the same as mine. Any help would be appreciated, and oh my GOD if this ends up being a simple problem, I apologize for wasting your time.
-
Re: Unit and Building Editors for RTW
What is up with the 2nd VB6 thingy? it is just a bunch of symbols.
-
Re: Unit and Building Editors for RTW
Don't know if this is the right place, but if you are having errors with Caligula and Hadrian that are a 'comdlg32.ocx' missing kind of error then here is how to fix them
first dl comdlg32.ocx from here
http://windowsxp.mvps.org/comdlg32.htm
then for Xp/ Vista 32bit follow instructions on the link
for windows 7 64bit (x86) (also possibly Vista 64bit)
if you are using 64bit, try putting ocx in following folder
C:\Windows\SysWOW64\ (if different windows folder/drive then change it)
and run following command in elevated command prompt(admin) (start, all programs, accessories, right click on Command prompt, click run as administrator)
Type the following and click enter:
regsvr32 C:\Windows\SysWOW64\Comdlg32.ocx
you should then get a confirmation message
-
Re: Unit and Building Editors for RTW
hi all.
I am trying to DL caligula and Hadrian, but they seem to be not available anymore...
is it true? so, what to do? where to find? hopeless?
thx belliger
-
Re: Unit and Building Editors for RTW
correction: i don't knwo how, but i DL caligula.
no way to find Hadrian!!!!!!!!!!!!! :(
-
Re: Unit and Building Editors for RTW
all,
after i add new unit from caligula, the game crashed after starting.
why ?
-
Re: Unit and Building Editors for RTW
you can find it in twcenter
-
Re: Unit and Building Editors for RTW
The suggestion by aesadile (ty :D) to use cmd prompt to add comdlg32.ocx worked for me (using windows 7) but as the Caligula readme says MSCOMCTL.ocx and msvbvm60.dll are also necessary so I added those with the same cmd prompt method and Caligula ran successfully.
-
Re: Unit and Building Editors for RTW
Quote:
Originally Posted by
trian
you can find it in twcenter
You can find Hadrian at the total war centre
-
Re: Unit and Building Editors for RTW
Quote:
Originally Posted by
Winners
You can find Hadrian at the total war centre
I am new so it wont let me post the link until I have over 3 replys
-
Re: Unit and Building Editors for RTW
-
Re: Unit and Building Editors for RTW
Quote:
Originally Posted by
belliger
correction: i don't knwo how, but i DL caligula.
no way to find Hadrian!!!!!!!!!!!!! :(
You can find it here.
http://www.twcenter.net/forums/downl...do=file&id=245