Advanced target priorities

Everything about mods can be found here.

Re: Advanced target priorities

Postby R_Charger » 14 Jan 2019, 22:48

Doh. Looked at the code for snipe so should have been able to figure that out. Just a tiny point but is the trailing comma after categories.SHIELD on line 27 necessary? I don't really know any LUA so don't know how particular it is about stuff like that...
R_Charger
Avatar-of-War
 
Posts: 105
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 12 times
FAF User Name: Reckless_Charger

Re: Advanced target priorities

Postby Strogo » 15 Jan 2019, 01:53

Hmm yea, I think this comma was added by mistake
Strogo
Crusader
 
Posts: 42
Joined: 25 Oct 2017, 00:51
Has liked: 6 times
Been liked: 28 times
FAF User Name: Strogo

Re: Advanced target priorities

Postby R_Charger » 16 Jan 2019, 00:02

Hi Strogo. I tried to add a third column of buttons using your code on github but they don't show up. Are you sure that code is right?
R_Charger
Avatar-of-War
 
Posts: 105
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 » 16 Jan 2019, 19:45

R_Charger wrote:Hi Strogo. I tried to add a third column of buttons using your code on github but they don't show up. Are you sure that code is right?

the code is right. I have it same

upload here the file so we can take a look
User avatar
ZeRen
Evaluator
 
Posts: 561
Joined: 03 Aug 2014, 08:22
Has liked: 149 times
Been liked: 38 times
FAF User Name: ZeRen

Re: Advanced target priorities

Postby R_Charger » 17 Jan 2019, 00:21

Ok here are my two altered files. Probably something obvious with orders.lua....

orders.lua
(15.95 KiB) Downloaded 3 times

misckeyactions.lua
(11.23 KiB) Downloaded 3 times
R_Charger
Avatar-of-War
 
Posts: 105
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 12 times
FAF User Name: Reckless_Charger

Re: Advanced target priorities

Postby Strogo » 17 Jan 2019, 05:30

Works fine for me (copied both files)

3rd.png
3rd.png (170.2 KiB) Viewed 102 times
Strogo
Crusader
 
Posts: 42
Joined: 25 Oct 2017, 00:51
Has liked: 6 times
Been liked: 28 times
FAF User Name: Strogo

Re: Advanced target priorities

Postby R_Charger » 17 Jan 2019, 21:32

So I figured out what was wrong. I had a zipped file of all my mods (compressed). Somehow the old version in the zip must have been being read over the version of targeting priorities I was editing/updating. I've moved the zip file out that folder. I didn't know FAF loaded compressed mods in the mod folder....
R_Charger
Avatar-of-War
 
Posts: 105
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 12 times
FAF User Name: Reckless_Charger

Re: Advanced target priorities

Postby Anihilnine » 18 Jan 2019, 23:50

Haha yeah :) I've been bitten by that zip issue too
Anihilnine
Moderator
 
Posts: 2203
Joined: 16 Apr 2013, 10:10
Has liked: 257 times
Been liked: 380 times
FAF User Name: Anihilnine

Previous

Return to Mods & Tools

Who is online

Users browsing this forum: Google Feedfetcher and 1 guest