Nicely done. I may use this to help verify the numbers and build pipeline. Also, anyone that's looking at these numbers to determine balance, be careful. There's some things that this does not show well, which affects balance greatly. Especially when it comes to DPS. If the weapon is listed twice that means there are two different weapons and even if they reference the same weapon and the same ammo, it's firing two projectiles which effectively doubles the DPS.
Hi everyone. Raevn and I were considering publishing a cut-down version of this tool on a live website. The live version wouldn't have the 3D unit viewer or terrain viewer. Just unit stats and the comparison feature as Uber have informed us that they would (understandably) prefer not to have in-game assets posted in a public place. Considering we now have a PA Database by yarmond here: http://www.pa-db.com/. I'd just like to get peoples feedback on whether they would find my tool useful being published live as well, or if it's fine just having as a download if you need it. Thanks.
I think it would be a lot more accessible like that. Also wouldn't that also make it available for people who don't have the game yet?
I think the latest patches broke this. Just tried refreshing the jsons, and even though the unit_comparison_list.json file shows as 2300kb the unit viewer html displays nothing. php executable shows version 5.5.0.0 btw.
Worked for me, although I'm using PHP 5.3.10 It could be something to do with using PHP 5.5. They seem to have gone a bit wild lately removing functions and features they don't like between minor version upgrades... It's been great fun seeing many of my websites break as hosting companies upgrade PHP... grrr..
It's weird cus it worked the last time, same php, somewhere around 50000. Stupid memory forgetting and stuff
It sounds like there's probably a syntax error in the unit_comparison_list.json because the UI is breaking completely. Can you post that file here and I'll take a look?
The only thing I edited in the php file was the PA folder location, since on my system it's "C:\Planetary Annihilation\PA", not under program files, or with MODDING in the folder name. What happened last time was I ended up with a blank json because of that. Either way, here's both files:
Oops, sorry it took so long to get back to you on this one. The problem was that PAs javascript includes have moved into a thirdparty folder and broke it. The original files weren't removed on my copy that's why it didn't break when I tested it before. I've updated the OP and attached the html files you'll need to replace to get this working again here.
Can't get it to work for me. When I load the page it is blank and all I can do is switch between the three options. There is no command line to run the create_json.
didnt work for me when i pasted it i got the steam version. but then i edited the html files (removed "PA/") and now it works https://mega.co.nz/#!2INVTASB!NTCn0h5QQIhs8FjDcwzC0DnFRJdnUqolI08UsSTfaio
I would love to use this tool but I am not going learn how to configure and run a php server to do it. Any way you can get this in a standard EXE file for windows?
People aren't sure whether you are fruity, they emphasise the stuff you can't do, your hair is brown and an unusual shape, you always run downhill and you tend to sleep a lot during the day time. Also you would have odd passions for bugs and rugby, and you probably have a cousin who tells every one about getting bargains. plus your nostrils are at the end of your beak.
Here's as far as I got with my own install directories : everything works but the Json modelling. https://dl.dropboxusercontent.com/u/22720750/unit_viewer.zip go ahead and tell me what I forgot. :s