Anonymous | Login | Signup for a new account | 2025-07-27 16:27 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 | ||||
0000981 | Zandronum | [All Projects] Suggestion | public | 2012-08-19 01:04 | 2014-05-12 00:18 | ||||
Reporter | Watermelon | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||
Status | closed | Resolution | duplicate | ||||||
Platform | OS | OS Version | |||||||
Product Version | 1.0-beta | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000981: Have BLUERETURN and REDRETURN ACS script types PlayerNumber() results in the 'returnee' of the flag | ||||||||
Description | BLUERETURN / REDRETURN / WHITERETURN script types are activated by the world. It would be nice to be able to grab the player number of the player who returned it instead of getting -1 back from the function. Would it be possible to convert it from World activated to Player activated? Or maybe have it contain a parameter that would have the player number (like DISCONNECT (int playerNum) has) and still run it for the world? REASON FOR REQUEST: Allows ACS access to players who return the flag. One example is that I can record the amount of times someone has returned it and print out who returned the flag the most. The International Doom League uses stuff like this in Odamex for their game stats. | ||||||||
Additional Information | This is the code inside of the attached wad. #include "zcommon.acs" #library "PICKTEST" script 100 BLUERETURN { PrintBold(s: "Returned by: ", d: PlayerNumber()); } | ||||||||
Attached Files | ![]() | ||||||||
![]() |
||||||
|
![]() |
|
Torr Samaho (administrator) 2012-08-19 12:48 |
I think I could change the activator of these scripts quite easily, but would this break any existing mods? |
Watermelon (developer) 2012-08-19 14:39 edited on: 2012-08-19 14:42 |
I've honestly never come across any wad so far that even uses this. I actually discovered it yesterday by fluke because someone added it on the ZDoomWiki. I just went through every CTF wad I had and there is none that I've ever played that use any of the PICKUP/COLORFLAGRETURN ACS. |
Dusk (developer) 2012-08-19 14:44 |
> I actually discovered it yesterday by fluke because someone added it on the ZDoomWiki. I added them to ZDoom Wiki after stumbling upon them while going through the source code.. I personally think the existing types should get deprecated and superceded by more generalized types, say script X FLAGRETURN (int returner, int team) |
Torr Samaho (administrator) 2012-08-19 16:04 |
Quote from Dusk Good idea. We should look into this after 1.0 is out. |
ZzZombo (reporter) 2012-09-01 15:36 edited on: 2012-09-01 15:38 |
Quote I don't think that currently there is any mods that relies on activator of return scripts because it's pointless. |
Watermelon (developer) 2012-09-20 19:33 |
> I don't think that currently there is any mods that relies on activator of return scripts because it's pointless. No it's not pointless (or I wouldn't have opened a ticket with an example that you can see). Play some CTF more with us and you'll see some really interesting applications that would benefit CTF ACS-wise. |
Watermelon (developer) 2012-10-02 18:53 |
Would it be worth opening a new ticket for the suggestion of stuff like "script X FLAGRETURN (int returner, int team)" ? |
Dusk (developer) 2012-10-03 12:12 |
I see no reason why we can't handle it here.. since this FLAGRETURN type would address exactly this ticket. |
Watermelon (developer) 2012-10-05 14:58 |
Would it be difficult to create these new ACS flags? Also would 'int returner' return the player TID or player number? |
Blzut3 (administrator) 2012-10-05 18:12 |
One thing to consider before adding this as a third xRETURN script type, perhaps the behavior module could be scanned for a REDRETURN script and if present use the current behavior. Otherwise replace BLUERETURN with FLAGRETURN and pass those arguments? There's nothing in particular wrong with just adding a new type, but it does seem wasteful since I think most of the maps that used these scripts are probably already broken by the changes that were made to skulltag.wad over the years. (And ever since the automatic "simple" CTF method was introduce the two script types have been mostly forgotten.) |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | Llewellyn |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2012-08-19 01:04 | Watermelon | New Issue | |
2012-08-19 01:04 | Watermelon | File Added: PickupTest.wad | |
2012-08-19 12:48 | Torr Samaho | Note Added: 0004400 | |
2012-08-19 14:39 | Watermelon | Note Added: 0004403 | |
2012-08-19 14:42 | Watermelon | Note Edited: 0004403 | View Revisions |
2012-08-19 14:44 | Dusk | Note Added: 0004404 | |
2012-08-19 16:04 | Torr Samaho | Note Added: 0004405 | |
2012-09-01 15:36 | ZzZombo | Note Added: 0004552 | |
2012-09-01 15:37 | ZzZombo | Note Edited: 0004552 | View Revisions |
2012-09-01 15:38 | ZzZombo | Note Edited: 0004552 | View Revisions |
2012-09-20 19:33 | Watermelon | Note Added: 0004725 | |
2012-10-02 18:53 | Watermelon | Note Added: 0004918 | |
2012-10-03 12:12 | Dusk | Note Added: 0004925 | |
2012-10-05 14:58 | Watermelon | Note Added: 0004964 | |
2012-10-05 18:12 | Blzut3 | Note Added: 0004965 | |
2014-05-12 00:18 | Watermelon | Relationship added | related to 0001794 |
2014-05-12 00:18 | Watermelon | Status | new => closed |
2014-05-12 00:18 | Watermelon | Resolution | open => duplicate |
Copyright © 2000 - 2025 MantisBT Team |