Raised This Month: $32 Target: $400
 8% 

How To: Make a perfect NPC


Post New Thread Reply   
 
Thread Tools Display Modes
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 02-28-2011 , 09:47   Re: How To: Make a perfect NPC
Reply With Quote #221

Quote:
Originally Posted by BigBo92 View Post
Anybody in here can make NPC like this?
http://www.youtube.com/watch?v=Gw9Mz..._order&list=UL
This is a tutorial, it's meant to get you started and working on stuff like that yourself. It is possible, but will require a lot of time to code / test.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Old 02-28-2011, 19:54
BigBo92
This message has been deleted by Emp`. Reason: Ask in Suggestions/Requests
Old 02-28-2011, 20:04
drekes
This message has been deleted by Emp`. Reason: Reply to deleted post.
heliumdream
Senior Member
Join Date: Aug 2006
Old 05-25-2011 , 06:48   Re: How To: Make a perfect NPC
Reply With Quote #222

Twilight Suzuka is a dirty girl I can't wait to wrap my mind around this code tutorial. Ballin work princ3ssz
heliumdream is offline
Old 08-29-2011, 22:52
SilentCode
This message has been deleted by Exolent[jNr]. Reason: Don't cross-post.
THE_BOSS
Senior Member
Join Date: Jun 2011
Location: de_dust2
Old 11-01-2011 , 19:37   Re: How To: Make a perfect NPC
Reply With Quote #223

Is there any way to make zombie npcs with custom models?
__________________
Quote:
Originally Posted by BigBo92 View Post
i think The Boss is right
Youtube:
https://www.youtube.com/user/OsirisGodoftheD3ad
Moddb:
http://www.moddb.com/members/osirisgodofthedead
Gamebanana:
http://gamebanana.com/members/1206800
THE_BOSS is offline
qlail
Member
Join Date: Aug 2009
Old 01-19-2012 , 13:35   Re: How To: Make a perfect NPC
Reply With Quote #224

Can you add how to make it to where you can spawn the npc where you're looking to?
qlail is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 01-19-2012 , 15:04   Re: How To: Make a perfect NPC
Reply With Quote #225

Use get_user_origin( ) and modify the Z origin, then spawn it.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 11-19-2012 , 10:26   Re: How To: Make a perfect NPC
Reply With Quote #226

How do you make npc turn to target with speed? Like not at once but litte by little.
__________________
and once again
usaexelent is offline
Send a message via Skype™ to usaexelent
DSASDFGH
Senior Member
Join Date: Jul 2011
Location: Facebook
Old 11-22-2012 , 03:07   Re: How To: Make a perfect NPC
Reply With Quote #227

Maybe this code will give some functions to NPC Takedamage / Killed

PHP Code:
RegisterHam(Ham_TraceAttack"info_target""fw_TraceAttack"// For making blood
RegisterHam(Ham_TakeDamage"info_target""fw_TakeDamage"// For take damage
RegisterHam(Ham_Killed"info_target""fw_NPCKilled"// For hook npc has killed. 
__________________
Learning SourceMod is happy
DSASDFGH is offline
danonix
Senior Member
Join Date: Dec 2012
Old 03-10-2013 , 14:34   Re: How To: Make a perfect NPC
Reply With Quote #228

How I can set up it with this code on ground?
danonix is offline
Ardonicek
Senior Member
Join Date: Feb 2013
Location: My home
Old 01-12-2014 , 07:36   Re: How To: Make a perfect NPC
Reply With Quote #229

How to set it up to make it spawn every map on selected coords? O.o
__________________
Latest plugin: dHUD Round | Timeleft
Ardonicek is offline
Send a message via ICQ to Ardonicek Send a message via Skype™ to Ardonicek
MegasToRM
Member
Join Date: May 2012
Location: Serbia
Old 01-12-2014 , 11:01   Re: How To: Make a perfect NPC
Reply With Quote #230

Quote:
Originally Posted by Ardonicek View Post
How to set it up to make it spawn every map on selected coords? O.o
Easy to do. Just write x,y,z coordinates in a file(cfg,txt,ini,any other extension you like...),and in plugin_init or plugin_cfg(or just before spawning npc) you can parse those values,and use them as coordinates for spawning an entity.

Last edited by MegasToRM; 01-12-2014 at 11:12.
MegasToRM is offline
Send a message via MSN to MegasToRM Send a message via Skype™ to MegasToRM
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 16:40.


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