Unit Visualization

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Unit Visualization

Postby nine2 » 17 Feb 2014, 15:38

I made a tool to read the Faforever mod and display unit ranges.

FAF-Just T3 Air:
http://www.launch-it.com.au/partytime/t3_air.png

FAF-Just direct fire land units:
http://www.launch-it.com.au/partytime/land_df.pdf

All of FAF (big):
http://www.launch-it.com.au/partytime/faf.pdf

And since the icons aren't that easy to acquire, here they are if anyone else wants them:
http://www.launch-it.com.au/partytime/images.zip

4dc, Total Mayhem, Blackops Unleashed, Special Units, Alternate Reality, Wyvern Battle Pack
http://www.launch-it.com.au/partytime/famods.zip

Nomads:
http://www.launch-it.com.au/partytime/nomads.pdf
Last edited by nine2 on 20 Feb 2014, 23:54, edited 4 times in total.
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Unit Visualization

Postby Dragonfire » 17 Feb 2014, 15:46

partytime wrote:A few months back, I made a tool to read the Faforever mod and display unit ranges.

Here is a picture of everything: http://www.launch-it.com.au/partytime/faf.pdf

The app is nice to use because you can filter it in a few different ways, allowing you compare things that you are interested in. The above example was pretty useless because it shows too much but how about...

Just direct fire land units: http://www.launch-it.com.au/partytime/land_df.pdf

T3 Air: http://www.launch-it.com.au/partytime/t3_air.png

Anyway I've kinda given up on this project for now because now I realize it should be an interactive web app (not the c# win app i made), but I thought I'd post this up in case in helped anyone else.

And since the icons aren't that easy to acquire, here they are if anyone else wants them:
http://www.launch-it.com.au/partytime/images.zip


Is the code open source?
Can you upload the at bitbucket or github?

My idea:
Generate some important views (land, air, navel, all, t1 land, t2 land, ... ) for the latest version and upload it on a webpage ;)
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: Unit Visualization

Postby nine2 » 17 Feb 2014, 15:51

Dragonfire wrote:Is the code open source?
Can you upload the at bitbucket or github?


Yes, but it would shame to me share the code as is, I'd have to fix it up first and I don't know when I'd get time
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Unit Visualization

Postby Dragonfire » 17 Feb 2014, 15:56

partytime wrote:
Dragonfire wrote:Yes, but it would shame to me share the code as is, I'd have to fix it up first and I don't know when I'd get time

Nobody is perfect ...
If all people only publish the code, if it is bugfree ...
nobody would publish anything xD

I like the idea of the website ... maybe it is possible with your code ...
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: Unit Visualization

Postby nine2 » 17 Feb 2014, 16:01

..
Last edited by nine2 on 20 Feb 2014, 23:51, edited 1 time in total.
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Unit Visualization

Postby Dragonfire » 17 Feb 2014, 16:06

My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: Unit Visualization

Postby nine2 » 17 Feb 2014, 16:16

The code is here: http://www.launch-it.com.au/partytime/code.zip

The code is crap, so don't judge me.

FIRST RUN:
0. You will need to get nuget packages
1. Edit Renderer.cshtml(106), change hardcoded image path to point to your folder
2. Run App
3. Put correct file locations for mods in textbox. Hit 'preprocess' and it will take minutes scanning them and rewriting it in an easier format.
4. Hit 'button4' to write images to disc. That's right ... 'button4'.
--
5. Next time you run the app you don't have to do any of that, just hit the Draw button, it will just take a second or three.

By this point you should see you can change the filters in the UI and it redraws the units in two different windows (two different styles ... one image, one html)

There are buttons to show/hide different weapons/abilities and buttons to show/hide units based off traits like ... having stealth, or being a t2 mobile land unit
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Unit Visualization

Postby nine2 » 17 Feb 2014, 16:17

Dragonfire wrote:Backup link for the great work:
https://www.dropbox.com/sh/3ppcuomu7c4rsqr/hlBBKAQ-l6


Lol, I've been immortalized in a dropbox, thank you
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Unit Visualization

Postby nine2 » 20 Feb 2014, 23:55

Cleaned up first post, added some mods
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Unit Visualization

Postby Dragonfire » 21 Feb 2014, 00:00

partytime wrote:Cleaned up first post, added some mods

great work :D
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Next

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest