Author Topic: Beam Gun  (Read 2182 times)

A beam gun? Almost all weapons on BL shoot's bullet's. Why not make a weapon that is like the lava spray gun. It shoots as long you hold the mouse button down. But with this a long beam/ray that does little damage over a long time.

Download the flamethrower.

A beam would need some engine modifications for it to work nicely as a weapon. To all the morons who think they can just hack it using some 1ms loop: no.

What about the state system? That would work fine.

Oh honestly. Accept that nobody is going to be making a good ray gun in Blockland. The two viable no-render-mod methods are particles and shapes, but particles will leave a trail behind when you aim elsewhere and shapes will go through walls.

I don't see a little particle trail being left behind a problem... if it stays for too long, it'd be weird, but a little ghost of the beam isn't anything major.

Whatever. As they say, intelligence is wasted on this community.

Well... Why dont you just extend the lifetime on the flamethrower and make another "flame". I dont realy know much about this so correct me if I am wrong.

Use a DTS shape of a transparent tube 1 unit long. Raycast every so often to see how long it should be, vector distances and things. Create an emitter at the impact point at the normal of the wall. Use the same emitter and shape over and over again, just move it to the new position and delete it when you die or stop using the weapon.

Use a DTS shape of a transparent tube 1 unit long. Raycast every so often to see how long it should be, vector distances and things. Create an emitter at the impact point at the normal of the wall. Use the same emitter and shape over and over again, just move it to the new position and delete it when you die or stop using the weapon.

Typical Space Guy solution. Never say never, huh? Its the constant raycasting that will lag up the server (see Gravity Gun, Events, Homing Missiles) and make the server almost unusable if more than 5 people or so are using them. Not to mention the quality of the ray will degrade exponentially with the number of people using them, so eventually you'll have your ray get shorter a few seconds after you walk into a wall.

I invite anyone to make this so I can have the pleasure of saying "I told you so"

I look forward to seeing how this plays out. :cookieMonster:

I've had servers full of people using the Gravity Gun with about five or six people using it at once with zero lag. What do you mean?

I invite anyone to make this so I can have the pleasure of saying "I told you so"

I'm not a modeller, which I'd need to be to make the transparent beam.

Just use a black cube or something, It doesn't have to be transparent to prove something to me.

hay thar

so i herd u ned a modeler?!?!?!