Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #required libs:
- sudo aptitude install libghc-opengl-dev libghc-sdl-dev make doom-wad-shareware -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
- make
- ./src/prboom-plus
- #change messages in game
- vim src/d_englsh.h
- #list all sound effects
- grep "sfx_" "src/sounds.h"
- #replace menu select sound with teleport sound
- sed -i 's/sfx_pistol/sfx_telept/g' src/m_menu.c
- #change all enemy for speeds - don't do this
- #static fixed_t xspeed[8] = {FRACUNIT,47000,0,-47000,-FRACUNIT,-47000,0,47000};
- #static fixed_t yspeed[8] = {0,47000,FRACUNIT,47000,0,-47000,-FRACUNIT,-47000};
- #vim +313 src/p_enemy.c #open to line 313
- #Change player and enemy settings
- #if you remove "MF_SHOOTABLE" from player settings, enemies ignore player
- vim +1230 src/info.c
- #set initial variables such as players health
- vim +62 src/p_inter.c
- #custom cheats
- vim src/m_cheat.c
- #declare function near top of file
- static void cheat_awesome();
- #Add it to cheat array
- CHEAT("awesome", "Awesome", cht_never, cheat_awesome, 0),
- #create function
- static void cheat_awesome()
- {
- plyr->health = 2;
- plyr->message = "You're so AWESOME,\nI think you can beat this with 2% health";
- S_StartSound(0, sfx_plpain);
- }
- #rapid fire shotgun
- vim +129 src/info.c
- {SPR_SHTG,1,1,NULL,S_SGUN4,0,0}, // S_SGUN3
- {SPR_SHTG,2,1,NULL,S_SGUN5,0,0}, // S_SGUN4
- {SPR_SHTG,3,1,NULL,S_SGUN6,0,0}, // S_SGUN5
- {SPR_SHTG,2,1,NULL,S_SGUN7,0,0}, // S_SGUN6
- {SPR_SHTG,1,1,NULL,S_SGUN8,0,0}, // S_SGUN7
- {SPR_SHTG,0,1,NULL,S_SGUN9,0,0}, // S_SGUN8
- {SPR_SHTG,0,1,A_ReFire,S_SGUN,0,0}, // S_SGUN9
- #rapid fire shotgun without cocking animation
- vim +129 src/info.c
- {SPR_SHTG,1,0,NULL,S_SGUN4,0,0}, // S_SGUN3
- {SPR_SHTG,2,0,NULL,S_SGUN5,0,0}, // S_SGUN4
- {SPR_SHTG,3,0,NULL,S_SGUN6,0,0}, // S_SGUN5
- {SPR_SHTG,2,0,NULL,S_SGUN7,0,0}, // S_SGUN6
- {SPR_SHTG,1,0,NULL,S_SGUN8,0,0}, // S_SGUN7
- {SPR_SHTG,0,0,NULL,S_SGUN9,0,0}, // S_SGUN8
- {SPR_SHTG,0,0,A_ReFire,S_SGUN,0,0}, // S_SGUN9
- #change the max ammo and clip amounts for all weapons
- vim +84 src/p_inter.c
- #Create Land mines
- vim +2129 src/info.c
- 0.1*FRACUNIT, //#Need some speed or won't explode
- #add to health when shot
- vim +911 src/p_inter.c
- #change - to +
- player->health += damage;
- #keep count of kills in terminal
- vim +671 src/p_inter.c
- printf("You have killed %i enemies!\n",source->player->killcount);#add this line
- #change amount of health a vial gives you
- #change line 336 and remove 337 and 338
- vim +336 src/p_inter.c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement