Zandronum #997: new ccmd (spyme)

Moderator: GZDoom Developers

Post Reply
User avatar
Nightfall
Posts: 555
Joined: Thu Aug 06, 2009 4:00 am
Location: Finland

Zandronum #997: new ccmd (spyme)

Post by Nightfall »

http://zandronum.com/tracker/view.php?id=997

Found this while digging through older tickets.. reported by `vulpes`, posting here because I believe stuff like this goes through here first:
Hello. I made a new CCMD, that returns camera (and control) back to the player, while he spying via "spynext" or "spyprev" commands. This makes spying a lot easier in 16x16 games, when you need to regain control of yourself very quickly.

Code: Select all

CCMD (spyme)
 {
 players[consoleplayer].camera = players[consoleplayer].mo;
 FinishChangeSpy( consoleplayer );
 return;
 }
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Zandronum #997: new ccmd (spyme)

Post by Graf Zahl »

This isn't a code submission. The Zandronum code is not usable as-is.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Zandronum #997: new ccmd (spyme)

Post by Edward-san »

I believe it should work with this patch ...
Attachments
spycancel.txt
yeah, still using 'svn diff' ...
(1.92 KiB) Downloaded 80 times
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Zandronum #997: new ccmd (spyme)

Post by Graf Zahl »

Thanks. Added.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Zandronum #997: new ccmd (spyme)

Post by Edward-san »

... is it possible to add this improvement?
spycancel1.txt
(598 Bytes) Downloaded 75 times
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Zandronum #997: new ccmd (spyme)

Post by Graf Zahl »

Done.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”