SHARE
TWEET

TrumpMods

fredfuch Jan 23rd, 2016 (edited) 56 Never
  1. old paste http://pastebin.com/mKMBHnHS
  2.  
  3. Cuff Clinton, Bern Bernie and Kill Hill Game Modding
  4. Recently at http://stumptrump2016.com/ there was a game about Trump, but it sucked. It was too unrealistic. However, I figured we all could make it great.
  5.  
  6. Thanks to fellow anons for all the assets, since I last checked the most recent versions are
  7.  
  8. Kill Hill
  9. http://jsfiddle.net/t2fyaj64/7/
  10. http://killhill.weebly.com/
  11.  
  12. Cuff Clinton
  13. http://jsfiddle.net/84xcgghf/8/
  14. http://cuffclinton.com/
  15.  
  16. Bern Bernie
  17. http://jsfiddle.net/8ohgyzp5/21/
  18. http://bernbernie.weebly.com/
  19.  
  20. So here's the deal, in that low energy game mentioned earlier the assets are actually quite easy to swap. So really, they can be from any image host. I'll leave it to the asset artists, which are great people by the way, to help make these mods even greater. Or make their very own mods, whatever you want.
  21.  
  22. For image assets it's as simple as changing urls such as
  23. Bernie Head: var _head = "http://i.imgur.com/eDLtB8q.png";
  24. Clinton Head: var _head = "http://i.imgur.com/VPLqltP.png";
  25.  
  26. You can copy source files (probably outdated) at
  27. http://s000.tinyupload.com/index.php?file_id=77953841569772157883
  28.  
  29.  
  30. Head: hed.png 88x106
  31. Left Arm: arm.png 53x121
  32. Left Leg: leg_b1.png 108x234
  33. Left Thigh: leg_t1.png 108x234
  34. Right Arm: arm2.png 53x121
  35. Right Leg: leg_b2.png 108x234
  36. Right Thigh: leg_t2.png 108x234
  37. Body: bod.png 128x234
  38. Feet: shoes.png 108x234
  39. Stump: stump.png 180x211
  40. Shadow: shadow.png 230x98
  41. Splat Effect: splat.png 218x187
  42. Background: bg.jpg 944x634
  43. Logo: logo.png 621x348
  44. Blood Effects: bloodsheet.png 900x700
  45. FB Splash Logo: fbthumb.jpg 551x398
  46. Game Over: gameover.png 551x398
  47.  
  48. Setting up on Weebly
  49.  
  50. Very straightforeward
  51. 1. Select Theme as Welcome to Slick
  52. 2. Click Edit HTML/CSS
  53. 3. Click on main_style.css and delete all of the code
  54. 4. Click on custom.js and delete all of the code
  55. 4.5 Remove all header type files except for one and rename it index
  56. 5. Click on index and paste this over everything
  57.  
  58. <!DOCTYPE html>
  59. <html>
  60. <head></head>
  61. <body class='  wsite-theme-light'>
  62. <div style='display:none'>{title}</div>
  63. <div style='display:none'>{menu}</div>
  64. <div>{content}</div>
  65. <div style='width:100%; text-align:center;'>{footer}</div>
  66. </body>
  67. </html>
  68.  
  69. 6. Click Build on top nav bar and drag embed code to top half portion. Paste in this
  70.  
  71. <iframe width="100%" src="" allowfullscreen="allowfullscreen" frameborder="0" style="height: 93vh;"></iframe>
  72.  
  73. 7. Go to jsFiddle you want to display and click Embed
  74. 8. Make sure you click iFrame
  75. 9. Finally copy just the url and paste into src, for example: //jsfiddle.net/8ohgyzp5/21/embedded/result/dark/
  76.  
  77. <iframe width="100%" src="//jsfiddle.net/8ohgyzp5/21/embedded/result/dark/" allowfullscreen="allowfullscreen" frameborder="0" style="height: 93vh;"></iframe>
  78.  
  79. 10. Click settings and update title, hit save
  80. 11. Click SEO and update description, hit save
  81. 12. Hit Publish
  82. Sounds
  83. I had trouble with finding a suitable host for sounds, until I realized I can base64 encode audio, just drag the mp3 (dont know if other file types work) into it and copy/paste the base64 encoding.
  84.  
  85.  
  86.  
  87. If you want to host your own domain, just embed the iframe snippit
  88. style="height: 93vh; //This modifies the height of the jsFiddle embed
  89.  
  90. Social Media
  91. Just examine the setSocialMedia() function, I'm sure you can figure it out
  92.  
  93. Feel free to fork stuff on jsFiddle and change things, for instance if you want a zerg rush just change _spawnWaitTime to 100.
  94.  
  95. var _spawnWaitTime = 500; //Minimum Time interval in milliseconds between spawns
  96.  
  97. function changedScore() {
  98.     smult = Math.min(4, 1 + score / 20);//Time Squatting Multiplier, lower value means exagerrated sqatting before jumping
  99.     jmult = Math.min(1, 100 + score / 40);//Distance of Jump Multiplier, higher values increase distance per jump
  100.     jhmult = Math.min(1.5, 1 + score / 40);//Jump Height Multiplier higher values increase height of jump
  101.     jchance = .1 + .9 * Math.min(1, score / 100);//Chance to jump in time interval, smaller values approaching 0 means standing longer
  102.     tchance = .3 + .01 * Math.min(1.15, score / 100)//Chance of spawning in time interval, smaller values approaching 0 increases number spawned
  103. }
RAW Paste Data
Top