Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Adam243
16
Years of Service
User Offline
Joined: 3rd Jan 2008
Location: indonesia
Posted: 22nd Jun 2008 21:09
hi there i was reading "PlystirE's AI scripting tutorial" and I had a little problem it seems either the numbers of animations are different in v 1.9 or i made the script wrong

here are the numbers that i got from PlystirE:
0 = Spawn
1 = Idle
2 = Move Slow
3 = Strafe Left
4 = Strafe Right
5 = Move Fast
6 = Reload Weapon (or Toss)
10 = Climb
11 = Impact Front
12 = Bounce Front
13 = Get Up Front
14 = Impact Back
15 = Bounce Back
16 = Get Up Back
17 = Impact Left
18 = Bounce Left
20 = Impact Right
21 = Bounce Right
31 = Crouched Idle
32 = Crouched Move Slow (same)
33 = Crouched Strafe Left (same)
34 = Crouched Strafe Right (same)
35 = Crouched Move Fast (same)
36 = Crouched Reload Weapon (or toss)
40 = Freeform Idle
41 = Freeform Move
50 = Weapon Spawn
51 = Weapon Idle
52 = Weapon Move Slow
53 = Weapon Strafe Left
54 = Weapon Strafe Right
55 = Weapon Move Fast
56 = Weapon Reload Weapon (or Toss)
57 = Weapon NEW Climb
61 = Weapon Impact Front
62 = Weapon Bounce Front
63 = Weapon Get Up Front
64 = Weapon Impact Back
65 = Weapon Bounce Back
66 = Weapon Get Up Back
67 = Weapon Impact Left
68 = Weapon Bounce Left
70 = Weapon Impact Right
71 = Weapon Bounce Right
81 = Weapon Crouched Idle
82 = Weapon Crouched Move Slow (same)
83 = Weapon Crouched Strafe Left (same)
84 = Weapon Crouched Strafe Right (same)
85 = Weapon Crouched Move Fast (same)
86 = Weapon Crouched Reload Weapon (or toss)
90 = Weapon Freeform Idle
91 = Weapon Freeform Move

here is the shoot script i made using the tutorial guide

:state=0:state=1

:state=1:rotatetoplr
:state=1,plrdisfurther=500:movefore=4,animate=2
:state=1,plrdisfurther=300:moveback=5,animate=2
:state=1,plrdisfurther=500,plrdisfurther=400:animate=1
:state=1,plrcannotbeseen:state=2

:state=2:followplr
:state=2,plrcanbeseen:state=1

noob in fpsc
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 22nd Jun 2008 21:13
Ermmm...what's wrong with it? How is it not working? We need more detail please.......

Adam243
16
Years of Service
User Offline
Joined: 3rd Jan 2008
Location: indonesia
Posted: 23rd Jun 2008 08:29
Okay, when i tried it my enemy just glides across the room it doesn't walk it just stands and moves around but in some point it does walk when it doesn't see me other than that it just glides that's the only problem. so I'm guessing that the numbers that plystirE posted on the tutorial guide was from a previous version of fpsc or mabye somethings wrong with my script.

noob in fpsc
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 23rd Jun 2008 09:03
Hmm...try a stock script, they most use animation 2 as well......

If that doesn't work, then it's either the model or FPSC itself.....

bond1
18
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 23rd Jun 2008 09:08 Edited at: 23rd Jun 2008 09:08
Quote: "state=1,plrdisfurther=300:moveback=5,animate=2"


As far as I know the MOVEBACK command doesn't work and has never worked. Instead, use MOVEFORE=-5. Using a negative number with the MOVEFORE command will make the character move backwards.

----------------------------------------
"Your mom goes to college."
Adam243
16
Years of Service
User Offline
Joined: 3rd Jan 2008
Location: indonesia
Posted: 23rd Jun 2008 11:25
ok thx, i was just wondering if you can try the script first then see what see what's wrong with it

noob in fpsc

Login to post a reply

Server time is: 2024-10-11 03:20:34
Your offset time is: 2024-10-11 03:20:34