Anonymous | Login | Signup for a new account | 2025-08-08 10:07 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 | ||||
0004163 | Zandronum | [All Projects] Suggestion | public | 2023-09-09 08:42 | 2025-08-07 00:25 | ||||
Reporter | Fused | ||||||||
Assigned To | |||||||||
Priority | high | Severity | minor | Reproducibility | N/A | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004163: EventDef lump (or a way to specify custom script types) | ||||||||
Description | EVENT type scripts currently accept a range of predefined event types that can be triggered, which fills in the gap of a lot of events that might happen during the map. With Zandronum's growing capabilities and ACS becoming more complex with each mod, having the ability to abstract code away and prevent tightly coupled code is a must. Sadly, apart from this EVENT script and its limited features, there's no way to do this manually, and you are depending on what is provided. My suggestion is to provide a way to create custom script types that can be invoked manually, allowing mods to provide a way to invoke scripts implemented by maps or patches. This avoids coupling the code, and is a perfect way to create scripts that depend on a certain event to play. A good example could be Zombie Horde. You create a map that depends on a player to be infected, so Zombie Horde implements the INFECT event type, and invokes a new type of method that could specify the behaviour to start these types of scripts. Then it is up to the map to define a script with this type. Currently, it would require a constant loop iterating all players, saving their state, and comparing it with the next state to see if they got infected at that point. It's cumbersome and unnecessary. | ||||||||
Attached Files | |||||||||
![]() |
|
Fused (reporter) 2025-08-06 11:33 |
This can be closed. It's easy to make an event-like system by storing script names in a collection, so making a whole system is excessive (and also unnecessary with lump reading which gives the ability to do it yourself) |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2023-09-09 08:42 | Fused | New Issue | |
2025-08-06 11:33 | Fused | Note Added: 0024556 | |
2025-08-07 00:25 | Kaminsky | Status | new => closed |
2025-08-07 00:25 | Kaminsky | Resolution | open => no change required |
Copyright © 2000 - 2025 MantisBT Team |