R/E String Formatting
Moderators: th15, Moderators
R/E String Formatting
These won't be much use to most people but they could still come in handy.
I should note that the special fields for the weapons and modules are used by multiple weapons and modules for different purposes, and I cannot list all their uses. Sorry!
~~
Sections:
section|1|2|3|4|5|6|7|8
1 = sprite name, such as spr_Section01
2 = l_colourmod, determines whether or not the section has a custom colour. 0 = default 1, 1 = default 2, 2 = default 3, -1 = custom colour
3 = l_colour, only used if l_colourmod is -1, determines colour
4 = l_hp; defines custom HP
5 = l_defhp; overrides l_hp if l_hp is set to -1
6 = angle of rotation in degrees
7 = scale on x axis; negative numbers = flipped
8 = scale on y axis; negative numbers = flipped
~~
Doodads:
doodad|1|2|3|4|5|6
1 = sprite name, such as spr_DooNoise
2 = sprite colour
3 = angle of rotation in degrees
4 = doodad start index
5 = blending mode; 0 = normal, 1 = additive
6 = doodad animation speed
~~
Weapons:
weapon|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20
1 = weapon name, like Laser or Blaster
2 = firing arc in degrees / 2
3 = pause between individual shots in a clip/mag
4 = total number of shots per clip/mag
5 = time to reload when clip/mag expires
6 = damage per shot
7 = turret HP
8 = range in pixels
9 = deviation in degrees (multiply by 2 for ingame deviation)
10 = turret turn speed
11 = custom turret name
12 = bullet colour
13 = bullet speed (used as beam duration)
14 = special 1
15 = special 2
16 = special 3
17 = special 4
18 = special 5
19 = scale on x axis
20 = scale on y axis
~~
Modules:
module|1|2|3|4|5|6|7|8|9|10|11|12|13|14
1 = module name, such as Deflector
2 = maximum energy
3 = energy regeneration per frame
4 = energy cost to activate per frame
5 = maximum activation range
6 = module custom hp
7 = module custom name
8 = special 1
9 = special 2
10 = special 3
11 = special 4
12 = special 5
13 = special 6
14 = special 7
15 = special 8
I should note that the special fields for the weapons and modules are used by multiple weapons and modules for different purposes, and I cannot list all their uses. Sorry!
~~
Sections:
section|1|2|3|4|5|6|7|8
1 = sprite name, such as spr_Section01
2 = l_colourmod, determines whether or not the section has a custom colour. 0 = default 1, 1 = default 2, 2 = default 3, -1 = custom colour
3 = l_colour, only used if l_colourmod is -1, determines colour
4 = l_hp; defines custom HP
5 = l_defhp; overrides l_hp if l_hp is set to -1
6 = angle of rotation in degrees
7 = scale on x axis; negative numbers = flipped
8 = scale on y axis; negative numbers = flipped
~~
Doodads:
doodad|1|2|3|4|5|6
1 = sprite name, such as spr_DooNoise
2 = sprite colour
3 = angle of rotation in degrees
4 = doodad start index
5 = blending mode; 0 = normal, 1 = additive
6 = doodad animation speed
~~
Weapons:
weapon|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20
1 = weapon name, like Laser or Blaster
2 = firing arc in degrees / 2
3 = pause between individual shots in a clip/mag
4 = total number of shots per clip/mag
5 = time to reload when clip/mag expires
6 = damage per shot
7 = turret HP
8 = range in pixels
9 = deviation in degrees (multiply by 2 for ingame deviation)
10 = turret turn speed
11 = custom turret name
12 = bullet colour
13 = bullet speed (used as beam duration)
14 = special 1
15 = special 2
16 = special 3
17 = special 4
18 = special 5
19 = scale on x axis
20 = scale on y axis
~~
Modules:
module|1|2|3|4|5|6|7|8|9|10|11|12|13|14
1 = module name, such as Deflector
2 = maximum energy
3 = energy regeneration per frame
4 = energy cost to activate per frame
5 = maximum activation range
6 = module custom hp
7 = module custom name
8 = special 1
9 = special 2
10 = special 3
11 = special 4
12 = special 5
13 = special 6
14 = special 7
15 = special 8
Last edited by Arcalane on Thu Oct 09, 2008 9:34 am, edited 2 times in total.
/l、
゙(゚、 。 7
l、゙ ~ヽ
じしf_, )ノ
゙(゚、 。 7
l、゙ ~ヽ
じしf_, )ノ
-
- Rear Admiral
- Posts: 887
- Joined: Fri Sep 28, 2007 11:35 pm
- Location: Below My Postcount
Re: R/E String Formatting
Arcalane wrote:Sections:
section|1|2|3|4|5|6|7|8
2 = l_colourmod, determines whether or not the section has a custom colour. 0 = default 1, 1 = default 2, 3 = default 3, -1 = custom colour
Are you sure it isn't "2 = default 3"?0 = default 1
1 = default 2
3 = default 3
-1 = custom colour
Or is th15's coding more messed up than I previously thought?

Warcraft III (U.S. East) -~-~- [( Aequinox / DACI-Equinox / Equinox]4[Lyfe )]
XBox 360 LIVE (Mostly CoD:WaW) -~-~- [( EquinoxXenom )]
[quote="Wyrdysm Games"][i]Stop quoting the line above in your sigs![/i][/quote]
XBox 360 LIVE (Mostly CoD:WaW) -~-~- [( EquinoxXenom )]
[quote="Wyrdysm Games"][i]Stop quoting the line above in your sigs![/i][/quote]
-
- Commodore
- Posts: 721
- Joined: Mon Jun 30, 2008 7:49 am
- Location: "not here" would probably be accurate
A big thanks to Arcalane for doing this. I was actually looking for data on this and was hoping someone would catalogue it. Arcalane to the rescue it seems. =)
Thanks again. It will help alot of people and no more string experimentation which crashes the game
.
Thanks again. It will help alot of people and no more string experimentation which crashes the game

My Fleet: [url=http://www.wyrdysm.com/phpBB2/viewtopic.php?t=1821]Aquilonian Fleet[/url] | [url=http://www.wyrdysm.com/phpBB2/viewtopic.php?p=53841#53841]Neo Genesis[/url] | [url=http://www.wyrdysm.com/phpBB2/viewtopic.php?t=2632]UTA[/url]
My Random Ships: [url=http://www.wyrdysm.com/phpBB2/viewtopic.php?t=2191&highlight=]Brainfarts™[/url]
[url=http://www.wyrdysm.com/phpBB2/viewtopic.php?t=851&highlight=ship+types]Ship Classifications[/url]
My Random Ships: [url=http://www.wyrdysm.com/phpBB2/viewtopic.php?t=2191&highlight=]Brainfarts™[/url]
[url=http://www.wyrdysm.com/phpBB2/viewtopic.php?t=851&highlight=ship+types]Ship Classifications[/url]
-
- Vice Admiral
- Posts: 1032
- Joined: Wed Jan 30, 2008 8:22 am