Ambrosia Garden Archive

    • How does one make a sprite큦 engine glow when the player presses "accelerate"?

      Like: when it is coasting, no engine glow, but when the up arrow button is hit, it glows.

      Anybody know?

      ------------------
      ATTs Official Newb.
      Dammit. (url="http://"mailto:lotsofblackflags@yahoo.com")mailto:lotsofblackflags@yahoo.com(/url)lotsofblackflags@yahoo.com

    • Quote

      Originally posted by lotsofblackflags:
      **How does one make a sprite큦 engine glow when the player presses "accelerate"?

      Like: when it is coasting, no engine glow, but when the up arrow button is hit, it glows.

      Anybody know?

      **

      Ummm, by making the ship have inertia?
      This is the standard behavior for non-inertialess ships.
      -Az

      ------------------
      It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)
      Stuffit is a piece of .sit.

    • Quote

      Originally posted by lotsofblackflags:
      **How does one make a sprite큦 engine glow when the player presses "accelerate"?

      Like: when it is coasting, no engine glow, but when the up arrow button is hit, it glows.
      **

      You don't do anything special. It's how all normal physics ships behave.

      Matrix

      ------------------
      "Interestingly, according to modern astronomers, space is finite. This is a very comforting thought -- particularly for people who can never remember where they have left things." - Woody Allen

      (url="http://"http://htf.mondominishows.com/valentine/main.asp?seed=7375&serial;=214877")The funniest valentine I've ever gotten.(/url)

    • Ships with the inertialess flag (0x0040 in Flags2 of the ship resource) always display the engine glow while the ship is moving, regardless of acceleration. Ships without the inertialess flag (normal ships) only show the engine glow when accelerating (and maybe while turning, I'm not sure).

      ------------------
      Get (url="http://"http://www.aznt.com/EVN/EVNEW")EVNEW(/url) - the free, open-source EVN plugin Editor for Windows!

    • Regardless of all three of the above comments, this is done by creating a sprite, and linking to it in your ship's shan resource. It is quite straightforward, and is done just as any other ship glow (engine, shield, lights, etc). Look at Nova's shan resources for several examples.

      ~ SpacePirate

      ------------------
      Eat blazing electric death!

    • Hmmm...
      Okay. I will try, but EVNEW doesn't handle sprites (or any images) too well

      ------------------
      ATTs Official Newb.
      Dammit. (url="http://"mailto:lotsofblackflags@yahoo.com")mailto:lotsofblackflags@yahoo.com(/url)lotsofblackflags@yahoo.com

    • Quote

      Originally posted by lotsofblackflags:
      **Hmmm...
      Okay. I will try, but EVNEW doesn't handle sprites (or any images) too well

      **

      I have a solution: buy a mac. 😄

      ------------------
      (url="http://"http://fenris.ma.cx/forum")Fenris(/url)

    • Quote

      but EVNEW doesn't handle sprites (or any images) too well...

      Could you be more specific? Any bug reports should be sent to Apronsef; EVNEW will never handle sprites well if its author doesn't know what's wrong.

      ------------------
      Retribution: An Upcoming Plug-in for EVN.
      Visit the (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=20&SUBMIT;=Go")Chronicles(/url) today! Be sure to read the short story ' (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/newsdisplay.cgi?action=topics &number;=20&forum;=*EV/EVO+chronicles&DaysPrune;=100&article;=000262&startpoint;=")Fiery Descent(/url)'!
      (url="http://"http://www.cwssoftware.com")Sephil Saga(/url): An upcoming TC, visit the web page today.| | | Both the best and the worst plug-in editor for Windows! (url="http://"http://www.aznt.com/EVN/EVNEW")EVNEW(/url)!

    • Quote

      Originally posted by lotsofblackflags:
      **Hmmm...
      Okay. I will try, but EVNEW doesn't handle sprites (or any images) too well

      **

      It doesnt?
      Wanna explain exactly what's wrong?
      -Az

      ------------------
      It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)
      Stuffit is a piece of .sit.

    • Quote

      Originally posted by Aprosenf:
      (and maybe while turning, I'm not sure)

      Bible excerpt:

      Quote

      Flags:
      0x0001 - Extra frames in base image are used to display banking. The first set of sprites is used for level flight, the second for banking left, and the third for banking right.

      0x0002 - Extra frames in base image are used for animated ship parts such as for folding/unfolding wings. The sprites will be cycled upon landing, taking off, and entering/exiting hyperspace.

      0x0004 - The second set of frames in the base image are displayed when the ship is not carrying any of its KeyCarried type ships onboard.

      0x0008 - Extra frames in base image are shown in sequence, just like the sprites in the alternating image. The AnimDelay field has the same effect in this case.

      0x0010 - Stop the ships' animations when it is disabled

      0x0020 - Hide alt sprites when the ship is disabled

      0x0040 - Hide running light sprites when the ship is disabled

      0x0080 - Ship unfolds when firing weapons, and folds back up when not firing.

      0x0100 - Adjust ship's visual presentation to correct for the skew caused by graphics that are rendered highly off-axis from vertical. This uses the ship's UpCompressY and DnCompressY fields to interpolate the proper sprite frame to display based on the ship's actual heading. Use this with caution, as it tends to cause very jerky ship rotation and is mostly included as a curiosity.

      Note that the first four flags in this field are mutually exclusive - i.e. you can have a ship that banks, unfolds, changes appearance when it is carrying a certain other ship type, or animates in sequence, but these effects can't be combined. The only exception is that having both flags 0x0001 and 0x0002 set is treated specially - it results in a ship whose extra frames are used for banking and which always displays its engine glow when it is turning, whether or not it is actually accelerating. (This something that got thrown in at some point when I realized that it would be necessary to have in order to replicate the behavior of a certain type of ship from a certain TV show).

      Emphasis is mine, as is reformatting for better web compatibility.

      ------------------
      The programmer's code of entomology: there's always another bug.
      Windows users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)
      (url="http://"http://www.cwssoftware.com")Sephil Saga Website(/url)

      (This message has been edited by orcaloverbri9 (edited 01-16-2004).)

    • Quote

      Originally posted by orcaloverbri9:
      **Emphasis is mine, as is reformatting for better web compatibility.

      **

      Hmmmm. Anyone know what ship/show Matt was reffering to?
      -Az

      ------------------
      It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)
      Stuffit is a piece of .sit.

    • Quote

      Originally posted by Azratax2:
      Hmmmm. Anyone know what ship/show Matt was reffering to?
      -Az(/B)

      I was wondering that myself.

      pipeline? 🙂

      ------------------
      The programmer's code of entomology: there's always another bug.
      Windows users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)
      (url="http://"http://www.cwssoftware.com")Sephil Saga Website(/url)

    • What exactly do you have rendered for Glows. I did it with EVNew and had no difficulries making that work. If you can give some details maybe we can help you work it out.

      ------------------
      Nothing like the smell of burnt rubber in the morning. - Now let's see some Tiresmoke!
      (url="http://"http://www.rsdg.net")www.rsdg.net(/url)

    • Okay. Well, as for images (rleD, rle8), EVNEW didn't handle them very well whe nI tried. then again, I have changed computers since then (the other one was heavily virused, and that may have been screwing things up). I will try this again, though

      ------------------
      ATTs Official Newb.
      Dammit. (url="http://"mailto:lotsofblackflags@yahoo.com")mailto:lotsofblackflags@yahoo.com(/url)lotsofblackflags@yahoo.com

    • What OS are you using. I had a problem with Win 2000 as it related to a bad user account. While the user was an admin account it was curropt and did not allow the creation if the temp fles within that account. I changed to another admin account and things suddenly started to work. If that isn't the problem then I really recoommend getting in touch with Aprosenf as he may be able to help you further.

      ------------------
      Nothing like the smell of burnt rubber in the morning. - Now let's see some Tiresmoke!
      (url="http://"http://www.rsdg.net")www.rsdg.net(/url)

    • Well, I am on the Unspeakable:

      Windows ME.
      I still need to try to import the graphics, though. It is 1 in the morning, so I am going to bed. I will do it tomorrow.

      ------------------
      ATTs Official Newb, And Znorty's official Sidekick. "All hail fearless leader."
      Dammit. (url="http://"mailto:lotsofblackflags@yahoo.com")mailto:lotsofblackflags@yahoo.com(/url)lotsofblackflags@yahoo.com