Page 1 of 1

Zandronum #997: new ccmd (spyme)

Posted: Sun Jun 23, 2013 9:19 am
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;
 }

Re: Zandronum #997: new ccmd (spyme)

Posted: Sun Jun 23, 2013 10:45 am
by Graf Zahl
This isn't a code submission. The Zandronum code is not usable as-is.

Re: Zandronum #997: new ccmd (spyme)

Posted: Sun Jun 23, 2013 11:36 am
by Edward-san
I believe it should work with this patch ...

Re: Zandronum #997: new ccmd (spyme)

Posted: Sun Jun 23, 2013 12:07 pm
by Graf Zahl
Thanks. Added.

Re: Zandronum #997: new ccmd (spyme)

Posted: Mon Jun 24, 2013 2:48 pm
by Edward-san
... is it possible to add this improvement?
spycancel1.txt
(598 Bytes) Downloaded 75 times

Re: Zandronum #997: new ccmd (spyme)

Posted: Mon Jun 24, 2013 2:54 pm
by Graf Zahl
Done.