HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Flashy Flashy.. why wont it work =[

09-30-2004, 01:20 PM#1
Chryosmere
I'm trying to make a spell that actually blinds units within the range but the blinding trigger isn't really.. working. I'm starting to think i misunderstood the trigger because this just makes ur screen go white then fade to black when the guy casts it lol! What am I doing wrong? If im completely off track is there another way?

Code:
Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Advanced - Apply a filter for (Owner of (Picked unit)) over 3.00 seconds using No blending on texture White Mask, starting with color (100.00%, 100.00%, 100.00%) and 100.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 100.00% transpare
09-30-2004, 01:23 PM#2
Vexorian
Quote:
Originally Posted by Chryosmere
I'm trying to make a spell that actually blinds units within the range but the blinding trigger isn't really.. working. I'm starting to think i misunderstood the trigger because this just makes ur screen go white then fade to black when the guy casts it lol! What am I doing wrong? If im completely off track is there another way?

Code:
Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Advanced - Apply a filter for (Owner of (Picked unit)) over 3.00 seconds using No blending on texture White Mask, starting with color (100.00%, 100.00%, 100.00%) and 100.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 100.00% transpare
YEs, that's exactly what that trigger is doing, fade filters are just graphical stuff and won't affect any gameplay unless the player is actually unable to see his units, but Computer players will be immune to that.

What about picking all the units and just making a hidden caster cast curse on them?
09-30-2004, 02:58 PM#3
CynicalYouth
What effect do you want this blind to have, if you want it to stop them from attacking or stop them from casting spells, then try using the dark archer ability silence. You can modify that to prevent all attacks, just spells, melee attacks, or just ranged attacked, or any combination of the above.
09-30-2004, 03:25 PM#4
Dead-Inside
The extremly funny part is that;
Code:
100.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 100.00% transpare...

Observe Trasparency. Set that to 0 and you'll see drastic changes. I advice you to use variables, though, when you do this. If you'd like to change something later it's *much* easier.

Edit: I don't really get the "From white to black" part btw. The custom filter you're trying to add should default to white. If you have 100% on all colors, that would be black. But you have black on both the starting and ending colors, odd.
09-30-2004, 07:22 PM#5
MiGiLiCuDDiE
Quote:
Originally Posted by Chryosmere
I'm trying to make a spell that actually blinds units within the range
I like the concept of this spell. It literaly would make the player blind. You should just make it target heros and it would make your whole view turn white/black/w/e. Sounds like a really cool triggered spell idea.

Can you do the fade filter for just one player, i forget?
09-30-2004, 09:03 PM#6
Dead-Inside
Yes, and he's already made the correct trigger. He just set the transparency off to hell :)
09-30-2004, 09:53 PM#7
Gandalf2349
Quote:
Originally Posted by D[b
[/b]ead-Inside]The extremly funny part is that;
Code:
100.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 100.00% transpare...

Observe Trasparency. Set that to 0 and you'll see drastic changes. I advice you to use variables, though, when you do this. If you'd like to change something later it's *much* easier.

Edit: I don't really get the "From white to black" part btw. The custom filter you're trying to add should default to white. If you have 100% on all colors, that would be black. But you have black on both the starting and ending colors, odd.

Yea, I noticed that too. But (100%, 100%, 101%) would make it all white. 0, 0, 0 would make it black.

It is an interesting concept, or if you want to try the SC style blind, you would need to find a way to set the units vision radius to 0, or 100 or something.
10-01-2004, 05:20 AM#8
Chryosmere
Well your ideas would be good if thats what i wanted lol.. My game relys on the actual person to be able to aim so if i could make the screen go white they would be screwed :P I could use silence... But whats the fun in that? Oh and i;m kind of confused. Some people are saying that i can do this with the right transperency or variables and some say i can't do it. Hmm. Can someone give me a universal answer for me. All I want is to be able to blind certain players so they walk around like crazy buggers. If i was to use variables wouldn't i have to make a lot of triggers because there will be a possibility of 12 players all using this spell at the same time lol.. and I would have to wait would'nt I for the fade to finish then unfade.. Lol if it's even possible to unfade... Are there any advanced waits for this? Oh well if that didn't make sense I can't be bothered clarifying it so... Yeh just help me please.
10-01-2004, 09:23 AM#9
Dead-Inside
Well... No. You use variable arrays. Then you use playernumber from the player being affected by the spell for the index. Problem solved.

Anyway, I won't push you to do that.

READ BELOW FOR THE SOLUTION TO YOUR PROBLEM
You have set the transparency of the fade-filter to 100%. This means that it's 100% seethrough. This, in turn, means that players will not see the filter *at all*. Set it to 0%, and it will work as desired.

Regards
Dead-Inside
10-01-2004, 10:06 AM#10
Chryosmere
Uh.. What do you mean.. I'm trying to make it so that you can see again after its happend. The filder goes white then it turns black then it stays black forever lol....
10-01-2004, 04:15 PM#11
Dead-Inside
You were asking why it wasn't working. That's why it wasn't. You should remove the fadefilter when you're done. That's how you get it working anyway.

If you still don't get it I guess I'd be better off making a map for you.
10-02-2004, 05:25 AM#12
Chryosmere
Quote:
Originally Posted by Dead-Inside
You were asking why it wasn't working. That's why it wasn't. You should remove the fadefilter when you're done. That's how you get it working anyway.

If you still don't get it I guess I'd be better off making a map for you.

OK i get it now.. remove the fade filter using arrays.. Took me a minute to understand you but anyway ty. I'll try it out now

But anyway i havn't really used variable arrays like that before, just show me the triggers to unfade the players and I'll understand it. I'd rather look off your triggers and put it on myself so i can learn from it rather than just copy it from a map =\
10-02-2004, 09:11 AM#13
Dead-Inside
Something like this;
Code:
Actions
    Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit))) and do (Actions)
        Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    ((Picked unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True
                Then - Actions
                    Player Group - Pick every player in (All players matching ((Owner of (Picked unit)) Equal to (Matching player))) and do (Actions)
                        Loop - Actions
                            Cinematic - Apply a filter over 5.00 seconds using Normal blending on texture White Mask, starting with color (100.00%, 100.00%, 100.00%) and 100.00% transparency and ending with color (0.00%, 0.00%, 0.00%) and 0.00% transparency
                            Cinematic - Apply a filter over 5.00 seconds using Normal blending on texture White Mask, starting with color (0.00%, 0.00%, 0.00%) and 0.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 0.00% transparency
                            Cinematic - Apply a filter over 5.00 seconds using Normal blending on texture Black Mask, starting with color (0.00%, 0.00%, 0.00%) and 0.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 100.00% transparency
                Else - Actions
                    Do nothing

There was no need for variables really, but that still more customizable then yours :). Your main problem was setting the transparency to 100%. This means that you can see through the fadefilter (You never see it, because it's 100% invisible. So I set it to 0% invisible, which means it shows to the player).

Also, above code is supposed to fade to White, then from white to Black, then from Black back to normal game, for affected players.
10-02-2004, 03:37 PM#14
Moose-Head_Man
my god i swear i started a move called flare and like 10 people knew about it in beta testing, now it is like 1000 people want to make a spell like it, i had a spell in my AoS that blinds a target player with a bright white screen fade, basically the same as yours, but mine your target a unit, and hte owner of the targeted unit gets the screen. then i got a request in my thread about how a guy wanted to make one where the screen would flash different colors! ahhhhh!
10-02-2004, 06:13 PM#15
Chryosmere
[quote=Dead-Inside]Something like this;
Code:
Actions
    Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit))) and do (Actions)
        Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    ((Picked unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True
                Then - Actions
                    Player Group - Pick every player in (All players matching ((Owner of (Picked unit)) Equal to (Matching player))) and do (Actions)
                        Loop - Actions
                            Cinematic - Apply a filter over 5.00 seconds using Normal blending on texture White Mask, starting with color (100.00%, 100.00%, 100.00%) and 100.00% transparency and ending with color (0.00%, 0.00%, 0.00%) and 0.00% transparency
                            Cinematic - Apply a filter over 5.00 seconds using Normal blending on texture White Mask, starting with color (0.00%, 0.00%, 0.00%) and 0.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 0.00% transparency
                            Cinematic - Apply a filter over 5.00 seconds using Normal blending on texture Black Mask, starting with color (0.00%, 0.00%, 0.00%) and 0.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 100.00% transparency
                Else - Actions
                    Do nothing

Thanks I'll take a look at it and post in a min!

OK, heres what happend. I did your trigger and it turns their screen black instantly then fades back to the normal screen... No white what so ever. What to do.. What to do... Lets end this darn spell and perfect it! What should we do to the trigger to make your screen flash white for a few seconds? Hmm.. In other words... How doi fix it? I'm going to experiment in the mean time (not really im going to bed).