Page 2 of 2

Posted: Sun Apr 24, 2005 8:47 am
by k47a
lizardkid wrote:ooo.. i think i tried your mod once, some server tried it. had people proning and glitching through the ground etc...
Aw, yeah, I saw people doing that in some MP games... This just sucks! :? I mean, it's like cheating! The guy killed every kraut 'round him as they just didnt see him! Okay, I wasn't on the Kraut side, so it didn't matter :D , but still, I don't think it's fair.

Posted: Thu Apr 28, 2005 1:15 pm
by k47a
I have a question: Is there a way to make just the opposite? That is, making a lying AI get up? I put a deadbody in my SP map, and now I'd like to make him sit/get up - like the ones you shoot, then they fall on their knees and then flat on the ground if you finish 'em off... Is it possible to make it vice versa?

Posted: Thu Apr 28, 2005 1:31 pm
by lizardkid
no the deadbodies are static models, they can't animate. but proned AI all you need do it tell him to go to stand or crouch or move somewhere or whatever and he'll get up.

Posted: Thu Apr 28, 2005 3:45 pm
by k47a
Alright. How do I make a proned AI? (Is a proned AI actually lying on the floor?) And, a crouching or whatever AI: I can manage that with pathnodes, right?

Posted: Fri Apr 29, 2005 8:13 pm
by lizardkid
yes, but it's easier to make them move while crouched and to prone in a spot and stay proned (i had so much trouble with this) if you script it.

stand/move standing:

Code: Select all

$AI exec global/stand.scr
$AI walkto $pathnode
$AI runto $pathnode
crouch/mve crouching

Code: Select all

$AI exec global/crouch.scr
$AI crouchto $pathnode
$AI exec global/crouchrunto.scr /*(this one i've never used, but i saw it in the global folder, you may want to experiemnt with it)*/
prone:

Code: Select all

$AI exec global/prone.scr
$AI proneto $pathnode /*(again, never used it because i usually use prone to hide snipers in bushes or soldiers in trenches)*/