Colored particle beam effects

Post ideas & suggestions you have pertaining to the game here.
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

The particle beam is one of the nicer beam effects, but only greenparticle and blueparticle are available for modders. Are any other colors available? If not, can we get the option to set the color of particle beams?
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
User avatar
stealthx
Militia Lieutenant
Militia Lieutenant
Posts: 127
Joined: Thu Jan 21, 2010 3:45 am
Location: At the edge of chaos (sovereign)

Yeah, I second this suggestion. I've always wanted the particle beam to have other color options.
Be the hope of humanity. Be a Gundam Meister.
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Great idea! Currently there is no way to change the color, but it shouldn't be too hard to implement.

If someone can write a ticket up for it (so we can track it) that would be great.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Datal
Militia Commander
Militia Commander
Posts: 309
Joined: Mon Feb 07, 2011 12:54 pm
Location: Hyno Gunship

I really want to see how it will look like. :P
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Excellent. Thanks for the ticket.

I made a few changes for 1.06:

1. I added beamType="particle". With this beamType you can specify a primaryColor and a secondaryColor. [The older settings, beamType="greenparticle" and beamType="blueparticle" just use default values.]

2. I added a new effect type: <Beam>. This effect takes the parameters for a beam (beamType, intensity, primaryColor, secondaryColor) and can be used wherever effects are used (e.g., in a missile). This allows you to create missiles that look like beams.

3. I'm in the middle of combining the code for beams and missiles; when I'm done, you should be able to use any feature of beams and missiles interchangeably. [E.g., you could create a beam that fragments.] More info on this when I'm done.
Datal
Militia Commander
Militia Commander
Posts: 309
Joined: Mon Feb 07, 2011 12:54 pm
Location: Hyno Gunship

george moromisato wrote:Excellent. Thanks for the ticket.

I made a few changes for 1.06:

1. I added beamType="particle". With this beamType you can specify a primaryColor and a secondaryColor. [The older settings, beamType="greenparticle" and beamType="blueparticle" just use default values.]

2. I added a new effect type: <Beam>. This effect takes the parameters for a beam (beamType, intensity, primaryColor, secondaryColor) and can be used wherever effects are used (e.g., in a missile). This allows you to create missiles that look like beams.

3. I'm in the middle of combining the code for beams and missiles; when I'm done, you should be able to use any feature of beams and missiles interchangeably. [E.g., you could create a beam that fragments.] More info on this when I'm done.
Great, many thanks George :D
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

this is awesome George!
thank you very much :D
2. I added a new effect type: <Beam>. This effect takes the parameters for a beam (beamType, intensity, primaryColor, secondaryColor) and can be used wherever effects are used (e.g., in a missile). This allows you to create missiles that look like beams.
this is also going to fix an old bug http://wiki.neurohack.com/transcendence/trac/ticket/221
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

Very nice, it would be amazing to make use of these new colors to expand the particle weapon array.
Image
Image
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

A few more details:

When creating a weapon, type="missile" and type="beam" are now nearly interchangeable.

For type="beam"
1. These projectiles can be selected with (sysFindObject nil "b"); meaning that they are ignored by vanilla missile defense devices.
2. They default to interaction 0, unless otherwise specified.

For type="missile"
1. These projectiles can be selected with (sysFindObject nil "m"); meaning that they are targeted by vanilla missile defense devices.
2. They default to interaction 100, unless otherwise specified.

In general, any parameter for a missile is now valid for a beam (vaporTrail, <HitEffect>, <Fragment>, etc.)

The parameters that control beam painting (beamType, etc.) are deprecated at the <Weapon> level (though they still work, for backwards compatibility). Use the <Beam> effect instead (which takes the same parameters).

[Interaction is a parameter that controls what happens when two shots hit each other. When two shots collide, we take the MAX of the interaction values of the two shots. That becomes the percent chance that the shots will interact with each other. For example, if two beams with interaction=0 hit each other, the chance of interaction is 0%, so the beams pass through each other. If a beam (interaction=0) hits a missile (interaction=100) the interaction is 100% and so the beam hits the missile.]

As a guideline, you should create a "beam" when you want a (nearly) massless particle (energy only). Beams should (almost always) travel at light-speed.

[I should also note that all previous beam weapons should still work in 1.06. I have not (intentionally) made any breaking changes in 1.06.]
erik dela cruz
Militia Captain
Militia Captain
Posts: 614
Joined: Wed Mar 02, 2011 7:45 pm
Location: Patrolling Scarborough Shoal and the Spratlys Islands (West Philippine Sea)

I just started playing 1.06 last week and then I armed my Wolfen ClassII with a Pixie Particle Cannon. It's tracking and looked so cute with different colors flashing all around my targets. LOL. :lol:
.....cry without weeping......
.....talk without speaking......
.....scream without raising your voice......
User avatar
stealthx
Militia Lieutenant
Militia Lieutenant
Posts: 127
Joined: Thu Jan 21, 2010 3:45 am
Location: At the edge of chaos (sovereign)

erik dela cruz wrote:I just started playing 1.06 last week and then I armed my Wolfen ClassII with a Pixie Particle Cannon. It's tracking and looked so cute with different colors flashing all around my targets. LOL. :lol:
:shock: What!? 1.06 is out? Where?
Be the hope of humanity. Be a Gundam Meister.
Datal
Militia Commander
Militia Commander
Posts: 309
Joined: Mon Feb 07, 2011 12:54 pm
Location: Hyno Gunship

stealthx wrote:
erik dela cruz wrote:I just started playing 1.06 last week and then I armed my Wolfen ClassII with a Pixie Particle Cannon. It's tracking and looked so cute with different colors flashing all around my targets. LOL. :lol:
:shock: What!? 1.06 is out? Where?
here
erik dela cruz
Militia Captain
Militia Captain
Posts: 614
Joined: Wed Mar 02, 2011 7:45 pm
Location: Patrolling Scarborough Shoal and the Spratlys Islands (West Philippine Sea)

I also dig the Tesla Ion Howitzer! The bust of colors are superb George. Sadly I don;t know how to reload it. Tsk. tsk, tsk. :cry:
.....cry without weeping......
.....talk without speaking......
.....scream without raising your voice......
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

erik dela cruz wrote:I also dig the Tesla Ion Howitzer! The bust of colors are superb George. Sadly I don;t know how to reload it. Tsk. tsk, tsk. :cry:
The Tesla is a modded weapon, not one of George's, though the weapon effect code is George's so the compliment isn't really misplaced.

The Tesla uses helium fuel rods and assemblies as ammo. Two shots per rod if you still have any or 8 per assembly, which you should be able to loot from pretty much any non-Ares gunship after the point where you no longer use them as your primary fuel.
Literally is the new Figuratively
Post Reply