Constant: Difference between revisions
From Populous Wiki
No edit summary |
No edit summary |
||
(63 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Image:EagleTrees.jpg|200px|thumb|right| Eagle trees after editing [[Forbidden Constants]] ]] | |||
[[Image:EagleTrees.jpg|200px|thumb|right| Eagle trees after editing | |||
A constant is a file in the | A constant is a value of the "constant.dat" file in the ''[[level]]s'' folder of [[Populous: The Beginning]] that controls the game's mathematical operations and values. The list of the decrypted constants was released by [[TedTycoon]] and has most of the games values such as tree grow rates, wood requirements, charge rates, mana requirements, and even how fast [[brave]]s can spawn in a single [[hut]]. Other constants not found in the constant.dat file were found by [[Xandra]] and [[Brandan]] control many other aspects of the game's operations such as how many braves can build a hut at a time and even what model is used by trees. An example is changing the [[tree]]'s constant value to 3000 will make the trees appear as Eagles instead of trees. The text name of all constants begins with the string "P3CONST_" followed by the description. | ||
=== Patching common issues with constants === | |||
The constant values can be used in modern day games to fix common issues like [[path finding]] issues by changing '''P3CONST_WALK_ALT_DIFF2 = ''' to 600-900. This will resolve every path finding issue in the game. The same patch could be applied to the games incorrect [[building]] height setitng where if theres a small bump it hinders the building from being built, and causing some levels unfair for certain tribes/colors, to fix this change '''P3CONST_BUILD_ALT_DIFF2 = ''' to 200 - 300. Setting the values too high can result to unrealistic building/walking and could ruin the game being able to build straight up a 90 degree hill. | |||
Any change done to a constant will affect singleplayer and multiplayer regardless of the constant. | |||
=== Basic Constants === | |||
All constants start with P3CONST_ | |||
*START_MANA | |||
*MAX_MANA | |||
*SPELL_BLAST | |||
*SPELL_CONVERT_WILD | |||
*SPELL_GARMY | |||
*SPELL_PLAGUE | |||
*SPELL_INVIS | |||
*SPELL_SHIELD | |||
*SPELL_LBRIDGE | |||
*SPELL_BOLT | |||
*SPELL_HYPNO | |||
*SPELL_WWIND | |||
*SPELL_SWAMP | |||
*SPELL_FLATTEN | |||
*SPELL_QUAKE | |||
*SPELL_EROSION | |||
*SPELL_FIREST | |||
*SPELL_AOD | |||
*SPELL_VOLCANO | |||
*LIFE_BRAVE | |||
*LIFE_WARR | |||
*LIFE_SPY | |||
*LIFE_PREACH | |||
*LIFE_SWARR | |||
*LIFE_SHAMEN | |||
*MANA_F_BRAVE | |||
*MANA_F_WARR | |||
*MANA_F_SPY | |||
*MANA_F_PREACH | |||
*MANA_F_SWARR | |||
*MANA_F_SHAMEN | |||
*MANA_F_TRAINING | |||
*MANA_F_HOUSED | |||
*MANA_F_WORKING | |||
*MANA_UPDATE_FREQ | |||
*HUMAN_MANA_ADJUST | |||
*COMPUTER_MANA_ADJUST | |||
*WALK_ALT_DIFF2 | |||
*CONV_BRAVE | |||
*CONV_WARR | |||
*CONV_SPY | |||
*CONV_PREACH | |||
*CONV_SWARR | |||
*CONV_TEMPLE | |||
*CONV_WARRIOR | |||
*CONV_SUPER | |||
*CONV_RECONV | |||
*HUT1_SPROG_TIME | |||
*HUT2_SPROG_TIME | |||
*HUT3_SPROG_TIME | |||
*TREE1_WOOD_VALUE | |||
*TREE2_WOOD_VALUE | |||
*TREE3_WOOD_VALUE | |||
*TREE4_WOOD_VALUE | |||
*TREE5_WOOD_VALUE | |||
*TREE6_WOOD_VALUE | |||
*TREE1_WOOD_GROW | |||
*TREE2_WOOD_GROW | |||
*TREE3_WOOD_GROW | |||
*TREE4_WOOD_GROW | |||
*TREE5_WOOD_GROW | |||
*TREE6_WOOD_GROW | |||
*WOOD_BRAVE | |||
*WOOD_WARR | |||
*WOOD_SPY | |||
*WOOD_PREACH | |||
*WOOD_SWARR | |||
*WOOD_SHAMAN | |||
*WOOD_HUT_1 | |||
*WOOD_HUT_2 | |||
*WOOD_HUT_3 | |||
*WOOD_DRUM_TOWER | |||
*WOOD_TEMPLE | |||
*WOOD_SPY_HUT | |||
*WOOD_WARRIOR | |||
*WOOD_SUPER | |||
*WOOD_RECONV | |||
*WOOD_BOAT_1 | |||
*WOOD_AIR_1 | |||
*WOOD_VEHICLE_BOAT1 | |||
*WOOD_VEHICLE_AIRSHIP_1 | |||
*FIGHT_DAMAGE_BRAVE | |||
*FIGHT_DAMAGE_WARR | |||
*FIGHT_DAMAGE_SPY | |||
*FIGHT_DAMAGE_PREACH | |||
*FIGHT_DAMAGE_SWARR | |||
*FIGHT_DAMAGE_SHAMAN | |||
*SW_BLAST_DAMAGE | |||
*SW_FIRE_RATE | |||
*SPROG%_POP_BAND_00_04% | |||
*SPROG%_POP_BAND_05_09% | |||
*SPROG%_POP_BAND_10_14% | |||
*SPROG%_POP_BAND_15_19% | |||
*SPROG%_POP_BAND_20_24% | |||
*SPROG%_POP_BAND_25_29% | |||
*SPROG%_POP_BAND_30_34% | |||
*SPROG%_POP_BAND_35_39% | |||
*SPROG%_POP_BAND_40_44% | |||
*SPROG%_POP_BAND_45_49% | |||
*SPROG%_POP_BAND_50_54% | |||
*SPROG%_POP_BAND_55_59% | |||
*SPROG%_POP_BAND_60_64% | |||
*SPROG%_POP_BAND_65_69% | |||
*SPROG%_POP_BAND_70_74% | |||
*SPROG%_POP_BAND_75_79% | |||
*SPROG%_POP_BAND_80_84% | |||
*SPROG%_POP_BAND_85_89% | |||
*SPROG%_POP_BAND_90_94% | |||
*SPROG%_POP_BAND_95_99% | |||
*NEAR_BLDG_CELLS | |||
*MAX_POP_VALUE__HUT_1 | |||
*MAX_POP_VALUE__HUT_2 | |||
*MAX_POP_VALUE__HUT_3 | |||
*MANA_F_HUT_LEVEL_1 | |||
*MANA_F_HUT_LEVEL_2 | |||
*MANA_F_HUT_LEVEL_3 | |||
*SHAMEN_DEAD_MANA_%_LOST | |||
*SHAMEN_DEAD_MANA_%_GAIN | |||
*PREACHEE_CONV_FREQ | |||
*PREACHEE_CONV_CHANCE | |||
*HYPNO_COUNT_X8 | |||
*INVISIBLE_COUNT_X8 | |||
*SHIELD_COUNT_X8 | |||
*SP_W_RANGE_BLAST | |||
*SP_W_RANGE_BOLT | |||
*SP_W_RANGE_WWIND | |||
*SP_W_RANGE_PLAGUE | |||
*SP_W_RANGE_INVIS | |||
*SP_W_RANGE_FIREST | |||
*SP_W_RANGE_HYPNO | |||
*SP_W_RANGE_GARMY | |||
*SP_W_RANGE_EROSION | |||
*SP_W_RANGE_SWAMP | |||
*SP_W_RANGE_LBRIDGE | |||
*SP_W_RANGE_AOD | |||
*SP_W_RANGE_QUAKE | |||
*SP_W_RANGE_FLATTEN | |||
*SP_W_RANGE_VOLCANO | |||
*SP_W_RANGE_CONVERT_WILD | |||
*SP_W_RANGE_SHIELD | |||
*SP_W_RANGE_TELEPORT | |||
*SP_W_RANGE_BLOODLUST | |||
*SWARM_PERSON_DAMAGE | |||
*LAND_BRIDGE_MAX_CHANGE | |||
*SW_BLAST_RATE_TOWER | |||
*SW_BLAST_DAMAGE_TOWER | |||
*BRAVE_DT_RADIUS | |||
*WARRIOR_DT_RADIUS | |||
*RELIGIOUS_DT_RADIUS | |||
*SPY_DT_RADIUS | |||
*SUPER_WARRIOR_DT_RADIUS | |||
*MEDICINE_MAN_DT_RADIUS | |||
*ALT_BAND_0_SPELL_INCR | |||
*ALT_BAND_1_SPELL_INCR | |||
*ALT_BAND_2_SPELL_INCR | |||
*ALT_BAND_3_SPELL_INCR | |||
*ALT_BAND_4_SPELL_INCR | |||
*ALT_BAND_5_SPELL_INCR | |||
*ALT_BAND_6_SPELL_INCR | |||
*ALT_BAND_7_SPELL_INCR | |||
*ALT_BAND_0_SUPER_INCR | |||
*ALT_BAND_1_SUPER_INCR | |||
*ALT_BAND_2_SUPER_INCR | |||
*ALT_BAND_3_SUPER_INCR | |||
*ALT_BAND_4_SUPER_INCR | |||
*ALT_BAND_5_SUPER_INCR | |||
*ALT_BAND_6_SUPER_INCR | |||
*ALT_BAND_7_SUPER_INCR | |||
*SP_1_OFF_MAX_BLAST | |||
*SP_1_OFF_MAX_BOLT | |||
*SP_1_OFF_MAX_WWIND | |||
*SP_1_OFF_MAX_PLAGUE | |||
*SP_1_OFF_MAX_INVIS | |||
*SP_1_OFF_MAX_FIREST | |||
*SP_1_OFF_MAX_HYPNO | |||
*SP_1_OFF_MAX_GARMY | |||
*SP_1_OFF_MAX_EROSION | |||
*SP_1_OFF_MAX_SWAMP | |||
*SP_1_OFF_MAX_LBRIDGE | |||
*SP_1_OFF_MAX_AOD | |||
*SP_1_OFF_MAX_QUAKE | |||
*SP_1_OFF_MAX_FLATTEN | |||
*SP_1_OFF_MAX_VOLCANO | |||
*SP_1_OFF_MAX_CONVERT | |||
*SP_1_OFF_MAX_SHIELD | |||
*SP_1_OFF_MAX_ARMAGEDDON | |||
*SP_1_OFF_MAX_TELEPORT | |||
*SP_1_OFF_MAX_BLOODLUST | |||
*SPY_DISGUISE_DELAY | |||
*INVIS_NUM_PEOPLE | |||
*HYPNO_NUM_PEOPLE | |||
*LIGHTNING_NUM_KILLS | |||
*SHIELD_NUM_PEOPLE | |||
*BUILD_ALT_DIFF2 | |||
*FIRESTORM_DURATION | |||
*HUMAN_TRAIN_MANA_WARR | |||
*HUMAN_TRAIN_MANA_SPY | |||
*HUMAN_TRAIN_MANA_PREACH | |||
*HUMAN_TRAIN_MANA_SWARR | |||
*CP_TRAIN_MANA_WARR | |||
*CP_TRAIN_MANA_SPY | |||
*CP_TRAIN_MANA_PREACH | |||
*CP_TRAIN_MANA_SWARR | |||
*TRAIN_MANA_BAND_00_03 | |||
*TRAIN_MANA_BAND_04_07 | |||
*TRAIN_MANA_BAND_08_11 | |||
*TRAIN_MANA_BAND_12_15 | |||
*TRAIN_MANA_BAND_16_20 | |||
*TRAIN_MANA_BAND_21+ | |||
*SW_BLDG_DAMAGE_DELAY | |||
*SW_BLAST_DAMAGE_WARR | |||
*MULTIPLE_SELECT_NUM | |||
*DME_RESTORE_TIME | |||
*BRAVE_SPEED | |||
*WARRIOR_SPEED | |||
*RELIGIOUS_SPEED | |||
*SPY_SPEED | |||
*SUPER_WARRIOR_SPEED | |||
*MEDICINE_MAN_SPEED | |||
*AOD_KILL_COUNT | |||
*AOD_DURATION | |||
*LIFE_AOD | |||
*BLAST_DAMAGE_AOD | |||
*TRIGGER_REACTIVATE_TIME | |||
*LAND_BRIDGE_DURATION | |||
*BLOODLUST_COUNT_X8 | |||
*BLOODLUST_NUM_PEOPLE | |||
*BLOODLUST_DAMAGE_X | |||
*BLOODLUST_HEALTH_X | |||
*BLOODLUST_SW_BLAST_X | |||
*HUMAN_REINC_START_DELAY | |||
*SPELL_AOD_OPT_S | |||
*SPELL_VOLCANO_OPT_S | |||
*SPELL_CONVERT_WILD_OPT_S | |||
*SPELL_HYPNO_OPT_S | |||
*SPELL_EROSION_OPT_S | |||
*SPELL_QUAKE_OPT_S | |||
*SPELL_FLATTEN_OPT_S | |||
*SPELL_BOLT_OPT_S | |||
*SPELL_WWIND_OPT_S | |||
*SPELL_FIREST_OPT_S | |||
*SPELL_SWAMP_OPT_S | |||
*SPELL_LBRIDGE_OPT_S | |||
*SPELL_PLAGUE_OPT_S | |||
*SPELL_INVIS_OPT_S | |||
*SPELL_SHIELD_OPT_S | |||
*SPELL_BLOODLUST_OPT_S | |||
*SPELL_TELEPORT_OPT_S | |||
*SPELL_BLAST_OPT_S | |||
*SPELL_GARMY_OPT_S | |||
*SPELL_ARMAGEDDON_OPT_S | |||
*LSME_DURATION_SECS | |||
*VEHICLE_LIFE_BOAT | |||
*VEHICLE_LIFE_BALLOON | |||
== Extended Constants == | |||
The extended constants (described by [[Brandan]] as "Forbidden Constants") were first discovered in the [[Populous: The Beginning]] binary and in the memory while the game is running by [[Xandra]] and [[Brandan]] in June 2012. The constants allow the user to control more aspects of the game such as changing how many units can build a building and what objects trees can be. The Forbidden Constants are vastly unknown, Populous players are still trying to figure out what exactly does each value do, and it will take some time to fully understand the new constant values. | |||
=== Extended Constants (name/definition): === | |||
All constants start with P3CONST_ | |||
* '''[[BLDG_MAX_BUILD_TEEPEE]]X (X = 1,2,3)'''| This controls how many units are able to build a hut. | |||
* '''[[FALL_OUT_OF_WW_DAMAGE]]''' | This controls how much damage a [[tornado]] causes to a single unit after they fall out of the [[tornado]]. | |||
* '''[[SWAMP_NUM_PEOPLE]]''' | This controls how units will die in [[swamp]] before the swamp spells is lifted | |||
* '''[[SP_W_RANGE_BURN]]''' | This spell was only available in the alpha versions of Populous: The Beginning, this spell allowed the user to burn trees only without explosions, this was removed. | |||
* '''[[SP_1_OFF_MAX_BURN]]''' | This spell was only available in the alpha versions of Populous: The Beginning, this spell allowed the user to burn trees only without explosions, this was removed. | |||
* '''[[SP_W_RANGE_BURN]]''' | This spell was only available in the alpha versions of Populous: The Beginning, this spell allowed the user to burn trees only without explosions, this was removed. | |||
*'''[[BLDG_MAX_BUILD_SPY]] ''' | This controls how many untils are allowed to build a [[Spy Training Hut]] | |||
*'''[[BLDG_MAX_BUILD_WARR]] ''' | This controls how many untils are allowed to build a [[Warrior Training Hut]] | |||
*'''[[BLDG_MAX_BUILD_SWARR]] ''' | This controls how many untils are allowed to build a [[Firewarrior Training Hut]] | |||
*'''[[BLDG_MAX_BUILD_BOAT]] ''' | This controls how many untils are allowed to build a [[Boat Hut]] | |||
*'''[[BLDG_MAX_BUILD_BALLOON]] ''' | This controls how many untils are allowed to build a [[Balloon Hut]] | |||
*'''[[BLDG_MAX_BUILD_DTOWER]] ''' | This controls how many untils are allowed to build a [[Guard Tower]] | |||
*'''[[LSME_TREES_PER_SHOT]]''' | ''FORGE WORLD:'' This controls how many [[tree]]s the player gets upon cast | |||
*'''[[LSME_WILDS_PER_SHOT]]''' | ''FORGE WORLD:'' This controls how many [[wildmen]] the player gets upon cast | |||
*'''[[LSME_WRANGE_EROSION]]''' | ''FORGE WORLD:'' This controls range of [[erosion]] | |||
*'''[[LSME_WRANGE_LBRIDGE]]''' | ''FORGE WORLD:'' This controls range of [[Landbridge]] | |||
*'''[[LSME_WRANGE_FLATTEN]]''' | ''FORGE WORLD:'' This controls range of [[flatten]] | |||
*'''[[LSME_WRANGE_HILL]]''' | ''FORGE WORLD:'' This controls range of [[hill]] | |||
*'''[[LSME_WRANGE_VALLEY]]''' | ''FORGE WORLD:'' This controls range of [[valley]] | |||
*'''[[LSME_WRANGE_RISE]]''' | ''FORGE WORLD:'' This controls range of [[rise]] | |||
*'''[[LSME_WRANGE_DIP]]''' | ''FORGE WORLD:'' This controls range of [[dip]] | |||
*'''[[LSME_WRANGE_TREES]]''' | ''FORGE WORLD:'' This controls range of [[Trees_(Spell)]]s | |||
*'''[[LSME_WRANGE_WILDS]]''' | ''FORGE WORLD:'' This controls range of [[Wildmen_(Spell)]] | |||
*'''[[LSME_WRANGE_RAISE_LOWER]]''' | ''FORGE WORLD:'' This controls range of [[lower]] | |||
*'''[[TREE X _DORMANT_TIME]] (X = 1,2,3,4,5,6)'''| This controls how long it takes for a tree to regrow after being fully chopped down (Google "Dormant Plants") | |||
*'''[[LSME_1_OFF_MAX_EROSION]]''' | FORGE WORLD: This controls how many slots are available for [[erosion]] | |||
*'''[[LSME_1_OFF_MAX_LBRIDGE]]''' | FORGE WORLD: This controls how many slots are available for [[Landbridge]] | |||
*'''[[LSME_1_OFF_MAX_FLATTEN]]''' | FORGE WORLD: This controls how many slots are available for [[flatten]] | |||
*'''[[LSME_1_OFF_MAX_HILL]]''' | FORGE WORLD: This controls how many slots are available for [[hill]] | |||
*'''[[LSME_1_OFF_MAX_VALLEY]]''' | FORGE WORLD: This controls how many slots are available for [[valley]] | |||
*'''[[LSME_1_OFF_MAX_RISE]]''' | FORGE WORLD: This controls how many slots are available for [[rise]] | |||
*'''[[LSME_1_OFF_MAX_DIP]]''' | FORGE WORLD: This controls how many slots are available for [[dip]] | |||
*'''[[LSME_1_OFF_MAX_TREES]]''' | FORGE WORLD: This controls how many slots are available for [[Trees_(Spell)]]s | |||
*'''[[LSME_1_OFF_MAX_WILDS]]''' | FORGE WORLD: This controls how many slots are available for [[Wildmen_(Spell)]] | |||
=== Extended Constants === | |||
All constants start with P3CONST_ | |||
*SW_FIRE_RATE_TOWER | |||
*CONVERT_MANA | |||
*SOUL_GRAB | |||
*BLAST_DAMAGE_BLDG | |||
*BLAST_DAMAGE_PERSON | |||
*SWAMP_NUM_PEOPLE | |||
*SPELL_BURN | |||
*SPELL_ARMAGEDDON | |||
*SPELL_BLOODLUST | |||
*SPELL_TELEPORT | |||
*SP_W_RANGE_BURN | |||
*SP_W_RANGE_INVIS | |||
*SP_W_RANGE_ARMAGEDDON | |||
*SW_BLAST_DAMAGE_BRAVE | |||
*SW_BLAST_DAMAGE_SPY | |||
*SW_BLAST_DAMAGE_PREACHT | |||
*SW_BLAST_DAMAGE_SWARR | |||
*SW_BLAST_DAMAGE_SHAMEN | |||
*SW_BLAST_DAMAGE_AOD | |||
*BLDG_V_TEEPEE | |||
*BLDG_V_HUT | |||
*BLDG_V_FARM | |||
*BLDG_V_DTOWER | |||
*BLDG_V_TEMPLE | |||
*BLDG_V_SPY | |||
*BLDG_V_WARR | |||
*BLDG_V_SWARR | |||
*BLDG_MAX_BUILD_TEEPEE1 | |||
*BLDG_MAX_BUILD_TEEPEE2 | |||
*BLDG_MAX_BUILD_TEEPEE3 | |||
*BLDG_MAX_BUILD_TEMPLE | |||
*BLDG_MAX_BUILD_SPY | |||
*BLDG_MAX_BUILD_WARR | |||
*BLDG_MAX_BUILD_SWARR | |||
*BLDG_MAX_BUILD_BOAT | |||
*BLDG_MAX_BUILD_BALLOON | |||
*BLDG_MAX_BUILD_DTOWER | |||
*MANA_F_WORKING | |||
*RAISE_LOWER_COST | |||
*WALK_ALT_DIFF2_SHALLOWT | |||
*BOAT_HUT_ALT_DIFF2 | |||
*BLDG_DESTROY_ALT_DIFF2 | |||
*TRIGGER_REACTIVE | |||
*CONV_PREACH | |||
*CONV_SHAMEN | |||
*TREE1_DORMANT_TIME | |||
*TREE2_DORMANT_TIME | |||
*TREE3_DORMANT_TIME | |||
*TREE4_DORMANT_TIME | |||
*TREE5_DORMANT_TIME | |||
*TREE6_DORMANT_TIME | |||
*WOOD_SHAMEN | |||
*CONV_TIME_TEMPLE | |||
*CONV_TIME_SPY | |||
*CONV_TIME_WARRIOR | |||
*CONV_TIME_SUPER | |||
*CONV_TIME_RECONV | |||
*WOOD_VEHICLE_BOAT | |||
*FIGHT_DAMAGE_SHAMEN | |||
*FALL_OUT_OF_WW_DAMAGE | |||
*SP_1_OFF_MAX_BURN | |||
*SP_1_OFF_MAX_ARMAY | |||
*LSME_1_OFF_MAX_EROSION | |||
*LSME_1_OFF_MAX_LBRIDGE | |||
*LSME_1_OFF_MAX_FLATTEN | |||
*LSME_1_OFF_MAX_HILL | |||
*LSME_1_OFF_MAX_VALLEY | |||
*LSME_1_OFF_MAX_RISE | |||
*LSME_1_OFF_MAX_DIP | |||
*LSME_1_OFF_MAX_TREES | |||
*LSME_1_OFF_MAX_WILDS | |||
*LSME_TREES_PER_SHOT | |||
*LSME_WILDS_PER_SHOT | |||
*LSME_ALT_ALTER_AMT | |||
*LSME_WRANGE_EROSION | |||
*LSME_WRANGE_LBRIDGE | |||
*LSME_WRANGE_FLATTEN | |||
*LSME_WRANGE_HILL | |||
*LSME_WRANGE_VALLEY | |||
*LSME_WRANGE_RISE | |||
*LSME_WRANGE_DIP | |||
*LSME_WRANGE_TREES | |||
*LSME_WRANGE_WILDS | |||
*LSME_WRANGE_RAISE_LOWER | |||
*AOD_STATUE_WAIT_SECS | |||
*BLAST_FRIEND_AFFECT | |||
*MANA_IDLE_BRAVES | |||
*MANA_IDLE_SPECIALS | |||
*MANA_BUSY_BRAVES | |||
*MANA_BUSY_SPECIALS | |||
= External Links = | |||
[http://brandanlasley.com/releases/Thread/Popre/New%20Constants/New_Constants.dat Text Version of constant.dat (with extended constants)] |
Latest revision as of 01:21, 5 April 2019
A constant is a value of the "constant.dat" file in the levels folder of Populous: The Beginning that controls the game's mathematical operations and values. The list of the decrypted constants was released by TedTycoon and has most of the games values such as tree grow rates, wood requirements, charge rates, mana requirements, and even how fast braves can spawn in a single hut. Other constants not found in the constant.dat file were found by Xandra and Brandan control many other aspects of the game's operations such as how many braves can build a hut at a time and even what model is used by trees. An example is changing the tree's constant value to 3000 will make the trees appear as Eagles instead of trees. The text name of all constants begins with the string "P3CONST_" followed by the description.
Patching common issues with constants
The constant values can be used in modern day games to fix common issues like path finding issues by changing P3CONST_WALK_ALT_DIFF2 = to 600-900. This will resolve every path finding issue in the game. The same patch could be applied to the games incorrect building height setitng where if theres a small bump it hinders the building from being built, and causing some levels unfair for certain tribes/colors, to fix this change P3CONST_BUILD_ALT_DIFF2 = to 200 - 300. Setting the values too high can result to unrealistic building/walking and could ruin the game being able to build straight up a 90 degree hill.
Any change done to a constant will affect singleplayer and multiplayer regardless of the constant.
Basic Constants
All constants start with P3CONST_
- START_MANA
- MAX_MANA
- SPELL_BLAST
- SPELL_CONVERT_WILD
- SPELL_GARMY
- SPELL_PLAGUE
- SPELL_INVIS
- SPELL_SHIELD
- SPELL_LBRIDGE
- SPELL_BOLT
- SPELL_HYPNO
- SPELL_WWIND
- SPELL_SWAMP
- SPELL_FLATTEN
- SPELL_QUAKE
- SPELL_EROSION
- SPELL_FIREST
- SPELL_AOD
- SPELL_VOLCANO
- LIFE_BRAVE
- LIFE_WARR
- LIFE_SPY
- LIFE_PREACH
- LIFE_SWARR
- LIFE_SHAMEN
- MANA_F_BRAVE
- MANA_F_WARR
- MANA_F_SPY
- MANA_F_PREACH
- MANA_F_SWARR
- MANA_F_SHAMEN
- MANA_F_TRAINING
- MANA_F_HOUSED
- MANA_F_WORKING
- MANA_UPDATE_FREQ
- HUMAN_MANA_ADJUST
- COMPUTER_MANA_ADJUST
- WALK_ALT_DIFF2
- CONV_BRAVE
- CONV_WARR
- CONV_SPY
- CONV_PREACH
- CONV_SWARR
- CONV_TEMPLE
- CONV_WARRIOR
- CONV_SUPER
- CONV_RECONV
- HUT1_SPROG_TIME
- HUT2_SPROG_TIME
- HUT3_SPROG_TIME
- TREE1_WOOD_VALUE
- TREE2_WOOD_VALUE
- TREE3_WOOD_VALUE
- TREE4_WOOD_VALUE
- TREE5_WOOD_VALUE
- TREE6_WOOD_VALUE
- TREE1_WOOD_GROW
- TREE2_WOOD_GROW
- TREE3_WOOD_GROW
- TREE4_WOOD_GROW
- TREE5_WOOD_GROW
- TREE6_WOOD_GROW
- WOOD_BRAVE
- WOOD_WARR
- WOOD_SPY
- WOOD_PREACH
- WOOD_SWARR
- WOOD_SHAMAN
- WOOD_HUT_1
- WOOD_HUT_2
- WOOD_HUT_3
- WOOD_DRUM_TOWER
- WOOD_TEMPLE
- WOOD_SPY_HUT
- WOOD_WARRIOR
- WOOD_SUPER
- WOOD_RECONV
- WOOD_BOAT_1
- WOOD_AIR_1
- WOOD_VEHICLE_BOAT1
- WOOD_VEHICLE_AIRSHIP_1
- FIGHT_DAMAGE_BRAVE
- FIGHT_DAMAGE_WARR
- FIGHT_DAMAGE_SPY
- FIGHT_DAMAGE_PREACH
- FIGHT_DAMAGE_SWARR
- FIGHT_DAMAGE_SHAMAN
- SW_BLAST_DAMAGE
- SW_FIRE_RATE
- SPROG%_POP_BAND_00_04%
- SPROG%_POP_BAND_05_09%
- SPROG%_POP_BAND_10_14%
- SPROG%_POP_BAND_15_19%
- SPROG%_POP_BAND_20_24%
- SPROG%_POP_BAND_25_29%
- SPROG%_POP_BAND_30_34%
- SPROG%_POP_BAND_35_39%
- SPROG%_POP_BAND_40_44%
- SPROG%_POP_BAND_45_49%
- SPROG%_POP_BAND_50_54%
- SPROG%_POP_BAND_55_59%
- SPROG%_POP_BAND_60_64%
- SPROG%_POP_BAND_65_69%
- SPROG%_POP_BAND_70_74%
- SPROG%_POP_BAND_75_79%
- SPROG%_POP_BAND_80_84%
- SPROG%_POP_BAND_85_89%
- SPROG%_POP_BAND_90_94%
- SPROG%_POP_BAND_95_99%
- NEAR_BLDG_CELLS
- MAX_POP_VALUE__HUT_1
- MAX_POP_VALUE__HUT_2
- MAX_POP_VALUE__HUT_3
- MANA_F_HUT_LEVEL_1
- MANA_F_HUT_LEVEL_2
- MANA_F_HUT_LEVEL_3
- SHAMEN_DEAD_MANA_%_LOST
- SHAMEN_DEAD_MANA_%_GAIN
- PREACHEE_CONV_FREQ
- PREACHEE_CONV_CHANCE
- HYPNO_COUNT_X8
- INVISIBLE_COUNT_X8
- SHIELD_COUNT_X8
- SP_W_RANGE_BLAST
- SP_W_RANGE_BOLT
- SP_W_RANGE_WWIND
- SP_W_RANGE_PLAGUE
- SP_W_RANGE_INVIS
- SP_W_RANGE_FIREST
- SP_W_RANGE_HYPNO
- SP_W_RANGE_GARMY
- SP_W_RANGE_EROSION
- SP_W_RANGE_SWAMP
- SP_W_RANGE_LBRIDGE
- SP_W_RANGE_AOD
- SP_W_RANGE_QUAKE
- SP_W_RANGE_FLATTEN
- SP_W_RANGE_VOLCANO
- SP_W_RANGE_CONVERT_WILD
- SP_W_RANGE_SHIELD
- SP_W_RANGE_TELEPORT
- SP_W_RANGE_BLOODLUST
- SWARM_PERSON_DAMAGE
- LAND_BRIDGE_MAX_CHANGE
- SW_BLAST_RATE_TOWER
- SW_BLAST_DAMAGE_TOWER
- BRAVE_DT_RADIUS
- WARRIOR_DT_RADIUS
- RELIGIOUS_DT_RADIUS
- SPY_DT_RADIUS
- SUPER_WARRIOR_DT_RADIUS
- MEDICINE_MAN_DT_RADIUS
- ALT_BAND_0_SPELL_INCR
- ALT_BAND_1_SPELL_INCR
- ALT_BAND_2_SPELL_INCR
- ALT_BAND_3_SPELL_INCR
- ALT_BAND_4_SPELL_INCR
- ALT_BAND_5_SPELL_INCR
- ALT_BAND_6_SPELL_INCR
- ALT_BAND_7_SPELL_INCR
- ALT_BAND_0_SUPER_INCR
- ALT_BAND_1_SUPER_INCR
- ALT_BAND_2_SUPER_INCR
- ALT_BAND_3_SUPER_INCR
- ALT_BAND_4_SUPER_INCR
- ALT_BAND_5_SUPER_INCR
- ALT_BAND_6_SUPER_INCR
- ALT_BAND_7_SUPER_INCR
- SP_1_OFF_MAX_BLAST
- SP_1_OFF_MAX_BOLT
- SP_1_OFF_MAX_WWIND
- SP_1_OFF_MAX_PLAGUE
- SP_1_OFF_MAX_INVIS
- SP_1_OFF_MAX_FIREST
- SP_1_OFF_MAX_HYPNO
- SP_1_OFF_MAX_GARMY
- SP_1_OFF_MAX_EROSION
- SP_1_OFF_MAX_SWAMP
- SP_1_OFF_MAX_LBRIDGE
- SP_1_OFF_MAX_AOD
- SP_1_OFF_MAX_QUAKE
- SP_1_OFF_MAX_FLATTEN
- SP_1_OFF_MAX_VOLCANO
- SP_1_OFF_MAX_CONVERT
- SP_1_OFF_MAX_SHIELD
- SP_1_OFF_MAX_ARMAGEDDON
- SP_1_OFF_MAX_TELEPORT
- SP_1_OFF_MAX_BLOODLUST
- SPY_DISGUISE_DELAY
- INVIS_NUM_PEOPLE
- HYPNO_NUM_PEOPLE
- LIGHTNING_NUM_KILLS
- SHIELD_NUM_PEOPLE
- BUILD_ALT_DIFF2
- FIRESTORM_DURATION
- HUMAN_TRAIN_MANA_WARR
- HUMAN_TRAIN_MANA_SPY
- HUMAN_TRAIN_MANA_PREACH
- HUMAN_TRAIN_MANA_SWARR
- CP_TRAIN_MANA_WARR
- CP_TRAIN_MANA_SPY
- CP_TRAIN_MANA_PREACH
- CP_TRAIN_MANA_SWARR
- TRAIN_MANA_BAND_00_03
- TRAIN_MANA_BAND_04_07
- TRAIN_MANA_BAND_08_11
- TRAIN_MANA_BAND_12_15
- TRAIN_MANA_BAND_16_20
- TRAIN_MANA_BAND_21+
- SW_BLDG_DAMAGE_DELAY
- SW_BLAST_DAMAGE_WARR
- MULTIPLE_SELECT_NUM
- DME_RESTORE_TIME
- BRAVE_SPEED
- WARRIOR_SPEED
- RELIGIOUS_SPEED
- SPY_SPEED
- SUPER_WARRIOR_SPEED
- MEDICINE_MAN_SPEED
- AOD_KILL_COUNT
- AOD_DURATION
- LIFE_AOD
- BLAST_DAMAGE_AOD
- TRIGGER_REACTIVATE_TIME
- LAND_BRIDGE_DURATION
- BLOODLUST_COUNT_X8
- BLOODLUST_NUM_PEOPLE
- BLOODLUST_DAMAGE_X
- BLOODLUST_HEALTH_X
- BLOODLUST_SW_BLAST_X
- HUMAN_REINC_START_DELAY
- SPELL_AOD_OPT_S
- SPELL_VOLCANO_OPT_S
- SPELL_CONVERT_WILD_OPT_S
- SPELL_HYPNO_OPT_S
- SPELL_EROSION_OPT_S
- SPELL_QUAKE_OPT_S
- SPELL_FLATTEN_OPT_S
- SPELL_BOLT_OPT_S
- SPELL_WWIND_OPT_S
- SPELL_FIREST_OPT_S
- SPELL_SWAMP_OPT_S
- SPELL_LBRIDGE_OPT_S
- SPELL_PLAGUE_OPT_S
- SPELL_INVIS_OPT_S
- SPELL_SHIELD_OPT_S
- SPELL_BLOODLUST_OPT_S
- SPELL_TELEPORT_OPT_S
- SPELL_BLAST_OPT_S
- SPELL_GARMY_OPT_S
- SPELL_ARMAGEDDON_OPT_S
- LSME_DURATION_SECS
- VEHICLE_LIFE_BOAT
- VEHICLE_LIFE_BALLOON
Extended Constants
The extended constants (described by Brandan as "Forbidden Constants") were first discovered in the Populous: The Beginning binary and in the memory while the game is running by Xandra and Brandan in June 2012. The constants allow the user to control more aspects of the game such as changing how many units can build a building and what objects trees can be. The Forbidden Constants are vastly unknown, Populous players are still trying to figure out what exactly does each value do, and it will take some time to fully understand the new constant values.
Extended Constants (name/definition):
All constants start with P3CONST_
- BLDG_MAX_BUILD_TEEPEEX (X = 1,2,3)| This controls how many units are able to build a hut.
- FALL_OUT_OF_WW_DAMAGE | This controls how much damage a tornado causes to a single unit after they fall out of the tornado.
- SWAMP_NUM_PEOPLE | This controls how units will die in swamp before the swamp spells is lifted
- SP_W_RANGE_BURN | This spell was only available in the alpha versions of Populous: The Beginning, this spell allowed the user to burn trees only without explosions, this was removed.
- SP_1_OFF_MAX_BURN | This spell was only available in the alpha versions of Populous: The Beginning, this spell allowed the user to burn trees only without explosions, this was removed.
- SP_W_RANGE_BURN | This spell was only available in the alpha versions of Populous: The Beginning, this spell allowed the user to burn trees only without explosions, this was removed.
- BLDG_MAX_BUILD_SPY | This controls how many untils are allowed to build a Spy Training Hut
- BLDG_MAX_BUILD_WARR | This controls how many untils are allowed to build a Warrior Training Hut
- BLDG_MAX_BUILD_SWARR | This controls how many untils are allowed to build a Firewarrior Training Hut
- BLDG_MAX_BUILD_BOAT | This controls how many untils are allowed to build a Boat Hut
- BLDG_MAX_BUILD_BALLOON | This controls how many untils are allowed to build a Balloon Hut
- BLDG_MAX_BUILD_DTOWER | This controls how many untils are allowed to build a Guard Tower
- LSME_TREES_PER_SHOT | FORGE WORLD: This controls how many trees the player gets upon cast
- LSME_WILDS_PER_SHOT | FORGE WORLD: This controls how many wildmen the player gets upon cast
- LSME_WRANGE_EROSION | FORGE WORLD: This controls range of erosion
- LSME_WRANGE_LBRIDGE | FORGE WORLD: This controls range of Landbridge
- LSME_WRANGE_FLATTEN | FORGE WORLD: This controls range of flatten
- LSME_WRANGE_HILL | FORGE WORLD: This controls range of hill
- LSME_WRANGE_VALLEY | FORGE WORLD: This controls range of valley
- LSME_WRANGE_RISE | FORGE WORLD: This controls range of rise
- LSME_WRANGE_DIP | FORGE WORLD: This controls range of dip
- LSME_WRANGE_TREES | FORGE WORLD: This controls range of Trees_(Spell)s
- LSME_WRANGE_WILDS | FORGE WORLD: This controls range of Wildmen_(Spell)
- LSME_WRANGE_RAISE_LOWER | FORGE WORLD: This controls range of lower
- TREE X _DORMANT_TIME (X = 1,2,3,4,5,6)| This controls how long it takes for a tree to regrow after being fully chopped down (Google "Dormant Plants")
- LSME_1_OFF_MAX_EROSION | FORGE WORLD: This controls how many slots are available for erosion
- LSME_1_OFF_MAX_LBRIDGE | FORGE WORLD: This controls how many slots are available for Landbridge
- LSME_1_OFF_MAX_FLATTEN | FORGE WORLD: This controls how many slots are available for flatten
- LSME_1_OFF_MAX_HILL | FORGE WORLD: This controls how many slots are available for hill
- LSME_1_OFF_MAX_VALLEY | FORGE WORLD: This controls how many slots are available for valley
- LSME_1_OFF_MAX_RISE | FORGE WORLD: This controls how many slots are available for rise
- LSME_1_OFF_MAX_DIP | FORGE WORLD: This controls how many slots are available for dip
- LSME_1_OFF_MAX_TREES | FORGE WORLD: This controls how many slots are available for Trees_(Spell)s
- LSME_1_OFF_MAX_WILDS | FORGE WORLD: This controls how many slots are available for Wildmen_(Spell)
Extended Constants
All constants start with P3CONST_
- SW_FIRE_RATE_TOWER
- CONVERT_MANA
- SOUL_GRAB
- BLAST_DAMAGE_BLDG
- BLAST_DAMAGE_PERSON
- SWAMP_NUM_PEOPLE
- SPELL_BURN
- SPELL_ARMAGEDDON
- SPELL_BLOODLUST
- SPELL_TELEPORT
- SP_W_RANGE_BURN
- SP_W_RANGE_INVIS
- SP_W_RANGE_ARMAGEDDON
- SW_BLAST_DAMAGE_BRAVE
- SW_BLAST_DAMAGE_SPY
- SW_BLAST_DAMAGE_PREACHT
- SW_BLAST_DAMAGE_SWARR
- SW_BLAST_DAMAGE_SHAMEN
- SW_BLAST_DAMAGE_AOD
- BLDG_V_TEEPEE
- BLDG_V_HUT
- BLDG_V_FARM
- BLDG_V_DTOWER
- BLDG_V_TEMPLE
- BLDG_V_SPY
- BLDG_V_WARR
- BLDG_V_SWARR
- BLDG_MAX_BUILD_TEEPEE1
- BLDG_MAX_BUILD_TEEPEE2
- BLDG_MAX_BUILD_TEEPEE3
- BLDG_MAX_BUILD_TEMPLE
- BLDG_MAX_BUILD_SPY
- BLDG_MAX_BUILD_WARR
- BLDG_MAX_BUILD_SWARR
- BLDG_MAX_BUILD_BOAT
- BLDG_MAX_BUILD_BALLOON
- BLDG_MAX_BUILD_DTOWER
- MANA_F_WORKING
- RAISE_LOWER_COST
- WALK_ALT_DIFF2_SHALLOWT
- BOAT_HUT_ALT_DIFF2
- BLDG_DESTROY_ALT_DIFF2
- TRIGGER_REACTIVE
- CONV_PREACH
- CONV_SHAMEN
- TREE1_DORMANT_TIME
- TREE2_DORMANT_TIME
- TREE3_DORMANT_TIME
- TREE4_DORMANT_TIME
- TREE5_DORMANT_TIME
- TREE6_DORMANT_TIME
- WOOD_SHAMEN
- CONV_TIME_TEMPLE
- CONV_TIME_SPY
- CONV_TIME_WARRIOR
- CONV_TIME_SUPER
- CONV_TIME_RECONV
- WOOD_VEHICLE_BOAT
- FIGHT_DAMAGE_SHAMEN
- FALL_OUT_OF_WW_DAMAGE
- SP_1_OFF_MAX_BURN
- SP_1_OFF_MAX_ARMAY
- LSME_1_OFF_MAX_EROSION
- LSME_1_OFF_MAX_LBRIDGE
- LSME_1_OFF_MAX_FLATTEN
- LSME_1_OFF_MAX_HILL
- LSME_1_OFF_MAX_VALLEY
- LSME_1_OFF_MAX_RISE
- LSME_1_OFF_MAX_DIP
- LSME_1_OFF_MAX_TREES
- LSME_1_OFF_MAX_WILDS
- LSME_TREES_PER_SHOT
- LSME_WILDS_PER_SHOT
- LSME_ALT_ALTER_AMT
- LSME_WRANGE_EROSION
- LSME_WRANGE_LBRIDGE
- LSME_WRANGE_FLATTEN
- LSME_WRANGE_HILL
- LSME_WRANGE_VALLEY
- LSME_WRANGE_RISE
- LSME_WRANGE_DIP
- LSME_WRANGE_TREES
- LSME_WRANGE_WILDS
- LSME_WRANGE_RAISE_LOWER
- AOD_STATUE_WAIT_SECS
- BLAST_FRIEND_AFFECT
- MANA_IDLE_BRAVES
- MANA_IDLE_SPECIALS
- MANA_BUSY_BRAVES
- MANA_BUSY_SPECIALS