enemy attacks the opposite way round.

Topics regarding Scripting with Reality Factory
Post Reply
dodger
Posts: 74
Joined: Sat Sep 23, 2006 10:16 pm
Location: England. u.k
Contact:

enemy attacks the opposite way round.

Post by dodger »

Hi,
I am useing the robot.s script for an enemy pawn
the problem is the pawn attacks the opposite way around
instead of going towards the player it turns away to attack... Why?

Dodger: :?
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Post by Juutis »

Try changing the pawn rotation. Open pawn.ini and change the 'actorrotation' of the pawn you are using. There should be three values, X, Y and Z rotation.
You'll need to change the Y rotation, which is the middle value. Try different numbers, like 0, 90, 180 or 270. The rotation depends on the model. For example for a model made with MilkShape it should be 180.
Pain is only psychological.
dodger
Posts: 74
Joined: Sat Sep 23, 2006 10:16 pm
Location: England. u.k
Contact:

re:re

Post by dodger »

Hi Juutis,
Y was set to 90 so i change it to 180
and it worked perfectly : :D :)

thank you very much for your Help :
Dodger.
Post Reply