[Modding] HUGE Element description resource

Discuss and distribute tools and methods for modding. Moderator - Grognak
marinepower
Posts: 10
Joined: Fri Sep 14, 2012 6:40 pm

[Modding] HUGE Element description resource

Postby marinepower » Mon Sep 17, 2012 3:57 am

As most of you modders know, the easiest way to mod the game is to use the built in scripting capabilities of the engine, with most scripts being defined as XML files inside the data.dat file. However, it's hard to say what all of the options are, and where you can look at more examples of a given element. That's why I decided to write a program to sift across the entirety of data.dat and MAKE A LIST OF EVERY ELEMENT, WHERE IT'S FOUND, WHAT ITS ATTRIBUTES ARE, AND WHAT THE MOST COMMON VALUES OF EACH ATTRIBUTE ARE. I spent around 2 hours programming this, so I really hope this ends up being a great resource for the community.

Code: Select all

The format:
<ElementName> found in a.xml b.xml c.xml
[Element Value One] (Found 4 times)
[Element Value Two] (Found 2 times)
...
   attributeOne={...}
      Value A (Found 166 times)
      Value B <- Attribute values without a number next to them only showed up once.

For example, here's the crewMember element:

<crewMember> found in events.xml events_crystal.xml events_engi.xml events_fuel.xml events_mantis.xml events_nebula.xml events_pirate.xml events_rebel.xml events_rock.xml events_ships.xml events_slug.xml events_zoltan.xml nameEvents.xml newEvents.xml
[Charlie] (4)
[Slocknog] (2)
[Ariadne]
[Dr. Jones]
[Kazaaak]
   amount={...}
      1 (72)
      -1 (27)
      2
   class={...}
      human (10)
      engi (8)
      rock (6)
      mantis (5)
      slug (4)
      crystal (3)
      energy (3)
      ghost
   prop={...}
      1 (4)
      0.20 (3)
      0.80 (3)
      0.25 (2)
      0.75 (2)
      2
   type={...}
      engi (6)
      mantis (6)
      rock (2)
      human
      random


Version containing only events (most succinct): http://pastebin.com/ArwCn13R
Version containing only blueprints:http://pastebin.com/AK1gZ97A
Compact all-file version (no element data): http://pastebin.com/Mzqtbtpv
Full all-file version: http://pastebin.com/79K24Wsa

Final Edit: These lists deal very closely with the internals of the game. I would strongly recommend beating the game before looking at these files, as they could act as pretty serious spoilers.
Last edited by marinepower on Mon Sep 17, 2012 6:21 am, edited 13 times in total.
kingofhell214
Posts: 25
Joined: Mon Sep 17, 2012 12:08 am

Re: [Modding] HUGE Element description resource

Postby kingofhell214 » Mon Sep 17, 2012 4:01 am

sorry im a noob to modding i started searching how to mod TODAY. Does this mean we will be able to mod the whole game? or is that the source code?
Zuriki
Posts: 30
Joined: Sat Sep 15, 2012 1:58 pm

Re: [Modding] HUGE Element description resource

Postby Zuriki » Mon Sep 17, 2012 4:03 am

You should have probably sorted these by the file they appear in, it's helpful but that would have been more helpful.
CaptainShooby
Posts: 20
Joined: Sun Sep 16, 2012 4:54 pm

Re: [Modding] HUGE Element description resource

Postby CaptainShooby » Mon Sep 17, 2012 4:09 am

This is great!

I've added this to my modding R&D thread. Thank you marinepower!
marinepower
Posts: 10
Joined: Fri Sep 14, 2012 6:40 pm

Re: [Modding] HUGE Element description resource

Postby marinepower » Mon Sep 17, 2012 5:05 am

No problem. By the way, I created 4 different lists in an attempt to narrow down that huge amount of data, so it should be significantly easier to read.
User avatar
Ora_unit_SR388
Posts: 193
Joined: Fri Apr 12, 2013 2:41 pm

Re: [Modding] HUGE Element description resource

Postby Ora_unit_SR388 » Wed Aug 28, 2013 11:43 pm

I know this topic is dead, but it should be included in the master mod list. This is how I got my start as a modder.


Image
User avatar
Kieve
Posts: 952
Joined: Tue Sep 18, 2012 2:21 pm

Re: [Modding] HUGE Element description resource

Postby Kieve » Wed Aug 28, 2013 11:59 pm

Ora_unit_SR388 wrote:I know this topic is dead, but it should be included in the master mod list. This is how I got my start as a modder.


It's already in there. See "XML Elements" under the Guides & Tutorials section.
User avatar
Ora_unit_SR388
Posts: 193
Joined: Fri Apr 12, 2013 2:41 pm

Re: [Modding] HUGE Element description resource

Postby Ora_unit_SR388 » Thu Aug 29, 2013 9:49 pm

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU.............................................