<div class="IPBDescription">How to?</div> I want to have a spite that is fixed parallel to the floor. I have tried setting the angles property, but it does not seem to be restricting the sprite. What am I doing wrong?
nothing at all, sprites are 2d in nature and will always turn to face the player so they appear "whole" gunman messed around with the sprite code with some interesting effects by constraining the sprites access's.
there is a utility to lock the z axis on a sprite though, so it will remain stationary and not turn to face you, but as far as i know there is no way of making a sprite lay "flat" without added code.
its in german though so you could translate the options , i did, and not very well either <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
dadurch dreht sich das sprite im kreise kann aber nicht kippen thus the sprite turns in circles cannot however not tilt
zumindest von einer seite dreht sich das sprite beim naherkommen weg at least from a side the sprite turns with closer away
altbekannte standardeinstellung, das sprite bewegt sich mit dem spieler long-known standard attitude, the sprite moves with the player
das sprite steht fest im raum the sprite is located firmly in the area
my german isnt great but you get the general idea.
if you want it fixed parallel to the floor couldn't you just use a func_wall textured on all the other sides with NULL and change the sprite into a texture?
FamDiaper-Wearing Dog On A BallJoin Date: 2002-02-17Member: 222Members, NS1 Playtester, Contributor
Not direct translation, but easier to understand.
dadurch dreht sich das sprite im kreise kann aber nicht kippen - The sprite turns to face the player, but stays upright.
zumindest von einer seite dreht sich das sprite beim naherkommen weg - No idea, my German/HL knowledge isnt this good. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
altbekannte standardeinstellung, das sprite bewegt sich mit dem spieler - The sprite faces the player at all times.
das sprite steht fest im raum - The sprite holds its angle property
Ok, here that hex stuff I've found. You can change how HL reders a sprite by editing the sprite file, with out having to use env_partilce ent. Check out the link <a href='http://www.cryotank.net/maps/tutorials/sprites1.html' target='_blank'>Customizing sprites</a>
wrong wrong wrong. You use a program called sprite fixer, which you can get <a href='http://www.cszone.co.uk/files/tools/SpriteFixer.exe' target='_blank'>here</a>.
When you enter the PYR values, they must all have a value or it won't work properly.
ie. a PYR setting of '0 90 0' doesn't work (correctly). It needs to be '0.1 90 0.1'
Have fun <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' valign='absmiddle' alt='siege.gif'><!--endemo-->
Comments
there is a utility to lock the z axis on a sprite though, so it will remain stationary and not turn to face you, but as far as i know there is no way of making a sprite lay "flat" without added code.
<a href='http://www.mapscene.de/cgi-bin/download.cgi?files/andere/SpriteMage.zip' target='_blank'>http://www.mapscene.de/cgi-bin/download.cg.../SpriteMage.zip</a>
its in german though so you could translate the options , i did, and not very well either <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
dadurch dreht sich das sprite im kreise kann aber nicht kippen
thus the sprite turns in circles cannot however not tilt
zumindest von einer seite dreht sich das sprite beim naherkommen weg
at least from a side the sprite turns with closer away
altbekannte standardeinstellung, das sprite bewegt sich mit dem spieler
long-known standard attitude, the sprite moves with the player
das sprite steht fest im raum
the sprite is located firmly in the area
my german isnt great but you get the general idea.
dadurch dreht sich das sprite im kreise kann aber nicht kippen
- The sprite turns to face the player, but stays upright.
zumindest von einer seite dreht sich das sprite beim naherkommen weg
- No idea, my German/HL knowledge isnt this good. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
altbekannte standardeinstellung, das sprite bewegt sich mit dem spieler
- The sprite faces the player at all times.
das sprite steht fest im raum
- The sprite holds its angle property
<a href='http://www.cryotank.net/maps/tutorials/sprites1.html' target='_blank'>Customizing sprites</a>
When you enter the PYR values, they must all have a value or it won't work properly.
ie. a PYR setting of '0 90 0' doesn't work (correctly). It needs to be '0.1 90 0.1'
Have fun <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' valign='absmiddle' alt='siege.gif'><!--endemo-->