Jump to content

[TUTORIAL] Cop & Medic Lights - New Van


Spuddy
 Share

Recommended Posts

Sorry if this has been put up somewhere but i couldn't find one and i had Seen a couple of post about people asking how to do this so thought if put a complete guide up as i couldn't find one and took me a while to find the correct placement for the lights so thought i'd share. 

Files you'll be Editing

Core\Cop\fn_copLights.sqf

Core\Cop\fn_sirenLights.sqf

Core\Functions\fn_keyHandler.sqf

 

STEP 1

Open up fn_copLights.sqf

Add this to your type of vehicles list

    case "B_GEN_Van_02_vehicle_F": {
        [[-0.5, 1.6, 1.45], [0.5, 1.6, 1.45]];
    };
    case "B_GEN_Van_02_transport_F": {
        [[-0.5, 1.6, 1.45], [0.5, 1.6, 1.45]];
    };

I Used B_GEN_Van_02_vehicle_F & B_GEN_Van_02_transport_F as they have the beacons on the vehicles to make it look better (Make sure it's the same as in your config_vehicle file)

STEP 2

Open up fn_sirenLights.sqf

Where it says "if !(typeOf _vehicle in" Add this to the list (Line 14)

"B_GEN_Van_02_transport_F","B_GEN_Van_02_vehicle_F"

STEP 3

Open up fn_keyHandler.sqf

Go to where you turn your lights on (Default is L Key Case: 38)

Add this to your type of vehicles list

"B_GEN_Van_02_transport_F","B_GEN_Van_02_vehicle_F"

 

Thats it! To add it to the medic side just do the same and go into the medic folder and edit fn_medicLights.sqf and fn_medicSirenLights.sqf

 

Thanks.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.