Make smoke thicker?

Discussion in 'Plugin Development' started by Specops343, Jul 28, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Specops343

    Is it possible to make the effect smoke thicker, so its more of a screen? Any ideas on code to do this?
     
  2. Offline

    DrBowe

    You can always play the effect multiple times at SLIGHTLY different intervals, no?
    This is just completely off the top of my head...but:
    Code:java
    1.  
    2. //playing a thick line of smoke across 5 blocks
    3. for(int i = 0; i<50; i++){
    4. <world>.playEffect(<location>.add((double)i/10, 0, 0), Effect.SMOKE, 1);
    5. }
    6.  

    So that it would fire off 50 smoke effects down a line of 5 blocks...or something like that?
     
  3. Offline

    Shamebot

    Dunno if it helps but you can have a look on my Smoke class from my Rocket plugin.
     
  4. Offline

    nisovin

    Unfortunately, effects only supports integer location values, so this won't work as well as you might hope.
     
  5. Offline

    DrBowe

    @nisovin
    Bummer.
    Thanks for clearing that up
     
Thread Status:
Not open for further replies.

Share This Page