AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   create entity (https://forums.alliedmods.net/showthread.php?t=214846)

daniel46 04-30-2013 11:01

create entity
 
So i want to create entity that is player model and i want to make it look like he hold weapon(p_model)

i know how to create the entity but how i make hemm look like he hold weapon?

baneado 04-30-2013 13:49

Re: create enity
 
enity no, entity

daniel46 04-30-2013 14:16

Re: create entity
 
DONE

.Dare Devil. 04-30-2013 19:07

Re: create entity
 
i was thinking first about pev_aiment but that will works only if entity is player.
I think you should get your entity angle / velocity( not origin ) and set it for your weapon entity.
why velocity and not origin, because if you do it with origin then player with little higher ping see that entity moving is lagging.
( register_think for entity and do things in there )

hornet 05-01-2013 04:36

Re: create entity
 
Take a look at this thread.

ConnorMcLeod 05-01-2013 06:15

Re: create entity
 
Model entity tutorial is there : http://forums.alliedmods.net/showthread.php?t=69386

daniel46 05-01-2013 07:53

Re: create entity
 
Quote:

Originally Posted by hornet (Post 1943529)
Take a look at this thread.

yap thats what i did even before you told me and i found it also is there a thread that talk about NPC think i mean move and all not just think...

hornet 05-01-2013 08:31

Re: create entity
 
Quote:

Originally Posted by daniel46 (Post 1943630)
yap thats what i did even before you told me and i found it also is there a thread that talk about NPC think i mean move and all not just think...

So if you found the thread then what's the problem? It answers your question.


All times are GMT -4. The time now is 10:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.