FAF UnitDB App

Post here if you want to help developing something for FAF.

Re: FAF UnitDB App

Postby Uveso » 03 Aug 2017, 03:54

Lua doc for SupCom:
http://supcom.wikia.com/wiki/Lua

Those commands are not working inside a mod. (wrong lua state)
Code: Select all
    temp = io.open("supcomUnitData.json","w+")
    temp:write(jsonString)
    temp:close()

The reason, why i am using the debug log for this is simple. I don't know a way to write files from a mod.
User avatar
Uveso
Evaluator
 
Posts: 755
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 27 times
Been liked: 109 times
FAF User Name: Uveso

Re: FAF UnitDB App

Postby MfgSolid » 10 Sep 2017, 09:40

Does anyone know how the icons in the faforever.com unitDB were colorized or how I can get them? Else I would just try to use the icons provided on said website. The problem I´m having is that want to colorize the strategic Icons with the respective faction colors, as I only have found grey icons in the game files.

Thx in advance
User avatar
MfgSolid
 
Posts: 7
Joined: 07 May 2017, 17:38
Location: Germany
Has liked: 5 times
Been liked: 1 time
FAF User Name: MfgSolid

Re: FAF UnitDB App

Postby MfgSolid » 03 Oct 2017, 08:42

Solved last post, delay of release due to personal reasons.
User avatar
MfgSolid
 
Posts: 7
Joined: 07 May 2017, 17:38
Location: Germany
Has liked: 5 times
Been liked: 1 time
FAF User Name: MfgSolid

Re: FAF UnitDB App

Postby MfgSolid » 04 Oct 2017, 14:35

Update:
First success! But isn't usable at the moment due to performance issues, as well as missing detail view, shouldn't take long though. Also serious refactoring underway as well as beautifiying the app.
Attachments
Success.PNG
Success.PNG (128.58 KiB) Viewed 58 times
User avatar
MfgSolid
 
Posts: 7
Joined: 07 May 2017, 17:38
Location: Germany
Has liked: 5 times
Been liked: 1 time
FAF User Name: MfgSolid

Previous

Return to Contributors

Who is online

Users browsing this forum: No registered users and 3 guests