kyleAI_13

Some game hex values

Aug 6th, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 8.08 KB | None | 0 0
  1. <?php function getMapName($mid) {
  2.     if ($mid==30)       return "Last Resort";    
  3.     elseif ($mid==310)  return "High Ground";  
  4.     elseif ($mid==320)  return "Guardian";     
  5.     elseif ($mid==340)  return "Valhalla";     
  6.     elseif ($mid==380)  return "Narrows";      
  7.     elseif ($mid==390)  return "The Pit";      
  8.     elseif ($mid==400)  return "Sandtrap";     
  9.     elseif ($mid==410)  return "Standoff";     
  10.     elseif ($mid==700)  return "Reactor";      
  11.     elseif ($mid==705)  return "Diamondback";  
  12.     elseif ($mid==31)   return "Icebox";       
  13.     elseif ($mid==703)  return "Edge";         
  14.     elseif ($mid==413)  return "Flatgrass";    
  15.     elseif ($mid==415)  return "Station";      
  16.     elseif ($mid==414)  return "Lockout";      
  17.     elseif ($mid==416)  return "Hang 'Em High";
  18.     else return "Custom";
  19. }
  20. function getGameType($gid) {
  21.     if ($gid=='03')     return "Oddball";      
  22.     elseif ($gid=='02') return "Slayer";         
  23.     elseif ($gid=='0a') return "Infection";      
  24.     elseif ($gid=='09') return "Assault";      
  25.     elseif ($gid=='04') return "King of the Hill";
  26.     elseif ($gid=='07') return "Juggernaut";     
  27.     elseif ($gid=='08') return "Territories";    
  28.     elseif ($gid=='06') return "VIP";            
  29.     elseif ($gid=='01') return "Capture the Flag";
  30.     elseif ($gid=='05') return "Forge";            
  31.     else return "None";
  32. }
  33. function getDmgResist($dmg) {
  34.     if ($dmg=='00')     return "100%";     
  35.     elseif ($dmg=='01') return "10%";      
  36.     elseif ($dmg=='02') return "50%";      
  37.     elseif ($dmg=='03') return "90%";      
  38.     elseif ($dmg=='04') return "100%";     
  39.     elseif ($dmg=='05') return "110%";     
  40.     elseif ($dmg=='06') return "150%";     
  41.     elseif ($dmg=='07') return "200%";     
  42.     elseif ($dmg=='08') return "300%";     
  43.     elseif ($dmg=='09') return "500%";     
  44.     elseif ($dmg=='0a') return "1000%";    
  45.     elseif ($dmg=='0b') return "2000%";    
  46.     elseif ($dmg=='0c') return "Invulnerable";
  47.     else return "Unknown";
  48. }
  49. function getDmgDeal($dmg) {
  50.     if ($dmg=='00')     return "100%";         
  51.     elseif ($dmg=='01') return "0%";           
  52.     elseif ($dmg=='02') return "25%";          
  53.     elseif ($dmg=='03') return "50%";          
  54.     elseif ($dmg=='04') return "75%";          
  55.     elseif ($dmg=='05') return "90%";          
  56.     elseif ($dmg=='06') return "100%";         
  57.     elseif ($dmg=='07') return "110%";         
  58.     elseif ($dmg=='08') return "125%";         
  59.     elseif ($dmg=='09') return "150%";         
  60.     elseif ($dmg=='0a') return "200%";         
  61.     elseif ($dmg=='0b') return "300%";         
  62.     elseif ($dmg=='0c') return "Instant Kill"; 
  63.     else return "Unknown";
  64. }
  65. function getWeap($wea) {
  66.     if ($wea=='01' || $wea=='ff' | $wea=='fe') return "Assault Rifle";
  67.     elseif ($wea=='00') return "Battle Rifle"; 
  68.     elseif ($wea=='0d') return "Brute Shot";   
  69.     elseif ($wea=='12') return "Gravity Hammer";
  70.     elseif ($wea=='07') return "Magnum";       
  71.     elseif ($wea=='08') return "Needler";      
  72.     elseif ($wea=='02') return "Plasma Pistol";
  73.     elseif ($wea=='0a') return "Rocket Launcher";
  74.     elseif ($wea=='0b') return "Shotgun";      
  75.     elseif ($wea=='04') return "S.M.G.";       
  76.     elseif ($wea=='0c') return "Sniper Rifle"; 
  77.     elseif ($wea=='10') return "Spartan Laser";
  78.     elseif ($wea=='06') return "Energy Sword"; 
  79.     elseif ($wea=='03') return "Spiker";       
  80.     elseif ($wea=='05') return "Carbine";      
  81.     elseif ($wea=='0f') return "Beam Rifle";   
  82.     elseif ($wea=='13') return "Mauler";       
  83.     elseif ($wea=='17') return "Fuel-Rod";     
  84.     elseif ($wea=='16') return "Sentinel Beam";
  85.     elseif ($wea=='18') return "D.M.R.";       
  86.     elseif ($wea=='1d') return "Assault Rifle ACC";
  87.     elseif ($wea=='1a') return "Assault Rifle DMG";
  88.     elseif ($wea=='1b') return "Assault Rifle ROF";
  89.     elseif ($wea=='1e') return "Assault Rifle PWR";
  90.     elseif ($wea=='20') return "Battle Rifle ACC";
  91.     elseif ($wea=='22') return "Battle Rifle DMG";
  92.     elseif ($wea=='21') return "Battle Rifle MAG";
  93.     elseif ($wea=='23') return "Battle Rifle RNG";
  94.     elseif ($wea=='1f') return "Battle Rifle ROF";
  95.     elseif ($wea=='24') return "Battle Rifle PWR";
  96.     elseif ($wea=='3b') return "Carbine ACC";  
  97.     elseif ($wea=='3a') return "Carbine DMG";  
  98.     elseif ($wea=='38') return "Carbine MAG";  
  99.     elseif ($wea=='39') return "Carbine RNG";  
  100.     elseif ($wea=='37') return "Carbine ROF";  
  101.     elseif ($wea=='3c') return "Carbine PWR";  
  102.     elseif ($wea=='26') return "D.M.R. ACC";   
  103.     elseif ($wea=='28') return "D.M.R. DMG";   
  104.     elseif ($wea=='29') return "D.M.R. MAG";   
  105.     elseif ($wea=='25') return "D.M.R. RNG";   
  106.     elseif ($wea=='27') return "D.M.R. ROF";   
  107.     elseif ($wea=='2a') return "D.M.R. PWR";   
  108.     elseif ($wea=='2c') return "S.M.G. ACC";   
  109.     elseif ($wea=='2e') return "S.M.G. DMG";   
  110.     elseif ($wea=='2b') return "S.M.G. ROF";   
  111.     elseif ($wea=='30') return "S.M.G. PWR";       
  112.     elseif ($wea=='41') return "Magnum DMG";           
  113.     elseif ($wea=='42') return "Magnum PWR";           
  114.     elseif ($wea=='36') return "Plasma Rifle PWR";         
  115.     elseif ($wea=='3f') return "Mauler PWR";           
  116.     elseif ($wea=='fd') return "Random";   
  117.     elseif ($wea=='43') return "None";         
  118.     else return "Unknown";
  119. }
  120. function getPlayerSpeed($spd) {
  121.     if ($spd=='00')     return "100%";
  122.     elseif ($spd=='01') return "25%";
  123.     elseif ($spd=='02') return "50%";
  124.     elseif ($spd=='03') return "75%";
  125.     elseif ($spd=='04') return "90%";
  126.     elseif ($spd=='05') return "100%";
  127.     elseif ($spd=='06') return "110%";
  128.     elseif ($spd=='07') return "125%";
  129.     elseif ($spd=='08') return "150%";
  130.     elseif ($spd=='09') return "200%";
  131.     elseif ($spd=='0a') return "300%";
  132.     else return "Unknown";
  133. }
  134. function getShieldMulti($shm) {
  135.     if ($shm=='00')     return "Normal";   
  136.     elseif ($shm=='01') return "None";     
  137.     elseif ($shm=='02') return "Normal";   
  138.     elseif ($shm=='03') return "Overshield x2";
  139.     elseif ($shm=='04') return "Overshield x3";
  140.     elseif ($shm=='05') return "Overshield x4";
  141.     else return "Unknown";
  142. }
  143.  function getWeapPick($wea) {
  144.     if ($wea=='02') return true;
  145.     else return true;
  146. }
  147. function getMapImg($mid) {
  148.     $MAPname = getMapName($mid);
  149.     return "/site/src/images/maps/".strtolower(str_ireplace(' ','',$MAPname)).".png";
  150. }
  151. function getMapQuote($map) {
  152.     $map = strtolower($map);
  153.     if ($map == 'diamondback') {
  154.         $forgeQuote = "Hot winds blow over what should be a dead moon. A reminder of the power Forerunners once wielded."; }
  155.     elseif ($map == 'edge') {
  156.         $forgeQuote = "The remote frontier world of Partition has provided this ancient databank with the safety of seclusion."; }
  157.     elseif ($map == 'guardian') {
  158.         $forgeQuote = "Millennia of tending has produced trees as ancient as the Forerunner structures they have grown around."; }
  159.     elseif ($map == 'icebox') {
  160.         $forgeQuote = "Downtown Tyumen's Precinct 13 offers an ideal context for urban combat training."; }
  161.     elseif ($map == 'narrows') {
  162.         $forgeQuote = "Without cooling systems such as these, excess heat from the Ark's forges would render the construct uninhabitable."; }
  163.     elseif ($map == 'reactor') {
  164.         $forgeQuote = "Being constructed just prior to the Invasion, its builders had to evacuate before it was completed."; }
  165.     elseif ($map == 'standoff') {
  166.         $forgeQuote = "Once, nearby telescopes listened for a message from the stars. Now, these silos contain our prepared response."; }
  167.     elseif ($map == 'the pit') {
  168.         $forgeQuote = "Software simulations are held in contempt by the veteran instructors who run these training facilities."; }
  169.     elseif ($map == 'valhalla') {
  170.         $forgeQuote = "The crew of V-398 barely survived their unplanned landing in this gorge, but they know they are not alone."; }
  171.     elseif ($map == 'last resort') {
  172.         $forgeQuote = "Remote industrial sites like this one are routinely requisitioned & used as part of Spartan training exercises."; }
  173.     elseif ($map == 'high ground') {
  174.         $forgeQuote = "A relic of older conflicts, this base was reactivated after the New Mombasa Slipspace Event."; }
  175.     elseif ($map == 'sandtrap') {
  176.         $forgeQuote = "Although the Brute occupiers have been driven from this ancient structure, they left plenty to remember them by."; }
  177.     elseif ($map == 'flatgrass') {
  178.         $forgeQuote = "Modders offering a plain flat map with an extended pallet of items ideal for Forge."; }
  179.     elseif ($map == 'lockout') {
  180.         $forgeQuote = "Some believe this remote facility was once used to study the Flood. But few clues remain amidst the snow and ice."; }
  181.     else {
  182.         $forgeQuote = "A custom map imported by a modder of the Halo Online community"; }
  183.     return $forgeQuote;
  184. } ?>
Advertisement
Add Comment
Please, Sign In to add comment