A list of all entries and their values available for all entity files.

I am lazy. I hate doing work that involves a huge amount of time just to collect information.

After doing this for an hour, I had an idea. Why spend time doing this when I can modify a shortest path algorithm to actually catalogue all entries and values for any number of entity files?

I went through with my idea and it worked. The result is a 356 kb file that consists of all possible entries for an entity file and all possible values for each entry. No more searching for anyone. It is all here.

I will include the program as well. I compiled it at work using an older version of visual studio, so I believe it requires .NET 2.0, not 3.5.

I hope people find this useful. I certainly will for Sins Editor.

Program/Values.def download: http://sinseditor.blacklotushq.com/Pre%20Release%20Files/DefGen.rar

 

*Note: The values.def file in the .rar is not complete. It does not include ability*.entity files. I used a list of converted entrenchment files, which did not include the ability files. To get a full values.def, please rerun DefGen.exe and open all .entity files except for WeaponType.entity.

-Ian

6,779 views 6 replies
Reply #1 Top

I updated the program to better parse integers, arrays of integers, and floats. This way you don't get a bunch of random floats, integers, and doubles. You just get 0.00000 for a float, [ 0, 0, 0, 0 ] for an array of integers, and 0 for an integer.

I also sped up the parsing a bit.

Program/Values.def download: http://sinseditor.blacklotushq.com/Pre%20Release%20Files/DefGen.rar

-Ian

Reply #2 Top

At the rate you're going, you're going to write a new OS just for Sins.

At the rate I'm going, you'll finish before I do.

 

:fox:

Reply #3 Top

The generator I have yet to release also gives the associated entity files for anything that has an associated file.

When such a values.def file is used with Sins Editor, it will allow the user to open the entity file associated with that value, if one exists. It will open the entity file directly in sins editor, just like any other file.

I will release it in a while, I am currently busy with work.

I will integrate this functionality into sins editor v1.0.2, as stated above.

Reply #4 Top

Good work! That'll definitely come in handy. Now if we only could actually get someone to compile a nice list of what-it-does for many of those entries... ;)

Reply #5 Top

Can't help ya there :P I don't even mod this game. I did for like 2 days. I am just coding an editor to read stuff. I have no idea what the actual stuff means.