SHARE
TWEET

PrBoom - Doom notes

metalx1000 Jan 31st, 2015 (edited) 1,129 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #required libs:
  2. sudo aptitude install libghc-opengl-dev libghc-sdl-dev make doom-wad-shareware -y
  3.  
  4. #http://sourceforge.net/projects/prboom/files/prboom%20stable/2.5.0/
  5. wget "http://colocrossing.dl.sourceforge.net/project/prboom-plus/prboom-plus/2.5.1.3/prboom-plus-2.5.1.3.tar.gz"
  6. tar -xvf prboom-plus-2.5.1.3.tar.gz
  7. cd prboom-plus-2.5.1.3
  8. ./configure
  9. make
  10. ./src/prboom-plus
  11.  
  12. #change messages in game
  13. vim src/d_englsh.h
  14.  
  15. #list all sound effects
  16. grep "sfx_" "src/sounds.h"
  17. #replace menu select sound with teleport sound
  18. sed -i 's/sfx_pistol/sfx_telept/g' src/m_menu.c
  19.  
  20. #change all enemy for speeds - don't do this
  21. #static fixed_t xspeed[8] = {FRACUNIT,47000,0,-47000,-FRACUNIT,-47000,0,47000};
  22. #static fixed_t yspeed[8] = {0,47000,FRACUNIT,47000,0,-47000,-FRACUNIT,-47000};
  23. #vim +313 src/p_enemy.c #open to line 313
  24.  
  25. #Change player and enemy settings
  26. #if you remove "MF_SHOOTABLE" from player settings, enemies ignore player
  27. vim +1230 src/info.c
  28.  
  29. #set initial variables such as players health
  30. vim +62 src/p_inter.c
  31.  
  32. #custom cheats
  33. vim src/m_cheat.c
  34. #declare function near top of file
  35. static void cheat_awesome();
  36. #Add it to cheat array
  37.   CHEAT("awesome",      "Awesome",      cht_never, cheat_awesome, 0),
  38. #create function
  39. static void cheat_awesome()
  40. {
  41.   plyr->health = 2;
  42.   plyr->message = "You're so AWESOME,\nI think you can beat this with 2% health";
  43.   S_StartSound(0, sfx_plpain);
  44. }
  45.  
  46. #rapid fire shotgun
  47. vim +129 src/info.c
  48.   {SPR_SHTG,1,1,NULL,S_SGUN4,0,0},  // S_SGUN3
  49.   {SPR_SHTG,2,1,NULL,S_SGUN5,0,0},  // S_SGUN4
  50.   {SPR_SHTG,3,1,NULL,S_SGUN6,0,0},  // S_SGUN5
  51.   {SPR_SHTG,2,1,NULL,S_SGUN7,0,0},  // S_SGUN6
  52.   {SPR_SHTG,1,1,NULL,S_SGUN8,0,0},  // S_SGUN7
  53.   {SPR_SHTG,0,1,NULL,S_SGUN9,0,0},  // S_SGUN8
  54.   {SPR_SHTG,0,1,A_ReFire,S_SGUN,0,0}, // S_SGUN9
  55.  
  56. #rapid fire shotgun without cocking animation
  57. vim +129 src/info.c
  58.   {SPR_SHTG,1,0,NULL,S_SGUN4,0,0},  // S_SGUN3
  59.   {SPR_SHTG,2,0,NULL,S_SGUN5,0,0},  // S_SGUN4
  60.   {SPR_SHTG,3,0,NULL,S_SGUN6,0,0},  // S_SGUN5
  61.   {SPR_SHTG,2,0,NULL,S_SGUN7,0,0},  // S_SGUN6
  62.   {SPR_SHTG,1,0,NULL,S_SGUN8,0,0},  // S_SGUN7
  63.   {SPR_SHTG,0,0,NULL,S_SGUN9,0,0},  // S_SGUN8
  64.   {SPR_SHTG,0,0,A_ReFire,S_SGUN,0,0}, // S_SGUN9
  65.  
  66. #change the max ammo and clip amounts for all weapons
  67. vim +84 src/p_inter.c
  68.  
  69. #Create Land mines
  70. vim +2129 src/info.c
  71. 0.1*FRACUNIT,    //#Need some speed or won't explode
  72.  
  73. #add to health when shot
  74. vim +911 src/p_inter.c
  75. #change - to +
  76. player->health += damage;
  77.  
  78. #keep count of kills in terminal
  79. vim +671 src/p_inter.c
  80. printf("You have killed %i enemies!\n",source->player->killcount);#add this line
  81.  
  82. #change amount of health a vial gives you
  83. #change line 336 and remove 337 and 338
  84. vim +336 src/p_inter.c
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top