View Full Version : Undoing a certain 1.1 change (don't scream at me...)
Visitor13
04-13-2008, 18:43
I would like to re-enable the campaign recruitment of historically dubious Goidilic (the Ordmalica, the Dubosaverlacica etc.) and Iberian units (the Dosidataskeli) because:
1. They're awesome;
2. They're awesome, so their creator must have spent a lot of time working on them, and it'd be a shame for that work to go to waste;
3. They're awesome, so the EB team left them in in custom battles, but I don't play custom battles anyway.
So how do I go about reintroducing them? I compared the unit entries in 1.0 and 1.1 export_descr_buildings.txt and removed whatever was added in 1.1, but I don't think it's enough. I did a test in my Lusotann campaign, setting up level 4 governments in Pallantia and Vellika, and building the highest level local barracks, but I didn't get any Dosidataskeli.
Please help.
(crawls back underneath the Tavern table for fear of Elmetiacos)
Tellos Athenaios
04-13-2008, 20:36
You know what? Have a bit of patience and I'll look up the code you'll need, with a short explanation of where to put it ~:).
EDIT: Patience means: give me couple of hours since I've got to finish something else first.
Visitor13
04-13-2008, 20:51
Sure, take your time, I'm actually going to bed now anyway :)
You should put the Arcani back in too.
Visitor13
04-13-2008, 21:36
You should put the Arcani back in too.
Only if I can get them to ride flaming pigs first.
Perhaps if you search the EDU for "not_here" or "not here" you may find out something.
Tellos Athenaios
04-13-2008, 22:00
Okay here goes. I'll only describe the steps for one unit as it's fairly straightforward. (The recruitment has not been removed; rather it has been disabled.)
How to re-enable disabled recruitment
Find the units you want to re-enable in export_descr_units.txt (All Goidilic units can be found under the EB Goidilic section, which is marked with that header as a comment)
Find the corresponding code in the export_descr_buildings.txt file. Example:
recruit "goidilic infantry uachtarach duboGaiscaocha" 0 requires factions { gauls, scythia, britons, spain, } and hidden_resource NW and hidden_resource B and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8 and hidden_resource not_here
recruit "goidilic infantry uachtarach duboGaiscaocha" 0 requires factions { gauls, scythia, britons, spain, } and hidden_resource NW and hidden_resource B and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8 and hidden_resource not_here
Remove the very last condition (and hidden_resource not_here). Example of the code after editing:
recruit "goidilic infantry uachtarach duboGaiscaocha" 0 requires factions { gauls, scythia, britons, spain, } and hidden_resource NW and hidden_resource B and hidden_resource y1 and hidden_resource n2 and hidden_resource n4 and hidden_resource n8
recruit "goidilic infantry uachtarach duboGaiscaocha" 0 requires factions { gauls, scythia, britons, spain, } and hidden_resource NW and hidden_resource B and hidden_resource n1 and hidden_resource y2 and hidden_resource n4 and hidden_resource n8
Metalstrm
04-13-2008, 22:26
What I'd like to do is put some machine-gun troopers in the game. Just to test them against a legion of Lorica Segmentata legionaries.
What I'd like to do is put some machine-gun troopers in the game. Just to test them against a legion of Lorica Segmentata legionaries.
I want to pit the Iron Brigade against Legio I Germanica.:2thumbsup:
Visitor13
04-14-2008, 09:54
Tellos, Bovi: this is exactly what I did prior to posting this thread, and it didn't work. But I guess I must have screwed something up along the way, I'll try again. Thanks.
Elmetiacos
04-14-2008, 10:55
Didn't someone say elsewhere that the trivial script thingy will overwrite any changes you make to the file?
Tellos Athenaios
04-14-2008, 15:23
Tellos, Bovi: this is exactly what I did prior to posting this thread, and it didn't work. But I guess I must have screwed something up along the way, I'll try again. Thanks.
Most likely you made a mistake in the layout. The parser which turns the EDB into whatever RTW needs to make it work is very picky about layout.
Tellos Athenaios
04-14-2008, 15:24
Didn't someone say elsewhere that the trivial script thingy will overwrite any changes you make to the file?
No, that's the EDU you are referring to.
Visitor13
04-14-2008, 16:27
Most likely you made a mistake in the layout. The parser which turns the EDB into whatever RTW needs to make it work is very picky about layout.
By 'layout' you mean the number of spaces between entries and that sort of thing, right? Yeah, I guess I could have messed up something there.
Tellos Athenaios
04-14-2008, 16:36
Yup.
I want to pit the Iron Brigade against Legio I Germanica.:2thumbsup:
you mean the iron brigade of the civil war? or is it later on?
you mean the iron brigade of the civil war? or is it later on?
Yes, of the Civil War.
2nd, 6th and 7th Wisconsin and the 19th Indiana. Later on the 24th Michigan joined. In 1864, when the first four units were at the end of their three years, all sorts of other regiments were added and any eliteness was lost.
Don't forget that the trivial script engine means that the EDU you need to modify is the back up one.
If you modify only the EDU in the /EB/Data folder it'll get overwritten when you run the game.
Olaf The Great
04-17-2008, 04:17
So was there a reason for getting rid of the Dosida type units?\
Edit:Woohoo I got both Disabled Dosida units and the Hammer Guys back :)
Any other hidden units? I'm on a manhunt now.
sparky1978
05-25-2008, 18:58
Followed the above v slowly made sure not messing up any spaces & still no luck... No idea what ive done wrong.
One thing is making me wonder though why do i need to find the unit in the unit_descr file then find the corresponding line in buildings file when im only editing the latter in which i can find the line using edit-find & goidilic as search word. Atleast thats my understanding as the only editing that is shown here is in the buildings file. Do i have to edit the unit file in any way also & if so how?
I dont suppose some1 could host an edited working version of the file?
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.