there is no tutorial, only some that arent working (outdated), but thanks for reply
I used [URL="https://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexde03.html"]this[/URL] for my reference.
i used it and the npc only cheers, and
[lua]
self:CapabilitiesAdd( CAP_MOVE_GROUND | CAP_OPEN_DOORS | CAP_ANIMATEDFACE | CAP_TURN_HEAD | CAP_USE_SHOT_REGULATOR | CAP_AIM_GUN )
[/lua]
must be changed to
[lua]
self:CapabilitiesAdd( CAP_MOVE_GROUND )
self:CapabilitiesAdd( CAP_OPEN_DOORS )
self:CapabilitiesAdd( CAP_ANIMATEDFACE )
self:CapabilitiesAdd( CAP_TURN_HEAD )
self:CapabilitiesAdd( CAP_USE_SHOT_REGULATOR )
self:CapabilitiesAdd( CAP_AIM_GUN )
[/lua]
the npc dont attack me
did i need to change something?
Go to the gmod wiki, search for 'NPC' and anything you need will be there.
Yes i done that too, but my npc is "flying" over the ground when i use
[lua]
self:SetSchedule( SCHED_FORCED_GO_RUN )
[/lua]
but dont know why, maybe i missed something for the bones or modelfiles for animation, or, or, or
Sorry, you need to Log In to post a reply to this thread.