forked from Simnation/Main
Update config.lua
This commit is contained in:
parent
41d14f210a
commit
6dcc9cfc26
1 changed files with 57 additions and 66 deletions
|
@ -1,15 +1,14 @@
|
||||||
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`,
|
||||||
|
@ -19,11 +18,11 @@ Config = {
|
||||||
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 = {
|
||||||
|
@ -32,23 +31,20 @@ Config = {
|
||||||
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
|
|
||||||
0.0 -- zRot
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
pedSettings = {
|
pedSettings = {
|
||||||
FreezePerson = true, -- Maintains position perfectly
|
FreezePerson = true,
|
||||||
Invincible = true, -- Can't be interrupted
|
Invincible = true,
|
||||||
BlockingOfNonTemporaryEvents = true -- No AI interference
|
BlockingOfNonTemporaryEvents = true
|
||||||
}
|
}
|
||||||
}
|
}, -- This comma was missing
|
||||||
|
{
|
||||||
pedHash = `CS_Bankman`,
|
pedHash = `CS_Bankman`,
|
||||||
pedCoords = vector4(-352.1639, -51.3455, 48.0365, 339.4478),
|
pedCoords = vector4(-352.1639, -51.3455, 48.0365, 339.4478),
|
||||||
pedAnimation = {
|
pedAnimation = {
|
||||||
|
@ -57,23 +53,18 @@ Config = {
|
||||||
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
|
|
||||||
0.0 -- zRot
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
pedSettings = {
|
pedSettings = {
|
||||||
FreezePerson = true, -- Maintains position perfectly
|
FreezePerson = true,
|
||||||
Invincible = true, -- Can't be interrupted
|
Invincible = true,
|
||||||
BlockingOfNonTemporaryEvents = true -- No AI interference
|
BlockingOfNonTemporaryEvents = true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue