Changing textures upon impact of missile

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Collegia Titanica
Posts: 83
Joined: Thu Jan 25, 2018 1:37 pm

Changing textures upon impact of missile

Post by Collegia Titanica »

I'd like to know how to make the following scenario:

Ice Nuke:
Ice warhead explodes -----> In a certain radius of the explosion the textures change to ice versions of themselves (From a normal custom texture to their frosty version) (METAL05->FMETAL05)

This large radius not only freezes all enemies inside it (I know how to do this), but also changes textures.

ProtoScRiPt:
IF texture included in this radius, then change texture to F(whatever-texture-affected)
Perhaps separate definitions for all available freezable textures would be needed {metal xx, grass xx, wood xx}


Just a curiosity thing, nothing major is planned.

Return to “Scripting”