R/E String Formatting

Got questions about Shipmaker? Get answers here. Please read the stickied topics first!

Moderators: th15, Moderators

Post Reply
User avatar
Arcalane
Pseudofeline Overlord
Posts: 4034
Joined: Thu Sep 13, 2007 10:37 am
Location: UK

R/E String Formatting

Post by Arcalane »

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
Last edited by Arcalane on Thu Oct 09, 2008 9:34 am, edited 2 times in total.
  /l、
゙(゚、 。 7
 l、゙ ~ヽ
 じしf_, )ノ
Himura.Kenshin
Rear Admiral
Rear Admiral
Posts: 887
Joined: Fri Sep 28, 2007 11:35 pm
Location: Below My Postcount

Re: R/E String Formatting

Post by Himura.Kenshin »

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
0 = default 1
1 = default 2
3 = default 3
-1 = custom colour
Are you sure it isn't "2 = default 3"?

Or is th15's coding more messed up than I previously thought? :lol:
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]
User avatar
Arcalane
Pseudofeline Overlord
Posts: 4034
Joined: Thu Sep 13, 2007 10:37 am
Location: UK

Post by Arcalane »

I was typing quickly, shush. :P
  /l、
゙(゚、 。 7
 l、゙ ~ヽ
 じしf_, )ノ
lightstriker
Commodore
Commodore
Posts: 721
Joined: Mon Jun 30, 2008 7:49 am
Location: "not here" would probably be accurate

Post by lightstriker »

are module/ weapon specials in the same order that they appear on the edit screen, or... um, yeah?
User avatar
Arcalane
Pseudofeline Overlord
Posts: 4034
Joined: Thu Sep 13, 2007 10:37 am
Location: UK

Post by Arcalane »

I assume so.
  /l、
゙(゚、 。 7
 l、゙ ~ヽ
 じしf_, )ノ
Koross
Commander
Commander
Posts: 142
Joined: Fri Feb 22, 2008 12:07 pm

Post by Koross »

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 :P.
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]
th15
Administrator
Posts: 947
Joined: Sun May 13, 2007 12:01 am

Post by th15 »

Deviation is in degrees, not pixels. Good stuff man.
Sean 'th15' Chan
[img]http://img63.imageshack.us/img63/6344/bfbanner2vy5.gif[/img]
User avatar
Arcalane
Pseudofeline Overlord
Posts: 4034
Joined: Thu Sep 13, 2007 10:37 am
Location: UK

Post by Arcalane »

Derp. I was kinda tired when I was writing it up too.
  /l、
゙(゚、 。 7
 l、゙ ~ヽ
 じしf_, )ノ
antisocialmunky
Vice Admiral
Vice Admiral
Posts: 1032
Joined: Wed Jan 30, 2008 8:22 am

Post by antisocialmunky »

I know about the general concensus of not stickying guides but this is a good reference guide you made. You really should consider stickying it or combining this and the "Guide on Custom Wep statistics."
Don’t worry it has airbags.
User avatar
Arcalane
Pseudofeline Overlord
Posts: 4034
Joined: Thu Sep 13, 2007 10:37 am
Location: UK

Post by Arcalane »

I would, but it is something of an advanced subject and it's not much use if you don't know about R/E string modification. I've added it to the main list for reference though.
  /l、
゙(゚、 。 7
 l、゙ ~ヽ
 じしf_, )ノ
jwa8402
Admiral
Admiral
Posts: 1988
Joined: Tue Feb 26, 2008 9:09 am

Post by jwa8402 »

So you really can't put restricted arcs on modules? Darn, that would have been great for pulling into a shipyard and being repaired...Always figured it was there but just wasn't listed like with point defense.
Post Reply