British victor target abilities not working
4 Jun 2017, 21:36 PM
#1
1
Posts: 94
In my mod we want to change the British Coordinated Fire abilities (for Infantry Section and Armor-Piercing Sniper) so that they directly trigger the base howitzers instead of firing a smoke marker first. Unfortunately swapping use_accessory_weapon for victor_target_action with qf_25lb_concentrated_fire_base_mp under abilities results in nothing happening at all and I have no idea why not. I had to revert it for now, but can anybody suggest anything that might be preventing this from working?
4 Jun 2017, 21:50 PM
#2
Posts: 2636 | Subs: 17
Perhaps the ability finishes before the artillery pieces have a chance to fire, therefore, nothing happens.
If I were you I would either:
- Spawn an invisible marker instantly (which will trigger the victor target when it "explodes"), or
- Wrap your start_target_actions under a timed_action ability that lasts, say 1 minute
Make sure that you set your timed_action to Fire-and-forget: True, so that the actions contained therein continue to remain valid after the ability has ended
If I were you I would either:
- Spawn an invisible marker instantly (which will trigger the victor target when it "explodes"), or
- Wrap your start_target_actions under a timed_action ability that lasts, say 1 minute
Make sure that you set your timed_action to Fire-and-forget: True, so that the actions contained therein continue to remain valid after the ability has ended
4 Jun 2017, 22:00 PM
#3
1
Posts: 94
Why doesn't the Forward Assembly Coordinated Fire ability need that stuff? It works fine doing the same thing I did.
Edit: Well wouldn't you know it, I tried copying the actions from the above ability and now it works. Not sure what was different, but hurray!
Edit: Well wouldn't you know it, I tried copying the actions from the above ability and now it works. Not sure what was different, but hurray!
4 Jun 2017, 23:31 PM
#4
Posts: 2636 | Subs: 17
Forward assembly spawns an entity, and the entity takes care of calling down victor target.
If you want to do it the forward-assembly-way, just copy what it does, but make the smoke grenade entity invisible.
If you want to do it the forward-assembly-way, just copy what it does, but make the smoke grenade entity invisible.
PAGES (1)
0 user is browsing this thread:
Livestreams
6 | |||||
159 | |||||
21 | |||||
20 | |||||
5 | |||||
5 | |||||
4 | |||||
4 | |||||
4 | |||||
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
769 users are online:
769 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