change vehicle engine sound and
add new police emsfire script
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
<animConvRoofName>null</animConvRoofName>
|
<animConvRoofName>null</animConvRoofName>
|
||||||
<animConvRoofWindowsAffected />
|
<animConvRoofWindowsAffected />
|
||||||
<ptfxAssetName>null</ptfxAssetName>
|
<ptfxAssetName>null</ptfxAssetName>
|
||||||
<audioNameHash>LYNX</audioNameHash>
|
<audioNameHash>c6v8sound</audioNameHash>
|
||||||
<layout>LAYOUT_LOW</layout>
|
<layout>LAYOUT_LOW</layout>
|
||||||
<coverBoundOffsets>SHERIFF_COVER_OFFSET_INFO</coverBoundOffsets>
|
<coverBoundOffsets>SHERIFF_COVER_OFFSET_INFO</coverBoundOffsets>
|
||||||
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
|
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<animConvRoofName>null</animConvRoofName>
|
<animConvRoofName>null</animConvRoofName>
|
||||||
<animConvRoofWindowsAffected />
|
<animConvRoofWindowsAffected />
|
||||||
<ptfxAssetName>null</ptfxAssetName>
|
<ptfxAssetName>null</ptfxAssetName>
|
||||||
<audioNameHash>DOMINATOR</audioNameHash>
|
<audioNameHash>str392m</audioNameHash>
|
||||||
<layout>LAYOUT_LOW</layout>
|
<layout>LAYOUT_LOW</layout>
|
||||||
<coverBoundOffsets>SHERIFF_COVER_OFFSET_INFO</coverBoundOffsets>
|
<coverBoundOffsets>SHERIFF_COVER_OFFSET_INFO</coverBoundOffsets>
|
||||||
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
|
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,28 @@
|
|||||||
|
fx_version 'bodacious'
|
||||||
|
games {'gta5'}
|
||||||
|
|
||||||
|
-- Resource stuff
|
||||||
|
name 'Opticom Traffic System'
|
||||||
|
description 'Opticom Traffic Lights Script By ToxicScripts'
|
||||||
|
version 'v1'
|
||||||
|
author 'Toxic Scripts'
|
||||||
|
|
||||||
|
-- Adds additional logging, useful when debugging issues.
|
||||||
|
client_debug_mode 'false'
|
||||||
|
server_debug_mode 'false'
|
||||||
|
|
||||||
|
-- Leave this set to '0' to prevent compatibility issues
|
||||||
|
-- and to keep the save files your users.
|
||||||
|
experimental_features_enabled '0'
|
||||||
|
|
||||||
|
files {
|
||||||
|
'settings.ini',
|
||||||
|
}
|
||||||
|
|
||||||
|
client_scripts {
|
||||||
|
'OpticomTrafficSystem.net.dll',
|
||||||
|
}
|
||||||
|
|
||||||
|
server_scripts {
|
||||||
|
'server/server.lua',
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
RegisterServerEvent("Opticom:TriggeredOnCoords")
|
||||||
|
AddEventHandler("Opticom:TriggeredOnCoords", function(id, coords)
|
||||||
|
TriggerClientEvent('Opticom:TriggeredOnCoords', -1, id, coords)
|
||||||
|
end)
|
||||||
|
|
||||||
|
print("OPTICOMSYSTEM ^1Has Authenticated ^2Successfully! ^0By ^1ToxicScripts! ^7")
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
{[Info]
|
||||||
|
//Dont edit these if you dont know what you are doing
|
||||||
|
//This is the detection delay, meaning the opticom system will check for vehicles every 0.5 seconds
|
||||||
|
DetectionDelay 500
|
||||||
|
//Detection distance from the vehicle
|
||||||
|
DetectionDistance 100
|
||||||
|
//Detection range for the opticom
|
||||||
|
DetectionRange 60
|
||||||
|
//Detection range for other nearby traffic lights
|
||||||
|
LightDetectionRange 60
|
||||||
|
//Make vehicle whitelisted for opticom automatically if it is an emergency vehicle
|
||||||
|
UseEmergencyWhitelist true
|
||||||
|
//Reset traffic and traffic lights to their original state after 10 seconds
|
||||||
|
ResetTrafficAfter 10
|
||||||
|
//Freezes the npc traffic when the opticom is triggered on a traffic light
|
||||||
|
StopTrafficEnabled true
|
||||||
|
//Detection method 1 is more accurate most of the cases, set this to true for the other method of detection
|
||||||
|
UseDetectionMethod2 true
|
||||||
|
}
|
||||||
|
|
||||||
|
//Add custom traffic lights here to have the opticom system installed on them
|
||||||
|
{[TrafficLightModels]
|
||||||
|
prop_traffic_01a
|
||||||
|
prop_traffic_01b
|
||||||
|
prop_traffic_01d
|
||||||
|
prop_traffic_02a
|
||||||
|
prop_traffic_02b
|
||||||
|
prop_traffic_03a
|
||||||
|
prop_traffic_03b
|
||||||
|
}
|
||||||
|
|
||||||
|
//Add vehicles to the opticom whitelist (Emergency Class Vehicles already included)
|
||||||
|
{[Vehicles]
|
||||||
|
blista
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//Add vehicles to the opticom blacklist (You Can blacklist an Emergency Class Vehicle)
|
||||||
|
{[BlacklistVehicles]
|
||||||
|
police2
|
||||||
|
}
|
||||||
+1
-1
@@ -216,7 +216,7 @@ ensure cd_doorlock
|
|||||||
ensure firehydrant
|
ensure firehydrant
|
||||||
ensure Halloween
|
ensure Halloween
|
||||||
ensure scenes-main
|
ensure scenes-main
|
||||||
ensure
|
ensure opticomsystem
|
||||||
ensure
|
ensure
|
||||||
ensure
|
ensure
|
||||||
ensure
|
ensure
|
||||||
|
|||||||
Reference in New Issue
Block a user