Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #required libs and tools:
- sudo aptitude install libghc-opengl-dev libghc-sdl-dev make -y
- #http://sourceforge.net/projects/prboom/files/prboom%20stable/2.5.0/
- wget "http://colocrossing.dl.sourceforge.net/project/prboom-plus/prboom-plus/2.5.1.3/prboom-plus-2.5.1.3.tar.gz"
- tar -xvf prboom-plus-2.5.1.3.tar.gz
- cd prboom-plus-2.5.1.3
- ./configure
- #change how much AMMO is used in each shot
- vim +746 src/p_pspr.c
- #Sprite Animation and function as defined here:
- vim +1257 src/info.h
- #speed up shot gun here:
- vim +138 src/info.c
- #############Example#############
- {SPR_SHT2,0,1,A_WeaponReady,S_DSGUN,0,0}, // S_DSGUN
- {SPR_SHT2,0,1,A_Lower,S_DSGUNDOWN,0,0}, // S_DSGUNDOWN
- {SPR_SHT2,0,1,A_Raise,S_DSGUNUP,0,0}, // S_DSGUNUP
- {SPR_SHT2,0,1,NULL,S_DSGUN2,0,0}, // S_DSGUN1
- {SPR_SHT2,0,1,A_FireShotgun2,S_DSGUN3,0,0}, // S_DSGUN2
- {SPR_SHT2,0,1,NULL,S_DSGUN4,0,0}, // S_DSGUN3
- {SPR_SHT2,0,1,NULL,S_DSGUN5,0,0}, // S_DSGUN4
- {SPR_SHT2,0,1,NULL,S_DSGUN6,0,0}, // S_DSGUN5
- {SPR_SHT2,0,1,NULL,S_DSGUN7,0,0}, // S_DSGUN6
- {SPR_SHT2,0,1,NULL,S_DSGUN8,0,0}, // S_DSGUN7
- {SPR_SHT2,0,1,NULL,S_DSGUN9,0,0}, // S_DSGUN8
- {SPR_SHT2,0,1,NULL,S_DSGUN10,0,0}, // S_DSGUN9
- {SPR_SHT2,0,1,A_ReFire,S_DSGUN,0,0}, // S_DSGUN10
- {SPR_SHT2,0,1,NULL,S_DSNR2,0,0}, // S_DSNR1
- {SPR_SHT2,0,1,NULL,S_DSGUNDOWN,0,0}, // S_DSNR2
- {SPR_SHT2,32776,5,A_Light1,S_DSGUNFLASH2,0,0}, // S_DSGUNFLASH1
- {SPR_SHT2,32777,4,A_Light2,S_LIGHTDONE,0,0}, // S_DSGUNFLASH2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement