Anonymous | Login | Signup for a new account | 2025-07-27 04:03 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002105 | Zandronum | [All Projects] Suggestion | public | 2015-02-15 21:55 | 2018-09-30 21:37 | ||||
Reporter | Catastrophe | ||||||||
Assigned To | Torr Samaho | ||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 | ||||
Product Version | 1.3 | ||||||||
Target Version | 2.1 | Fixed in Version | 2.1 | ||||||
Summary | 0002105: Added new ccmd ifspectator | ||||||||
Description | + - Added new ccmd ifspectator that only runs if you're a spectator [Cata] | ||||||||
Additional Information | Example binds. -=A=- bind mouse1 " ifspectator noclip; +attack" This will do +attack and noclip if you are spectating. When you're in-game it will only do +attack. -=B=- bind mwheelup "weapnext; ifspectator spynext" bind mwheeldown "weapprev; ifspectator spyprev" This will let you use your mouse wheel to scroll through players as a spectator. When you are in-game it will then scroll through weapons like it normally does. -=C=- bind i "ifspectator \"wait 35; say hi; wait 35; say bye\" " This will -only- run as a spectator. Nothing will happen in-game by pressing i. | ||||||||
Attached Files | ![]() ![]() | ||||||||
![]() |
|
Edward-san (developer) 2015-02-16 12:58 edited on: 2015-02-16 13:23 |
You could use directly "AddCommandString(cmdTotal.GetChars());" instead of creating the char buffer "cmd". [edit]Argh! AddCommandString accepts 'char *' and changes the buffer, too! Well, you can still simplify that with:
[edit2]Actually, you can use this:
|
Catastrophe (reporter) 2015-02-16 20:23 edited on: 2015-02-16 20:23 |
@Edward Uploaded an updated diff with your suggestion. |
Torr Samaho (administrator) 2015-06-14 07:59 |
I added a slightly refined version of your patch. |
cobalt (updater) 2015-06-14 08:09 |
Issue addressed by commit 427da93e2ff1: Added a slightly refined version of Catastrophe's patch that adds the CCMD 'ifspectator' (addresses 2105). Committed by Benjamin Berkels [Torr Samaho] on Sunday 14 June 2015 09:58:42 Changes in files:
|
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | Hypnotoad |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2015-02-15 21:55 | Catastrophe | New Issue | |
2015-02-15 21:55 | Catastrophe | File Added: specbind.diff | |
2015-02-16 12:58 | Edward-san | Note Added: 0011700 | |
2015-02-16 13:14 | Edward-san | Note Edited: 0011700 | View Revisions |
2015-02-16 13:22 | Edward-san | Note Edited: 0011700 | View Revisions |
2015-02-16 13:23 | Edward-san | Note Edited: 0011700 | View Revisions |
2015-02-16 20:22 | Catastrophe | File Added: specbindv2.diff | |
2015-02-16 20:23 | Catastrophe | Note Added: 0011707 | |
2015-02-16 20:23 | Catastrophe | Note Edited: 0011707 | View Revisions |
2015-02-22 12:26 | Dusk | Status | new => needs review |
2015-06-14 07:59 | Torr Samaho | Note Added: 0012695 | |
2015-06-14 08:09 | cobalt | Assigned To | => Torr Samaho |
2015-06-14 08:09 | cobalt | Status | needs review => needs testing |
2015-06-14 08:09 | cobalt | Target Version | => 2.1 |
2015-06-14 08:09 | cobalt | Additional Information Updated | View Revisions |
2015-06-14 08:09 | cobalt | Note Added: 0012697 | |
2015-06-24 22:45 | Dusk | Status | needs testing => resolved |
2015-06-24 22:45 | Dusk | Fixed in Version | => 2.2 |
2015-06-24 22:45 | Dusk | Resolution | open => fixed |
2015-06-24 22:47 | Dusk | Fixed in Version | 2.2 => 2.1 |
2018-09-30 21:37 | Blzut3 | Status | resolved => closed |
Copyright © 2000 - 2025 MantisBT Team |