+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Glow Brick/Flare

  1. #1
    Wirererer Uocjat's Avatar
    Join Date
    Aug 2007
    Location
    DK
    Posts
    122

    Default




    Was messing around with the map "rp_cscdesert_v2-1" where i found they had added a lovely new compound with an extreamly dark and spooky tunnel (yes its been ages since i last messed around on this map)
    so i dicided i needed some light cause well... flashlight is just not very effective...

    So i started messing around and came up with this little thing its quite simple but turned out to be alot of fun and since i havent seen anything like it anywhere i figured it couldnt hurt to throw it up here

    just in case you skipped reading the headline i am talking about a Glowbrick / Flare featureing:
    - Motion trigger (shake it / thorw it / punt it to turn it on)
    - 5 min life span
    - 3 second delay from activated to light (cause everyone loves delays right?)
    - Slowly fadeing glow

    Few Pics:
    Diagram
    Not so neat wireing

    Edit:
    gee really shouldnt do stuff like this when im dead tired.. forgot to leave you with the expression code *doh* well here it is:


    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>N@Glow Brick
    I@Time Time2 X Y Z
    O@Out Delay Glow Light Xo Yo Zo On
    Time > 0 & Time < 300 -> Light = 1;
    Time <= 0 | Time > 300 -> Out = 0 Light = 0;
    On == 1 | Time2 > 0 -> Delay = 1;
    On == 0 & Time2 >= 3 -> Delay = 0 Out = 1;
    Light == 1 -> Glow = 300 - Time;
    Light == 0 -> Glow = 0;
    Glow > 255 -> Glow = 255;
    X >= 800 | X <= -800-> Xo = 1;
    X < 800 & X > -800 -> Xo = 0;
    Y >= 800 | Y <= -800 -> Yo = 1;
    Y < 800 & Y > -800 -> Yo = 0;
    Z >= 800 | Z <= -800 -> Zo = 1;
    Z < 800 & Z > -800 -> Zo = 0;
    Xo == 1 | Yo == 1 | Zo == 1 ->On = 1;
    Xo == 0 & Yo == 0 & Zo == 0 -> On = 0;
    </div>
    Im not entirely sure what what pratical use this would have if any apart from this one dark spooky tunnel but meh its a fun little gizmo

    and finally i&#39;d once again like to thank -orb- for his great tutorials and also the Wiremod team for giveing us yet another excuse not to do our homework

    and with that say have a nice day one and all and happy wireing
    <(^^<) /\(^^)/\ (>^^)> <(^^)>

  2. #2
    Wirererer SamPerson12345's Avatar
    Join Date
    Jun 2007
    Posts
    277

    Default

    so... pretty...
    I code best at 3 A.M.

  3. #3
    Wire Amateur tlayte's Avatar
    Join Date
    Feb 2007
    Posts
    34

    Default

    Looks cool.

    Nice to see something that doesn&#39;t fly or kill people

  4. #4
    Wire Amateur Nightrazr's Avatar
    Join Date
    Apr 2007
    Posts
    39

    Default

    Looks cool.

    Nice to see something that doesn&#39;t fly or kill people [/b]
    Fling it across the map and there&#39;s a good chance it&#39;ll kill someone

  5. #5
    Wire Amateur Narc's Avatar
    Join Date
    Sep 2007
    Posts
    49

    Default

    Fling it across the map and there&#39;s a good chance it&#39;ll kill someone [/b]
    I was just thinking that, too!

  6. #6
    Wirererer Uocjat's Avatar
    Join Date
    Aug 2007
    Location
    DK
    Posts
    122

    Default

    oh dear i should have known people would find a way to this into a weapon
    alternately you could replace the light with a 0 force smoke effect thruster to turn it into a smoke granade
    <(^^<) /\(^^)/\ (>^^)> <(^^)>

  7. #7
    Wire Amateur dralloss's Avatar
    Join Date
    Jul 2007
    Location
    Kansas
    Posts
    41

    Default

    That pretty awesome, but be careful, you could take someone&#39;s eye out!

  8. #8
    Wire Noob Ha1f's Avatar
    Join Date
    Jun 2007
    Posts
    22

    Default

    I&#39;m a slight minge to Wiremod.
    But couldn&#39;t you just have an LED?
    And if you wanted to to activate on movement, use a speedometer, if the speed is more than 20, it turns on, with a timer of 5 minutes (or 300 seconds) until it turns off again?
    Or did you make it more elaborate?
    (I assume the latter)

  9. #9
    Wirererer Uocjat's Avatar
    Join Date
    Aug 2007
    Location
    DK
    Posts
    122

    Default

    what you described is pretty much what what it does only with an expression gate instead of a bunch of chips

    also as always when i make stuff like this i tend to add stuff that isnt really needed but has a fun/cool effect in this case the light doesnt stay at 255 constantly and then go puff but fades slowly
    - you wont really notice this if you just stand looking at it for five mins untill the very end where it starts fadeing more rapidly for some reason
    but if you make one turn it on and then wait a min or two and then turn on another you can clearly see the diffreance

    as for the LED that would have been great if you could use the model from it since the siren model is quite bulky
    but as far as i know LEDs are only useable as indicators which doesnt actually light up they just change color with out emitting any glow

    hope that answered your questions =)
    <(^^<) /\(^^)/\ (>^^)> <(^^)>

  10. #10
    Wire Sofaking Azrael's Avatar
    Join Date
    Aug 2007
    Posts
    1,946

    Default

    All your arrows are backwards on the diagram. It should be output > input, not vice versa.

+ Reply to Thread
Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots