Raised This Month: $ Target: $400
 0% 

create entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
daniel46
Senior Member
Join Date: Dec 2011
Old 04-30-2013 , 11:01   create entity
Reply With Quote #1

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?

Last edited by daniel46; 04-30-2013 at 14:15.
daniel46 is offline
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 04-30-2013 , 13:49   Re: create enity
Reply With Quote #2

enity no, entity
baneado is offline
daniel46
Senior Member
Join Date: Dec 2011
Old 04-30-2013 , 14:16   Re: create entity
Reply With Quote #3

DONE
daniel46 is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-30-2013 , 19:07   Re: create entity
Reply With Quote #4

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 )
.Dare Devil. is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-01-2013 , 04:36   Re: create entity
Reply With Quote #5

Take a look at this thread.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-01-2013 , 06:15   Re: create entity
Reply With Quote #6

Model entity tutorial is there : http://forums.alliedmods.net/showthread.php?t=69386
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
daniel46
Senior Member
Join Date: Dec 2011
Old 05-01-2013 , 07:53   Re: create entity
Reply With Quote #7

Quote:
Originally Posted by hornet View Post
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...
daniel46 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-01-2013 , 08:31   Re: create entity
Reply With Quote #8

Quote:
Originally Posted by daniel46 View Post
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.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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