HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom Fade Like in VOIDS TD

08-24-2002, 03:54 PM#1
Abu
I've searched on this and everybody says you have to edit the .mpq. I recently downloaded (through Battle.net) a map called Voids TD. It had a custom fade... can anybody explain how to do this?
08-24-2002, 04:28 PM#2
Thunder-Hunter
ok, whats a fade?
08-24-2002, 10:15 PM#3
Abu
I am not kidding! I looked at the map and trigger, it displayed "Unknown" as the fade filter. It may be possible that he used an advanced editor (Blink Version). I don't like using it because it messes with my maps and it says it needs War3 installed in the default directory. I'll attach the map file. Remember, I downloaded this off of bnet, not a site! No custom extracting at all!
08-25-2002, 07:50 PM#4
Guest
He just packed in his custom fade filter in Customs\Filters\, all the other files are in there but might not show depending on what program you use to look through mpqs. If you open war3map.j you see this:

function Trig_Init_Actions takes nothing returns nothing
set udg_bloodzone = gg_rct_bloodZoneR
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 0.00, "Custom\\Filters\\ankaa_void.blp", 100.00, 100.00, 100.00, 0 )
call TriggerSleepAction( 1.00 )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 2.00, "Custom\\Filters\\ankaa_void.blp", 100.00, 100.00, 100.00, 0 )
endfunction

If you want to add your own just change it to custom text and put in the path for your filter, you could also edit some .txt files for the WE so that you could select it from the menu and not have to change your triggers to custom text.
08-25-2002, 08:42 PM#5
Guest
I don't get your answer.....
Maybe i am to dumb t ounsderstand it, but how do i open the war3map.j and where ist this file?

I really want to know these things with the custom Fade filter!

BlackCobra
08-25-2002, 09:12 PM#6
Guest
war3map.j has all the code for your map, its in the w3m file, which you need to extract from.

BTW - the easiest way to use a custom filter is just make a trigger in the WE with any texture, then just change your trigger to custom text and change the file path for the texture.

If you want to be able to use the filter in the WE. Add your string
example
-
WESTRING_CINEFILTERTEX_MYFADE="My Fade"
-
Now open up TriggerData.txt and look for


//Cinematic filter textures
CineFilterTextureWhite=cinefiltertexture, 'ReplaceableTextures\\CameraMasks\\White_mask.blp', WESTRING_CINEFILTERTEX_WHITE


all the pathings for the files are there, just add a new entry with the WESTRING you added.
example
-
CineFilterTextureWhite=cinefiltertexture, 'ReplaceableTextures\\CameraMasks\\Myfade.blp', WESTRING_CINEFILTERTEX_MYFADE.

That should work but I haven't tried it.
08-25-2002, 11:09 PM#7
Orzokiki
this is friggin confusing me!!! how about a newbs giude??!?!?!
08-25-2002, 11:15 PM#8
Abu
1. Can anybody give me a link to a program that lets me browse through the .w3m file? I've looked here but this is very confusing. I don't have weeks to learn all this crap :P

2. Like Orzokiki says, could you break this down for us? I'm sure people would be very happy :)
08-26-2002, 12:00 AM#9
Guest
Easy way I found out is...extract the .blp of an existing filter (Replaceabletextures\Cameramasks\XXXXXX.blp) then put the picture you want in the 7.11 inch square after converting it to tga. Convert it back to .blp then add it in the file path of the original then use that path in the editor...example:

Extract: Replaceabletextures\Cameramasks\Panda-n-Cub.blp
Convert to .tga and add picture/sig to cover up the panda picture.
Convert back to .blp

Map: Fade filter panda-n-cub 100,100,100 0%
Import .blp into your map with file pathway name
Replaceabletextures\Cameramasks\Panda-n-Cub.blp.

Make sure your picture has all WHITE as alphachannel, or else it will be transparent. Or so I would think. Hope this works for you all, it works for me :) Only problem for me so far is that it's missing color and only shows up bluish.
08-26-2002, 12:09 AM#10
Guest
I'm only explaining how to make your Filter you made work in your map, actually making your custom texture filter is a different story.

Ok it's really simple..

1. In WE set up your trigger, then add the action:

Cinematic - Fade Filter

2. Set everything how you want it, pick whatever cinematic filter texture for now it doesn't matter.

3. From the edit drop down menu in the trigger dialogue, select 'Convert to Custom Text'

Find the line that looks something like this:

call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUTIN,2 "ReplaceableTextures\\CameraMasks\\White_Mask.blp", 0, 0, 0, 0)

Just change the path to where your filter is.
ReplaceableTextures\\CameraMasks\\Mytexture.blp

Thats as simple as it gets unless you just replace an already existing texture, which is even more simple. If you want a filter that you can just select from the cinematic texture menu and not make your trigger into custom text you are going to have to do all that other stuff in this thread.
08-26-2002, 04:34 AM#11
Guest
Thx for the explanation...

I think i'm getting it now.

BlackCobra
08-26-2002, 07:24 PM#12
Guest
Not working for me...

I'm xplaining now in my bad english what i have done so far...

1) Created an Image, that will be miy fady pic later
2) Saved this pic as tga and saved then as blp file with the WC3 IMAGE EXTRACTOR
3) then with MPQ2K i added the file in my map
4) then changed the trigger to cutom text and changed the sentence with the fade thing

But when i want to practice my map, just before the fade filter is about to come the game crashes back to the desktop...

So what is wrong with that what i have done???
PLZ help me! Ireally need that!

Maybe my Image is to big? is there a limit of how big your pic can be? Or can i just put it this way with the mpq2k in my map..like "mp12k a lolo.w3m pic.blp ReplaceableTextures\CameraMasks\"???

BlackCobra
08-26-2002, 08:03 PM#13
Guest
The paths in the script has to match the path of where your file is, if the game can't find the file then the game will crash..

Post your trigger and where your .blp file is at maybe that will help.
08-26-2002, 08:35 PM#14
Guest
So here is my Custom text thing in my map:

function Trig_lolo_Actions takes nothing returns nothing
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 4.00, "ReplaceableTextures\\CameraMasks\\ram.blp", 0, 0, 0, 0 )
endfunction

//===========================================================================
function InitTrig_lolo takes nothing returns nothing
set gg_trg_lolo = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_lolo, 5 )
call TriggerAddAction( gg_trg_lolo, function Trig_lolo_Actions )
endfunction

the "ram.blp" is in the following path: d:\Warcraft 3\exp\ram.blp
i also added with MPQ2K the ram.blp to RaplacableTextures\CameraMasks\
is this what you wanted to know?

BlackCobra
08-26-2002, 10:43 PM#15
Abu
Okay, this is extremely frustrating. I downloaded the WC3 Image Extractor II from this website in the tools section. I can't even use it... it says "Component 'Comdlg32.ocx' or one of it's dependencies not correctly registered: a file is missing or invalid.