Author Topic: [REQUEST] A spotlight for the Dolphin Helicopter  (Read 2037 times)

I'm thinking of a weapon that when you fire, it shoots a VERY, VERY fast bullet that when it hits an object it creates light. This was possible in the SFM mod of Blockland v0002, I just think that increasing the speed of the bullet would be beneficial. This gun will be allowed to rapidfire like the minigun, except without having to warm up.

Someone make? It'd be good for the dolphin helicopter.

i remember a flashlight beth made for 02.... did what your talking about..

why not have a weapon that emits some sorta particle? like this spot light:
Code: [Select]
//SpotlightA made by Gastrocnemius
datablock ParticleData(SpotlightParticleA)
{
textureName          = "base/data/particles/dot";
dragCoefficient      = 0.0;
gravityCoefficient   = 0.0;
inheritedVelFactor   = 0.0;
windCoefficient      = 0;
constantAcceleration = 0;
lifetimeMS           = 1800;
lifetimeVarianceMS   = 0;
spinSpeed     = 10;
spinRandomMin =  0.0;
spinRandomMax =  90.0;
useInvAlpha   = true;
fade          = true;

LightOn = true;
radius = 100;
brightness = 15;
color = "5 5 5 1";

flareOn = true;
flarebitmap = "base/lighting/corona";
NearSize = 4;
FarSize = 2;

    lightStartRadius = 4;
    lightEndRadius = 3;
    lightStartColor = "0.45 0.3 0.1";
    lightEndColor = "0 0 0";

colors[0] = "1.0 1.0 1.0 0.1";
colors[1] = "1.0 1.0 1.0 0.1";
colors[2] = "1.0 1.0 1.0 0.1";

sizes[0] = 1.9;
sizes[1] = 1.9;
sizes[2] = 1.9;

times[0] = 0.0;
times[1] = 0.2;
times[2] = 1.0;
};

datablock ParticleEmitterData(SpotlightEmitterA)
{
   ejectionPeriodMS = 8;
   periodVarianceMS = 0;
   ejectionVelocity = 16.0;   //was 6.0
   ejectionOffset   = 0.0;
   velocityVariance = 0.0;
   thetaMin         = 0;
   thetaMax         = 0;
   phiReferenceVel  = 0;
   phiVariance      = 0;
   overrideAdvance = false;

   //lifetimeMS = 5000;
   particles = SpotlightParticleA;   

uiName = "Spotlight A";
};
note: put that in a Particle_spotlight.cs in your add-on folder

No, not a weapon that fires an emitter. I'll post a sample video of what I'm talking about in a bit.

EDIT: Video is 319 MB, 44 seconds of filming...WTF. Probably because its in .avi...

But the point is: I want it to shoot bullets that when they hit something they make light. Not a spotlight emitter, otherwise you won't see what your pointing at. The purpose of this is for night stuff like helicopter spotlighting a runaway car.
« Last Edit: January 21, 2008, 08:44:40 PM by Gen. Nick »

So it wouldn't be a bullet but instead would simply use empty.dts and the trail particle would be illuminated. Also the explosion emitter would be light shaped and the fire rate would be extremely high. Correct? If so i could script it for you. To fix the problem of carrying around a spotlight simply for this purpose, it could be activated while in the dolphin helicopter by pressing the light button.

You are in the same ballpark tommy...

It wouldn't be a bullet, instead using empty.dts and no particle trail, yes on the explosion emmitter being a light and the fire rate being so extremely high that if you hold down the button it is a constant stream. No, I don't think it would work in the dolphin helicopter by using the light button.

Me neither but look at what space guy did with his portal gun's gravity gun mode.

Me neither but look at what space guy did with his portal gun's gravity gun mode.
or gravity gun for that matter

(he means when you pick something up there is a pretty good looking trail emitter)

Actually i meant how when you press the light button while holding the portal gun it, switches to pick up mode.



Spotlights do partially light up smoke or air in the beam, so some very faint particles would work.

How would you get the light to "spread"?

The same way the printer does it.

Actually i meant how when you press the light button while holding the portal gun it, switches to pick up mode.
Ah I see. But you could also use the spotlight as a flashlight, so I think as an item and/or the built-in vehicle mode version would work.

Bump for great justice idea.

Lulz, I just saw a police helicopter with a spotlight nearby. :P

It'd be a kinda complex script but if someone  told me if it was possible to use vehicle reference in items. You know like if client in vehicle function spotlight.

They did that with the tank (it fires rockets) so i think it might be possible. good luck!