Page 2 of 3

Posted: Wed Mar 04, 2009 1:12 pm
by alterecco
Dalva wrote:and can a weapon have more tahn one damage type?
I can find no examples of this in the vanilla xml. The only extra attributes defined in damage are: WMD, momentum, shatter, EMP, radiation, mining, blinding, device, disintegration.

However that doesn't rule out that it's possible. Give it a try and see what happens.

.]

Posted: Wed Mar 04, 2009 3:30 pm
by digdug
and can a weapon have more tahn one damage type?
I personally don't believe that it works, weapons works with only 1 damage type.
But at this point I think that I have to test it to be sure :D

Posted: Wed Mar 04, 2009 3:46 pm
by Cygnus.X1
I already have, it fails

Posted: Thu Mar 05, 2009 12:27 am
by Cygnus.X1
Does anybody have a list of the attributes for the various hard coded effects? MoltenBolt I've played with thanks to the Iocrym Repeller weapon, and a quick search reveals the LampLighter uses <ParticleComet>, but it sure would be nice to have a compiled list...

This is what I was able to pull from the source files.

<snipped> http://xelerus.de/index.php?s=mod&id=57&d=1

Most of the attribute uses are obvious, but style=something always bothers me, seems like there should be something more...

If this post is too long or there's some other thread I missed in all my searches I will gladly reduce it.

Posted: Thu Mar 05, 2009 1:10 am
by alterecco
This should actually contain all the elements.

The format is not specific to weapons, but it's still a top notch reference

http://xelerus.de/index.php?s=mod&id=57

Posted: Thu Mar 05, 2009 1:39 am
by schilcote
Yep.

Posted: Thu Mar 05, 2009 7:33 am
by Cygnus.X1
Oi :shock:

I'm gonna hate myself in the morning for saying this, but I gotta reformat that things into something a little less unwieldy...

But thanks for the tip guys! looks like it has what I was looking for.

Posted: Thu Mar 05, 2009 12:27 pm
by alterecco
Cygnus.X1 wrote:I gotta reformat that things into something a little less unwieldy...

Weeee, hope you share when you are done :D

Posted: Thu Mar 05, 2009 5:10 pm
by Cygnus.X1
2000+ lines, about 1/4 of that is whitespace, I gotta be out of my mind. But I did once reformat over 300 plaintext files from the online phreak version of the Anarch's Cook.book. I'm going to use standard XML formatting, even tho it most certainly will NOT be XML compliant ;)

Posted: Sun Nov 15, 2009 4:07 am
by Dennis
Thanks for the tutorial i was looking for one :D :D :D

Posted: Sun Nov 15, 2009 4:23 am
by Dennis
Can some on write the list of colors and their code.
Eg
I want the laser cannon to fire green lasers
how do i change the color?

Posted: Sun Nov 15, 2009 4:33 am
by Aeonic
The colors are essentially done in standard hex codes, which you can find anywhere, such as:

http://www.december.com/html/spec/colorhex.html

If you have a color, like #FFBB66, you could would remove the pound sign (#) and break it up into three sections, adding "0x" before each, so #FFBB66 would be:

"0xff, 0xbb, 0x66"

Posted: Sun Nov 15, 2009 4:36 am
by Aury
Dennis wrote:Can some on write the list of colors and their code.
Eg
I want the laser cannon to fire green lasers
how do i change the color?
Hint: look at the turbolaser: it has EXACTLY what you are looking for.

BTW; the colors are in the order of "R,G,B"

Posted: Tue Nov 17, 2009 1:48 pm
by Dennis
Thanks aeonic and wolfy this really helped :D

Posted: Sat Sep 04, 2010 5:05 am
by Shifter55
Is it possible to delay the activation of an effect? Say I wanted to create a missile that started tracking and accelerating towards a selected target after 60 frames.