Hello everyone.
I managed to extract a few scripts and assets from an old version of Mega Man 8-Bit Deathmatch, and isolate them from the mod to create a moving platform mod to experiment on. I know that ZScript moving platforms exist now, but this time, I want to create something Zandronum compatible, so I am sticking to Decorate and ACS. I've tried to find examples of moving platforms that hold players during their movement in the past, and the ones from MM8BDM were the best I could find. Copyright infringement or anything is not intended, as this stuff is currently being used only for reference.
The setup I have here works fine, except that the lift breaks when it moves upwards or diagonally. This seems to be tied to the fact that moving actors stop dead in their tracks when another actor, such as a player, obstructs their path. I tried googling solutions and looking for relevant actor flags, to no avail.
Given that players can push actors with the relevant flags by moving towards them, it would be handy of other actors could do so as well. Even if I cannot find a clean solution to what I am working with here, any general ideas would still be welcome.
In other words, Polyobjects push players and actors if they happen to be along their movement path, so I'd like to know if this behaviour is replicable with regular actors.
Here's the link to the WIP PWAD:
https://www.dropbox.com/scl/fi/hbzp7cto ... kbka3&dl=0
Screenshot:
I managed to extract a few scripts and assets from an old version of Mega Man 8-Bit Deathmatch, and isolate them from the mod to create a moving platform mod to experiment on. I know that ZScript moving platforms exist now, but this time, I want to create something Zandronum compatible, so I am sticking to Decorate and ACS. I've tried to find examples of moving platforms that hold players during their movement in the past, and the ones from MM8BDM were the best I could find. Copyright infringement or anything is not intended, as this stuff is currently being used only for reference.
The setup I have here works fine, except that the lift breaks when it moves upwards or diagonally. This seems to be tied to the fact that moving actors stop dead in their tracks when another actor, such as a player, obstructs their path. I tried googling solutions and looking for relevant actor flags, to no avail.
Given that players can push actors with the relevant flags by moving towards them, it would be handy of other actors could do so as well. Even if I cannot find a clean solution to what I am working with here, any general ideas would still be welcome.
In other words, Polyobjects push players and actors if they happen to be along their movement path, so I'd like to know if this behaviour is replicable with regular actors.
Here's the link to the WIP PWAD:
https://www.dropbox.com/scl/fi/hbzp7cto ... kbka3&dl=0
Screenshot:
Spoiler:Decorate code for the lift actor:
Spoiler:
Statistics: Posted by KUBA18i — Tue Jul 30, 2024 4:14 pm