1
0
Fork 0
forked from Simnation/Main

Update config.lua

This commit is contained in:
Nordi98 2025-06-29 08:23:53 +02:00
parent 41d14f210a
commit 6dcc9cfc26

View file

@ -1,79 +1,70 @@
Config = { Config = {
Animals = { Animals = {
{ {
animalHash = `a_c_cow`, -- Use ``(backticks) because it's faster than using GetHashKey animalHash = `a_c_cow`,
-- https://docs.fivem.net/docs/game-references/ped-models/#animals animalCoords = vector4(1580.2, 2169.23, 78.22, 40.94),
animalCoords = vector4(1580.2, 2169.23, 78.22, 40.94 ), -- x, y, z, heading animalScenario = 'WORLD_COW_GRAZING',
animalScenario = 'WORLD_COW_GRAZING', -- https://github.com/DioneB/gtav-scenarios
animalSettings = { animalSettings = {
FreezeAnimal = true, -- Using only FreezeEntityPosition FreezeAnimal = true,
Invincible = true, -- Using SetEntityInvincible, SetPedDiesWhenInjured, SetPedCanPlayAmbientAnims, SetPedCanRagdollFromPlayerImpact Invincible = true,
BlockingOfNonTemporaryEvents = true, -- Using SetBlockingOfNonTemporaryEvents BlockingOfNonTemporaryEvents = true,
}, }
}, },
{ {
animalHash = `a_c_hen`, animalHash = `a_c_hen`,
animalCoords = vector4(1582.36, 2167.7, 78.3, 8.31), animalCoords = vector4(1582.36, 2167.7, 78.3, 8.31),
animalScenario = 'WORLD_HEN_PECKING', animalScenario = 'WORLD_HEN_PECKING',
animalSettings = { animalSettings = {
FreezeAnimal = true, FreezeAnimal = true,
Invincible = true, Invincible = true,
BlockingOfNonTemporaryEvents = true, BlockingOfNonTemporaryEvents = true,
}, }
}, }
}, },
Persons = { Persons = {
{ {
pedHash = `A_F_Y_Indian_01`, pedHash = `A_F_Y_Indian_01`,
pedCoords = vector4(1561.6321, 3801.2871, 33.4187, 207.3153), pedCoords = vector4(1561.6321, 3801.2871, 33.4187, 207.3153),
pedAnimation = { pedAnimation = {
animDict = 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a', animDict = 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
animName = 'idle_a', animName = 'idle_a',
animFlag = 1 animFlag = 1
}, },
pedProp = { pedProp = {
propHash = `prop_cs_tablet`, -- Standard GTA tablet prop propHash = `prop_cs_tablet`,
propBone = 60309, -- Right hand bone for tablet propBone = 60309,
propPlacement = { propPlacement = {
0.03, -- xPos (slightly forward) 0.03, -0.02, -0.03,
-0.02, -- yPos (centered) 0.0, 0.0, 0.0
-0.03, -- zPos (height adjustment) }
0.0, -- xRot },
0.0, -- yRot pedSettings = {
0.0 -- zRot FreezePerson = true,
Invincible = true,
BlockingOfNonTemporaryEvents = true
}
}, -- This comma was missing
{
pedHash = `CS_Bankman`,
pedCoords = vector4(-352.1639, -51.3455, 48.0365, 339.4478),
pedAnimation = {
animDict = 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
animName = 'idle_a',
animFlag = 1
},
pedProp = {
propHash = `prop_cs_tablet`,
propBone = 60309,
propPlacement = {
0.03, -0.02, -0.03,
0.0, 0.0, 0.0
}
},
pedSettings = {
FreezePerson = true,
Invincible = true,
BlockingOfNonTemporaryEvents = true
}
} }
},
pedSettings = {
FreezePerson = true, -- Maintains position perfectly
Invincible = true, -- Can't be interrupted
BlockingOfNonTemporaryEvents = true -- No AI interference
} }
} }
pedHash = `CS_Bankman`,
pedCoords = vector4(-352.1639, -51.3455, 48.0365, 339.4478),
pedAnimation = {
animDict = 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
animName = 'idle_a',
animFlag = 1
},
pedProp = {
propHash = `prop_cs_tablet`, -- Standard GTA tablet prop
propBone = 60309, -- Right hand bone for tablet
propPlacement = {
0.03, -- xPos (slightly forward)
-0.02, -- yPos (centered)
-0.03, -- zPos (height adjustment)
0.0, -- xRot
0.0, -- yRot
0.0 -- zRot
}
},
pedSettings = {
FreezePerson = true, -- Maintains position perfectly
Invincible = true, -- Can't be interrupted
BlockingOfNonTemporaryEvents = true -- No AI interference
}
}
}