Page 1 of 1

intermission showing the kill points

Posted: Wed Dec 26, 2012 7:35 pm
by doomero
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.

RE: intermission showing the kill points

Posted: Thu Dec 27, 2012 1:23 am
by BloodyAcid
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.

RE: intermission showing the kill points

Posted: Thu Dec 27, 2012 1:59 am
by doomero
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?

RE: intermission showing the kill points

Posted: Thu Dec 27, 2012 4:19 am
by Catastrophe
Couldn't you use the new GAMEMODE lump?

RE: intermission showing the kill points

Posted: Thu Dec 27, 2012 10:25 am
by Torr Samaho
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.

RE: intermission showing the kill points

Posted: Thu Dec 27, 2012 2:08 pm
by doomero
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"

RE: intermission showing the kill points

Posted: Thu Dec 27, 2012 10:22 pm
by Torr Samaho
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.