More Dragons
You can add more dragons. By default we've included 3 dragons (Golden, Red and Blue).
Config.Dragons = {
-- Golden Dragon. Use command `/luman-dragon`
{
hash = `a_c_lumandragon_01`,
outfit = 0,
scale = 5.0,
riderOffset = {0.0, 0.0, 0.160, -45.0, 0.0, 0.0},
fire = {
enabled = true,
particleScale = 7.0,
sourceOffset = {0.10, 0.10, 0.0, 0.0, 0.0, 0.0},
directionOffset = {
11.0,
27.5,
0.0,
},
},
cameraDistance = 11.0,
allowedOnlyToPlayersWithIdentifiers = {
},
health = 1000, -- Health
healthRegeneration = 1, -- Health regeneration per second
},
-- Red Dragon. Use command `/luman-dragon 2`
{
hash = `a_c_lumandragon_01`,
outfit = 1,
scale = 5.0,
riderOffset = {0.0, 0.0, 0.160, -45.0, 0.0, 0.0},
fire = {
enabled = true,
particleScale = 7.0,
sourceOffset = {0.10, 0.10, 0.0, 0.0, 0.0, 0.0},
directionOffset = {
11.0,
27.5,
0.0,
},
},
cameraDistance = 11.0,
allowedOnlyToPlayersWithIdentifiers = {
},
health = 1500, -- Health
healthRegeneration = 1, -- Health regeneration per second
},
-- Blue Dragon. Use command `/luman-dragon 3`
{
hash = `a_c_lumandragon_01`,
outfit = 2,
scale = 5.0,
riderOffset = {0.0, 0.0, 0.160, -45.0, 0.0, 0.0},
fire = {
enabled = true,
particleScale = 7.0,
sourceOffset = {0.10, 0.10, 0.0, 0.0, 0.0, 0.0},
directionOffset = {
11.0,
27.5,
0.0,
},
},
cameraDistance = 11.0,
allowedOnlyToPlayersWithIdentifiers = {
},
health = 2000, -- Health
healthRegeneration = 1, -- Health regeneration per second
},
}
Example of new dragon with custom hash and disabled fire:
-- Experimental Owl: Use command `/luman-dragon 4`
{
hash = `a_c_lumanowl_01`,
outfit = 0,
scale = 5.0,
riderOffset = {0.0, 0.0, 0.120, -45.0, 0.0, 0.0},
invisibleRider = true, -- Hide rider (only dragon visible)
fire = {
enabled = false, -- Fire disabled
particleScale = 3.5,
sourceOffset = {0.10, 0.10, 0.0, 0.0, 0.0, 0.0},
directionOffset = {
5.0,
14.0,
0.0,
},
},
cameraDistance = 11.0,
allowedOnlyToPlayersWithIdentifiers = {
},
spawnOnGround = true, -- Spawn on the ground instead of sky
health = 500, -- Health
healthRegeneration = 1, -- Health regeneration per second
},Last updated