added new scripts and eup

This commit is contained in:
KingMcDonalds
2025-05-19 16:45:39 -07:00
parent 92357c972e
commit 5fa9cc69be
292 changed files with 10254 additions and 0 deletions
@@ -0,0 +1,3 @@
This is a simple ymap to add cameras to all the highways. This style is for a newer camera model.
Map made by WolfoTheWolf for Phantom Productions.
@@ -0,0 +1,8 @@
fx_version 'cerulean'
games { 'gta5' }
author 'Phantom Productions | WolfoTheWolf'
description 'This is the second style of cameras for the ymap, includes more of a "newer/updated" style.'
version '1.0.0'
this_is_a_map 'yes'
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
-- Manifest
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
files {
'peds.meta',
}
-- data_file 'PED_METADATA_FILE' 'peds.meta'
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<CPedModelInfo__InitDataList>
<InitDatas>
<Item>
<Name>a_c_shepherd</Name>
<ClipDictionaryName>move_m@generic</ClipDictionaryName>
<ExpressionSetName>expr_set_ambient_male</ExpressionSetName>
<Pedtype>ANIMAL</Pedtype>
<MovementClipSet>move_m@business@c</MovementClipSet>
<StrafeClipSet>move_ped_strafing</StrafeClipSet>
<MovementToStrafeClipSet>move_ped_to_strafe</MovementToStrafeClipSet>
<InjuredStrafeClipSet>move_strafe_injured</InjuredStrafeClipSet>
<FullBodyDamageClipSet>dam_ko</FullBodyDamageClipSet>
<AdditiveDamageClipSet>dam_ad</AdditiveDamageClipSet>
<DefaultGestureClipSet>ANIM_GROUP_GESTURE_M_GENERIC</DefaultGestureClipSet>
<FacialClipsetGroupName>facial_clipset_group_gen_male</FacialClipsetGroupName>
<DefaultVisemeClipSet>ANIM_GROUP_VISEMES_M_LO</DefaultVisemeClipSet>
<PoseMatcherName>Male</PoseMatcherName>
<PoseMatcherProneName>Male_prone</PoseMatcherProneName>
<GetupSetHash>NMBS_SLOW_GETUPS</GetupSetHash>
<CreatureMetadataName>null</CreatureMetadataName>
<DecisionMakerName>DEFAULT</DecisionMakerName>
<MotionTaskDataSetName>STANDARD_PED</MotionTaskDataSetName>
<DefaultTaskDataSetName>STANDARD_PED</DefaultTaskDataSetName>
<PedCapsuleName>STANDARD_MALE</PedCapsuleName>
<RelationshipGroup>ANIMAL</RelationshipGroup>
<NavCapabilitiesName>STANDARD_PED</NavCapabilitiesName>
<PerceptionInfo>DEFAULT_PERCEPTION</PerceptionInfo>
<DefaultBrawlingStyle>BS_AI</DefaultBrawlingStyle>
<DefaultUnarmedWeapon>WEAPON_UNARMED</DefaultUnarmedWeapon>
<Personality>SERVICEMALES</Personality>
<CombatInfo>DEFAULT</CombatInfo>
<VfxInfoName>VFXPEDINFO_HUMAN_GENERIC</VfxInfoName>
<AmbientClipsForFlee>FLEE</AmbientClipsForFlee>
<AbilityType>SAT_NONE</AbilityType>
<ThermalBehaviour>TB_WARM</ThermalBehaviour>
<SuperlodType>SLOD_HUMAN</SuperlodType>
<ScenarioPopStreamingSlot>SCENARIO_POP_STREAMING_NORMAL</ScenarioPopStreamingSlot>
<DefaultSpawningPreference>DSP_NORMAL</DefaultSpawningPreference>
<IsStreamedGfx value="false" />
</Item>
</InitDatas>
</CPedModelInfo__InitDataList>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
Copyright (C) 2025 DevKilo
Permission is hereby granted, without charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software with restrictions to sell, distribute, or publish this Software, and freedoms include the rights to use, copy, modify, and sublicense this Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THIS COPYRIGHT NOTICE IS A MODIFIED VERSION OF MIT LICENSE AND WAS MODIFIED BY THE COPYRIGHT HOLDER
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
{
"EnableOnPlayers": true,
"EnableOnAI": true,
"KnockWindOutOfPlayerWhenKnocked": true,
"DefaultTackleKey": "h",
"Note": "KnockWindOutOfPlayerWhenKnocked will remove the player's stamina. This is universal but will only affect the player with certain stamina scripts such as qb-hud."
}
@@ -0,0 +1,12 @@
game 'gta5'
fx_version 'cerulean'
author 'DevKilo'
files {
'Newtonsoft.Json.dll',
'config.json'
}
client_script 'KiloImmersiveTackle.net.dll'
server_script 'Tackle-server.net.dll'
+13
View File
@@ -0,0 +1,13 @@
<h2 align="center">FiveM Axon Body 3 FORK</h2>
## Configuration
Change the framework name in config to match the folder name.
## Credits
[Original Author](https://github.com/TFNRP/axonbody3)
## Screenshots
![img](https://cdn.nat2k15.xyz/img/FiveM_GTAProcess_ybEvj9zdC7.png)
+160
View File
@@ -0,0 +1,160 @@
-- globals
local hudForceHide = false
local hudPresence
local activated = false
----------------------------------------------------------
-------------------- Commands
----------------------------------------------------------
-- HUD
RegisterCommand('axonhide', function()
hudForceHide = true
ShowNotification("~y~Axon Body 3~s~ overlay now ~r~hidden~s~.")
end)
RegisterCommand('axonshow', function()
hudForceHide = false
ShowNotification("~y~Axon Body 3~s~ overlay now ~g~visible~s~.")
end)
-- Activation and deactivation
if Config.CommandBinding then
RegisterKeyMapping('axon', 'Toggle Axon Body 3', 'keyboard', Config.CommandBinding)
end
RegisterCommand('axon', function ()
if activated then
DeactivateAB3()
ShowNotification("~y~Axon Body 3~s~ has ~r~stopped recording~s~.")
else
local server_id = GetPlayerServerId(PlayerId())
local player = exports[Config.framework_name]:getclientdept(server_id)
if(player ~= nil) then
if(player[server_id].dept ~= "Civilian") then
ActivateAB3(player[server_id].char_name .. " (" .. player[server_id].dept .. ")")
ShowNotification("~y~Axon Body 3~s~ has ~g~started recording~s~.")
else
-- ShowNotification("You have to be ~r~on duty~s~ to enable ~y~Axon Body 3~s~.")
end
end
end
end)
RegisterCommand('axonon', function ()
local server_id = GetPlayerServerId(PlayerId())
local player = exports[Config.framework_name]:getclientdept(server_id)
if(player ~= nil) then
if(player[server_id].dept ~= "Civilian") then
if activated then
ShowNotification("~y~Axon Body 3~s~ is already ~g~recording~s~.")
else
ActivateAB3(player[server_id].char_name .. " (" .. player[server_id].dept .. ")")
ShowNotification("~y~Axon Body 3~s~ has ~g~started recording~s~.")
end
else
-- ShowNotification("You have to be ~r~on duty~s~ to use ~y~Axon Body 3~s~.")
end
end
end)
RegisterCommand('axonoff', function ()
if not activated then
ShowNotification("~y~Axon Body 3~s~ has already ~r~stopped recording~s~.")
else
DeactivateAB3()
ShowNotification("~y~Axon Body 3~s~ has ~r~stopped recording~s~.")
end
end)
----------------------------------------------------------
----------------------------------------------------------
----------------------------------------------------------
-- Events
RegisterNetEvent("AB3:SetState", function(state)
if state == true then
ActivateAB3()
elseif state == false then
DeactivateAB3()
end
end)
RegisterNetEvent("AB3:ServerBeep", function(netId)
local otherPed = GetPlayerPed(GetPlayerFromServerId(netId))
local ped = PlayerPedId()
if (IsPedInAnyVehicle(ped) == IsPedInAnyVehicle(otherPed)) or not IsPedInAnyVehicle(ped) then
local volume = 0.05
local radius = 10
local playerCoords = GetEntityCoords(ped);
local targetCoords = GetEntityCoords(otherPed);
local distance = Vdist(playerCoords.x, playerCoords.y, playerCoords.z, targetCoords.x, targetCoords.y, targetCoords.z);
local distanceVolumeMultiplier = volume / radius;
local distanceVolume = volume - (distance * distanceVolumeMultiplier);
if (distance <= radius) then
SendNUIMessage({ AxonBeep = { volume = distanceVolume } })
end
end
end)
-- Utils
function ActivateAB3(name)
if activated then
return error("AB3 attempted to activate when already active.")
end
activated = true
-- beeper
-- Citizen.CreateThread(function()
-- Citizen.Wait(12e4)
-- while activated do
-- TriggerServerEvent("AB3:ClientBeep")
-- Citizen.Wait(12e4)
-- end
-- end)
-- HUD
Citizen.CreateThread(function()
while activated do
Citizen.Wait(0)
if (GetFollowPedCamViewMode() == 4 or Config.ThirdPersonMode) and not hudForceHide then
if not hudPresence then
SetHudPresence(true, name)
end
elseif hudPresence then
SetHudPresence(false, name)
end
end
SetHudPresence(false, name)
end)
end
function DeactivateAB3()
if not activated then
return error("AB3 attempted to deactivate when already deactivated.")
end
activated = false
end
function SetHudPresence(state, charname)
SendNUIMessage({AxonUIPresence = state, name = charname})
hudPresence = state
end
function ShowNotification(message)
BeginTextCommandThefeedPost("STRING")
AddTextComponentSubstringPlayerName(message)
EndTextCommandThefeedPostTicker(true, false)
end
+6
View File
@@ -0,0 +1,6 @@
Config = {
framework_name = "core_framework",
CommandBinding = 'SLASH',
--- whether the axon overlay is also visible in third person
--- @type boolean
ThirdPersonMode = true,
+25
View File
@@ -0,0 +1,25 @@
fx_version 'cerulean'
game 'gta5'
repository 'https://github.com/TFNRP/axonbody3'
version '0.0.1'
author 'Reece Stokes <hagen@hyena.gay> Edit: NAT2K15'
ui_page 'html/index.html'
file {
'html/sound/beep.wav',
'html/index.html',
'html/img/logo.png',
'html/css/style.css',
'html/fonts/KlartextMonoBold.ttf',
}
client_script {
'config.lua',
'client/client.lua',
}
server_scripts {
'server/server.lua'
}
@@ -0,0 +1,73 @@
@font-face {
font-family: "Klartext Mono Bold";
src: url("fonts/KlartextMonoBold.ttf") format("truetype");
}
p {
display: inline;
text-align: left;
font-family: "Klartext Mono Bold", monospace;
font-weight: 600;
font-style: normal;
text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
color: rgb(255, 255, 255);
font-size: 1.2vw;
margin: 1%;
}
body {
user-select: none;
overflow: hidden;
}
p,
button,
div,
svg,
img,
input,
select {
position: absolute;
}
#ui {
display: none;
}
#date {
top: 3vw;
left: 79.5vw;
width: 17vw;
}
#text {
top: 4.2vw;
left: 79.5vw;
width: 17vw;
}
#logo {
top: 2.6vw;
left: 95vw;
width: 3.5vw;
height: 3.5vw;
}
svg {
display: none;
top: 2.5vw;
left: 81vw;
width: 18vw;
height: 3.8vw;
z-index: -1;
}
rect {
fill: rgb(40, 40, 40);
width: 100%;
height: 100%;
}
img {
opacity: .75;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

+77
View File
@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script src="nui://game/ui/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.3/howler.min.js" integrity="sha512-6+YN/9o9BWrk6wSfGxQGpt3EUK6XeHi6yeHV+TYD2GR0Sj/cggRpXr1BrAQf0as6XslxomMUxXp2vIl+fv0QRA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link href="css/style.css" rel="stylesheet">
<script>
var offset = 0,
setoffset = 0,
utc = false,
player = new Howl({
src: ["./sound/beep.wav"]
}),
s = "",
keys = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
for (var i = 0; i < 4; i++) {
s += keys.charAt(Math.floor(Math.random() * (keys.length)));
}
var serial = "6039" + s;
setInterval(() => {
let timedate;
if (utc) timedate = new Date();
else {
const now = new Date();
now.setTime(now.getTime() + now.getTimezoneOffset() * 6e4);
if (
now.getTimezoneOffset() <
Math.max(
new Date(now.getFullYear(), 0, 1).getTimezoneOffset(),
now.getTimezoneOffset()
)
) setoffset = offset + 1;
else setoffset = offset;
timedate = new Date(now.getTime() + (setoffset * 36e5));
}
const iso = timedate.toISOString();
$("#date").text(`${iso.substring(0, 10)} ${iso.substring(11, 19)} ${offset > 0 ? '-' : '+'}${offset.toString().padEnd(3, '0').padStart(4, '0')}`);
}, 1e3)
$(() => {
window.addEventListener('message', function(event) {
if ('AxonUIPresence' in event.data) {
$("#ui").css('display', event.data.AxonUIPresence ? "block" : "none");
}
if ('AxonBeep' in event.data) {
player.volume(event.data.AxonBeep.volume);
player.play();
}
$("name").text(``)
$("#text").text(`AXON BODY 3 X ${serial}\n${event.data.name}`);
});
});
</script>
</head>
<body>
<div id="ui">
<p id="date">1337-42-00 00:00:00</p>
<p id="text">AXON BODY 3 X60390000</p>
<img id="logo" src="img/logo.png" alt="Logo">
<svg>
<rect/>
</svg>
</div>
</body>
</html>
Binary file not shown.
@@ -0,0 +1,3 @@
RegisterNetEvent('AB3:ClientBeep', function()
TriggerClientEvent('AB3:ServerBeep', -1, source)
end)
+12
View File
@@ -0,0 +1,12 @@
-- Generated with AltTool
fx_version 'bodacious'
game { 'gta5' }
files {
'mp_m_freemode_01_mp_m_fireciv.meta',
'mp_f_freemode_01_mp_f_fireciv.meta'
}
data_file 'SHOP_PED_APPAREL_META_FILE' 'mp_m_freemode_01_mp_m_fireciv.meta'
data_file 'SHOP_PED_APPAREL_META_FILE' 'mp_f_freemode_01_mp_f_fireciv.meta'
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<ShopPedApparel>
<pedName>mp_f_freemode_01</pedName>
<dlcName>mp_f_fireciv</dlcName>
<fullDlcName>mp_f_freemode_01_mp_f_fireciv</fullDlcName>
<eCharacter>SCR_CHAR_MULTIPLAYER_F</eCharacter>
<creatureMetaData>MP_CreatureMetadata_fireciv</creatureMetaData>
<pedOutfits>
</pedOutfits>
<pedComponents>
</pedComponents>
<pedProps>
</pedProps>
</ShopPedApparel>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<ShopPedApparel>
<pedName>mp_m_freemode_01</pedName>
<dlcName>mp_m_fireciv</dlcName>
<fullDlcName>mp_m_freemode_01_mp_m_fireciv</fullDlcName>
<eCharacter>SCR_CHAR_MULTIPLAYER</eCharacter>
<creatureMetaData>MP_CreatureMetadata_fireciv</creatureMetaData>
<pedOutfits>
</pedOutfits>
<pedComponents>
</pedComponents>
<pedProps>
</pedProps>
</ShopPedApparel>

Some files were not shown because too many files have changed in this diff Show More