My NPC/BOT Plugin - first one - not working =/
I was trying the tutorial to make an NPC but im having a few problems:
IF i want to make a fake client and use the engfunc it doesnt work - no one is added. IF i use the create entity i have a few problems with the box of the model. The player spawns - drops half way in the ground (up to chest) and u can move and shoot through him... The mod is NATURAL SELECTION and here is my coding: Code:
|
Re: My NPC/BOT Plugin - first one - not working =/
I have worked out the bot is half way in the floor becuz of DROP_TO_FLOOR.
BUT this doesnt explain why it has no hitbox - i can walk through it =/ |
Re: My NPC/BOT Plugin - first one - not working =/
You need to make it solid: set_pev(bot,pev_solid,2)
Test it a lot with increase the new Float:maxs[3] = {16.0,16.0,36.0} new Float:mins[3] = {-16.0,-16.0,-36.0} range and some solid values.To test the boxes,give the bot another team id as you and shoot to him. @Zenith77:I have see,but somtimes are problems with set solid and the hitboxes (i think its only an NS problem) And thats very very bad,a virus has destroyed my ns bot Plugin. |
Re: My NPC/BOT Plugin - first one - not working =/
Code:
He did. |
Re: My NPC/BOT Plugin - first one - not working =/
mmm maybe using pev instead wud be better? or no difference?
|
Re: My NPC/BOT Plugin - first one - not working =/
They do the exact same thing.
|
Re: My NPC/BOT Plugin - first one - not working =/
pev = fakemeta
entity_set = engine But both do the same.(but is better to write a plugin engine or fakemeta only) And here a good example how create a bot:http://forums.alliedmods.net/showthread.php?p=255078 |
Re: My NPC/BOT Plugin - first one - not working =/
Yeah ive use thats to get my player on and to give him a name
but still - no hitbox =/ |
| All times are GMT -4. The time now is 04:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.