Tremulous Forum

Mods => Modding Center => Topic started by: Shogan on June 16, 2011, 11:34:02 pm

Title: Position of Models
Post by: Shogan on June 16, 2011, 11:34:02 pm
Where would the position of models be located in the source code? My rifle model is too far out left.

Thanks,
Shogan
Title: Re: Position of Models
Post by: vcxzet on June 16, 2011, 11:37:40 pm
weapons are attached to tags
you should position the tag(dunno the name it is tag_something IIRC) to the handle
Title: Re: Position of Models
Post by: Shogan on June 16, 2011, 11:43:26 pm
Do you know what file its located in?
Title: Re: Position of Models
Post by: vcxzet on June 17, 2011, 12:09:33 am
what are you trying to do?
did you make a new weapon model?
or
are you trying to reposition an existing model?
Title: Re: Position of Models
Post by: Shogan on June 17, 2011, 12:18:01 am
what are you trying to do?
did you make a new weapon model?
or
are you trying to reposition an existing model?


I'm  making a new weapon model and replacing an existing model (rifle). http://img64.imageshack.us/img64/1029/trem20110616191417.png
Title: Re: Position of Models
Post by: Haraldx on June 17, 2011, 11:19:42 am
[offtopic]Is that SCAR-H? Nice model you got there.[/offtopic]
Title: Re: Position of Models
Post by: Shogan on June 17, 2011, 01:46:26 pm
[offtopic]Is that SCAR-H? Nice model you got there.[/offtopic]

Wasn't intending on it to be a SCAR-H but if you want you can call it one. *WITH HOLOGRAPHIC SCOPE* I had to recompile the Tremulous Client to get it to work.
Title: Re: Position of Models
Post by: David on June 17, 2011, 03:55:27 pm
Move the model relative to it's origin?

And if you had to recompile your client, it's not going to work for anyone else.
Title: Re: Position of Models
Post by: Shogan on June 17, 2011, 07:52:49 pm
Thanks, with what you said in Blender I changed to edit mode and moved it a reasonable distance from the center point and got it working. Thank You for all your help. I'll release a S.S. soon.
Title: Re: Position of Models
Post by: Shogan on June 18, 2011, 07:05:16 pm
Sorry for bump. I'm stuck, I have multiple models and I want them to be drawn at the same time. What would I add into the cfg to draw multiple models?
Title: Re: Position of Models
Post by: F50 on June 19, 2011, 09:24:57 pm
And if you had to recompile your client, it's not going to work for anyone else.

That can be solved fairly easily I think.
Title: Re: Position of Models
Post by: ULTRA Random ViruS on July 03, 2011, 05:18:33 pm
The picture doesn't look too bad that way...
_____________________________________________

Just becacuse it is related, i was thinking Tremulous should have a 1.5x zoom on most weapons including rifle, where the first person view changes slightly so you actually view through the scope?
Title: Re: Position of Models
Post by: swamp-cecil on July 05, 2011, 12:42:07 pm
Just becacuse it is related, i was thinking Tremulous should have a 1.5x zoom on most weapons including rifle, where the first person view changes slightly so you actually view through the scope?

Sone servers have zoom like the KoRx Mdriver and most weapons in the zombie mod.
Since the rifle and other guns don't have a secondary attack, it may seem cool to add an ADS for rifle, lasgun and such.