flag help

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
7th Es Cyborg
First Lieutenant
Posts: 189
Joined: Fri Dec 13, 2002 5:00 pm
Location: PA
Contact:

flag help

Post by 7th Es Cyborg »

is there a way to rotate an attached model:

Image

I can change the vectors of it and shift it around from the tag point, but i can't flip it vertical.

here's the script line:

local.player attachmodel "models/static/static_americanflag.tik" "Bip01 Spine" "0.55"


***edit***

I only know the spine and hand tag points, maybe a different spot will fix it. The original script used the left hand, but when ever anyone with a rifle reloaded ( the weapon shifts hands for reloads ) they would lose their weapon.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Bip01

Post by tltrude »

Is'nt Bip01 just for that model? Have you tryed "tag_back" or "tag_spine"? Also try more numbers at the end. It may use pitch, yaw, and roll. Or it may be using X, Y, Z from the center of the model.
Tom Trude,

Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

wouldn't it be easier to just bind / glue to the player then you can use offset values to get it where you want?
hope this helps, prob not cos it's all foreign 2 me :-/
7th Es Cyborg
First Lieutenant
Posts: 189
Joined: Fri Dec 13, 2002 5:00 pm
Location: PA
Contact:

Post by 7th Es Cyborg »

I completely stumbled on this while randomly clicking on files out of frustration - a list of attach points for the players ( if someone else already knows about these - sry it's new to me )



Bip01 pos
Bip01 rot
Bip01 Footsteps pos
Bip01 Footsteps rot
ORIGIN pos
ORIGIN rot
Bip01 Pelvis pos
Bip01 Pelvis rot
Bip01 Spine pos
Bip01 Spine rot
Bip01 Spine1 pos
Bip01 Spine1 rot
Bip01 Spine2 pos
Bip01 Spine2 rot
Bip01 Neck pos
Bip01 Neck rot
Bip01 Head pos
Bip01 Head rot
Dummy21 pos
Dummy21 rot
eyes bone pos
eyes bone rot
Bip01 L Clavicle pos
Bip01 L Clavicle rot
Bip01 L UpperArm pos
Bip01 L UpperArm rot
Bip01 L Forearm pos
Bip01 L Forearm rot
Bip01 L Hand pos
Bip01 L Hand rot
Bip01 L Finger0 pos
Bip01 L Finger0 rot
Bip01 L Finger01 pos
Bip01 L Finger01 rot
Bip01 L Finger02 pos
Bip01 L Finger02 rot
Dummy06 pos
Dummy06 rot
Bip01 L Finger1 pos
Bip01 L Finger1 rot
Bip01 L Finger11 pos
Bip01 L Finger11 rot
Bip01 L Finger12 pos
Bip01 L Finger12 rot
Dummy07 pos
Dummy07 rot
Bip01 L Finger2 pos
Bip01 L Finger2 rot
Bip01 L Finger21 pos
Bip01 L Finger21 rot
Bip01 L Finger22 pos
Bip01 L Finger22 rot
Dummy08 pos
Dummy08 rot
Bip01 L Finger3 pos
Bip01 L Finger3 rot
Bip01 L Finger31 pos
Bip01 L Finger31 rot
Bip01 L Finger32 pos
Bip01 L Finger32 rot
Dummy09 pos
Dummy09 rot
Bip01 L Finger4 pos
Bip01 L Finger4 rot
Bip01 L Finger41 pos
Bip01 L Finger41 rot
Bip01 L Finger42 pos
Bip01 L Finger42 rot
Dummy10 pos
Dummy10 rot
tag_weapon_left pos
tag_weapon_left rot
Dummy22 pos
Dummy22 rot
Dummy12 pos
Dummy12 rot
Bip01 R Clavicle pos
Bip01 R Clavicle rot
Bip01 R UpperArm pos
Bip01 R UpperArm rot
Bip01 R Forearm pos
Bip01 R Forearm rot
Bip01 R Hand pos
Bip01 R Hand rot
Bip01 R Finger0 pos
Bip01 R Finger0 rot
Bip01 R Finger01 pos
Bip01 R Finger01 rot
Bip01 R Finger02 pos
Bip01 R Finger02 rot
Dummy01 pos
Dummy01 rot
Bip01 R Finger1 pos
Bip01 R Finger1 rot
Bip01 R Finger11 pos
Bip01 R Finger11 rot
Bip01 R Finger12 pos
Bip01 R Finger12 rot
Dummy02 pos
Dummy02 rot
Bip01 R Finger2 pos
Bip01 R Finger2 rot
Bip01 R Finger21 pos
Bip01 R Finger21 rot
Bip01 R Finger22 pos
Bip01 R Finger22 rot
Dummy03 pos
Dummy03 rot
Bip01 R Finger3 pos
Bip01 R Finger3 rot
Bip01 R Finger31 pos
Bip01 R Finger31 rot
Bip01 R Finger32 pos
Bip01 R Finger32 rot
Dummy04 pos
Dummy04 rot
Bip01 R Finger4 pos
Bip01 R Finger4 rot
Bip01 R Finger41 pos
Bip01 R Finger41 rot
Bip01 R Finger42 pos
Bip01 R Finger42 rot
Dummy05 pos
Dummy05 rot
tag_weapon_right pos
tag_weapon_right rot
Dummy27 pos
Dummy27 rot
Dummy28 pos
Dummy28 rot
Bip01 L Thigh rotFK
Bip01 L Calf rotFK
Bip01 L Foot pos
Bip01 L Foot rot
Bip01 L Foot rotFK
Bip01 L Toe0 pos
Bip01 L Toe0 rot
Dummy16 pos
Dummy16 rot
Dummy26 pos
Dummy26 rot
Dummy25 pos
Dummy25 rot
Bip01 R Thigh rotFK
Bip01 R Calf rotFK
Bip01 R Foot pos
Bip01 R Foot rot
Bip01 R Foot rotFK
Bip01 R Toe0 pos
Bip01 R Toe0 rot
Dummy11 pos
Dummy11 rot
Dummy32 pos
Dummy32 rot
Dummy31 pos
Dummy31 rot
Dummy24 pos
Dummy24 rot
Dummy23 pos
Dummy23 rot
Dummy29 pos
Dummy29 rot
Dummy30 pos
Dummy30 rot
Box02 pos
Box02 rot
Post Reply