Weapons Overview (basic++)

This is a moderated forum that collects tutorials, guides, and references for creating Transcendence extensions and scripts.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

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.

.]
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2616
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

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
User avatar
Cygnus.X1
Militia Lieutenant
Militia Lieutenant
Posts: 245
Joined: Sun Feb 24, 2008 6:21 pm
Location: Elysium Fields... I mean System
Contact:

I already have, it fails
User avatar
Cygnus.X1
Militia Lieutenant
Militia Lieutenant
Posts: 245
Joined: Sun Feb 24, 2008 6:21 pm
Location: Elysium Fields... I mean System
Contact:

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.
Last edited by Cygnus.X1 on Thu Mar 05, 2009 7:30 am, edited 1 time in total.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

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
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

Yep.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
Cygnus.X1
Militia Lieutenant
Militia Lieutenant
Posts: 245
Joined: Sun Feb 24, 2008 6:21 pm
Location: Elysium Fields... I mean System
Contact:

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.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Cygnus.X1 wrote:I gotta reformat that things into something a little less unwieldy...

Weeee, hope you share when you are done :D
User avatar
Cygnus.X1
Militia Lieutenant
Militia Lieutenant
Posts: 245
Joined: Sun Feb 24, 2008 6:21 pm
Location: Elysium Fields... I mean System
Contact:

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 ;)
Dennis
Anarchist
Anarchist
Posts: 10
Joined: Sat May 16, 2009 4:13 am
Location: Nepal

Thanks for the tutorial i was looking for one :D :D :D
Dennis
Anarchist
Anarchist
Posts: 10
Joined: Sat May 16, 2009 4:13 am
Location: Nepal

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?
User avatar
Aeonic
Militia Commander
Militia Commander
Posts: 469
Joined: Sun Jun 14, 2009 1:05 am
Location: Designing his dream ship.

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"
Last Cause Of Death: Destroyed by Karl Svalbard's last Lucifer missile, right after I blew him up. And the crowd cheers.
Image
User avatar
Wolfy
Fleet Admiral
Fleet Admiral
Posts: 5400
Joined: Tue Feb 05, 2008 1:10 am
Location: Somewhere in the Frontier on a Hycrotan station, working on new ships.

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"
(shpOrder gPlayership 'barrelRoll)
(plySetGenome gPlayer (list 'hycrotan 'nonBinary))
Image
Homelab Servers: Xeon Silver 4110, 16GB | Via Quadcore C4650, 16GB | Athlon 200GE, 8GB | i7 7800X, 32GB | Threadripper 1950X, 32GB | Atom x5 8350, 4GB | Opteron 8174, 16GB | Xeon E5 2620 v3, 8GB
Workstations & Render machines: Threadripper 3990X, 128GB, 1080ti | Threadripper 2990WX, 32GB, 1080ti | Xeon Platinum 8173M, 48GB, 1070ti | R9 3900X, 16GB, Vega64 | 2x E5 2430L v2, 24GB, 970
Office Systems: 2x Xeon Silver 4116, 96GB, 2x 1080ti | i7 3770, 16GB, some old quadro | i5 3210m, 8GB | some i7 macbook
Misc Systems: R5 3500U, 20GB | R5 2400G, 16GB | i5 7640X, 16GB, Vega56 | E5 2620, 8GB, R5 260 | P4 1.8ghz, 0.75GB, Voodoo 5 5500 | Athlon 64 x2 4400+, 1.5GB, FX 5800 Ultra | Pentium D 3.2ghz, 4GB, 7600gt | Celeron g460, 8GB, 730gt | 2x Athlon FX 74, 8GB, 8800gts 512 | FX 9590, 16GB, R9 295x2 | E350, 8GB | Phenom X4 2.6ghz, 16GB, 8800gt | random core2 duo/atom/i5/i7 laptops
Dennis
Anarchist
Anarchist
Posts: 10
Joined: Sat May 16, 2009 4:13 am
Location: Nepal

Thanks aeonic and wolfy this really helped :D
Shifter55
Anarchist
Anarchist
Posts: 14
Joined: Thu Aug 21, 2008 8:44 am

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.
Post Reply