Fixed Angled Sprites

ChromeAngelChromeAngel Join Date: 2002-01-24 Member: 14Members, NS1 Playtester, Contributor
<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?

Comments

  • blue2kblue2k Join Date: 2002-11-02 Member: 4025Members
    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.

    <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.
  • watch_me_diewatch_me_die Join Date: 2002-11-10 Member: 8107Members
    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?
  • ChromeAngelChromeAngel Join Date: 2002-01-24 Member: 14Members, NS1 Playtester, Contributor
    I was planning on using an animated sprite. That would waste a lot of my precious texture memory.
  • FamFam Diaper-Wearing Dog On A Ball Join Date: 2002-02-17 Member: 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
  • GreedoGreedo Bounty Hunter Join Date: 2002-01-24 Member: 37Members, NS1 Playtester, Contributor
    Make a particle system and check the 'face up' flag.
  • CrAcKbRoCkCrAcKbRoCk Join Date: 2002-11-22 Member: 9619Members
    You can modify the sprite files themselves also. I beleive you edit it in a hex editor or somthing like that...I'll find out more on it
  • CrAcKbRoCkCrAcKbRoCk Join Date: 2002-11-22 Member: 9619Members
    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>
  • CrashCrash Join Date: 2002-11-01 Member: 3395Members, Constellation
    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-->
Sign In or Register to comment.