How do I make people sit?
Moderator: Moderators
-
Divine Spirit
- Private
- Posts: 1
- Joined: Sun Sep 01, 2002 12:39 pm
How do I make people sit?
Hi. Does anyone know how to make a normal door (non-rotating), and how to make people sit? Thanks.
-
Oddball_Woof
- Sergeant
- Posts: 74
- Joined: Tue Aug 06, 2002 9:32 am
- Location: London UK
sitting animations exist and scripts
ask wombat, the card players sit down from standing in his map so it must be in the cardgame.sc... a scripted animation. Whether they'll sit for another reason I don't know can't think of another time in SP game except in Jeep when the SAS guy is driving or at start in back of truck ...also kraauts in lorries...ummm there are a few occasions... so you might be able to convince engine using one of these scripts to do it.
Ask wombat hs's the man!
Ask wombat hs's the man!
-
ScorpioMidget
- Lance Corporal
- Posts: 21
- Joined: Thu Jun 13, 2002 9:57 am
- Location: Notts, UK
- Contact:
-
Mirek
- Colour Sergeant
- Posts: 77
- Joined: Mon Jul 08, 2002 2:12 am
- Location: Melbourne, Australia
- Contact:
I did some tests and below is what I extracted from the animation used in the card game -
$sitman holster // hide gun
$sitman.origin = $chair1.origin // stand where the chair is
$sitman.angles = $chair1.angles // face the way the chair does
$sitman anim chair_radio_listenidle // the animation
I have a German Ai - $targetname = sitman
And a chair - $targetname = chair1
I found you have to make the chair into a script model otherwise the AI will sit in the air where u placed him.
I am sure there are different sitting positions, like on the back of the truck where they sit straight. Just have to find the animation refrence.
Cheers,
Mirek
$sitman holster // hide gun
$sitman.origin = $chair1.origin // stand where the chair is
$sitman.angles = $chair1.angles // face the way the chair does
$sitman anim chair_radio_listenidle // the animation
I have a German Ai - $targetname = sitman
And a chair - $targetname = chair1
I found you have to make the chair into a script model otherwise the AI will sit in the air where u placed him.
I am sure there are different sitting positions, like on the back of the truck where they sit straight. Just have to find the animation refrence.
Cheers,
Mirek
Mapping !!! Who needs sleep anyway !?!?!?
AI properties
Highlight the AI guy and hit key N. Click on "anim +" at the bottom and it will show you all the positions that that AI can do. Then just put the one you want in your script like this:
level waittill spawn
$officer1 anim lean_chair_legs
$dude2 anim idle_crouch_grenade
Note, the AI will probably stand if he hears you unless you disable his hearing. I'm sure there is more to it than that, but I hope this helps some, good luck.
level waittill spawn
$officer1 anim lean_chair_legs
$dude2 anim idle_crouch_grenade
Note, the AI will probably stand if he hears you unless you disable his hearing. I'm sure there is more to it than that, but I hope this helps some, good luck.
hi,
i?m also trying to give the ai some animations, i tried out tltrudes and mirkes suggestions, but both didn?t work...
I?m using it in a map called test_anim.map and the console told me something of NULL applied to no listener or somehting like that...
Anyone know the answer?
Thanx in advance
Manstein
i?m also trying to give the ai some animations, i tried out tltrudes and mirkes suggestions, but both didn?t work...
I?m using it in a map called test_anim.map and the console told me something of NULL applied to no listener or somehting like that...
Anyone know the answer?
Thanx in advance
Manstein
-
UBER_SOLDAT
- Warrant Officer
- Posts: 127
- Joined: Wed Aug 07, 2002 7:44 pm
- Location: ENGLAND
- Contact:
this is from m4l2, and is for a truck driver:
$camptruck_driver exec global/disable_ai.scr
$camptruck_driver notsolid
$camptruck_driver rendereffects "-shadow"
$camptruck_driver anim_scripted opel_driver
$camptruck attachdriverslot 0 $camptruck_driver
$camptruck nodamage
youd leave out the attatchdriverslot, which is for putting him in a certain seat in the truck, and the nodamage bit, which makes the truck invincable. I havent tried any of this so it might not work. Try a different animation instead of opel_driver if it doesnt.
$camptruck_driver exec global/disable_ai.scr
$camptruck_driver notsolid
$camptruck_driver rendereffects "-shadow"
$camptruck_driver anim_scripted opel_driver
$camptruck attachdriverslot 0 $camptruck_driver
$camptruck nodamage
youd leave out the attatchdriverslot, which is for putting him in a certain seat in the truck, and the nodamage bit, which makes the truck invincable. I havent tried any of this so it might not work. Try a different animation instead of opel_driver if it doesnt.
