Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Human.inc
- {on spawn
- {add_view "skeleton" "skel" "blagh"}{view hide "skel"}{view stop "skel"} ;{bone "blagh"} in human.mdl file
- ;We need to give a new bone "blagh" to the human.mdl file, since blagh isn't located within the brackets of the bone "basis"
- ;that way when we hide basis and every bone within the bracket of basis is hidden as a result, the bone "blagh" still remains.
- ;and since its still there, the view for the bone "blagh" doesn't disappear.
- ;this adds new possibilities of having different meshes for humanskins, will expand
- {on "die"
- {delay 5
- {if dead
- (define "ts"
- {delay %1
- {bone hide "%0"}
- ("str" text(hiding %0))
- {view show "skel"}{view start "skel"}("str" text(show view))
- })
- ("ts" args basis 0)
- }}
- Human.mdl
- {Skeleton
- {extension "/properties/animation/human/human_anm.ext"}
- {bone "blagh"};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;is outside the brackets of basis
- {bone revolute "basis"
- {limits -30 30}
- {speed 0.1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement