Advanced target priorities v1.1

Everything about mods can be found here.

Re: Advanced target priorities

Postby Bullydozer » 02 Jan 2019, 23:28

yay free 100 rating
Bullydozer
Avatar-of-War
 
Posts: 55
Joined: 07 Jul 2015, 11:00
Has liked: 4 times
Been liked: 9 times
FAF User Name: Bullydozer

Re: Advanced target priorities

Postby Strogo » 03 Jan 2019, 00:05

R_Charger wrote:Hi Strogo,
I noticed that the misckeyactions.lua file also contains priorityTables and the exclusive line. Do these need to be edited as well?


Ah, yes. Table in misckeyactions.lua is used by hotkeys. I forgot to change the code and make it uses 1 table from orders.lua for both buttons and hotkeys, will fix it in next version. So yes, if you want to setup a new hotkey for your preset, make changes in misckeyactions.lua too.

Also

Image
Strogo
Crusader
 
Posts: 45
Joined: 25 Oct 2017, 00:51
Has liked: 6 times
Been liked: 29 times
FAF User Name: Strogo

Re: Advanced target priorities

Postby ZeRen » 03 Jan 2019, 21:19

Strogo wrote:Without texture, preset name will be displayed using Arial font (size 10). You can edit this too (line 114):
Image

thx man I was wondering how to do that for my presets

great mod :D
User avatar
ZeRen
Evaluator
 
Posts: 576
Joined: 03 Aug 2014, 08:22
Has liked: 149 times
Been liked: 44 times
FAF User Name: ZeRen

Re: Advanced target priorities

Postby ZeRen » 12 Jan 2019, 12:57

is there a way how to do preset that will for example target T3 navy , then T2 navy, then default target?
User avatar
ZeRen
Evaluator
 
Posts: 576
Joined: 03 Aug 2014, 08:22
Has liked: 149 times
Been liked: 44 times
FAF User Name: ZeRen

Re: Advanced target priorities

Postby DDDX » 12 Jan 2019, 16:37

nice job ;)
I would add a button for high priority targets - ACU, Paragon, Yolona, Mavor, Salvation, nukes, arties t3 could all be under it, in that order.
Check out my 2 maps: "Survival_Mayhem&BO_3d_v1" "Survival_Mayhem&BO_3d_RPG"
as well as my mod: "Survival Mayhem&BO balance"
-- let me know of any bugs or issues regarding those 3.
DDDX
Avatar-of-War
 
Posts: 95
Joined: 21 Mar 2016, 16:13
Has liked: 15 times
Been liked: 9 times
FAF User Name: DDDX

Re: Advanced target priorities

Postby R_Charger » 12 Jan 2019, 19:30

I was gonna ask the same question as Zeren. Is there a way to add multiple target lines to set multiple target priorities (in hierarchical order)?
R_Charger
Avatar-of-War
 
Posts: 107
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 12 times
FAF User Name: Reckless_Charger

Re: Advanced target priorities

Postby ZeRen » 12 Jan 2019, 19:48

R_Charger wrote:I was gonna ask the same question as Zeren. Is there a way to add multiple target lines to set multiple target priorities (in hierarchical order)?

yes I figured it out

{categories.NAVAL * categories.TECH3, categories.NAVAL * categories.TECH2}
- this will shoot first T3 navy and then T2 navy

I have another question how to make 3.column?
User avatar
ZeRen
Evaluator
 
Posts: 576
Joined: 03 Aug 2014, 08:22
Has liked: 149 times
Been liked: 44 times
FAF User Name: ZeRen

Re: Advanced target priorities

Postby ZeRen » 12 Jan 2019, 20:35

oh yea :twisted:
Attachments
ForgedAlliance 2019-01-12 18-33-06-44.jpg
ForgedAlliance 2019-01-12 18-33-06-44.jpg (92.96 KiB) Viewed 314 times
User avatar
ZeRen
Evaluator
 
Posts: 576
Joined: 03 Aug 2014, 08:22
Has liked: 149 times
Been liked: 44 times
FAF User Name: ZeRen

Re: Advanced target priorities

Postby Strogo » 12 Jan 2019, 20:40

yep, use commas for that. Few examples, just in case:

Spoiler: show
{categories.TECH3 * categories.LAND, categories.TECH2 * categories.LAND, categories.TECH1 * categories.LAND}

1. t3 land
2. t2 land
3. t1 land


And more complex one
{categories.TECH3 * categories.LAND + categories.TECH2 * categories.LAND, categories.TECH1 * categories.LAND - categories.TECH1 * categories.ARTILLERY}

1. t3 + t2 land (both have same priority)
2. t1 land - t1 arty


Third column (copy these changes to your file):
https://github.com/Strogoo/ATP/commit/b ... diff=split
Strogo
Crusader
 
Posts: 45
Joined: 25 Oct 2017, 00:51
Has liked: 6 times
Been liked: 29 times
FAF User Name: Strogo

Re: Advanced target priorities

Postby Strogo » 12 Jan 2019, 20:41

Uh ok, gj :D
Strogo
Crusader
 
Posts: 45
Joined: 25 Oct 2017, 00:51
Has liked: 6 times
Been liked: 29 times
FAF User Name: Strogo

PreviousNext

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest