How to set the rotation angle movement to 16 instead 8 ?

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.

How to set the rotation angle movement to 16 instead 8 ?

Postby GENTEK » Sun Mar 28, 2021 3:06 pm

Since ingame I use 16 angle sprites it would be cool to make them moving on the same angle ratio someone know what to do ? :D
GENTEK
 
Joined: 05 Aug 2013

Re: How to set the rotation angle movement to 16 instead 8 ?

Postby Lagi » Sun Mar 28, 2021 3:42 pm

there are the same angles as the 8, just if you go for 16 , you start using 9, A,B... in the name
check Angles here:
https://zdoom.org/wiki/Sprite
User avatar
Lagi
 
Joined: 23 Jun 2018
Location: Thou shalt alter thy beliefs with new evidence

How to set the rotation angle movement to 16 instead 8 ?

Postby GENTEK » Sun Mar 28, 2021 3:45 pm

Thanks for the reply Lagi but what I mean is the rotation movement ingame not the sprite names.
The DOOM monsters walk on a rotation angle of 8 I would change that for 16
GENTEK
 
Joined: 05 Aug 2013

Re: How to set the rotation angle movement to 16 instead 8 ?

Postby Jarewill » Sun Mar 28, 2021 11:29 pm

As far as I know, the only way to do that is to create custom behavior.
And since A_Chase is set as native in gzdoom.pk3, no way to copy and modify that. Unless I'm wrong.
Jarewill
 
 
 
Joined: 21 Jul 2019


Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests