Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
2928c4de7f | |||
27408ab92a |
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Yzum <3",
|
||||
"name": "Yzum less than 3",
|
||||
"author": "NullBite",
|
||||
"autoScripts": ["script"]
|
||||
}
|
||||
|
2106
player_model.bbmodel
2106
player_model.bbmodel
File diff suppressed because one or more lines are too long
@ -33,7 +33,7 @@ do
|
||||
if player:isLoaded() then PartsManager.refreshPartList(VANILLA_GROUPS.ARMOR) end
|
||||
end
|
||||
local function refresh_tail()
|
||||
if player:isLoaded() then PartsManager.refreshPart(model.Body_Tail) end
|
||||
if player:isLoaded() then PartsManager.refreshPart(TAIL) end
|
||||
end
|
||||
|
||||
local defaults={
|
||||
@ -62,6 +62,8 @@ end
|
||||
-- }}}
|
||||
|
||||
-- Part groups {{{
|
||||
TAIL=model.Body_Tail.Tail1
|
||||
|
||||
VANILLA_GROUPS={
|
||||
["HEAD"]={vanilla_model.HEAD, vanilla_model.HAT},
|
||||
["TORSO"]={vanilla_model.BODY, vanilla_model.JACKET},
|
||||
@ -79,7 +81,7 @@ for _, v in pairs(VANILLA_GROUPS.INNER) do table.insert(VANILLA_GROUPS.ALL,v) en
|
||||
for _, v in pairs(VANILLA_GROUPS.OUTER) do table.insert(VANILLA_GROUPS.ALL,v) end
|
||||
|
||||
MAIN_GROUPS={model.Head, model.RightArm, model.LeftArm, model.RightLeg, model.LeftLeg, model.Body } -- RightArm LeftArm RightLeg LeftLeg Body Head
|
||||
TAIL_BONES={model.Body_Tail, model.Body_Tail.Tail2, model.Body_Tail.Tail2.Tail3, model.Body_Tail.Tail2.Tail3.Tail4}
|
||||
TAIL_BONES={TAIL, TAIL.Tail2, TAIL.Tail2.Tail3, TAIL.Tail2.Tail3.Tail4}
|
||||
|
||||
TAIL_ROT={vec( 37.5, 0, 0 ), vec( -17.5, 0, 0 ), vec( -17.5, 0, 0 ), vec( -15, 0, 0 )}
|
||||
-- }}}
|
||||
@ -175,7 +177,7 @@ do
|
||||
PM.addPartListFunction(MAIN_GROUPS, function(last) return last and not forceVanilla() end)
|
||||
|
||||
-- enable tail
|
||||
PM.addPartFunction(model.Body_Tail, function(last) return last and sharedconfig.load("tail_enabled") end)
|
||||
PM.addPartFunction(TAIL, function(last) return last and sharedconfig.load("tail_enabled") end)
|
||||
|
||||
-- Armor state
|
||||
PM.addPartListFunction(VANILLA_GROUPS.ARMOR, function(last) return last and sharedconfig.load("armor_enabled") end)
|
||||
|
Loading…
x
Reference in New Issue
Block a user