Cablenexus wrote:I wonder of there is a fixed lists of tech ID's, terrain ID's and unit ID's avaialble as used by the game (or the rome ag file at least).
If not I have to make one myself what is no problem, only a lot of work if this list is already available.
Of course there is. Look at ancient_rome and find TechnologyMemento, TerrainPropertiesMemento, UnitModelMemento memento... everything is in the mod file - no hardcoded values in the code itself. If you mean if there is such a list, here you go
Terrain IDs
1 grassland
2 plain
3 desert
4 water
5 mountain
6 forest
7 hill
8 jungle
9 tundra
10 swamp
Technologies
1 Primitive
2 Religion - Temple
3 Sailing - Boat
4 Cultivation Field
5 Astrology - Monarchy
6 Exploration - Settler
7 Siege warfare - city raider
8 Transportation - Wagon
9 Fortification - city walls
10 horsemanship - basic cavalry
11 Defensive wall
12 Ethics - Aristocracy
13 Navigation - galley
14 Irrigation - farms
15 Forging - blacksmith
16 Paving - paved roads
17 Literacy - republic
18 Guarding - patrol tower
19 military elite - expert unit
20 warship - trireme
21 riding academy - expert cavalry
22 citizenship - democracy
23 Law - empire
24 guerilla troops - double attack
25 survival skills - withdrawal
26 weapon skills - extra attack force
27 Coinage - trading
28 standing army - basic unit
29 shipbuilding - shipyard
30 Riding school - stable
31 marching camp - stockade
32 city defense - homeland defender
33 philosophy - school
34 beacons - extra view range
35 drill arena - discipline
36 ranking system - advanced unit
37 construction - amphiteater
38 earthworks - palisade
39 elite corps - strength
40 military duty - indomitability
41 patronage - obedience
42 casting - Eco blacksmith
43 riding hall - expert cavalry
44 urbanization - eco city
45 warrior cult - petrifying
46 public order - civil service
47 field defense - extra fortified
48 sanitation - sewer
49 mountain unit - mountain movement
50 physicians - healer
51 close combat - sneak attack
52 scouting - commando
53 arts - academy
54 engineering - protected
55 honor code - tenacious
56 medicine - hospital
57 raiding - coastal landing
58 camouflage - ambush
59 marching - traveller
60 heroism - strength of defense
61 loaded march - extra movement
Unit models
1 City
4 Shipyard
6 Defensive Wall
7 Temple
8 Patrol Tower
9 Stable
10 Fort
11 Blacksmith
13 Nomad
15 Settler
16 Hoplite
17 Legionary
18 Warrior
19 Warriors
20 Axemen
21 Axemasters
22 Light Cavalry
23 Melee infantry
24 Swordsmen
25 Sacred Band
26 Peltasts
27 Hoplites
28 Phalanx
29 Spearmen
30 Pikemen
31 Immortals
32 Milites
33 Centurias
34 Legionaries
35 Warrior Cavalry
36 Axeman Cavalry
37 Axemaster Cavalry
38 Peltast Cavalry
39 Hoplite Cavalry
40 Hippeis Cavalry
41 Melee Cavalry
42 Swordsman Cavalry
43 Numidian Cavalry
44 Milites Cavalry
45 Centuria Cavalry
46 Legionary Cavalry
47 Spearman Cavalry
48 Lanced Cavalry
49 Cataphract
57 Boat
58 Galley
59 Trireme
63 Heavy Cavalry
66 Coal Mine
67 Gold Mine
68 Iron Mine
69 Stone Quarry
Some of the technology name might got changed a bit and also its revealed inventions... (we still tweak them)