Coding... A "pet" monster... Created 18 years ago2006-03-13 14:14:21 UTC by NemoStein NemoStein

Created 18 years ago2006-03-13 14:14:21 UTC by NemoStein NemoStein

Posted 18 years ago2006-03-13 14:14:21 UTC Post #168043
Guys... how can I make a monster that follow me (CTalkMonster) fly like a Ichy (CFlyingMonster)????

And, is possible to make follow me, but still flying around me???
Posted 18 years ago2006-03-13 15:22:49 UTC Post #168054
Yes, of course it is.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2006-03-13 15:31:06 UTC Post #168062
So you want the code or just wanted to know? :
Posted 18 years ago2006-03-13 15:45:01 UTC Post #168068
If you wanna gimme both, I'll be glad... :glad:

To be sincere, I'm having more problem making the "Pet" flying at random, and follow me...

I made the pet follow me, and made he fly at random... But both... This is getting hard... :nervous:
Posted 18 years ago2006-03-13 15:54:38 UTC Post #168073
I'm not good with coding but maybe this can help-> http://www.planethalflife.com/hlprogramming/tutorials.asp
Posted 18 years ago2006-03-13 16:18:08 UTC Post #168077
tks Saco.... But, there's no Tut about monsters... Just Client and MP... :
But I'll keep trying and searching...
And if somebody help me here, it will be nice... :lol:
Posted 18 years ago2006-03-13 16:28:53 UTC Post #168078
I think there are some nice tutorials over at the HIT-forums, or am I wrong? :S
Madcow MadcowSpy zappin my udder
Posted 18 years ago2006-03-13 16:33:03 UTC Post #168079
i have a similar problem. I use spirit where i can give them the "barney" AI. But they don't attack enemies. Now i can make them friendly, but they don't follow me like barney would. A monster_generic doesn't seem to help either.

I've been looking around for you cuz i'm curious too. I'll let you know if i find anything. :glad: :heart:
Rimrook RimrookSince 2003
Posted 18 years ago2006-03-13 18:26:31 UTC Post #168097
Tks MadCow... But without success... :nervous:
And Rimrook... Is true that the CBaseMoster can't help a lot, but, I'm thinking about to create a new class (like a CPetMonster) to do what I need, and then, mix some tipes of monsters... :sarcastic:
Of course that it will be much more than just Ctrl+C, Ctrl+V... But, who knows??? If works, it will be cool... Stay sharp, I'll...
Posted 18 years ago2006-03-14 13:26:57 UTC Post #168209
If you want it to fly you just change the velocity.

[quote]
void CBarney :: Spawn()
{
Precache( );
pev->velocity.z += 16;
[/quote]
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2006-03-14 13:38:22 UTC Post #168211
Ahnnn.... Go up or down is ok... but when I said "Fly" I said "Fly like a Ichy" (not in the water, of course...)...
I wanna that him keep flying around... just floating...
And when I "USE" him, he comes with me... but keeps flying around... :quizzical:

ps: Sorry, my english is getting worse everyday...
Posted 18 years ago2006-03-14 13:45:33 UTC Post #168214
changing the volocity will make him do that
ChickenFist ChickenFist<Witty Title>
You must be logged in to post a response.