Zandronum Chat on our Discord Server Get the latest version: 3.2.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004163Zandronum[All Projects] Suggestionpublic2023-09-09 08:422025-08-07 00:25
ReporterFused 
Assigned To 
PriorityhighSeverityminorReproducibilityN/A
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004163: EventDef lump (or a way to specify custom script types)
DescriptionEVENT 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

- Relationships

-  Notes
User avatar (0024556)
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)

Issue Community Support
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.

- Issue History
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






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker