Ghost Item marker

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
HellBlade64
Forum Regular
Posts: 109
Joined: Mon Aug 13, 2012 9:03 pm
Contact:

Ghost Item marker

#1

Post by HellBlade64 » Tue Sep 16, 2025 2:43 am

I'm working on a class-based pickup for one of my mods, and what I am trying to accomplish is this:

When the item is picked up, it leaves behind a "ghosted" (translucent) version of the item that can't bet picked up on the spot where on the map it was placed and picked up from and after a certain amount of time, the ghosted version gets replaced with the original non-ghosted item pickup. Basically a visual respawn timer for items. The whole reason being that item itself is a weapon box that gives the player a special weapon unique to their class and, on the mod's UV and Nightmare-adjacent difficulties, items don't respawn.

Otherwise, I'd also like to know how Samsara's class-detecting weapon pickups work, too, as an alternative solution.

Post Reply