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,79 +1,70 @@
|
|||
Config = {
|
||||
Animals = {
|
||||
{
|
||||
animalHash = `a_c_cow`, -- Use ``(backticks) because it's faster than using GetHashKey
|
||||
-- https://docs.fivem.net/docs/game-references/ped-models/#animals
|
||||
animalCoords = vector4(1580.2, 2169.23, 78.22, 40.94 ), -- x, y, z, heading
|
||||
animalScenario = 'WORLD_COW_GRAZING', -- https://github.com/DioneB/gtav-scenarios
|
||||
animalHash = `a_c_cow`,
|
||||
animalCoords = vector4(1580.2, 2169.23, 78.22, 40.94),
|
||||
animalScenario = 'WORLD_COW_GRAZING',
|
||||
animalSettings = {
|
||||
FreezeAnimal = true, -- Using only FreezeEntityPosition
|
||||
Invincible = true, -- Using SetEntityInvincible, SetPedDiesWhenInjured, SetPedCanPlayAmbientAnims, SetPedCanRagdollFromPlayerImpact
|
||||
BlockingOfNonTemporaryEvents = true, -- Using SetBlockingOfNonTemporaryEvents
|
||||
},
|
||||
FreezeAnimal = true,
|
||||
Invincible = true,
|
||||
BlockingOfNonTemporaryEvents = true,
|
||||
}
|
||||
},
|
||||
{
|
||||
animalHash = `a_c_hen`,
|
||||
{
|
||||
animalHash = `a_c_hen`,
|
||||
animalCoords = vector4(1582.36, 2167.7, 78.3, 8.31),
|
||||
animalScenario = 'WORLD_HEN_PECKING',
|
||||
animalSettings = {
|
||||
FreezeAnimal = true,
|
||||
Invincible = true,
|
||||
BlockingOfNonTemporaryEvents = true,
|
||||
},
|
||||
},
|
||||
FreezeAnimal = true,
|
||||
Invincible = true,
|
||||
BlockingOfNonTemporaryEvents = true,
|
||||
}
|
||||
}
|
||||
},
|
||||
Persons = {
|
||||
{
|
||||
pedHash = `A_F_Y_Indian_01`,
|
||||
pedCoords = vector4(1561.6321, 3801.2871, 33.4187, 207.3153),
|
||||
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
|
||||
{
|
||||
pedHash = `A_F_Y_Indian_01`,
|
||||
pedCoords = vector4(1561.6321, 3801.2871, 33.4187, 207.3153),
|
||||
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
|
||||
}
|
||||
}, -- 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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue