Basically, this new floor type would work like the normal swimmable 3D sector; only it changes an actor into it's 'swim' state or something like that and changes it's speed to 'swimspeed' and height to 'swimheght'. This way, one can make the player or any actor even, look like it's generally swimming -and actors that can't swim will sink to the bottom unless somesort of '+nosink' flag is set, so instead it can walk on water! If no swim states/speeds/heights are defined, the actor will just crouch and move at half speed instead. This could be done with a lot ACS, but having it done like this would be much better. When the actor stops moving or attacks underwater, it will go to it's other states or crouch states (depending on whether it has room to stand up or not) -this saves peaople from having to make wimming attack states, etc.
Also Crouch.Idle, Crouch.Sight, Crouch.Melee, etc and a +cancrouch flag for playerpawns and maybe monster actors would be good, as making crouch states for models is a bit messed up at the moment.
New 3D Floor Type and Actor states
Moderator: Graf Zahl
- ChupaReaper
- Posts: 202
- Joined: Fri Jun 15, 2007 16:35
- Location: England
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- ChupaReaper
- Posts: 202
- Joined: Fri Jun 15, 2007 16:35
- Location: England
- Contact: