Creating Bots - basic model troubles
Hello everyone!
I was wandering these days: How to make bots? Honestly I am trying to put Houndeyes(three legged dog like creatures with sonic attack) from Halflife into Counter Strike, because it would be interesting to fight them on for example cs_italy: Get the hostages back to the rescue zone, but it is guarded by houndeyes. Or any other Xen creatures. So I copied the model, and the sounds and precached them, and loaded the model with some animation. First problem: I can move through it, though I set it's solid type( I know I missed something out, but WHAT? ) Second problem: I cannot make the sound emit from the creature. If it is next to me or over a mile from me, the volume is the same. Oh and if I create more creatures, the sounds interrupt each other as they use the same channel.( so I guess the emit_sound is not the right function for this purpose ) Thank you in advance for your comments. Lulu the hero This is the code I got so far: Code:
#include <amxmodx> |
Re: Creating Bots - basic model troubles
Any reasons to not use MonsterMod ?
|
Re: Creating Bots - basic model troubles
Oh, didn't know it exists, thanks. Anyway I still would like to know how to create such a mod( step by step ). Is there any tutorials out there? Google only shows forums about podbots, but not about how to create one.
|
Re: Creating Bots - basic model troubles
MonsterMod is actually a metamod module where monsters were taken from the HLSDK SinglePlayer. Not all are into if I remember and the module is buggy for some things, but houdeye and others monsters work fine. Just test it.
|
Re: Creating Bots - basic model troubles
I don't want to look unthankful, but this is not what I am looking for. I want to know how to create and manipulate an entity. I want to know why I can walk right through the "solid" model I created. There are not much tutorials on the net. List of functions, yes, but no tutorials.
Anyway I will look at this monster mod. |
Re: Creating Bots - basic model troubles
You don't set the size.
|
Re: Creating Bots - basic model troubles
Yes indeed, thank you.
Also if I want the sound to come from the creature, then I should emit the sound FROM it by giving it's id in the ID field and a channel of CHAN_BODY or CHAN_WEAPON. Am I right? |
Re: Creating Bots - basic model troubles
Check out Pokemod, Professor Oak emits a sound and I believe it's set up the same way you're looking for. Sounds like a good example for what you're trying to manipulate.
|
Re: Creating Bots - basic model troubles
Indeed, professor oak is a real good example of creating an NPC. Though it's modell is not as complex as a gargantua's. Is it possible to make the solid type of an entity not box shaped, but a bit more complex?
For a quick exaple if the garg's legs are so far away that a player can fit in, then why not be able to run across it's legs? |
| All times are GMT -4. The time now is 07:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.