Advertisement
metalx1000

Doom - PrBoom - Super ShotGun - Notes

Feb 18th, 2015
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.45 KB | None | 0 0
  1. #required libs and tools:
  2. sudo aptitude install libghc-opengl-dev libghc-sdl-dev make -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.  
  10. #change how much AMMO is used in each shot
  11. vim +746 src/p_pspr.c
  12.  
  13. #Sprite Animation and function as defined here:
  14. vim +1257 src/info.h
  15.  
  16. #speed up shot gun here:
  17. vim +138 src/info.c
  18.  
  19. #############Example#############
  20.   {SPR_SHT2,0,1,A_WeaponReady,S_DSGUN,0,0}, // S_DSGUN
  21.   {SPR_SHT2,0,1,A_Lower,S_DSGUNDOWN,0,0}, // S_DSGUNDOWN
  22.   {SPR_SHT2,0,1,A_Raise,S_DSGUNUP,0,0}, // S_DSGUNUP
  23.   {SPR_SHT2,0,1,NULL,S_DSGUN2,0,0}, // S_DSGUN1
  24.   {SPR_SHT2,0,1,A_FireShotgun2,S_DSGUN3,0,0}, // S_DSGUN2
  25.   {SPR_SHT2,0,1,NULL,S_DSGUN4,0,0}, // S_DSGUN3
  26.   {SPR_SHT2,0,1,NULL,S_DSGUN5,0,0},  // S_DSGUN4
  27.   {SPR_SHT2,0,1,NULL,S_DSGUN6,0,0}, // S_DSGUN5
  28.   {SPR_SHT2,0,1,NULL,S_DSGUN7,0,0}, // S_DSGUN6
  29.   {SPR_SHT2,0,1,NULL,S_DSGUN8,0,0}, // S_DSGUN7
  30.   {SPR_SHT2,0,1,NULL,S_DSGUN9,0,0}, // S_DSGUN8
  31.   {SPR_SHT2,0,1,NULL,S_DSGUN10,0,0}, // S_DSGUN9
  32.   {SPR_SHT2,0,1,A_ReFire,S_DSGUN,0,0},  // S_DSGUN10
  33.   {SPR_SHT2,0,1,NULL,S_DSNR2,0,0},  // S_DSNR1
  34.   {SPR_SHT2,0,1,NULL,S_DSGUNDOWN,0,0},  // S_DSNR2
  35.   {SPR_SHT2,32776,5,A_Light1,S_DSGUNFLASH2,0,0},  // S_DSGUNFLASH1
  36.   {SPR_SHT2,32777,4,A_Light2,S_LIGHTDONE,0,0},  // S_DSGUNFLASH2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement