Help on scriptpoints
- Agentarrow
- Posts: 1346
- Joined: Thu Jun 28, 2007 4:34 pm
- Location: Kyiv, Ukraine
- Contact:
Help on scriptpoints
I added scriptpoints to my level, and did what I thought I was supposed to do, yet my enemies refuse to walk, and also refuse to die.
AgentArrow Home
The greater good is but a point of view...
The greater good is but a point of view...
Re: Help on scriptpoints
What did you do, and what did you think you were supposed to do?Agentarrow wrote:I added scriptpoints to my level, and did what I thought I was supposed to do, yet my enemies refuse to walk, and also refuse to die.
Posting the script would help a lot.
Pain is only psychological.
- Agentarrow
- Posts: 1346
- Joined: Thu Jun 28, 2007 4:34 pm
- Location: Kyiv, Ukraine
- Contact:
Well... Let's see,
(oh, this is just for a testing, so I did use a robot as the enemy here, however the real version will have a different enemy here)
I posted the script points fairly closely, On a 32 texel grid they are a total of four texels away from each other (entitys sitting on a texel, with two texels in-between) Then I gave each scriptpoint a name (P001, P001, P003, etc.) then I listed the next one as the next script point in the line, it's easier if I just give a Diagram to show you. (each # is a scriptpoint, the lines are just to accurately space them over the correct number)
__#___#___#___#___#___#__
P005 P004 P003 P002 P001 P006
Scriptpoint 6
Angle 0.00000000.177894882
Next order walk
Next point P001
szEntity name P006
Scriptpoint 1
Angle 0.00000000.179326080
Next order walk
Next point P002
szEntity name P001
Scriptpoint 2
Angle 0.00000000.179665604
Next order walk
Next point P003
szEntity name P002
Scriptpoint 3
Angle 0.00000000.176462265
Next order walk
Next point P004
szEntity name P003
Scriptpoint 4
Angle 0.00000000.177701284
Next order walk
Next point P005
szEntity name P004
Scriptpoint 5
Angle 0 0 0
Next order walk
Next point P006
szEntity name P001
Pawn5
Changematerial
Convorder
Convscriptname
Hidefromradar false
Pawn type robot
scriptname robot.s
spawnorder spawn
spawnpoint P006
Spawntrigger
szEntityname Robot01
I was told that this would make a pacing robot, however all he does is sit there like a lump. Am I supposed to actuually write a script to go with it? Is this supposed to work and just doesn't like me? lol. Please help me... wait, let me guess, it teaches you how to do it right in the manual, doesn't it? I just missed it, right?
I posted the script points fairly closely, On a 32 texel grid they are a total of four texels away from each other (entitys sitting on a texel, with two texels in-between) Then I gave each scriptpoint a name (P001, P001, P003, etc.) then I listed the next one as the next script point in the line, it's easier if I just give a Diagram to show you. (each # is a scriptpoint, the lines are just to accurately space them over the correct number)
__#___#___#___#___#___#__
P005 P004 P003 P002 P001 P006
Scriptpoint 6
Angle 0.00000000.177894882
Next order walk
Next point P001
szEntity name P006
Scriptpoint 1
Angle 0.00000000.179326080
Next order walk
Next point P002
szEntity name P001
Scriptpoint 2
Angle 0.00000000.179665604
Next order walk
Next point P003
szEntity name P002
Scriptpoint 3
Angle 0.00000000.176462265
Next order walk
Next point P004
szEntity name P003
Scriptpoint 4
Angle 0.00000000.177701284
Next order walk
Next point P005
szEntity name P004
Scriptpoint 5
Angle 0 0 0
Next order walk
Next point P006
szEntity name P001
Pawn5
Changematerial
Convorder
Convscriptname
Hidefromradar false
Pawn type robot
scriptname robot.s
spawnorder spawn
spawnpoint P006
Spawntrigger
szEntityname Robot01
I was told that this would make a pacing robot, however all he does is sit there like a lump. Am I supposed to actuually write a script to go with it? Is this supposed to work and just doesn't like me? lol. Please help me... wait, let me guess, it teaches you how to do it right in the manual, doesn't it? I just missed it, right?
AgentArrow Home
The greater good is but a point of view...
The greater good is but a point of view...