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)
1 user is browsing this thread:
1 guest
Livestreams
35 | |||||
19 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.619222.736+4
- 3.35057.860+15
- 4.1110614.644+11
- 5.276108.719+27
- 6.306114.729+2
- 7.918405.694+2
- 8.262137.657+3
- 9.722440.621+4
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1236
Board Info
839 users are online:
839 guests
0 post in the last 24h
5 posts in the last week
33 posts in the last month
5 posts in the last week
33 posts in the last month
Registered members: 49141
Welcome our newest member, igryskoj24
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, igryskoj24
Most online: 2043 users on 29 Oct 2023, 01:04 AM