Hi where , in what files is written where is the connection between a type of unit and a family general ? I mean how the game decides that a particular model is going to be a family general unit?
Hi where , in what files is written where is the connection between a type of unit and a family general ? I mean how the game decides that a particular model is going to be a family general unit?
Creator of Ran no Jidai mod
Creator of Res Gestae
Original Creator of severall add ons on RTW from grass to textures and Roman Legions
Oblivion Modder- DUNE creator
Fallout 3 Modder
Best modder , skinner , modeler awards winner.
VIS ET HONOR
As far as i know only in the "export_descr_unit.txt" file in the main data directory.
There are two attributes that define if a unit can be used for a named character's bodyguard :
"general_unit" for pre marian generals and
"general_unit" + "general_unit_upgrade" for post marian generals
Marian reforms work as a trigger for all factions.
Example:
type roman generals guard cavalry
dictionary roman_generals_guard_cavalry ; Roman Armoured General
category cavalry
class heavy
voice_type General_1
soldier roman_praetorian_cavalry, 12, 0, 1
mount generals horse
mount_effect elephant -8, camel -4
attributes sea_faring, general_unit, hide_forest, hardy, general_unit_upgrade
....
Check also descr_character :
; type indicates a new character type
;
; must be followed by id name string (phrase)
;
; faction indicates one or more factions which use the following
; strat_model descriptions, valid entries are these:
;
; romans julii, romans brutii, romans scipii, macedon,
; egypt, seleucid, carthage, parthia, pontus, gauls,
; germans, britons, armenia, dacia, greek_cities, numidia,
; scythia, spain, thrace, slave
;
; if a given faction is not present in a given character
; type listing, that faction cannot use characters of that
; type - so not all factions have access to all character
; professions
;
; dictionary specifies dictionary entry for character type name
;
; note that there is one dictionary entry per type per
; faction set, allowing different names for the same
; character type - ie a diplomat barabarian could be a
; 'chieftain', while a roman might be a 'legatus'
;
; strat_model model to represent the character on the strategy map
;
; battle_model model to represent the character on the battle map (optional)
; battle_equip equipment character has on the battle field must be followed by a weapon type,
; (not missile weapon type) and armour type
I was thinking of the buildings text where it elencates the units build in case of the royal house but didnt looked there , the problem is that i saw some having different name like for east general that is generic for all eastern cultures , then how can i give to a factyion a non eastern genearal that is completely different from all the others?
Creator of Ran no Jidai mod
Creator of Res Gestae
Original Creator of severall add ons on RTW from grass to textures and Roman Legions
Oblivion Modder- DUNE creator
Fallout 3 Modder
Best modder , skinner , modeler awards winner.
VIS ET HONOR
Changing the ownership of a generals unit in the "export_descr_unit.txt" file do what you want.
Remove the common "eastern" attribute in the ownership line of the generic eastern general unit and place the names of the factions that should keep this unit there instead.
Than create a new generals unit for your faction and give it only to this faction.
the faction names are hardcoded right ? so If I make a Mauryan faction with armenia I should still name it General_Armenia?
Creator of Ran no Jidai mod
Creator of Res Gestae
Original Creator of severall add ons on RTW from grass to textures and Roman Legions
Oblivion Modder- DUNE creator
Fallout 3 Modder
Best modder , skinner , modeler awards winner.
VIS ET HONOR
At least this will work.
I made an armenian cataphract archer general as basic family characters unit and it worked in the campaign game.
In the "descr_character.txt" file the generals model itself is changed. i tried to give pontus a roman generals model and it also worked.
type east armenian generals
dictionary east_armenian_generals ; TEST arm General
category cavalry
class heavy
voice_type Heavy_1
soldier east_cataphract_archer, 27, 0, 1
mount horse cataphract
mount_effect elephant -8, camel -4
attributes sea_faring, general_unit, hide_forest
.....
ownership armenia
Bookmarks