Actions

Constant: Difference between revisions

From Populous Wiki

No edit summary
 
(10 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 [[Forbidden Constants]] ]]


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.
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 ===
=== 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.
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.  


=== Classic TedTycoon Constants ===
Any change done to a constant will affect singleplayer and multiplayer regardless of the constant.
*P3CONST_START_MANA
*P3CONST_MAX_MANA
*P3CONST_SPELL_BLAST
*P3CONST_SPELL_CONVERT_WILD
*P3CONST_SPELL_GARMY
*P3CONST_SPELL_PLAGUE
*P3CONST_SPELL_INVIS
*P3CONST_SPELL_SHIELD
*P3CONST_SPELL_LBRIDGE
*P3CONST_SPELL_BOLT
*P3CONST_SPELL_HYPNO
*P3CONST_SPELL_WWIND
*P3CONST_SPELL_SWAMP
*P3CONST_SPELL_FLATTEN
*P3CONST_SPELL_QUAKE
*P3CONST_SPELL_EROSION
*P3CONST_SPELL_FIREST
*P3CONST_SPELL_AOD
*P3CONST_SPELL_VOLCANO
*P3CONST_LIFE_BRAVE
*P3CONST_LIFE_WARR
*P3CONST_LIFE_SPY
*P3CONST_LIFE_PREACH
*P3CONST_LIFE_SWARR
*P3CONST_LIFE_SHAMEN
*P3CONST_MANA_F_BRAVE
*P3CONST_MANA_F_WARR
*P3CONST_MANA_F_SPY
*P3CONST_MANA_F_PREACH
*P3CONST_MANA_F_SWARR
*P3CONST_MANA_F_SHAMEN
*P3CONST_MANA_F_TRAINING
*P3CONST_MANA_F_HOUSED
*P3CONST_MANA_F_WORKING
*P3CONST_MANA_UPDATE_FREQ
*P3CONST_HUMAN_MANA_ADJUST
*P3CONST_COMPUTER_MANA_ADJUST
*P3CONST_WALK_ALT_DIFF2
*P3CONST_CONV_BRAVE
*P3CONST_CONV_WARR
*P3CONST_CONV_SPY
*P3CONST_CONV_PREACH
*P3CONST_CONV_SWARR
*P3CONST_CONV_TEMPLE
*P3CONST_CONV_WARRIOR
*P3CONST_CONV_SUPER
*P3CONST_CONV_RECONV
*P3CONST_HUT1_SPROG_TIME
*P3CONST_HUT2_SPROG_TIME
*P3CONST_HUT3_SPROG_TIME
*P3CONST_TREE1_WOOD_VALUE
*P3CONST_TREE2_WOOD_VALUE
*P3CONST_TREE3_WOOD_VALUE
*P3CONST_TREE4_WOOD_VALUE
*P3CONST_TREE5_WOOD_VALUE
*P3CONST_TREE6_WOOD_VALUE
*P3CONST_TREE1_WOOD_GROW
*P3CONST_TREE2_WOOD_GROW
*P3CONST_TREE3_WOOD_GROW
*P3CONST_TREE4_WOOD_GROW
*P3CONST_TREE5_WOOD_GROW
*P3CONST_TREE6_WOOD_GROW
*P3CONST_WOOD_BRAVE
*P3CONST_WOOD_WARR
*P3CONST_WOOD_SPY
*P3CONST_WOOD_PREACH
*P3CONST_WOOD_SWARR
*P3CONST_WOOD_SHAMAN
*P3CONST_WOOD_HUT_1
*P3CONST_WOOD_HUT_2
*P3CONST_WOOD_HUT_3
*P3CONST_WOOD_DRUM_TOWER
*P3CONST_WOOD_TEMPLE
*P3CONST_WOOD_SPY_HUT
*P3CONST_WOOD_WARRIOR
*P3CONST_WOOD_SUPER
*P3CONST_WOOD_RECONV
*P3CONST_WOOD_BOAT_1
*P3CONST_WOOD_AIR_1
*P3CONST_WOOD_VEHICLE_BOAT1
*P3CONST_WOOD_VEHICLE_AIRSHIP_1
*P3CONST_FIGHT_DAMAGE_BRAVE
*P3CONST_FIGHT_DAMAGE_WARR
*P3CONST_FIGHT_DAMAGE_SPY
*P3CONST_FIGHT_DAMAGE_PREACH
*P3CONST_FIGHT_DAMAGE_SWARR
*P3CONST_FIGHT_DAMAGE_SHAMAN
*P3CONST_SW_BLAST_DAMAGE
*P3CONST_SW_FIRE_RATE
*P3CONST_SPROG%_POP_BAND_00_04%
*P3CONST_SPROG%_POP_BAND_05_09%
*P3CONST_SPROG%_POP_BAND_10_14%
*P3CONST_SPROG%_POP_BAND_15_19%
*P3CONST_SPROG%_POP_BAND_20_24%
*P3CONST_SPROG%_POP_BAND_25_29%
*P3CONST_SPROG%_POP_BAND_30_34%
*P3CONST_SPROG%_POP_BAND_35_39%
*P3CONST_SPROG%_POP_BAND_40_44%
*P3CONST_SPROG%_POP_BAND_45_49%
*P3CONST_SPROG%_POP_BAND_50_54%
*P3CONST_SPROG%_POP_BAND_55_59%
*P3CONST_SPROG%_POP_BAND_60_64%
*P3CONST_SPROG%_POP_BAND_65_69%
*P3CONST_SPROG%_POP_BAND_70_74%
*P3CONST_SPROG%_POP_BAND_75_79%
*P3CONST_SPROG%_POP_BAND_80_84%
*P3CONST_SPROG%_POP_BAND_85_89%
*P3CONST_SPROG%_POP_BAND_90_94%
*P3CONST_SPROG%_POP_BAND_95_99%
*P3CONST_NEAR_BLDG_CELLS
*P3CONST_MAX_POP_VALUE__HUT_1
*P3CONST_MAX_POP_VALUE__HUT_2
*P3CONST_MAX_POP_VALUE__HUT_3
*P3CONST_MANA_F_HUT_LEVEL_1
*P3CONST_MANA_F_HUT_LEVEL_2
*P3CONST_MANA_F_HUT_LEVEL_3
*P3CONST_SHAMEN_DEAD_MANA_%_LOST
*P3CONST_SHAMEN_DEAD_MANA_%_GAIN
*P3CONST_PREACHEE_CONV_FREQ
*P3CONST_PREACHEE_CONV_CHANCE
*P3CONST_HYPNO_COUNT_X8
*P3CONST_INVISIBLE_COUNT_X8
*P3CONST_SHIELD_COUNT_X8
*P3CONST_SP_W_RANGE_BLAST
*P3CONST_SP_W_RANGE_BOLT
*P3CONST_SP_W_RANGE_WWIND
*P3CONST_SP_W_RANGE_PLAGUE
*P3CONST_SP_W_RANGE_INVIS
*P3CONST_SP_W_RANGE_FIREST
*P3CONST_SP_W_RANGE_HYPNO
*P3CONST_SP_W_RANGE_GARMY
*P3CONST_SP_W_RANGE_EROSION
*P3CONST_SP_W_RANGE_SWAMP
*P3CONST_SP_W_RANGE_LBRIDGE
*P3CONST_SP_W_RANGE_AOD
*P3CONST_SP_W_RANGE_QUAKE
*P3CONST_SP_W_RANGE_FLATTEN
*P3CONST_SP_W_RANGE_VOLCANO
*P3CONST_SP_W_RANGE_CONVERT_WILD
*P3CONST_SP_W_RANGE_SHIELD
*P3CONST_SP_W_RANGE_TELEPORT
*P3CONST_SP_W_RANGE_BLOODLUST
*P3CONST_SWARM_PERSON_DAMAGE
*P3CONST_LAND_BRIDGE_MAX_CHANGE
*P3CONST_SW_BLAST_RATE_TOWER
*P3CONST_SW_BLAST_DAMAGE_TOWER
*P3CONST_BRAVE_DT_RADIUS
*P3CONST_WARRIOR_DT_RADIUS
*P3CONST_RELIGIOUS_DT_RADIUS
*P3CONST_SPY_DT_RADIUS
*P3CONST_SUPER_WARRIOR_DT_RADIUS
*P3CONST_MEDICINE_MAN_DT_RADIUS
*P3CONST_ALT_BAND_0_SPELL_INCR
*P3CONST_ALT_BAND_1_SPELL_INCR
*P3CONST_ALT_BAND_2_SPELL_INCR
*P3CONST_ALT_BAND_3_SPELL_INCR
*P3CONST_ALT_BAND_4_SPELL_INCR
*P3CONST_ALT_BAND_5_SPELL_INCR
*P3CONST_ALT_BAND_6_SPELL_INCR
*P3CONST_ALT_BAND_7_SPELL_INCR
*P3CONST_ALT_BAND_0_SUPER_INCR
*P3CONST_ALT_BAND_1_SUPER_INCR
*P3CONST_ALT_BAND_2_SUPER_INCR
*P3CONST_ALT_BAND_3_SUPER_INCR
*P3CONST_ALT_BAND_4_SUPER_INCR
*P3CONST_ALT_BAND_5_SUPER_INCR
*P3CONST_ALT_BAND_6_SUPER_INCR
*P3CONST_ALT_BAND_7_SUPER_INCR
*P3CONST_SP_1_OFF_MAX_BLAST
*P3CONST_SP_1_OFF_MAX_BOLT
*P3CONST_SP_1_OFF_MAX_WWIND
*P3CONST_SP_1_OFF_MAX_PLAGUE
*P3CONST_SP_1_OFF_MAX_INVIS
*P3CONST_SP_1_OFF_MAX_FIREST
*P3CONST_SP_1_OFF_MAX_HYPNO
*P3CONST_SP_1_OFF_MAX_GARMY
*P3CONST_SP_1_OFF_MAX_EROSION
*P3CONST_SP_1_OFF_MAX_SWAMP
*P3CONST_SP_1_OFF_MAX_LBRIDGE
*P3CONST_SP_1_OFF_MAX_AOD
*P3CONST_SP_1_OFF_MAX_QUAKE
*P3CONST_SP_1_OFF_MAX_FLATTEN
*P3CONST_SP_1_OFF_MAX_VOLCANO
*P3CONST_SP_1_OFF_MAX_CONVERT
*P3CONST_SP_1_OFF_MAX_SHIELD
*P3CONST_SP_1_OFF_MAX_ARMAGEDDON
*P3CONST_SP_1_OFF_MAX_TELEPORT
*P3CONST_SP_1_OFF_MAX_BLOODLUST
*P3CONST_SPY_DISGUISE_DELAY
*P3CONST_INVIS_NUM_PEOPLE
*P3CONST_HYPNO_NUM_PEOPLE
*P3CONST_LIGHTNING_NUM_KILLS
*P3CONST_SHIELD_NUM_PEOPLE
*P3CONST_BUILD_ALT_DIFF2
*P3CONST_FIRESTORM_DURATION
*P3CONST_HUMAN_TRAIN_MANA_WARR
*P3CONST_HUMAN_TRAIN_MANA_SPY
*P3CONST_HUMAN_TRAIN_MANA_PREACH
*P3CONST_HUMAN_TRAIN_MANA_SWARR
*P3CONST_CP_TRAIN_MANA_WARR
*P3CONST_CP_TRAIN_MANA_SPY
*P3CONST_CP_TRAIN_MANA_PREACH
*P3CONST_CP_TRAIN_MANA_SWARR
*P3CONST_TRAIN_MANA_BAND_00_03
*P3CONST_TRAIN_MANA_BAND_04_07
*P3CONST_TRAIN_MANA_BAND_08_11
*P3CONST_TRAIN_MANA_BAND_12_15
*P3CONST_TRAIN_MANA_BAND_16_20
*P3CONST_TRAIN_MANA_BAND_21+
*P3CONST_SW_BLDG_DAMAGE_DELAY
*P3CONST_SW_BLAST_DAMAGE_WARR
*P3CONST_MULTIPLE_SELECT_NUM
*P3CONST_DME_RESTORE_TIME
*P3CONST_BRAVE_SPEED
*P3CONST_WARRIOR_SPEED
*P3CONST_RELIGIOUS_SPEED
*P3CONST_SPY_SPEED
*P3CONST_SUPER_WARRIOR_SPEED
*P3CONST_MEDICINE_MAN_SPEED
*P3CONST_AOD_KILL_COUNT
*P3CONST_AOD_DURATION
*P3CONST_LIFE_AOD
*P3CONST_BLAST_DAMAGE_AOD
*P3CONST_TRIGGER_REACTIVATE_TIME
*P3CONST_LAND_BRIDGE_DURATION
*P3CONST_BLOODLUST_COUNT_X8
*P3CONST_BLOODLUST_NUM_PEOPLE
*P3CONST_BLOODLUST_DAMAGE_X
*P3CONST_BLOODLUST_HEALTH_X
*P3CONST_BLOODLUST_SW_BLAST_X
*P3CONST_HUMAN_REINC_START_DELAY
*P3CONST_SPELL_AOD_OPT_S
*P3CONST_SPELL_VOLCANO_OPT_S
*P3CONST_SPELL_CONVERT_WILD_OPT_S
*P3CONST_SPELL_HYPNO_OPT_S
*P3CONST_SPELL_EROSION_OPT_S
*P3CONST_SPELL_QUAKE_OPT_S
*P3CONST_SPELL_FLATTEN_OPT_S
*P3CONST_SPELL_BOLT_OPT_S
*P3CONST_SPELL_WWIND_OPT_S
*P3CONST_SPELL_FIREST_OPT_S
*P3CONST_SPELL_SWAMP_OPT_S
*P3CONST_SPELL_LBRIDGE_OPT_S
*P3CONST_SPELL_PLAGUE_OPT_S
*P3CONST_SPELL_INVIS_OPT_S
*P3CONST_SPELL_SHIELD_OPT_S
*P3CONST_SPELL_BLOODLUST_OPT_S
*P3CONST_SPELL_TELEPORT_OPT_S
*P3CONST_SPELL_BLAST_OPT_S
*P3CONST_SPELL_GARMY_OPT_S
*P3CONST_SPELL_ARMAGEDDON_OPT_S
*P3CONST_LSME_DURATION_SECS
*P3CONST_VEHICLE_LIFE_BOAT
*P3CONST_VEHICLE_LIFE_BALLOON


=== 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


'''!= Article Needs Expansion into Forbidden constants =!'''
== Extended Constants ==
== The Forbidden Constants ==


The Forbidden Constants were first discovered in the [[Populous: The Beginning]] binary and in the memory while the game is running. They were discovered 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.
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.


=== Known Forbiddon Constants (name/definition): ===
=== Extended Constants (name/definition): ===
* '''P3CONST_[[BLDG_MAX_BUILD_TEEPEE]]X (X = 1,2,3)'''| This controls how many units are able to build a hut.
All constants start with P3CONST_
* '''P3CONST_[[FALL_OUT_OF_WW_DAMAGE]]'''            | This controls how much damage a [[tornado]] causes to a single unit after they fall out of the [[tornado]].
* '''[[BLDG_MAX_BUILD_TEEPEE]]X (X = 1,2,3)'''| This controls how many units are able to build a hut.
* '''P3CONST_[[SWAMP_NUM_PEOPLE]]'''                  | This controls how units will die before the swamp spells is lifted     
* '''[[FALL_OUT_OF_WW_DAMAGE]]'''            | This controls how much damage a [[tornado]] causes to a single unit after they fall out of the [[tornado]].
* '''P3CONST_[[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.
* '''[[SWAMP_NUM_PEOPLE]]'''                  | This controls how units will die in [[swamp]] before the swamp spells is lifted     
* '''P3CONST_[[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.
* '''P3CONST_[[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.
*'''P3CONST_[[BLDG_MAX_BUILD_SPY]] '''                | This controls how many untils are allowed to build a spy hut
* '''[[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.
*'''P3CONST_[[BLDG_MAX_BUILD_WARR]] '''              | This controls how many untils are allowed to build a warrior hut
*'''[[BLDG_MAX_BUILD_SPY]] '''                | This controls how many untils are allowed to build a [[Spy Training Hut]]
*'''P3CONST_[[BLDG_MAX_BUILD_SWARR]] '''              | This controls how many untils are allowed to build a firewarior hut
*'''[[BLDG_MAX_BUILD_WARR]] '''              | This controls how many untils are allowed to build a [[Warrior Training Hut]]
*'''P3CONST_[[BLDG_MAX_BUILD_BOAT]] '''              | This controls how many untils are allowed to build a boat house
*'''[[BLDG_MAX_BUILD_SWARR]] '''              | This controls how many untils are allowed to build a [[Firewarrior Training Hut]]
*'''P3CONST_[[BLDG_MAX_BUILD_BALLOON]] '''            | This controls how many untils are allowed to build a balloon hut
*'''[[BLDG_MAX_BUILD_BOAT]] '''              | This controls how many untils are allowed to build a [[Boat Hut]]
*'''P3CONST_[[BLDG_MAX_BUILD_DTOWER]] '''            | This controls how many untils are allowed to build a tower
*'''[[BLDG_MAX_BUILD_BALLOON]] '''            | This controls how many untils are allowed to build a [[Balloon Hut]]
*'''P3CONST_[[BLDG_V_TEEPEE]]'''                      | This controls what texture/object the huts '''(?)''' have.
*'''[[BLDG_MAX_BUILD_DTOWER]] '''            | This controls how many untils are allowed to build a [[Guard Tower]]
*'''P3CONST_[[BLDG_V_HUT]]'''                        | This controls what texture/object the huts have.
*'''[[LSME_TREES_PER_SHOT]]'''                | ''FORGE WORLD:'' This controls how many [[tree]]s the player gets upon cast
*'''P3CONST_[[BLDG_V_FARM]]'''                        | This controls what texture/object the trees have.
*'''[[LSME_WILDS_PER_SHOT]]'''                | ''FORGE WORLD:'' This controls how many [[wildmen]] the player gets upon cast
*'''P3CONST_[[BLDG_V_DTOWER]]'''                      | This controls what texture/object the towers have.
*'''[[LSME_WRANGE_EROSION]]'''                | ''FORGE WORLD:'' This controls range of [[erosion]]
*'''P3CONST_[[BLDG_V_TEMPLE]]'''                      | This controls what texture/object the temple have.
*'''[[LSME_WRANGE_LBRIDGE]]'''                | ''FORGE WORLD:'' This controls range of [[Landbridge]]
*'''P3CONST_[[BLDG_V_SPY]]'''                        | This controls what texture/object the spy hut have.
*'''[[LSME_WRANGE_FLATTEN]]'''                | ''FORGE WORLD:'' This controls range of [[flatten]]
*'''P3CONST_[[BLDG_V_WARR]]'''                        | This controls what texture/object the warrior hut have.
*'''[[LSME_WRANGE_HILL]]'''                  | ''FORGE WORLD:'' This controls range of [[hill]]
*'''P3CONST_[[BLDG_V_SWARR]]'''                      | This controls what texture/object the firewarrior have.
*'''[[LSME_WRANGE_VALLEY]]'''                | ''FORGE WORLD:'' This controls range of [[valley]]
*'''P3CONST_[[LSME_TREES_PER_SHOT]]'''                | ''FORGE WORLD:'' This controls how many [[tree]]s the player gets upon cast
*'''[[LSME_WRANGE_RISE]]'''                  | ''FORGE WORLD:'' This controls range of [[rise]]
*'''P3CONST_[[LSME_WILDS_PER_SHOT]]'''                | ''FORGE WORLD:'' This controls how many [[wildmen]] the player gets upon cast
*'''[[LSME_WRANGE_DIP]]'''                    | ''FORGE WORLD:'' This controls range of [[dip]]
*'''P3CONST_[[LSME_WRANGE_EROSION]]'''                | ''FORGE WORLD:'' This controls range of [[erosion]]
*'''[[LSME_WRANGE_TREES]]'''                  | ''FORGE WORLD:'' This controls range of [[Trees_(Spell)]]s
*'''P3CONST_[[LSME_WRANGE_LBRIDGE]]'''                | ''FORGE WORLD:'' This controls range of [[land_bridge]]
*'''[[LSME_WRANGE_WILDS]]'''                  | ''FORGE WORLD:'' This controls range of [[Wildmen_(Spell)]]
*'''P3CONST_[[LSME_WRANGE_FLATTEN]]'''                | ''FORGE WORLD:'' This controls range of [[flatten]]
*'''[[LSME_WRANGE_RAISE_LOWER]]'''            | ''FORGE WORLD:'' This controls range of [[lower]]
*'''P3CONST_[[LSME_WRANGE_HILL]]'''                  | ''FORGE WORLD:'' This controls range of [[hill]]
*'''[[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")
*'''P3CONST_[[LSME_WRANGE_VALLEY]]'''                | ''FORGE WORLD:'' This controls range of [[valley]]
*'''[[LSME_1_OFF_MAX_EROSION]]'''            | FORGE WORLD: This controls how many slots are available for [[erosion]]
*'''P3CONST_[[LSME_WRANGE_RISE]]'''                  | ''FORGE WORLD:'' This controls range of [[rise]]
*'''[[LSME_1_OFF_MAX_LBRIDGE]]'''            | FORGE WORLD: This controls how many slots are available for [[Landbridge]]
*'''P3CONST_[[LSME_WRANGE_DIP]]'''                    | ''FORGE WORLD:'' This controls range of [[dip]]
*'''[[LSME_1_OFF_MAX_FLATTEN]]'''            | FORGE WORLD: This controls how many slots are available for [[flatten]]
*'''P3CONST_[[LSME_WRANGE_TREES]]'''                  | ''FORGE WORLD:'' This controls range of [[Trees_(Spell)]]s
*'''[[LSME_1_OFF_MAX_HILL]]'''                | FORGE WORLD: This controls how many slots are available for [[hill]]
*'''P3CONST_[[LSME_WRANGE_WILDS]]'''                  | ''FORGE WORLD:'' This controls range of [[Wildmen_(Spell)]]
*'''[[LSME_1_OFF_MAX_VALLEY]]'''              | FORGE WORLD: This controls how many slots are available for [[valley]]
*'''P3CONST_[[LSME_WRANGE_RAISE_LOWER]]'''            | ''FORGE WORLD:'' This controls range of [[lower]]
*'''[[LSME_1_OFF_MAX_RISE]]'''                | FORGE WORLD: This controls how many slots are available for [[rise]]
*'''P3CONST_[[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_DIP]]'''                | FORGE WORLD: This controls how many slots are available for [[dip]]
*'''P3CONST_[[LSME_1_OFF_MAX_EROSION]]'''            | FORGE WORLD: This controls how many slots you have for [[erosion]]
*'''[[LSME_1_OFF_MAX_TREES]]'''              | FORGE WORLD: This controls how many slots are available for [[Trees_(Spell)]]s
*'''P3CONST_[[LSME_1_OFF_MAX_LBRIDGE]]'''            | FORGE WORLD: This controls how many slots you have for [[land_bridge]]
*'''[[LSME_1_OFF_MAX_WILDS]]'''              | FORGE WORLD: This controls how many slots are available for [[Wildmen_(Spell)]]
*'''P3CONST_[[LSME_1_OFF_MAX_FLATTEN]]'''            | FORGE WORLD: This controls how many slots you have for [[flatten]]
*'''P3CONST_[[LSME_1_OFF_MAX_HILL]]'''                | FORGE WORLD: This controls how many slots you have for [[hill]]
*'''P3CONST_[[LSME_1_OFF_MAX_VALLEY]]'''              | FORGE WORLD: This controls how many slots you have for [[valley]]
*'''P3CONST_[[LSME_1_OFF_MAX_RISE]]'''                | FORGE WORLD: This controls how many slots you have for [[rise]]
*'''P3CONST_[[LSME_1_OFF_MAX_DIP]]'''                | FORGE WORLD: This controls how many slots you have for [[dip]]
*'''P3CONST_[[LSME_1_OFF_MAX_TREES]]'''              | FORGE WORLD: This controls how many slots you have for [[Trees_(Spell]]s
*'''P3CONST_[[LSME_1_OFF_MAX_WILDS]]'''              | FORGE WORLD: This controls how many slots you have for [[Wildmen_(Spell]]
Please do not add to this list without telling [[Brandan]] first it makes it harder to track whats been done and what hasn't.


=== The Forbidden Constants ===
=== Extended Constants ===
*P3CONST_SW_FIRE_RATE_TOWER
All constants start with P3CONST_
*P3CONST_CONVERT_MANA
*SW_FIRE_RATE_TOWER
*P3CONST_SOUL_GRAB
*CONVERT_MANA
*P3CONST_BLAST_DAMAGE_BLDG
*SOUL_GRAB
*P3CONST_BLAST_DAMAGE_PERSON
*BLAST_DAMAGE_BLDG
*P3CONST_SWAMP_NUM_PEOPLE
*BLAST_DAMAGE_PERSON
*P3CONST_SPELL_BURN
*SWAMP_NUM_PEOPLE
*P3CONST_SPELL_ARMAGEDDON
*SPELL_BURN
*P3CONST_SPELL_BLOODLUST
*SPELL_ARMAGEDDON
*P3CONST_SPELL_TELEPORT
*SPELL_BLOODLUST
*P3CONST_SP_W_RANGE_BURN
*SPELL_TELEPORT
*P3CONST_SP_W_RANGE_INVIS
*SP_W_RANGE_BURN
*P3CONST_SP_W_RANGE_ARMAGEDDON
*SP_W_RANGE_INVIS
*P3CONST_SW_BLAST_DAMAGE_BRAVE
*SP_W_RANGE_ARMAGEDDON
*P3CONST_SW_BLAST_DAMAGE_SPY
*SW_BLAST_DAMAGE_BRAVE
*P3CONST_SW_BLAST_DAMAGE_PREACHT
*SW_BLAST_DAMAGE_SPY
*P3CONST_SW_BLAST_DAMAGE_SWARR
*SW_BLAST_DAMAGE_PREACHT
*P3CONST_SW_BLAST_DAMAGE_SHAMEN
*SW_BLAST_DAMAGE_SWARR
*P3CONST_SW_BLAST_DAMAGE_AOD
*SW_BLAST_DAMAGE_SHAMEN
*P3CONST_BLDG_V_TEEPEE
*SW_BLAST_DAMAGE_AOD
*P3CONST_BLDG_V_HUT
*BLDG_V_TEEPEE
*P3CONST_BLDG_V_FARM
*BLDG_V_HUT
*P3CONST_BLDG_V_DTOWER
*BLDG_V_FARM
*P3CONST_BLDG_V_TEMPLE
*BLDG_V_DTOWER
*P3CONST_BLDG_V_SPY
*BLDG_V_TEMPLE
*P3CONST_BLDG_V_WARR
*BLDG_V_SPY
*P3CONST_BLDG_V_SWARR
*BLDG_V_WARR
*P3CONST_BLDG_MAX_BUILD_TEEPEE1
*BLDG_V_SWARR
*P3CONST_BLDG_MAX_BUILD_TEEPEE2
*BLDG_MAX_BUILD_TEEPEE1
*P3CONST_BLDG_MAX_BUILD_TEEPEE3
*BLDG_MAX_BUILD_TEEPEE2
*P3CONST_BLDG_MAX_BUILD_TEMPLE
*BLDG_MAX_BUILD_TEEPEE3
*P3CONST_BLDG_MAX_BUILD_SPY
*BLDG_MAX_BUILD_TEMPLE
*P3CONST_BLDG_MAX_BUILD_WARR
*BLDG_MAX_BUILD_SPY
*P3CONST_BLDG_MAX_BUILD_SWARR
*BLDG_MAX_BUILD_WARR
*P3CONST_BLDG_MAX_BUILD_BOAT
*BLDG_MAX_BUILD_SWARR
*P3CONST_BLDG_MAX_BUILD_BALLOON
*BLDG_MAX_BUILD_BOAT
*P3CONST_BLDG_MAX_BUILD_DTOWER
*BLDG_MAX_BUILD_BALLOON
*P3CONST_MANA_F_WORKING
*BLDG_MAX_BUILD_DTOWER
*P3CONST_RAISE_LOWER_COST
*MANA_F_WORKING
*P3CONST_WALK_ALT_DIFF2_SHALLOWT
*RAISE_LOWER_COST
*P3CONST_BOAT_HUT_ALT_DIFF2
*WALK_ALT_DIFF2_SHALLOWT
*P3CONST_BLDG_DESTROY_ALT_DIFF2
*BOAT_HUT_ALT_DIFF2
*P3CONST_TRIGGER_REACTIVE
*BLDG_DESTROY_ALT_DIFF2
*P3CONST_CONV_PREACH
*TRIGGER_REACTIVE
*P3CONST_CONV_SHAMEN
*CONV_PREACH
*P3CONST_TREE1_DORMANT_TIME
*CONV_SHAMEN
*P3CONST_TREE2_DORMANT_TIME
*TREE1_DORMANT_TIME
*P3CONST_TREE3_DORMANT_TIME
*TREE2_DORMANT_TIME
*P3CONST_TREE4_DORMANT_TIME
*TREE3_DORMANT_TIME
*P3CONST_TREE5_DORMANT_TIME
*TREE4_DORMANT_TIME
*P3CONST_TREE6_DORMANT_TIME
*TREE5_DORMANT_TIME
*P3CONST_WOOD_SHAMEN
*TREE6_DORMANT_TIME
*P3CONST_CONV_TIME_TEMPLE
*WOOD_SHAMEN
*P3CONST_CONV_TIME_SPY
*CONV_TIME_TEMPLE
*P3CONST_CONV_TIME_WARRIOR
*CONV_TIME_SPY
*P3CONST_CONV_TIME_SUPER
*CONV_TIME_WARRIOR
*P3CONST_CONV_TIME_RECONV
*CONV_TIME_SUPER
*P3CONST_WOOD_VEHICLE_BOAT
*CONV_TIME_RECONV
*P3CONST_FIGHT_DAMAGE_SHAMEN
*WOOD_VEHICLE_BOAT
*P3CONST_FALL_OUT_OF_WW_DAMAGE
*FIGHT_DAMAGE_SHAMEN
*P3CONST_SP_1_OFF_MAX_BURN
*FALL_OUT_OF_WW_DAMAGE
*P3CONST_SP_1_OFF_MAX_ARMAY
*SP_1_OFF_MAX_BURN
*P3CONST_LSME_1_OFF_MAX_EROSION
*SP_1_OFF_MAX_ARMAY
*P3CONST_LSME_1_OFF_MAX_LBRIDGE
*LSME_1_OFF_MAX_EROSION
*P3CONST_LSME_1_OFF_MAX_FLATTEN
*LSME_1_OFF_MAX_LBRIDGE
*P3CONST_LSME_1_OFF_MAX_HILL
*LSME_1_OFF_MAX_FLATTEN
*P3CONST_LSME_1_OFF_MAX_VALLEY
*LSME_1_OFF_MAX_HILL
*P3CONST_LSME_1_OFF_MAX_RISE
*LSME_1_OFF_MAX_VALLEY
*P3CONST_LSME_1_OFF_MAX_DIP
*LSME_1_OFF_MAX_RISE
*P3CONST_LSME_1_OFF_MAX_TREES  
*LSME_1_OFF_MAX_DIP
*P3CONST_LSME_1_OFF_MAX_WILDS
*LSME_1_OFF_MAX_TREES  
*P3CONST_LSME_TREES_PER_SHOT
*LSME_1_OFF_MAX_WILDS
*P3CONST_LSME_WILDS_PER_SHOT
*LSME_TREES_PER_SHOT
*P3CONST_LSME_ALT_ALTER_AMT
*LSME_WILDS_PER_SHOT
*P3CONST_LSME_WRANGE_EROSION
*LSME_ALT_ALTER_AMT
*P3CONST_LSME_WRANGE_LBRIDGE
*LSME_WRANGE_EROSION
*P3CONST_LSME_WRANGE_FLATTEN
*LSME_WRANGE_LBRIDGE
*P3CONST_LSME_WRANGE_HILL
*LSME_WRANGE_FLATTEN
*P3CONST_LSME_WRANGE_VALLEY
*LSME_WRANGE_HILL
*P3CONST_LSME_WRANGE_RISE
*LSME_WRANGE_VALLEY
*P3CONST_LSME_WRANGE_DIP
*LSME_WRANGE_RISE
*P3CONST_LSME_WRANGE_TREES
*LSME_WRANGE_DIP
*P3CONST_LSME_WRANGE_WILDS
*LSME_WRANGE_TREES
*P3CONST_LSME_WRANGE_RAISE_LOWER
*LSME_WRANGE_WILDS
*P3CONST_AOD_STATUE_WAIT_SECS
*LSME_WRANGE_RAISE_LOWER
*P3CONST_BLAST_FRIEND_AFFECT
*AOD_STATUE_WAIT_SECS
*P3CONST_MANA_IDLE_BRAVES
*BLAST_FRIEND_AFFECT
*P3CONST_MANA_IDLE_SPECIALS
*MANA_IDLE_BRAVES
*P3CONST_MANA_BUSY_BRAVES
*MANA_IDLE_SPECIALS
*P3CONST_MANA_BUSY_SPECIALS
*MANA_BUSY_BRAVES
*MANA_BUSY_SPECIALS


=== Binary download of revised constants ===
= External Links =
Constants (with The Forbidden Constants)
 
http://brandanlasley.com/releases/Thread/Popre/New%20Constants/New_Constants.dat
[http://brandanlasley.com/releases/Thread/Popre/New%20Constants/New_Constants.dat Text Version of constant.dat (with extended constants)]

Latest revision as of 00:21, 5 April 2019

Eagle trees after editing Forbidden Constants

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_

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

Text Version of constant.dat (with extended constants)