I want to make an ability that you can toggle on and off, that enables auto target for your howitzer so it picks it's own targets.
Any ideas fellas?
Auto target ability Howitzer
29 Jan 2023, 08:54 AM
#1
Posts: 12
31 Jan 2023, 22:22 PM
#2
Posts: 100 | Subs: 1
- Weapon category. Create a new clone of the weapon that you want to base it off of. Set weapon_bag\behavior\enable_auto_target_search: true. You may also have to edit some other values to make it behave how you want. We will call this weapon B.
- Ebps category. Create a new hardpoint in combat_ext\hardpoints\1.hardpoint\2.weapon and assign weapon B. You can copy the heading and origin values from 1.weapon (we will call this weapon A, which you should leave untouched.)
- Ability category. Create a new toggle ability. In action_list\start_self_actions make a change_weapon for hardpoint 1 that changes to weapon B. In action_list\end_self_actions make a change_weapon for hardpoint 1 that changes to weapon A.
In short the howitzer entity will have 2 weapons on its 1st hardpoint; weapon A (the default) and weapon B (the clone). The toggle ability will be able to switch between these weapons.
This is a simple way to do it. The ones used in the default game such as the Sherman AP/HE system uses a more complicated method that includes upgrades and timed abilities which you can use as reference if you'd like to do that. Things may not be perfect when using weapon B in conjunction with barrage abilities.
12 Feb 2023, 12:46 PM
#3
Posts: 12
Thank you very much. I will try that
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
70 | |||||
42 | |||||
40 | |||||
22 | |||||
21 | |||||
12 | |||||
558 | |||||
92 | |||||
73 | |||||
17 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.653231.739+13
- 2.838223.790+1
- 3.35057.860+15
- 4.590233.717+6
- 5.278108.720+29
- 6.306114.729+2
- 7.645.928+5
- 8.922406.694+1
- 9.1118621.643-1
- 10.265138.658+2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
10
Download
1243
Board Info
796 users are online:
796 guests
0 post in the last 24h
2 posts in the last week
28 posts in the last month
2 posts in the last week
28 posts in the last month
Registered members: 49389
Welcome our newest member, Haruta446
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Haruta446
Most online: 2043 users on 29 Oct 2023, 01:04 AM