Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
DerBiwi

Included flashlight activation.

Recommended Posts

Hey Folks,

I'm currently experimenting with an Assault Rifle, which got an Flashlight already included into its mainbody.

So, I'm interested in, how I can activate it (with "L", like an normal Side Accessory).

This is, what I copied and overtook from the Config of the SCAR with laser of the A2 Samplemodels:

class FlashLight 
	{
		color[] = {0.9, 0.9, 0.7, 0.9};
		ambient[] = {0.1, 0.1, 0.1, 1.0};
		position = "flash_dir";
		direction = "flash";
		angle = 30;
		scale[] = {1, 1, 0.5};
		brightness = 0.1;
	};

So, my simple question is: have I to make something special to make it activatable by the player?

Greets,

Biwi

Share this post


Link to post
Share on other sites
Sign in to follow this  

×