FLOAT: Difference between revisions
>Darktorizo |
>Darktorizo |
||
Line 71: | Line 71: | ||
| 25 || [[STRENGTH_MOD_FLOAT]] || current strength skill modifier | | 25 || [[STRENGTH_MOD_FLOAT]] || current strength skill modifier | ||
|- | |- | ||
| 26 || [[MAXIMUM_VELOCITY_FLOAT]] || | | 26 || [[MAXIMUM_VELOCITY_FLOAT]] || floating-point number designating Maximum Velocity | ||
|- | |- | ||
| 27 || [[ROTATION_SPEED_FLOAT]] || rotation speed of projectiles: 0, 1, 2, 3.5 | | 27 || [[ROTATION_SPEED_FLOAT]] || rotation speed of projectiles: 0, 1, 2, 3.5 |
Latest revision as of 21:43, 16 October 2020
Related topics: Weenie Properties
Introduction Edit
Floats are numbers with a decimal (ex: 0.7, 1.3, 1.0025).
These numbers will designate a value that is then modified to what we see in the identification panel in game. Not all of these keys require a decimal value. There are some that simply take 0, or 1.
Example 1: For a 15% Attack Modifier on a sword, you would enter a value of 1.15 into 62 - WEAPON_OFFENSE_FLOAT
Example 2: For a 130% Damage Modifier on a bow, you would enter a value of 2.3 into 63 - DAMAGE_MOD_FLOAT
Quick Reference List Edit
Value Name Description 1 HEARTBEAT_INTERVAL_FLOAT length of time between heartbeat emote actions 2 HEARTBEAT_TIMESTAMP_FLOAT timestamp of last heartbeat emote action 3 HEALTH_RATE_FLOAT Defines regeneration rate of health: 0.0 - 5000.0 (usually 0.0 - 10.0) 4 STAMINA_RATE_FLOAT Defines regeneration rate of stamina: 0.0 - 5000.0 (usually 0.0 - 10.0) 5 MANA_RATE_FLOAT Defines how fast mana is lost from item, set to -0.033 for 1pt/30sec 6 HEALTH_UPON_RESURRECTION_FLOAT percentage of health at spawn: 0.01 - 1.0 7 STAMINA_UPON_RESURRECTION_FLOAT percentage of health at spawn: 0.01 - 1.0 8 MANA_UPON_RESURRECTION_FLOAT percentage of health at spawn: 0.01 - 1.0 9 START_TIME_FLOAT generator start time 10 STOP_TIME_FLOAT generator end time 11 RESET_INTERVAL_FLOAT generator reset interval 12 SHADE_FLOAT 13 ARMOR_MOD_VS_SLASH_FLOAT 0.0 - 2.0 14 ARMOR_MOD_VS_PIERCE_FLOAT 0.0 - 2.0 15 ARMOR_MOD_VS_BLUDGEON_FLOAT 0.0 - 2.0 16 ARMOR_MOD_VS_COLD_FLOAT 0.0 - 2.0 17 ARMOR_MOD_VS_FIRE_FLOAT 0.0 - 2.0 18 ARMOR_MOD_VS_ACID_FLOAT 0.0 - 2.0 19 ARMOR_MOD_VS_ELECTRIC_FLOAT 0.0 - 2.0 20 COMBAT_SPEED_FLOAT 21 WEAPON_LENGTH_FLOAT 22 DAMAGE_VARIANCE_FLOAT See Variance table 23 CURRENT_POWER_MOD_FLOAT power bar setting modifier 24 ACCURACY_MOD_FLOAT accuracy bar setting modifier 25 STRENGTH_MOD_FLOAT current strength skill modifier 26 MAXIMUM_VELOCITY_FLOAT floating-point number designating Maximum Velocity 27 ROTATION_SPEED_FLOAT rotation speed of projectiles: 0, 1, 2, 3.5 28 MOTION_TIMESTAMP_FLOAT 29 WEAPON_DEFENSE_FLOAT Melee Defense bonus multiplier. Example: Set to 1.15 for 15% 30 WIMPY_LEVEL_FLOAT 31 VISUAL_AWARENESS_RANGE_FLOAT 0-75 -- aggro range 32 AURAL_AWARENESS_RANGE_FLOAT 33 PERCEPTION_LEVEL_FLOAT 34 POWERUP_TIME_FLOAT 0-5 35 MAX_CHARGE_DISTANCE_FLOAT character property for charge distance? 36 CHARGE_SPEED_FLOAT 0.5-3, usually 1 37 BUY_PRICE_FLOAT Vendor buy rate modifier to item value: 0.1-2 38 SELL_PRICE_FLOAT Vendor sell rate modifier to item value: 1-50 (usually 1-2) 39 DEFAULT_SCALE_FLOAT 40 LOCKPICK_MOD_FLOAT 1 on all lockpicks, related to LOCKPICK_MOD_INT 41 REGENERATION_INTERVAL_FLOAT generator, chest, creature regeneration rate (seconds) 42 REGENERATION_TIMESTAMP_FLOAT timestamp of last regeneration 43 GENERATOR_RADIUS_FLOAT 0-45 44 TIME_TO_ROT_FLOAT -1, 0, 30, 900 (seconds) 45 DEATH_TIMESTAMP_FLOAT timestamp of last death 46 PK_TIMESTAMP_FLOAT timestamp of turning pk 47 VICTIM_TIMESTAMP_FLOAT timestamp of last pk kill 48 LOGIN_TIMESTAMP_FLOAT current login timestamp 49 CREATION_TIMESTAMP_FLOAT character creation timestamp 50 MINIMUM_TIME_SINCE_PK_FLOAT on all pk/npk altars. 3 hour timer (10800 seconds) 51 DEPRECATED_HOUSEKEEPING_PRIORITY_FLOAT 52 ABUSE_LOGGING_TIMESTAMP_FLOAT Timestamp of abuse report 53 LAST_PORTAL_TELEPORT_TIMESTAMP_FLOAT timestamp of the most recent teleport 54 USE_RADIUS_FLOAT -0.1 - 30. Distance you can use an object 55 HOME_RADIUS_FLOAT 5-250, on creatures, not used often 56 RELEASED_TIMESTAMP_FLOAT 57 MIN_HOME_RADIUS_FLOAT related to HOME_RADIUS_FLOAT 58 FACING_FLOAT 59 RESET_TIMESTAMP_FLOAT 60 LOGOFF_TIMESTAMP_FLOAT timestamp set at character logout 61 ECON_RECOVERY_INTERVAL_FLOAT local spell economy recovery rate? 62 WEAPON_OFFENSE_FLOAT Attack Skill bonus multiplier. Example: Set to 1.20 for 20% 63 DAMAGE_MOD_FLOAT Damage Modifier on Missile Weapons 64 RESIST_SLASH_FLOAT creature elemental resistance 0-500, usually 0.0-1 65 RESIST_PIERCE_FLOAT creature elemental resistance 0-500, usually 0.0-1 66 RESIST_BLUDGEON_FLOAT creature elemental resistance 0-500, usually 0.0-1 67 RESIST_FIRE_FLOAT creature elemental resistance 0-500, usually 0.0-1 68 RESIST_COLD_FLOAT creature elemental resistance 0-500, usually 0.0-1 69 RESIST_ACID_FLOAT creature elemental resistance 0-500, usually 0.0-1 70 RESIST_ELECTRIC_FLOAT creature elemental resistance 0-500, usually 0.0-1 71 RESIST_HEALTH_BOOST_FLOAT cannot infuse health, 1 72 RESIST_STAMINA_DRAIN_FLOAT stamina drain resistance 0.0-1 73 RESIST_STAMINA_BOOST_FLOAT cannot infuse stamina, 1 74 RESIST_MANA_DRAIN_FLOAT mana drain resistance 0.0-1 75 RESIST_MANA_BOOST_FLOAT cannot infuse mana, 1 76 TRANSLUCENCY_FLOAT scale 0-1, 0 = opaque 1 = transparent 77 PHYSICS_SCRIPT_INTENSITY_FLOAT 1 78 FRICTION_FLOAT 0 or 1 79 ELASTICITY_FLOAT 0 80 AI_USE_MAGIC_DELAY_FLOAT 0-3, delay modifier between melee/magic attacks 81 ITEM_MIN_SPELLCRAFT_MOD_FLOAT 82 ITEM_MAX_SPELLCRAFT_MOD_FLOAT 83 ITEM_RANK_PROBABILITY_FLOAT 84 SHADE2_FLOAT 85 SHADE3_FLOAT 86 SHADE4_FLOAT 87 ITEM_EFFICIENCY_FLOAT mana stone efficiency rating. 1.0 = 100%, 3.0 = 300% 88 ITEM_MANA_UPDATE_TIMESTAMP_FLOAT timestamp of last mana update: filling and draining? 89 SPELL_GESTURE_SPEED_MOD_FLOAT movement speed modifier of spell animations? 90 SPELL_STANCE_SPEED_MOD_FLOAT movement speed modifier of moving in and out of spell combat mode? 91 ALLEGIANCE_APPRAISAL_TIMESTAMP_FLOAT 92 POWER_LEVEL_FLOAT related to CURRENT_POWER_MOD_FLOAT? 93 ACCURACY_LEVEL_FLOAT related to ACCURACY_MOD_FLOAT? 94 ATTACK_ANGLE_FLOAT 95 ATTACK_TIMESTAMP_FLOAT 96 CHECKPOINT_TIMESTAMP_FLOAT 97 SOLD_TIMESTAMP_FLOAT 98 USE_TIMESTAMP_FLOAT 99 USE_LOCK_TIMESTAMP_FLOAT 100 HEALKIT_MOD_FLOAT healing kit restoration bonus. 1.0 = 100% 101 FROZEN_TIMESTAMP_FLOAT 102 HEALTH_RATE_MOD_FLOAT health regen rate? 103 ALLEGIANCE_SWEAR_TIMESTAMP_FLOAT timestamp of swearing to patron 104 OBVIOUS_RADAR_RANGE_FLOAT 10 105 HOTSPOT_CYCLE_TIME_FLOAT hotspot cycle time in seconds 106 HOTSPOT_CYCLE_TIME_VARIANCE_FLOAT 0-1, cycle time variance 107 SPAM_TIMESTAMP_FLOAT related to chat spam limiter 108 SPAM_RATE_FLOAT related to chat spam limiter 109 BOND_WIELDED_TREASURE_FLOAT 0, .25, .8, 1 110 BULK_MOD_FLOAT 0.8-1.67 111 SIZE_MOD_FLOAT 1-4.5, usually 1 112 GAG_TIMESTAMP_FLOAT time of chat gag? 113 GENERATOR_UPDATE_TIMESTAMP_FLOAT 114 DEATH_SPAM_TIMESTAMP_FLOAT 115 DEATH_SPAM_RATE_FLOAT 116 WILD_ATTACK_PROBABILITY_FLOAT 117 FOCUSED_PROBABILITY_FLOAT .5, .6, .7, .8 -- chance to change targets during combat when attacked? 118 CRASH_AND_TURN_PROBABILITY_FLOAT 119 CRASH_AND_TURN_RADIUS_FLOAT 120 CRASH_AND_TURN_BIAS_FLOAT 121 GENERATOR_INITIAL_DELAY_FLOAT generator initial delay before cycle time begins? 122 AI_ACQUIRE_HEALTH_FLOAT 2, 3, 5, 10, 20, 50 123 AI_ACQUIRE_STAMINA_FLOAT always 2 124 AI_ACQUIRE_MANA_FLOAT always 2 125 RESIST_HEALTH_DRAIN_FLOAT 0.0-1, resistant to health drains 126 LIFESTONE_PROTECTION_TIMESTAMP_FLOAT timestamp when lifestone protection begins 127 AI_COUNTERACT_ENCHANTMENT_FLOAT always 2, probability that the object will counter buff 128 AI_DISPEL_ENCHANTMENT_FLOAT always 1, probability that the object will dispel debuffs 129 TRADE_TIMESTAMP_FLOAT timestamp of open trade window 130 AI_TARGETED_DETECTION_RADIUS_FLOAT 131 EMOTE_PRIORITY_FLOAT always 1, only seen on stopgaps and controllers. 132 LAST_TELEPORT_START_TIMESTAMP_FLOAT 133 EVENT_SPAM_TIMESTAMP_FLOAT 134 EVENT_SPAM_RATE_FLOAT 135 INVENTORY_OFFSET_FLOAT only on house hooks, always set to 20 136 CRITICAL_MULTIPLIER_FLOAT Crushing Blow multiplier 137 MANA_STONE_DESTROY_CHANCE_FLOAT chance of stone destruction when using filled stone on target 138 SLAYER_DAMAGE_BONUS_FLOAT 1.0-5.0, damage bonus for species slayer weapon 139 ALLEGIANCE_INFO_SPAM_TIMESTAMP_FLOAT timestamp of last allegiance info request 140 ALLEGIANCE_INFO_SPAM_RATE_FLOAT rate the server allows new alleg info requests 141 NEXT_SPELLCAST_TIMESTAMP_FLOAT 142 APPRAISAL_REQUESTED_TIMESTAMP_FLOAT timestamp when ID was requested 143 APPRAISAL_HEARTBEAT_DUE_TIMESTAMP_FLOAT timestamp of automatic ID update 144 MANA_CONVERSION_MOD_FLOAT weapon mana conversion modifier %, 0.0-1 145 LAST_PK_ATTACK_TIMESTAMP_FLOAT timestamp of last pk encounter 146 FELLOWSHIP_UPDATE_TIMESTAMP_FLOAT timestamp of last fellowship vital update? 147 CRITICAL_FREQUENCY_FLOAT Biting Strike multiplier 148 LIMBO_START_TIMESTAMP_FLOAT timestamp of admin putting player in limbo 149 WEAPON_MISSILE_DEFENSE_FLOAT Missile Defense bonus multiplier. Example: Set to 1.025 for 2.5% 150 WEAPON_MAGIC_DEFENSE_FLOAT Magic Defense bonus multiplier. Example: Set to 1.025 for 2.5% 151 IGNORE_SHIELD_FLOAT 0.0-1, shield hollow modifier 152 ELEMENTAL_DAMAGE_MOD_FLOAT % elemental damage modifier, 1.0-1.5 153 START_MISSILE_ATTACK_TIMESTAMP_FLOAT 154 LAST_RARE_USED_TIMESTAMP_FLOAT rare used timestamp, to limit rare use 155 IGNORE_ARMOR_FLOAT 1 = Properties:Armor Cleaving 156 PROC_SPELL_RATE_FLOAT rate of proc spell on cloak/aetheria and weapon Cast On Strike 157 RESISTANCE_MODIFIER_FLOAT Resistance Rending amount 158 ALLEGIANCE_GAG_TIMESTAMP_FLOAT timestamp of allegiance gag start 159 ABSORB_MAGIC_DAMAGE_FLOAT magic absorption rate. 160 CACHED_MAX_ABSORB_MAGIC_DAMAGE_FLOAT 161 GAG_DURATION_FLOAT length of chat gag in seconds 162 ALLEGIANCE_GAG_DURATION_FLOAT length of allegiance gag 163 GLOBAL_XP_MOD_FLOAT global xp modifier, how double xp weekends could be enabled? 164 HEALING_MODIFIER_FLOAT healing modifier for peace/combat? 165 ARMOR_MOD_VS_NETHER_FLOAT 0.0 - 2.0 166 RESIST_NETHER_FLOAT creature elemental resistance 0-500, usually 0.0-1 167 COOLDOWN_DURATION_FLOAT 5 second cooldown fizzle between casting war and void? 168 WEAPON_AURA_OFFENSE_FLOAT weapon buffs are cast on character and apply to all weapons equipped 169 WEAPON_AURA_DEFENSE_FLOAT weapon buffs are cast on character and apply to all weapons equipped 170 WEAPON_AURA_ELEMENTAL_FLOAT weapon buffs are cast on character and apply to all weapons equipped 171 WEAPON_AURA_MANA_CONV_FLOAT weapon buffs are cast on character and apply to all weapons equipped