Hi. I need help with DECORATE!
1. How do i change bob value in zandronum while it's possible on gzdoom by "Player.ViewBob <float>" in player properties? (I Tried to change value by console which worked, but it's not an option!)
2. How do i make weapon to keep bobbing when firing, reloading, holding fire button, etc.? (It's possible on GZDoom i saw it on Guncaster mod)
3. Can i run another State upon State? For example, Fire + Flash, but i want something like this: Fire + State1 + State2 (with loop) + State3, these states runs right after "Fire" state. (I think it's possible in GZDoom like the akimbo guns in some mods, but idk about zandronum..)
Thanks.
[DECORATE] Player movement bob, and other
[DECORATE] Re: Player movement bob, and other
By making all states you want to keep bobbing like this:
Code: Select all
XXXX X 1 A_WeaponReady(WRF_NOFIRE|WRF_NOSWITCH)
XXXX X 0 A_FireBullets //this is an example, you don't need firebullets, but every thing that's not A_WeaponReady needs to be 0-tic.
XXXX X 1 A_WeaponReady(WRF_NOFIRE|WRF_NOSWITCH)
//etc, etc.
You can only run two states at a time on weapons (and one for any other type of actor) in Zandronum. This is done by using A_GunFlash("statename").ZoD wrote: ↑Mon Jun 08, 2020 6:35 am3. Can i run another State upon State? For example, Fire + Flash, but i want something like this: Fire + State1 + State2 (with loop) + State3, these states runs right after "Fire" state. (I think it's possible in GZDoom like the akimbo guns in some mods, but idk about zandronum..)
You can't. You can, however, change it per-weapon. The properties can be seen here: https://zdoom.org/wiki/Classes:Weapon
When I consider Your heavens, the work of Your fingers, The moon and the stars, which You have ordained; What is man that You take thought of him, And the son of man that You care for him? (Psalms 8:3-4, NASB)
My Discord tag is @tdrr, and it's my preferred contact method. I also check PMs here from time to time.
I also have a Discord server for my projects.
My Discord tag is @tdrr, and it's my preferred contact method. I also check PMs here from time to time.
I also have a Discord server for my projects.
[DECORATE] Re: Player movement bob, and other
Thank you very much