Information and discussion for custom maps and mods.
pointbreak
Posts: 44 Joined: Mon Jul 23, 2018 10:54 am
Post
by pointbreak » Mon Jul 30, 2018 5:05 pm
I want to make Tanya reload every 10 or so shots for about 2 seconds. How to? I tried this
Code: Select all
E7:
AmmoPool:
Ammo: 10
PipCount: 0
AmmoCondition: ammo
ReloadAmmoPool:
Delay: 25
Count: 10
But it doesn't really seem to work, from what I've seen she still doesn't take a break.
Sleipnir
Posts: 878 Joined: Wed Apr 10, 2002 11:52 pm
Contact:
Post
by Sleipnir » Mon Jul 30, 2018 5:08 pm
You will also need to add PauseOnCondition: !ammo to her Armament traits.
pointbreak
Posts: 44 Joined: Mon Jul 23, 2018 10:54 am
Post
by pointbreak » Mon Jul 30, 2018 6:20 pm
Turned it into:
Code: Select all
E7:
AmmoPool:
Ammo: 10
PipCount: 0
AmmoCondition: ammo
ReloadAmmoPool:
Delay: 25
Count: 10
Armament@PRIMARY:
PauseOnCondition: !ammo
Armament@SECONDARY:
PauseOnCondition: !ammo
Armament@GARRISONED:
PauseOnCondition: !ammo
It didn't work
pointbreak
Posts: 44 Joined: Mon Jul 23, 2018 10:54 am
Post
by pointbreak » Wed Aug 01, 2018 6:48 pm
Or is it meant to be in the weapons?
Sleipnir
Posts: 878 Joined: Wed Apr 10, 2002 11:52 pm
Contact:
Post
by Sleipnir » Wed Aug 01, 2018 6:57 pm
Try adding the traits to show ammo pips and then check that the ammo is actually being expended when the weapon fires. My best guess is that it probably isn't.
pointbreak
Posts: 44 Joined: Mon Jul 23, 2018 10:54 am
Post
by pointbreak » Wed Aug 01, 2018 7:23 pm
And assuming it isn't, how can it be changed?