Advanced target priorities v1.1

Everything about mods can be found here.

Moderator: Morax

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: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 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
Avatar-of-War
 
Posts: 53
Joined: 25 Oct 2017, 00:51
Has liked: 7 times
Been liked: 33 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: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 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: 641
Joined: 03 Aug 2014, 08:22
Has liked: 154 times
Been liked: 49 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 85 times

misckeyactions.lua
(11.23 KiB) Downloaded 73 times
R_Charger
Avatar-of-War
 
Posts: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 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 2256 times
Strogo
Avatar-of-War
 
Posts: 53
Joined: 25 Oct 2017, 00:51
Has liked: 7 times
Been liked: 33 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: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 times
FAF User Name: Reckless_Charger

Re: Advanced target priorities

Postby nine2 » 18 Jan 2019, 23:50

Haha yeah :) I've been bitten by that zip issue too
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Advanced target priorities

Postby ZeRen » 26 Jan 2019, 23:42

how can I change text color for each column? I cant figure it out :cry:
User avatar
ZeRen
Evaluator
 
Posts: 641
Joined: 03 Aug 2014, 08:22
Has liked: 154 times
Been liked: 49 times
FAF User Name: ZeRen

Re: Advanced target priorities

Postby ThomasHiatt » 21 Feb 2019, 20:36

Can you provide a download link for the mod in the forum post? Mod vault doesn't work in the python client currently and shouldn't be trusted anyway.
ThomasHiatt
Avatar-of-War
 
Posts: 184
Joined: 02 Feb 2017, 00:24
Has liked: 116 times
Been liked: 110 times
FAF User Name: ThomasHiatt

PreviousNext

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest