MantisBT - Zandronum
View Issue Details
0000997Zandronum[All Projects] Suggestionpublic2012-08-28 14:522018-09-30 22:23
vulpes 
Edward-san 
normalfeaturealways
closedfixed 
MicrosoftWindowsXP/Vista/7
1.0 
3.03.0 
0000997: new "spycancel" ccmd
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.
just bind "spycancel" command to any key.
CCMD (spycancel)
{
players[consoleplayer].camera = players[consoleplayer].mo;
FinishChangeSpy( consoleplayer );
return;
}
No tags attached.
child of 0002172closed Torr Samaho Upgrade GZDoom base to 1.8.6 
Issue History
2012-08-28 14:52vulpesNew Issue
2012-08-28 18:16ZzZomboNote Added: 0004498
2012-08-28 20:39vulpesNote Added: 0004502
2013-06-23 13:09DuskNote Added: 0006484
2013-06-23 13:09DuskStatusnew => acknowledged
2013-06-23 13:09DuskResolutionopen => waiting for zdoom
2013-06-23 15:17DuskNote Added: 0006488
2013-06-23 18:10Edward-sanNote Added: 0006491
2013-06-23 18:11Edward-sanResolutionwaiting for zdoom => backport later
2013-06-23 18:57DuskAssigned To => Edward-san
2013-06-23 19:02Edward-sanNote Edited: 0006491bug_revision_view_page.php?bugnote_id=6491#r3582
2013-07-16 21:38Edward-sanSummarynew ccmd => new "spy canceller" ccmd
2013-07-16 21:39Edward-sanNote Edited: 0006491bug_revision_view_page.php?bugnote_id=6491#r3717
2013-07-16 21:53Edward-sanNote Edited: 0006491bug_revision_view_page.php?bugnote_id=6491#r3718
2015-08-01 17:58Edward-sanNote Added: 0013027
2015-08-01 17:58Edward-sanStatusacknowledged => needs testing
2015-08-01 17:58Edward-sanResolutionbackport later => open
2015-08-01 17:58Edward-sanTarget Version => 3.0
2015-08-01 18:00Edward-sanNote Edited: 0013027bug_revision_view_page.php?bugnote_id=13027#r7784
2015-08-01 18:05WaTaKiDRelationship addedchild of 0002172
2015-08-01 18:09WaTaKiDSummarynew "spy canceller" ccmd => new "spycancel" ccmd
2015-08-01 18:09WaTaKiDSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7786#r7786
2015-08-01 18:09WaTaKiDAdditional Information Updatedbug_revision_view_page.php?rev_id=7788#r7788
2015-08-23 19:27Ru5tK1ngNote Added: 0013258
2015-08-25 09:57DuskStatusneeds testing => resolved
2015-08-25 09:57DuskFixed in Version => 3.0
2015-08-25 09:57DuskResolutionopen => fixed
2018-09-30 22:23Blzut3Statusresolved => closed

Notes
(0004498)
ZzZombo   
2012-08-28 18:16   
A better name would be "cancelspy"
(0004502)
vulpes   
2012-08-28 20:39   
Yea, name can be anything.
(0006484)
Dusk   
2013-06-23 13:09   
Should go through ZDoom first.
(0006488)
Dusk   
2013-06-23 15:17   
'http://forum.zdoom.org/viewtopic.php?f=34&t=36597 [^]'
(0006491)
Edward-san   
2013-06-23 18:10   
(edited on: 2013-07-16 21:53)
[Added]. Ah yes, zdoom now is updated in github. :D

Ahem, the zandronum code is very different from zdoom, so it's hard to backport without conflicts. Also, there's an intermediate revision which should be backported first, and it is r1583 (it's huge but only the first hunk of src/g_game.cpp is actually needed).

(0013027)
Edward-san   
2015-08-01 17:58   
(edited on: 2015-08-01 18:00)
This was ported to 3.0:

'https://bitbucket.org/Torr_Samaho/zandronum/commits/aa6ff61b720bac3b87014279c3136438aad9ac0e [^]'

'https://bitbucket.org/Torr_Samaho/zandronum/commits/b5724c82a86626d201bc25bd61d09eb4cf260ca6 [^]'

(0013258)
Ru5tK1ng   
2015-08-23 19:27   
Tested this with 3.0-alpha-150819-2351. Worked for me as a spectator and a player. Very useful command!