So I want grenades of squads that can spawn from ambient buildings to start on cool-down as in the EFA Revamp mod. I started with Partisans and tried both the initial_recharge method (used by Infiltration Tactics grenades) and the requirements_self_recharge method (used by Assault Grenadier grenades) and both methods resulted in the Partisans' grenades getting stuck at 0 seconds. I also tried removing the shared_timer, but that didn't help. So now I'm stuck.
Can anyone help me? Maybe somebody from the Balance Team?
Bug with initial recharge for ability
29 May 2017, 21:57 PM
#1
1
Posts: 94
30 May 2017, 15:50 PM
#2
Posts: 2636 | Subs: 17
You can get access to the source files for the mod here:
https://github.com/xxpatch/consmod
I think I tried both ways that you've listed. In both cases it seems that for the initial 30-ish seconds (when the grenades are on cooldown) the visuals do not indicate the correct number of seconds remaining.
At least that's what I experienced when I was debugging the mod in single-player.
I haven't actually tried infiltration units in multiplayer yet. If the count-down works properly, then things will also work for your mod.
https://github.com/xxpatch/consmod
I think I tried both ways that you've listed. In both cases it seems that for the initial 30-ish seconds (when the grenades are on cooldown) the visuals do not indicate the correct number of seconds remaining.
At least that's what I experienced when I was debugging the mod in single-player.
I haven't actually tried infiltration units in multiplayer yet. If the count-down works properly, then things will also work for your mod.
2 Jun 2017, 07:05 AM
#3
1
Posts: 94
It's very generous of you guys to make those files available like that.
But have you noticed that the recharge for the grenades resets whenever you reinforce the squad? I wonder if these issues might get fixed if EFA Revamp ever gets turned into an official patch...
But have you noticed that the recharge for the grenades resets whenever you reinforce the squad? I wonder if these issues might get fixed if EFA Revamp ever gets turned into an official patch...
4 Jun 2017, 23:32 PM
#4
Posts: 2636 | Subs: 17
I wasn't aware of that
I'll investigate.
I'll investigate.
10 Jun 2017, 17:15 PM
#5
Posts: 2636 | Subs: 17
I don't know if you're still interested in this, however, here is how to completely solve the issues you brought up:
- Set initial recharge to True for the abilities in question
- Move the abilities from ebps to sbps
Done!
- Set initial recharge to True for the abilities in question
- Move the abilities from ebps to sbps
Done!
10 Jun 2017, 17:37 PM
#6
1
Posts: 94
Wow, that's pretty wacky that initial_recharge would only work with a squad ability. Thanks for figuring that out. I wonder why grenade abilities are usually on the entity if they can just as easily be on the squad?
10 Jun 2017, 18:08 PM
#7
Posts: 2636 | Subs: 17
Wow, that's pretty wacky that initial_recharge would only work with a squad ability.
Recharge thing works even if the ability is under ebps. However, you won't be seeing the actual cooldown No idea why.
Thanks for figuring that out. I wonder why grenade abilities are usually on the entity if they can just as easily be on the squad?
No idea why.
The AI, sometimes, gets wacky with MG crews using their abilities. So far the AI has only been doing that with conscript AT nades. However, there are reports that the AI can sometimes also use bundle nades when manning MGs.
PAGES (1)
0 user is browsing this thread:
Livestreams
6 | |||||
169 | |||||
25 | |||||
19 | |||||
4 | |||||
4 | |||||
4 | |||||
3 | |||||
3 | |||||
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.600215.736+15
- 3.34957.860+14
- 4.1107614.643+8
- 5.305114.728+1
- 6.916405.693-2
- 7.273108.717+24
- 8.722440.621+4
- 9.1041674.607-2
- 10.17146.788+1
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1235
Board Info
830 users are online:
830 guests
0 post in the last 24h
8 posts in the last week
35 posts in the last month
8 posts in the last week
35 posts in the last month
Registered members: 49104
Welcome our newest member, zhcnwps
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, zhcnwps
Most online: 2043 users on 29 Oct 2023, 01:04 AM