Actions

Attribute File: Difference between revisions

From Populous Wiki

No edit summary
No edit summary
Line 6: Line 6:
Any offsets stated on here are in decimal and not in hex unless otherwise specified.
Any offsets stated on here are in decimal and not in hex unless otherwise specified.


-------------------------------------------


Computer Player Name: Offset 49 | 31 bytes long
Computer Player Name: Offset 49 | 31 bytes long
-------------------------------------------


offset 81: some spells: (each value is on its own and not added up, tested separately from the rest)
offset 81: some spells: (each value is on its own and not added up, tested separately from the rest)
Line 34: Line 37:
convert changes it to 02
convert changes it to 02
shield changes it to 08
shield changes it to 08
-------------------------------------------
offset 85: buildings: (each value is on its own and not added up, tested separately from the rest)
offset 85: buildings: (each value is on its own and not added up, tested separately from the rest)


Line 47: Line 53:
boat changes it to 20
boat changes it to 20
balloon changes it to 80
balloon changes it to 80
-------------------------------------------


attributes: 1 byte each | max val. FF/255 |
attributes: 1 byte each | max val. FF/255 |

Revision as of 21:25, 25 August 2006

Computer Script's Attribute File


File size : 144 bytes

Any offsets stated on here are in decimal and not in hex unless otherwise specified.


Computer Player Name: Offset 49 | 31 bytes long


offset 81: some spells: (each value is on its own and not added up, tested separately from the rest)

blast changes it to 04 lighting changes it to 08 tornado changes it to 10 swarm changes it to 20 invisibility changes it to 40 hypnotism changes it to 80

offset 82: some spells: (each value is on its own and not added up, tested separately from the rest)

firestorm changes it to 01 ghost army changes it to 02 erode changes it to 04 swamp changes it to 08 landbridge changes it to 10 aod changes it to 20 earthquake changes it to 40 flatten changes it to 80

offset 83: some spells: (each value is on its own and not added up, tested separately from the rest)

volcano changes it to 01 convert changes it to 02 shield changes it to 08


offset 85: buildings: (each value is on its own and not added up, tested separately from the rest)

hut changes it to 02 tower changes it to 10 temple changes it to 20 spy hut changes it to 40 warrior changes it to 80

offset 86: buildings: (each value is on its own and not added up, tested separately from the rest)

fw changes it to 01 boat changes it to 20 balloon changes it to 80


attributes: 1 byte each | max val. FF/255 |

format: |attribute|offset|

int_attr_expansion 1

int_attr_pref_spy_trains 2

int_attr_pref_religious_trains 3

int_attr_warrior_trains 4

int_attr_firewarrior_trains 5

int_attr_pref_spy_people 6

int_attr_pref_religious_people 7

int_attr_pref_warrior_people 8

int_attr_pref_firewarrior_people 9

int_attr_max_buildings_on_go 10

int_attr_house_percentage 11

int_attr_away_brave 12

int_attr_away_warrior 13

int_attr_away_religious 14

int_attr_defense_rad_incr 15

int_attr_max_defensive_actions 16

int_attr_away_spy 17

int_attr_away_firewarrior 18

int_attr_attack_percentage 19

int_attr_away_shaman 20

int_attr_people_per_boat 21

int_attr_people_per_balloon 22

int_attr_dont_use_boats 23

int_attr_max_spy_attacks 24

int_attr_enemy_spy_max_stand 25

int_attr_max_attacks 26

int_attr_empty_at_waypoint 27

int_attr_spy_check_frequency 28

int_attr_retreat_value 29

int_attr_base_under_attack_retreat 30

int_attr_random_build_side 31

int_attr_use_preacher_for_defence 32

int_attr_shamen_blast 33

int_attr_max_train_at_once 34

int_attr_group_option 35

int_attr_pref_boat_huts 36

int_attr_pref_balloon_huts 37

int_attr_pref_boat_drivers 38

int_attr_pref_balloon_drivers 39

int_attr_fight_stop_distance 40

int_attr_spy_discover_chance 41

int_attr_count_preach_damage 42

int_attr_dont_group_at_dt 43

int_attr_spell_delay 44

int_attr_dont_delete_useless_boat_house 45

int_attr_boat_house_broken 46

int_attr_dont_auto_train_preachers 47

int_attr_spare 48