Post your scripting questions / solutions here
Moderator: Moderators
LtNeil
Sergeant
Posts: 54 Joined: Sun Nov 14, 2004 8:46 pm
Location: southend on sea
Contact:
Post
by LtNeil » Thu Apr 21, 2005 1:10 pm
Im making a single player game and was wondering is there anyway to get your enemy soldiers to start of crounching or laying down?
My candle burns at both ends it will not last the night but oh my foes and oh my friends it gives a lovely light.
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Thu Apr 21, 2005 1:37 pm
Try this in the entity box:
key / value:
position / crouch (or prone)
Green Beret
Major General
Posts: 746 Joined: Mon Apr 19, 2004 12:21 pm
Contact:
Post
by Green Beret » Thu Apr 21, 2005 3:32 pm
is there a way to make them lay down in Multi Player?
lizardkid
Windows Zealot
Posts: 3672 Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT
Post
by lizardkid » Fri Apr 22, 2005 8:49 am
1. regular stock AI doesn't work in MP
2. bots i really don't think support that, but i'll let jv answer for sure
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
Green Beret
Major General
Posts: 746 Joined: Mon Apr 19, 2004 12:21 pm
Contact:
Post
by Green Beret » Fri Apr 22, 2005 3:33 pm
can u make a player in MP laydown by trigger maybe? Not AI
lizardkid
Windows Zealot
Posts: 3672 Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT
Post
by lizardkid » Fri Apr 22, 2005 5:38 pm
actually... yes..
you'd need to make a new state and assign something to a key to be able to crouch and do that, but yeah... it'd be possible.
not without some serious work though.
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
Rookie One.pl
Site Admin
Posts: 2752 Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:
Post
by Rookie One.pl » Fri Apr 22, 2005 5:40 pm
Not without adding a prone animation to player animation includes. And adding new animations f**ks up the existing. Tried it already.
lizardkid
Windows Zealot
Posts: 3672 Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT
Post
by lizardkid » Fri Apr 22, 2005 8:26 pm
that would have been so cool too...
did you try making a different animation include with just the prone-based animations?
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
Green Beret
Major General
Posts: 746 Joined: Mon Apr 19, 2004 12:21 pm
Contact:
Post
by Green Beret » Sat Apr 23, 2005 1:34 am
yea,thanks for crushig my dreams...lmao
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Sat Apr 23, 2005 8:49 am
It's possible but not server-side... preventing players to move when prone is tough too.
Rookie One.pl
Site Admin
Posts: 2752 Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:
Post
by Rookie One.pl » Sat Apr 23, 2005 5:11 pm
I've made this working - when you double-tapped crouch, you'd go prone, but the view height was still at crouch level. And of course the animations were screwed up (it looked as if you were sharking).
@Lizard - tried every way I could think of, no luck.
lizardkid
Windows Zealot
Posts: 3672 Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT
Post
by lizardkid » Sat Apr 23, 2005 9:08 pm
ooo.. i think i tried your mod once, some server tried it. had people proning and glitching through the ground etc...
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
Rookie One.pl
Site Admin
Posts: 2752 Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:
Post
by Rookie One.pl » Sat Apr 23, 2005 9:43 pm
I don't think so, I never released it.
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Sun Apr 24, 2005 7:03 am
I once gave it a try too (long ago)... anims etc were all good but the move speed was insane and so was turning... I couldn't get the view right either.