Raised This Month: $ Target: $400
 0% 

How To: Make a perfect NPC


Post New Thread Reply   
 
Thread Tools Display Modes
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-22-2005 , 19:24  
Reply With Quote #31

NPCs shouldn't use up a player slot in your server, just use create_entity instead of making a fake client.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
noob cannon lol
SourceMod Donor
Join Date: Sep 2005
Old 10-22-2005 , 19:45  
Reply With Quote #32

Is there anyway to make it appear as a player without crashing?

(in zombie panic, the game doesn't start unless two players have joined)
noob cannon lol is offline
Send a message via AIM to noob cannon lol Send a message via MSN to noob cannon lol
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-22-2005 , 19:50  
Reply With Quote #33

what about creating an entity called info_player ?

i think thats a valid entity, i forget :/
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
noob cannon lol
SourceMod Donor
Join Date: Sep 2005
Old 10-22-2005 , 22:17  
Reply With Quote #34

It's no good. I get the same error.
noob cannon lol is offline
Send a message via AIM to noob cannon lol Send a message via MSN to noob cannon lol
syphilis
Member
Join Date: Sep 2004
Old 10-25-2005 , 16:20  
Reply With Quote #35

Quote:
Originally Posted by noob cannon lol
(in zombie panic, the game doesn't start unless two players have joined)
Add to listenserver.cfg: sv_testmode 1

That'll let you play a map with only 1 player connected.
syphilis is offline
Atrocious
New Member
Join Date: Dec 2005
Old 12-13-2005 , 16:21   engfunc(EngFunc_CreateFakeClient,"Onna")
Reply With Quote #36

Anyone know how to make it so that you can delete a fake client or remove a fake client out of the server without restarting the server?
"engfunc(EngFunc_CreateFakeClient,"Onna") "
Atrocious is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 12-13-2005 , 16:27  
Reply With Quote #37

remove_entity(); ?
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 12-13-2005 , 20:09  
Reply With Quote #38

You just disconnect it or remove it.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Atrocious
New Member
Join Date: Dec 2005
Old 12-13-2005 , 23:54   O.o
Reply With Quote #39

lololol my bot O.o... it evades most of the ammos i shoot at it :/.... also theres a weird glitch.... that keeps on crashing the server after 15mins of its spawning.....
Atrocious is offline
Skym(a)ker
Junior Member
Join Date: Dec 2005
Old 12-14-2005 , 17:54  
Reply With Quote #40

Whaaaat the ...!

When i kill the NPC bot thin it's weapon dosen't disaper. When i drop my weapon the NPC's weapon flys right over my weapon?
Skym(a)ker 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 00:10.


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