Beam Gun

Author Topic: Beam Gun  (Read 2179 times)

You planning to suggest someone you know, Bushido? :cookieMonster:


Trader, don't be like that. :P

The Laser Rifle in Tribes 2 is dso'd. D: But it had projectile type that I think was beam or laser or something.

Surprise, Engine mods.

Trader, don't be like that. :P

What?  It was an honest question.

Arnt there like laser guns?
Just use those?
Or just maek new model and switch them

In this case an engine mod would most likely be the way to go, however (inefficient) methods could be used in torque script.

Now it [the beam gun] just depends on Badspot implementing such a thing or Space Guy following up on his statements that it could be done in torque script.


@ beachbum, there aren't any real laser shooters, they might be a blank bullet with some particle effects sure, but no actual "touch any part of the laser to get hurt" lasers. Just projectiles with laser effects.

Oh. What about the lightsaber? That is a deadly weapon right?

download the lazer weapon set. and like 1/5 of the guns on blockland shoot things other then bullets or r melees. or get the ion cannon

The Laser Rifle in Tribes 2 is dso'd. D: But it had projectile type that I think was beam or laser or something.

Quote from: Tribes 2 ELF Projector script
datablock ELFProjectileData(BasicELF)
{
   beamRange         = 30;
   numControlPoints  = 8;
   restorativeFactor = 3.75;
   dragFactor        = 4.5;
   endFactor         = 2.25;
   randForceFactor   = 2;
   randForceTime     = 0.125;
   drainEnergy         = 1.0;
   drainHealth         = 0.0;
   directDamageType  = $DamageType::ELF;
   mainBeamWidth     = 0.1;           // width of blue wave beam
   mainBeamSpeed     = 9.0;            // speed that the beam travels forward
   mainBeamRepeat    = 0.25;           // number of times the texture repeats
   lightningWidth    = 0.1;
   lightningDist      = 0.15;           // distance of lightning from main beam

   fireSound    = ElfGunFireSound;
   wetFireSound = ElfFireWetSound;

   textures[0] = "special/ELFBeam";
   textures[1] = "special/ELFLightning";
   textures[2] = "special/BlueImpact";

   emitter = ELFSparksEmitter;
};

Blockland does not feature that object type, though it would be neat to have a beam projectile type.

I was going to have a third Proto Weapon in LWS2.0 that would do this but I found the whole particle trail thing to be quite annoying. A solution that would work is have the gun shoot extremely rapidly with quickly dissappearing trails, but there was no way I was able to make this work without terrible particle lag.