Positioning script objects

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
HUNTER--{A}--
Corporal
Posts: 25
Joined: Sun Mar 09, 2003 2:19 am

Positioning script objects

Post by HUNTER--{A}-- »

I am having a problem getting the uboat to point in the direction that I want. I am calling it as a script origin (it is going to be the obj to blow up) and have changed the angle settings in the Entity window. I have tried rotating it in the 2D view. It looks fine in radient, but once compiled it points a different way in the game.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Set 'angles' instead of 'angle'.

'Angles' is a vector of pitch, yaw and roll, so if you don't want to modify pitch and roll, and originally had an angle of '90', set key / value:

angles / 0 90 0
Image
HUNTER--{A}--
Corporal
Posts: 25
Joined: Sun Mar 09, 2003 2:19 am

Post by HUNTER--{A}-- »

Thanks that helped :lol: NEW problem: Once I rotate the sub it will no longer allow the bomb to be set. Blowing up the sub is the OBJ. ( I have the same problem with the Flak88) :(
Ramah Palmer
Warrant Officer
Posts: 131
Joined: Sun May 25, 2003 10:13 am
Location: Nottinghamshire: UK

Post by Ramah Palmer »

Hey, I know this is an oldish topic, but did you ever figure out how to do this?
I've got the same problem. Script object facing the wrong way. Then I found this and lo, now it faces the right way but I can no longer set the bomb.
What the hell gives?! Argh!
Post Reply