intermission showing the kill points

Discuss all aspects related to modding Zandronum here.
Post Reply
doomero
Forum Regular
Posts: 134
Joined: Tue Jun 05, 2012 3:45 am

intermission showing the kill points

#1

Post by doomero » Wed Dec 26, 2012 7:35 pm

for my mod the re: mercenaries doom i will add a system for winning points killing monsters and i really want to know how i can show the final results on the intermission screen.
Last edited by doomero on Wed Dec 26, 2012 7:36 pm, edited 1 time in total.

BloodyAcid
Forum Regular
Posts: 294
Joined: Sat Jun 16, 2012 7:42 pm

RE: intermission showing the kill points

#2

Post by BloodyAcid » Thu Dec 27, 2012 1:23 am

Similar to WhoDunIt (and I'm guessing here), you could use a script that plays when you exit the level that freezes the player (and pretty much everything, I guess), fade out and display the information with ACS. When you're done, warp/exit to next level.

doomero
Forum Regular
Posts: 134
Joined: Tue Jun 05, 2012 3:45 am

RE: intermission showing the kill points

#3

Post by doomero » Thu Dec 27, 2012 1:59 am

BloodyAcid wrote: Similar to WhoDunIt (and I'm guessing here), you could use a script that plays when you exit the level that freezes the player (and pretty much everything, I guess), fade out and display the information with ACS. When you're done, warp/exit to next level.
but how?

because the mod is for any vanilla comptaible wad, if i press the switch of exit the level is finished and intermision screen is showed (i want this for coop gameplay) exist a way to create a global acs for all the exit switch?
Last edited by doomero on Thu Dec 27, 2012 1:59 am, edited 1 time in total.

Catastrophe
Retired Staff / Community Team Member
Posts: 2571
Joined: Sat Jun 02, 2012 2:44 am

RE: intermission showing the kill points

#4

Post by Catastrophe » Thu Dec 27, 2012 4:19 am

Couldn't you use the new GAMEMODE lump?

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

RE: intermission showing the kill points

#5

Post by Torr Samaho » Thu Dec 27, 2012 10:25 am

Catastrophe wrote: Couldn't you use the new GAMEMODE lump?
Yes. A GAMEMODE lump containing

Code: Select all

cooperative {
  removeflag PLAYERSEARNKILLS
  addflag PLAYERSEARNPOINTS
}
will show the points on the scoreboard.

doomero
Forum Regular
Posts: 134
Joined: Tue Jun 05, 2012 3:45 am

RE: intermission showing the kill points

#6

Post by doomero » Thu Dec 27, 2012 2:08 pm

Torr Samaho wrote:
Catastrophe wrote: Couldn't you use the new GAMEMODE lump?
Yes. A GAMEMODE lump containing

Code: Select all

cooperative {
  removeflag PLAYERSEARNKILLS
  addflag PLAYERSEARNPOINTS
}
will show the points on the scoreboard.
but PLAYERSEARNPOINTS is a inventory? my points is called "merckills"

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

RE: intermission showing the kill points

#7

Post by Torr Samaho » Thu Dec 27, 2012 10:22 pm

doomero wrote: but PLAYERSEARNPOINTS is a inventory? my points is called "merckills"
No, PLAYERSEARNPOINTS displays Zandronum's internal point value used in team games like CTF. IIRC the only way to manually give points right now is LS_Team_Score.

Post Reply