Ambrosia Garden Archive
    • Unwanted weapon trails


      I'm trying to make a plugin that adds the Maelstrom ship and shenobi ships to EV/O, It also is supposed to add their guns. But when I fire the blue plasma cannon It leaves a trail of little shots that arent really there. I can't figure out what is wrong. I have a guess though. The shot pict is square, so to make its mask all I did was make a white square of the same size as the shot spin. Could that be a problem? if so how do I fix the problem?

      ------------------
      Cmon people, the (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=20&SUBMIT;=Go")Chronicles(/url) are worth looking at.

    • Could you post a screenshot? It has nothing to do with squares, I assure you.

      Is it a multiple of 8 x a multiple of 8?
      ------------------
      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)
      (url="http://"http://www.evula.org/infernostudios/search.html")Add-ons Search Engine(/url)

      (This message has been edited by orcaloverbri9 (edited 03-23-2004).)

    • Quote

      Originally posted by Captain Phillips:
      **I'm trying to make a plugin that adds the Maelstrom ship and shenobi ships to EV/O, It also is supposed to add their guns. But when I fire the blue plasma cannon It leaves a trail of little shots that arent really there. I can't figure out what is wrong. I have a guess though. The shot pict is square, so to make its mask all I did was make a white square of the same size as the shot spin. Could that be a problem? if so how do I fix the problem?

      **

      So, the mask is square and the sprite is square?
      Or is it the mask is square and the sprite isnt?

      If its the first one, is the mask purely black and white (white where the shot is). If the latter, then you need to do this:
      If you have photoshop:

      1. copy and paste the weapon sprite into a new document
      2. Use the magic want with a tolorance of 0 and anti-alising off
      3. Click on the black part of the sprite
      4. find the inverse menu and inverse the selection
      5. set the background to white and press delete

      Hope that helps

      ------------------
      Links:
      (url="http://"http://forum.cjb.net:81/cgi-bin/forum.cgi?forum=unrealslair")Unreals Fourms(/url) (url="http://"http://www.unrealslair.cjb.net/")Unreals Lair(/url) (url="http://"mailto:unrealslair@unrealslair.cjb.net")mailto:unrealslair@unrealslair.cjb.net(/url)unrealslair@unrealslair.cjb.net

    • Quote

      Originally posted by The Cheat:
      **So, the mask is square and the sprite is square?
      Or is it the mask is square and the sprite isnt?

      If its the first one, is the mask purely black and white (white where the shot is). If the latter, then you need to do this:
      If you have photoshop:

      1. copy and paste the weapon sprite into a new document
      2. Use the magic want with a tolorance of 0 and anti-alising off
      3. Click on the black part of the sprite
      4. find the inverse menu and inverse the selection
      5. set the background to white and press delete

      Hope that helps

      **

      this is maybe gonna sound wierd.

      I opened the Icn for the Maelstrom sprite. To my surprise it wasn't ball shaped. It was a four by four pixel square. so I copyed this in photoshop, made my spin be 24 by 24 and pasted this shot in 36 times with no black in between. Therefore the mask was a white square of 24 by 24.
      could that cause a problem?

      ------------------
      Cmon people, the (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=20&SUBMIT;=Go")Chronicles(/url) are worth looking at.

    • You sure there isn't any black at the corners?I've played around with graphics in that kind of way before, and if the mask is off at all weird things happen.

      ------------------
      I am ME hear me roar!
      Meeoowwwww

    • Quote

      Originally posted by Captain Phillips:
      **this is maybe gonna sound wierd.

      I opened the Icn for the Maelstrom sprite. To my surprise it wasn't ball shaped. It was a four by four pixel square. so I copyed this in photoshop, made my spin be 24 by 24 and pasted this shot in 36 times with no black in between. Therefore the mask was a white square of 24 by 24.
      could that cause a problem?

      **

      Yes i could. Make each sprite 26X26. with black on the outside.

      ------------------
      Links:
      (url="http://"http://forum.cjb.net:81/cgi-bin/forum.cgi?forum=unrealslair")Unreals Fourms(/url) (url="http://"http://www.unrealslair.cjb.net/")Unreals Lair(/url) (url="http://"mailto:unrealslair@unrealslair.cjb.net")mailto:unrealslair@unrealslair.cjb.net(/url)unrealslair@unrealslair.cjb.net

    • Quote

      Originally posted by The Cheat:
      **Yes i could. Make each sprite 26X26. with black on the outside.

      **

      Hmmm, I'll try that. I thought maybe making each shot be six by six with black edging, so therould be black between every pict would fix the problem, but your idea is much more easy.

      ------------------
      Cmon people, the (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=20&SUBMIT;=Go")Chronicles(/url) are worth looking at.