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.

Changing textures upon impact of missile

Postby Collegia Titanica » Thu Mar 08, 2018 9:50 am

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.
Collegia Titanica
 
Joined: 25 Jan 2018
Discord: 2834

Return to Scripting

Who is online

Users browsing this forum: Dark-Assassin and 1 guest