model rotation

model rotation

Re: model rotation Posted by warlord on Sat Feb 14th 2004 at 4:41pm
warlord
166 posts
Posted 2004-02-14 4:41pm
warlord
member
166 posts 247 snarkmarks Registered: Sep 11th 2003 Occupation: ill show ye Location: americas
after i have gotten my models to stop crashing wc now i seem to have a problen getting them to face the right way

i have tried using the little dial thingy

i have even closed smart edit and adjusted the angles in every possible combination:

0 90 0
90 0 0
0 0 90
90 90 0
90 0 90
0 90 90
90 90 90

and none of these will make it rotate in the correct way it seems as if the code for the env_sprite is not designed to handle veritcle rotation

so even if there is no solution to this does any one else know of an entity that will place models: that wont be solid, wont bleed when shot and wont change its animation when shot

im mapping for ns by the way

id post a picture but i couldnt find my web space
Re: model rotation Posted by Vash on Sat Feb 14th 2004 at 5:09pm
Vash
1206 posts
Posted 2004-02-14 5:09pm
Vash
member
1206 posts 181 snarkmarks Registered: Feb 4th 2003 Occupation: Afraid of Spiders
Click the evn_sprite, then hit Cntrl+M
Re: model rotation Posted by warlord on Mon Feb 16th 2004 at 12:33am
warlord
166 posts
Posted 2004-02-16 12:33am
warlord
member
166 posts 247 snarkmarks Registered: Sep 11th 2003 Occupation: ill show ye Location: americas
nah tryed it and it did less

all the rails stayed exactly the same
Re: model rotation Posted by Orpheus on Mon Feb 16th 2004 at 12:45am
Orpheus
13860 posts
Posted 2004-02-16 12:45am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
call this stupid if you like, but when you wanna rotate a tank, or machine-gun, you must rotate the func_tank ent.. not the whole thing.. could models have similar things?

/crawls back under rock.
Re: model rotation Posted by Gorbachev on Mon Feb 16th 2004 at 2:23am
Gorbachev
1569 posts
Posted 2004-02-16 2:23am
1569 posts 264 snarkmarks Registered: Dec 1st 2002 Location: Vancouver, BC, Canada
I thought a sprite by definition doesn't turn by your Hammer settings...it faces the player auto-magically. So it may not have the capabilities to make a .mdl turn for whatever reason. It would probably be more reliable to use a different entity to create your model in your map.
Re: model rotation Posted by Dr Brasso on Mon Feb 16th 2004 at 2:51am
Dr Brasso
1878 posts
Posted 2004-02-16 2:51am
1878 posts 198 snarkmarks Registered: Aug 30th 2003 Occupation: cad drafter Location: Omaha,NE
you can lock the z axis in sprites, i know that, but ive never done it....i dont use models really....sorry.

Doc Brass... :dodgy:
Re: model rotation Posted by Hugh on Mon Feb 16th 2004 at 3:50am
Hugh
900 posts
Posted 2004-02-16 3:50am
Hugh
member
900 posts 207 snarkmarks Registered: Oct 25th 2003 Occupation: College Student Location: Amerika
I'm pretty sure a cycler_sprite will do that.
Re: model rotation Posted by Jinx on Mon Feb 16th 2004 at 4:49am
Jinx
874 posts
Posted 2004-02-16 4:49am
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
yeah, try with cycler_sprite or env_glow... I used one or the other in Revenant, and it worked as you would want it to.
Re: model rotation Posted by Jinx on Mon Feb 16th 2004 at 9:31pm
Jinx
874 posts
Posted 2004-02-16 9:31pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
It's env_glow that I used. Try that, it should work fine I think.

I recall trying to use cycler_sprite a while back.. but isn't that the one with the bug where the model will bleed when shot? :confused:
Re: model rotation Posted by fishy on Tue Feb 17th 2004 at 1:01am
fishy
2623 posts
Posted 2004-02-17 1:01am
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
Jinx said:
I recall trying to use cycler_sprite a while back.. but isn't that the one with the bug where the model will bleed when shot? :confused:
not a cycler_sprite, just a cycler. it bleeds yellow stuff, and moves to the models next sequence when it takes damage.
Re: model rotation Posted by omegaslayer on Tue Feb 17th 2004 at 2:30am
omegaslayer
2481 posts
Posted 2004-02-17 2:30am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Call me stupid, but I thought you couldn't rotate sprites, they turn towards you in the game, but for models, you can rotate them, just use Ctrl-M and they rotate, it helps to have WC 3.5 for model orientation, although for NS I dont think you can get the modified FGD for 3.5.
Re: model rotation Posted by warlord on Tue Feb 17th 2004 at 5:25am
warlord
166 posts
Posted 2004-02-17 5:25am
warlord
member
166 posts 247 snarkmarks Registered: Sep 11th 2003 Occupation: ill show ye Location: americas
that did it the glow

thanks guys
Re: model rotation Posted by Gorbachev on Tue Feb 17th 2004 at 5:34am
Gorbachev
1569 posts
Posted 2004-02-17 5:34am
1569 posts 264 snarkmarks Registered: Dec 1st 2002 Location: Vancouver, BC, Canada
And I ask why most mods haven't done the smart thing like DoD and added the magical env_model. It's one of the good things in their coding...
Re: model rotation Posted by mazemaster on Tue Feb 17th 2004 at 6:01am
mazemaster
890 posts
Posted 2004-02-17 6:01am
890 posts 438 snarkmarks Registered: Feb 12th 2002
If you want the sprite to be locked in place always facing a certain
direction, do the following. First you have to lock the sprite. Use the
program spritemage:

http://www.csmapcentral.com/~daddycool/SpriteMage.zip

Then you go enter the information in the "angles" key (Pitch Yaw Roll),
like you have done. HOWEVER, you must not let any of the values be 0 or
else HL will render it facing the wrong way. Everywhere there is a 0,
change it to 0.1 .

Basically

87 50 0

should be

87 50 0.1
Re: model rotation Posted by Jinx on Tue Feb 17th 2004 at 7:37am
Jinx
874 posts
Posted 2004-02-17 7:37am
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
omegaslayer4777 said:
Call me stupid, but I thought you couldn't rotate sprites, they turn towards you in the game, but for models, you can rotate them, just use Ctrl-M and they rotate, it helps to have WC 3.5 for model orientation, although for NS I dont think you can get the modified FGD for 3.5.
you can also use sprite entities to stick a 3d model (.mdl not .spr) in a map. that's what we are talking about.

I just use a hex editor to alter sprites, but spritemage is fine, too. I have an assload of custom sprites/lense flares if anyone wants them. And I made side-view versions of some default HL sprites, too.
Re: model rotation Posted by Dr Brasso on Tue Feb 17th 2004 at 8:46am
Dr Brasso
1878 posts
Posted 2004-02-17 8:46am
1878 posts 198 snarkmarks Registered: Aug 30th 2003 Occupation: cad drafter Location: Omaha,NE
some of those sprite in yer colection are pretty damn awesome jinxy....you have a good knack man...gj.. :wink:

Doc B... :dodgy:
Re: model rotation Posted by Jinx on Tue Feb 17th 2004 at 6:53pm
Jinx
874 posts
Posted 2004-02-17 6:53pm
Jinx
member
874 posts 692 snarkmarks Registered: Nov 27th 2002 Location: Ohio
thanks brass. I thought I would try my hand at getting some sprites and sound wavs up for people since there's a real lack of add-ons in those areas (whereas there are tons of texture wads etc.)