HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom Lights - Official Version

08-14-2003, 07:34 PM#46
KDEWolf
Well there are two way to do it. You can either attach the model file to a part of the model you want or use the unit technique and via triggering you get the facing point of the unit, and move the lights with a polar offset (a function with facing point + angle in that case, since I did use two lights there.). I can post the triggers here if you want to (you can just open the map also and see it by yourself).
08-15-2003, 06:18 AM#47
Pheonix-IV
could u post the triggers? i'm not very good with triggers and i wouldnt mind a discription.
08-15-2003, 05:30 PM#48
KDEWolf
Code:
Move Dynamic Lights
    Events
        Time - Every 0.10 seconds of game time
    Conditions
    Actions
        Unit - Move WhiteLight 0002 <gen> instantly to ((Position of Marine 0001 <gen>) offset by 300.00 towards ((Facing of Marine 0001 <gen>) + 20.00) degrees), facing (Position of (Triggering unit))
        Unit - Move WhiteLight 0006 <gen> instantly to ((Position of Marine 0001 <gen>) offset by 300.00 towards ((Facing of Marine 0001 <gen>) - 20.00) degrees), facing (Position of (Triggering unit))
        Unit - Move WhiteLight 0003 <gen> instantly to ((Position of Marine 0001 <gen>) offset by 200.00 towards ((Facing of Marine 0001 <gen>) - 0.00) degrees), facing (Position of (Triggering unit))
That's all about it.
08-15-2003, 08:08 PM#49
VooDooO
Have I already sad that it owns? Dammit, I'm saying it again! I'll make some good use for it!

pheonixiv, where did u get ur avatar pic?!
08-15-2003, 10:51 PM#50
Pheonix-IV
its from a Nvidia Demo i got with my new Geforcefx5200, i have toy soldiers, alien invaders (the bugs from SST) tornado and werewolf as well as Dawn and Dawn Ultra (the fairy, ultra is higher res)
08-20-2003, 08:07 PM#51
Starcraftfreak
Quote:
Originally posted by KDEWolf
Code:
Move Dynamic Lights
    Events
        Time - Every 0.10 seconds of game time
    Conditions
    Actions
        Unit - Move WhiteLight 0002 <gen> instantly to ((Position of Marine 0001 <gen>) offset by 300.00 towards ((Facing of Marine 0001 <gen>) + 20.00) degrees), facing (Position of (Triggering unit))
        Unit - Move WhiteLight 0006 <gen> instantly to ((Position of Marine 0001 <gen>) offset by 300.00 towards ((Facing of Marine 0001 <gen>) - 20.00) degrees), facing (Position of (Triggering unit))
        Unit - Move WhiteLight 0003 <gen> instantly to ((Position of Marine 0001 <gen>) offset by 200.00 towards ((Facing of Marine 0001 <gen>) - 0.00) degrees), facing (Position of (Triggering unit))
That's all about it.

Maybe I will add something, that you can create the lights as special effect in UMSWE 4 (please tell me if this is technically possible with these models, I am no expert on models).
I added them to UMSWE 4 and wrote a tutorial how to use them.
I didn't make Doodads, but Destructibles, cause you can remove and create them (even with different height) too. The only thing you can't is move them. But for that reason I have made units too.
08-20-2003, 10:34 PM#52
KDEWolf
It can be done via attach SC, and this way it'll giver no bug since you won't be able to select them. And thanks for writing a tutorial and all that.