Page 1 of 1

[Modding] HUGE Element description resource

Posted: Mon Sep 17, 2012 3:57 am
by marinepower
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.

Re: [Modding] HUGE Element description resource

Posted: Mon Sep 17, 2012 4:01 am
by kingofhell214
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?

Re: [Modding] HUGE Element description resource

Posted: Mon Sep 17, 2012 4:03 am
by Zuriki
You should have probably sorted these by the file they appear in, it's helpful but that would have been more helpful.

Re: [Modding] HUGE Element description resource

Posted: Mon Sep 17, 2012 4:09 am
by CaptainShooby
This is great!

I've added this to my modding R&D thread. Thank you marinepower!

Re: [Modding] HUGE Element description resource

Posted: Mon Sep 17, 2012 5:05 am
by marinepower
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.

Re: [Modding] HUGE Element description resource

Posted: Wed Aug 28, 2013 11:43 pm
by Ora_unit_SR388
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

Re: [Modding] HUGE Element description resource

Posted: Wed Aug 28, 2013 11:59 pm
by Kieve
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.

Re: [Modding] HUGE Element description resource

Posted: Thu Aug 29, 2013 9:49 pm
by Ora_unit_SR388
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU.............................................