![]() |
|
|||||||
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Honorary Argentinian
Senior Member
Join Date: Aug 2006
Location: I live in my home, don't you?
Posts: 8,072
|
Modding Resource Header Title: The Basics of descr_strat.txt Posted by: Caius Modding area: Campaign Map Required programmes: Notepad (or other text editor) Summary: In-depth explanation of descr_strat.txt for starters. Introduction: We, at some point of our modding projects, can handle a lot of files without checking the Scriptorium. But, we were newbies when we started... There are a lot of people who want to unlock all the factions. That's a classic question in the Rome Colliseum. But I will go further, and I will explain more things than how to unlock all the factions. Here, you can find information that won't be found in other places. Now, if you still are reading, we will start! We are starting, now what do we need? We need 4 things: descr_strat.txt (the file in question) A copy of descr_strat.txt (the file) Notepad (or text editor you use) Patience (always welcome) I want to unlock all factions, what do I have to change? 1. Open the file descr_strat.txt, which can be found in data/world/maps/campaign/imperial_campaign. 2. Once opened, we can see the following text included in code tags: Code:
campaign imperial_campaign playable romans_julii romans_brutii romans_scipii britons end unlockable egypt seleucid carthage parthia gauls germans greek_cities end nonplayable romans_senate macedon pontus armenia dacia numidia scythia spain thrace slave end Code:
campaign imperial_campaign playable romans_julii romans_brutii romans_scipii egypt seleucid carthage parthia gauls germans greek_cities britons macedon pontus armenia dacia numidia scythia spain thrace end unlockable end nonplayable romans_senate slave end Changing the starting and ending age: We can change our starting and ending age in case we starting to mod a campaign with other timeframe. Code:
start_date -270 summer end_date 14 summer It can start (or finish) in winter, just changing summer to winter. There is one limit to the age, the end date cant be sooner than the start date, this will give you a CTD, which means Crash To Desktop. Like in this example, which has been created to show you a uncommon error that can make your game not start. Code:
start_date 40 summer end_date -77 summer Annoying rebels... They are popping out from the nothing to annoy me! Well, that can be changed. There are two lines who make this change: Code:
brigand_spawn_value 102 pirate_spawn_value 102 How does it work? Its like a rule: the lesser the number, the higher they will spawn. 0 (zero) is the lesser number for both spawn values, 1000 (one thousand) is the maximum number for both spawn values. Now, we are approaching the factions section (Yes, we ommited the resources, that's advanced modding, as if you add a resource where you cant, you will have more than a headache.) Let's start with a faction: Code:
faction romans_julii, comfortable caesar superfaction romans_senate denari 5000 Code:
faction romans_julii Code:
comfortable caesar Spoiler Alert, click show to read:
Code:
superfaction romans_senate Code:
denari 5000 Quote:
Lets modify a family member: Code:
character Flavius Julius, named character, leader, age 47, , x 89, y 82 traits GoodCommander 2 , NaturalMilitarySkill 1 , GoodDefender 1 , PoliticsSkill 3 , GoodAdministrator 2 , Austere 1 ancillaries aged_retainer army unit roman generals guard cavalry early exp 1 armour 0 weapon_lvl 0 unit roman hastati exp 1 armour 0 weapon_lvl 0 unit roman hastati exp 1 armour 0 weapon_lvl 0 unit roman triarii exp 1 armour 0 weapon_lvl 0 unit roman archer exp 1 armour 0 weapon_lvl 0 Code:
unit roman archer exp 1 armour 0 weapon_lvl 0 But, we can change three things there: Experience Armour Attack. Actual experience is level 1, values can go from 0 to 9 Actual Armour is level 0, values can go from 0 to 3 Actual Attack is level 0, values can go from 0 to 3 We can add troops to them, in this case, I will teach how to add a mercenary unit in Flavius Julius army. Code:
unit merc cretan archers exp 2 armour 0 weapon_lvl 0 Code:
character Flavius Julius, named character, leader, age 47, , x 89, y 82 traits GoodCommander 2 , NaturalMilitarySkill 1 , GoodDefender 1 , PoliticsSkill 3 , GoodAdministrator 2 , Austere 1 ancillaries aged_retainer army unit roman generals guard cavalry early exp 1 armour 0 weapon_lvl 0 unit roman hastati exp 1 armour 0 weapon_lvl 0 unit roman hastati exp 1 armour 0 weapon_lvl 0 unit roman triarii exp 1 armour 0 weapon_lvl 0 unit roman archer exp 1 armour 0 weapon_lvl 0 unit merc cretan archers exp 2 armour 0 weapon_lvl 0 I will complete it soon. And yes, its not complete yet.
__________________
Its outdated. Period. Last edited by Caius; 03-20-2008 at 04:34. Reason: Minor Changes |
|
|
|
|
|
|
#2 |
|
Deranged rock ape
Member
Join Date: Sep 2006
Location: Malaysia
Posts: 944
|
Nice. I found this comprehensive and easy to understand-- I haven't tried to tinker around with my descr_strat yet, but I will tomorrow.
One thing, though, I think that the earlier part, about unlocking factions, does not work. Only doing that leads to a CTD when you click on the previously unplayable factions (Spain, Numidia, Thrace, Pontus, Scythia, Armenia). I think (in v1.3 at least) you need to edit the campaign_descriptions.txt file in Data/text, add in descriptions for the newly playable factions before it works.
__________________
WARNING! This baseline signature should never appear on screen! |
|
|
|
|
|
#3 | |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
Nice guide Caius, thanks for that
if you can expand it further that would be great, I know the family tree bits tend to confuse some people.... Quote:
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
|
|
|
#4 | |
|
Honorary Argentinian
Senior Member
Join Date: Aug 2006
Location: I live in my home, don't you?
Posts: 8,072
|
Quote:
@Mak:I will be working on that now.
__________________
Its outdated. Period. Last edited by Caius; 01-13-2008 at 21:07. |
|
|
|
|
|
|
#5 |
|
The Scourge of Rome
Member
Join Date: Aug 2007
Location: THIS... IS... CALIFORNIA!!! *boot*
Posts: 1,301
|
I'm as novice a modder as they come at the moment,but this guide is by far the most understandable that I've read. Props,Caius.
|
|
|
|
|
|
#6 | |
|
Honorary Argentinian
Senior Member
Join Date: Aug 2006
Location: I live in my home, don't you?
Posts: 8,072
|
Quote:
![]() I have added some details, but it still needs the family part.
__________________
Its outdated. Period. |
|
|
|
|
|
|
#7 | |
|
The Mighty
Member
Join Date: Oct 2006
Location: Stuck between trees and a cornfield
Posts: 3,298
|
Quote:
BTW, I must check in on the ITW forum...I once more am able to mod the game! (new computer)
__________________
Yunito nyaei nyalayuci lei nyayizic liileyuni anidaliyudaito. Dalii yiza ii toyulii. Can you translate? The Political Stance of Motep |
|
|
|
|
|
|
#8 |
|
Junior Member
Junior Member
Join Date: Feb 2008
Posts: 1
|
Greetings, total newbie here.
Caius, thank you for this guide. It is very helpful so far. Two questions come to mind: 1-Can one change the name of a 'named character' just by altering it in descr_strat.txt? 2-Can one assign the portrait of a 'named character' in descr_strat.txt, or does that happen somewhere else? Thanks. |
|
|
|
|
|
#9 | |
|
Honorary Argentinian
Senior Member
Join Date: Aug 2006
Location: I live in my home, don't you?
Posts: 8,072
|
Welcome Aristeiders the Younger to the tw.org forums.
1- Of course you can. Lets take an example: Quote:
2-IT's not possible, you could try to change the portrait though.
__________________
Its outdated. Period. |
|
|
|
|
|
|
#10 |
|
Knight of Fable...
Member
Join Date: Mar 2008
Location: England
Posts: 458
|
Caius, i was just wondering, where do you put the copy of the descr_strat file, is it literally in the same directory as the original, or is it in a different folder???
Otherwise a good Guide, just cant figure out this bit
__________________
'It is not anger that drives me to destroy the Egyptian empire, but the promise of gold, a throne, and of all the ruling Pharaoh's concubines in a single night' -Me sacking the Egyptian cities... |
|
|
|
|
|
#11 |
|
Honorary Argentinian
Senior Member
Join Date: Aug 2006
Location: I live in my home, don't you?
Posts: 8,072
|
Rome will look for the file called "descr_strat.txt", if you have a copy called for example "descr_strat2.txt" or "copy of descr_strat.txt", the game wont look those files. They can be anywhere you want.
__________________
Its outdated. Period. |
|
|
|
|
|
#12 |
|
Majuk Pythons
Member
Join Date: Apr 2008
Location: North West England
Posts: 74
|
Thanks a bundle, i would just like to point out to a few fellow Vista Users, as i have said on many of the recent threads i have posted on, you will need to turn the UAC off to make this saveable on a Vista, as you will need administrator rights, which you will not have as a vista account doesnt.
|
|
|
|
|
|
#13 |
|
Member
Member
Join Date: Apr 2008
Location: Unknown....
Posts: 98
|
I just have a question about the portraits question asked earliers, i looked at your coded text before:
character Flavius Julius, named character, leader, age 47, , x 89, y 82 traits GoodCommander 2 , NaturalMilitarySkill 1 , GoodDefender 1 , PoliticsSkill 3 , GoodAdministrator 2 , Austere 1 ancillaries aged_retainer army unit roman generals guard cavalry early exp 1 armour 0 weapon_lvl 0 unit roman hastati exp 1 armour 0 weapon_lvl 0 unit roman hastati exp 1 armour 0 weapon_lvl 0 unit roman triarii exp 1 armour 0 weapon_lvl 0 unit roman archer exp 1 armour 0 weapon_lvl 0 Does the x 89 or y 82 not refur to which portrait it might choose??? Or am i a mile off??? |
|
|
|
|
|
#14 |
|
Member
Member
Join Date: Apr 2008
Location: Unknown....
Posts: 98
|
I got it wrong, never mind, it changes the position of your general, no his portrait
|
|
|
|
|
|
#15 |
|
Member
Member
Join Date: May 2008
Posts: 14
|
quick question: i did the non-playable to unlockable changes in the first post, but it crashes me back to the desktop when I select certain factions:
Scythia Spain Thrace Pontus Armenia Dacia Numidia I'm playing RTW, the Gold Edition, so I'm thinking that might have affected things. Completely vanilla btw. how do I fix this? |
|
|
|
|
|
#16 | |
|
Honorary Argentinian
Senior Member
Join Date: Aug 2006
Location: I live in my home, don't you?
Posts: 8,072
|
Quote:
Are you using the 1.3 version of Rome? If so, then that version disables all the non-playable factions, but that can be fixed.
__________________
Its outdated. Period. |
|
|
|
|
|
|
#17 | |
|
Member
Member
Join Date: May 2008
Posts: 14
|
Quote:
maybe, but it's odd, I can play as Macedonia and one or two of the other non-playables...help?
|
|
|
|
|
|
|
#18 | |
|
Member
Member
Join Date: May 2008
Posts: 14
|
Quote:
ok, can't find an edit button, so new post it is I realize there's probably a thread about this somewhere...could you direct me to where it could be found? thanks! because as someone who has read through some of the guides I'm chomping at the bit to play as the Armenians I love mobile units... |
|
|
|
|
|
|
#19 |
|
Honorary Argentinian
Senior Member
Join Date: Aug 2006
Location: I live in my home, don't you?
Posts: 8,072
|
This guide is about to be remodelled to make it better to understand and I am going to add more parts to ampliate it.
__________________
Its outdated. Period. |
|
|
|
|
|
#20 |
|
the Legatus
Member
Join Date: Oct 2009
Posts: 12
|
well done, well done
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|