So I've been off and on working on a sort of combatlog minimod. I've gotten it to use the WorldThingDamaged and WorldThingRevived events to detect and print out logs for damage received and resurrections by Archvile, but I've not been able to add it where if a vanilla monster takes no damage that it can print out a log to tell the player. WorldThingDamage doesn't trigger [as I can tell] on 0-damage hits, so that's out of the question. I've also tried attaching a damage-handling inventory item to vanilla monsters to circumvent the problem, but that doesn't seem to work, as it appears 0 damage hits never cycle through defense-type inventory items the vanilla monster has.
The point of this minimod is to never alter the existing/vanilla monsters directly by having to add in/code replacement versions over top them like in my proper mods, so I also can't use DamageMobj to get around it this way like I can in those mods, so I'm putting this in Feature Suggestions if only because I'm not sure if there's any current means to do what I'm asking about without adding one in (like if there's a feasible way to detect if a monster takes a hit in general, damage or no damage dealt by said hit), so if there isn't one, I'd like to ask about trying to add that in as a feature. I'm not sure if it's something you could do with WorldThingDamaged or not. This wouldn't be for modifying damage directly, so it's not the same as Major Cooke's original idea for an "adddamage" function he first suggested and then dropped some time back, but something else.
If this is already doable without adding a new feature, feel free to explain that and you can move this topic to the ZScript coding forum instead. Thanks. o.o
Detecting 0 damage hits with vanilla monsters?
Remember, just because you request it, that doesn't mean you'll get it.
Moderator: GZDoom Developers
1 post
• Page 1 of 1
-
- Posts: 221
- Joined: Wed Dec 27, 2006 8:13 pm
- Location: Canton, OH
Detecting 0 damage hits with vanilla monsters?
Post by Lord Misfit »
1 post
• Page 1 of 1
Return to “Feature Suggestions [GZDoom]”
Jump to
- Important Threads
- ↳ HELP! "Account is inactive!"
- ↳ Official ZDoom Community Rules
- ↳ Mod Download Broken? Request Reuploads Here
- ↳ Don't see your first post(s) here? DON'T PANIC
- ↳ Errors? Can't run that new mod? Your GZDoom or ZDoom may be too old!
- ↳ Official Discord Server
- ↳ New Password Requirements and Password Reset
- ↳ A quick notice about privacy (Re: Our efforts to combat spam)
- Official
- ↳ ZDoom (and related) News
- ↳ The Spotlight
- ↳ Developer Blog
- ↳ Rules and Forum Announcements
- Technical Issues
- ↳ Technical Issues
- ↳ Helpful Stickies
- GZDoom Development
- ↳ Bugs [GZDoom]
- ↳ Important Threads
- ↳ Please check the latest version (or dev builds) before reporting!
- ↳ Classic ("Carmack") Software Renderer Bugs
- ↳ OpenGL Renderer Bugs
- ↳ OpenGLES Renderer Bugs
- ↳ Vulkan Renderer Bugs
- ↳ Audio/Music Bugs
- ↳ LZDoom Bugs
- ↳ ZDoom.org Bugs
- ↳ On Hold Bugs
- ↳ On-Hold Softpoly Bugs
- ↳ Closed Bugs [GZDoom]
- ↳ Vintage Build Bugs
- ↳ SoftPoly2 Bugs
- ↳ Feature Suggestions [GZDoom]
- ↳ ZDoom.org Suggestions
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [GZDoom]
- Raze-Specific Stuff
- ↳ Raze
- ↳ News
- ↳ Raze (and ZDoom-related) News
- ↳ Technical Issues
- ↳ Technical Issues
- ↳ Raze Development
- ↳ Bugs [Raze]
- ↳ On Hold Bugs
- ↳ Closed Bugs [Raze]
- ↳ Feature Suggestions [Raze]
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [Raze]
- ↳ Discussion
- ↳ General
- ↳ Editing Help
- ↳ Scripting (Build)
- ↳ Mapping (Build)
- ↳ Tutorials (Build)
- ↳ Projects
- ↳ Projects
- ↳ Abandoned Projects
- Doom Editing Help
- ↳ Scripting
- ↳ Mapping
- ↳ Assets (and other stuff)
- ↳ Tutorials
- ↳ Programming and Compiling
- Discussion
- ↳ General
- ↳ Networking
- ↳ Legacy Discussion
- ↳ Off-Topic
- Projects
- ↳ Levels
- ↳ Gameplay Mods
- ↳ TCs, Full Games, and Other Projects
- ↳ Resources
- ↳ Requests
- ↳ Script Library
- ↳ Graphic/Audio Patches
- ↳ Shaders
- Software and Ports
- ↳ Launchers
- ↳ Game Engines
- ↳ Creation, Conversion, and Editing
- ↳ Miscellaneous
- Archives
- ↳ The Halls of the Dead
- ↳ Abandoned/Dead Projects
- ↳ Editing (Archive)