Scripts / Turn enemy off and replace with zombie

Author
Message
soundstudios
12
Years of Service
User Offline
Joined: 21st Jun 2011
Location:
Posted: 17th Oct 2022 16:12
Hi There

I wondering if it was possible to have a enemy soldier that shows at the start then using a trigger zone to not show and replace it with a zombie character in place of a enemy soldier. I think this would be cool like enemies turning into zombies.
PM
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 17th Oct 2022 16:56
@ soundstudios
It is perfectly possible.
However for the effect to be believable you will need a zombie soldier.
To get a zombie soldier you will need the help of an LUA command that allows you to activate what is known as alt-texture and that is used to change the texture of the object or character in-game; the problem is that this feature does not yet exist in GGMax.
The way you think probably requires the soldier to enter the area, to exchange it for the zombie, which is not easy, unless you force the soldier to go through there, perhaps with a narrow tunnel or alley.
Swapping inside a tunnel can help, since the soldier would go in and the zombie would come out, obviously the zombie doesn't look anything like the soldier, so you'll still need a zombie soldier.
Ideally, the soldier will progressively turn into a zombie as the game progresses, but we still need the alt-texture.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM

Login to post a reply

Server time is: 2024-04-27 01:43:53
Your offset time is: 2024-04-27 01:43:53