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
"I will find joy in Yahweh. I will delight in my Elohim. He has dressed me in the clothes of salvation. He has wrapped me in the robe of righteousness like a bridegroom with a priest’s turban, like a bride with her jewels."
-Isaiah 61:10 (Names of God Bible)
-Isaiah 61:10 (Names of God Bible)
[DECORATE] Re: Player movement bob, and other
Thank you very much