teetaps111 Posted September 17, 2018 Report Share Posted September 17, 2018 Hello everyone, Does anyone know if it's possible to create a file that describes the features of each of the units? A tidy comma-separated file would be ideal, like this: |--------|---------Unit---------|----AttackType----|----AttackStrength----| 1 , Hoplite , Hack , 1.0 2 , Swordsman , Pierce , 3.0 You get the idea. I think it would be fun to have access to this data so that consumers on the more analytical side can play with the numbers a little bit, like this guy did to analyse Pokemon characters. If that style of data isn't directly available, we could still find some data to work with. For example, something that drives the Super Smash Bros community is pages like this where the statistics of matchups are calculated and displayed. Overall I think it would be a great way to boost some user engagement, and if there are clever data people out there, playing with the data in other ways may reveal some features about units that would typically be hidden during normal gameplay, which could help with development of a competitive but even playing field for different factions. I am also willing to make this dataset myself; I don't have much experience with backend programming, but I am comfortable using python to scrape the git. I just kind of need to know where to start (which directory to start looking into). Thanks Devs and community for a great game! TT Quote Link to comment Share on other sites More sharing options...
Loki1950 Posted September 17, 2018 Report Share Posted September 17, 2018 All of the unit stats are in each units definition file which is XML you can find all of the data in the public.zip which serves as the base mod for the game engine itself the folder structure is fairly simply laid out so you should be able to figure it out you might want to check the modding pages on our wiki for lots more detail on file structure and such. Enjoy the Choice Quote Link to comment Share on other sites More sharing options...
Guest Posted September 17, 2018 Report Share Posted September 17, 2018 (There is a Python script which does exactly that in the repo) Quote Link to comment Share on other sites More sharing options...
teetaps111 Posted September 17, 2018 Author Report Share Posted September 17, 2018 I'm struggling to find this script unfortunately! Could you direct me to it please? Quote Link to comment Share on other sites More sharing options...
Stan` Posted September 17, 2018 Report Share Posted September 17, 2018 https://trac.wildfiregames.com/browser/ps/trunk/source/tools/templatesanalyzer 1 Quote Link to comment Share on other sites More sharing options...
teetaps111 Posted September 17, 2018 Author Report Share Posted September 17, 2018 4 minutes ago, stanislas69 said: https://trac.wildfiregames.com/browser/ps/trunk/source/tools/templatesanalyzer Godsend, thank you! Quote Link to comment Share on other sites More sharing options...
dmzerocold Posted September 17, 2018 Report Share Posted September 17, 2018 i dont have technical knowledge to use it , but is it possible anyone use this script and share the files ? if im not wrong this script extract the details (attack , armor , speed ...) of all units , right? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 18, 2018 Report Share Posted September 18, 2018 On 9/17/2018 at 12:03 PM, dmzerocold said: i dont have technical knowledge to use it , but is it possible anyone use this script and share the files ? if im not wrong this script extract the details (attack , armor , speed ...) of all units , right? Yes (I think it only works in an svn/git copy) and yes. Quote Link to comment Share on other sites More sharing options...
dmzerocold Posted September 18, 2018 Report Share Posted September 18, 2018 10 minutes ago, (-_-) said: Yes (I think it only works in an svn/git copy) and yes. can you please share the exported file ? if you have Quote Link to comment Share on other sites More sharing options...
Guest Posted September 18, 2018 Report Share Posted September 18, 2018 45 minutes ago, dmzerocold said: can you please share the exported file ? if you have Will do later today. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 18, 2018 Report Share Posted September 18, 2018 unitStat.zip Open the file named "unit_summary_table.html". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.