When do you want the image to show up and where? whole screen or on a tv ingame? Ball bags 2 has something like that but it randomly flashes. Ask him or check the gsc just give ballbags credit. if its at the start round you can probably call a hud.(tutorials are around.) That was full screen for 30 seconds and put a wait on round start of 30 seconds. Post if you need more info.
i can see only default image and cant see my image.this script is incomplete because there is same problem in ballbags_2,i mean when play ballbags2 the image not show and only show defualt picture. whats wrong?anyone know how do i can show a pic for custom time?
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
The reason the image does not work in Ballbags 2 is because it was not precached. Probably the same issue for you.
Open your mapname.gsc, scroll down to where you see
Code Snippet
Plaintext
maps\_zombiemode::main();
and right ABOVE that line, put
Code Snippet
Plaintext
PrecacheShader(SHADERNAME);
where SHADERNAME is the name of your newly added material file for the image.
Also make sure you include your material in one of your map's fastfiles:
Code Snippet
Plaintext
material,SHADERNAME
and make sure the iwi image file that goes with the material has been included in the images folder of one of your map's IWDs. Make sure it's box is checked in the IWD files list in Launcher.
The reason the image does not work in Ballbags 2 is because it was not precached. Probably the same issue for you.
Open your mapname.gsc, scroll down to where you see
Code Snippet
Plaintext
maps\_zombiemode::main();
and right ABOVE that line, put
Code Snippet
Plaintext
PrecacheShader(SHADERNAME);
where SHADERNAME is the name of your newly added material file for the image.
Also make sure you include your material in one of your map's fastfiles:
Code Snippet
Plaintext
material,SHADERNAME
and make sure the iwi image file that goes with the material has been included in the images folder of one of your map's IWDs. Make sure it's box is checked in the IWD files list in Launcher.
thaks terminator for replying if you mean i precached my image name i did it for both (material& precached ) but it doesnt work and still display default image,my image show on one of texture and works fine on my map but cant show on this script.
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
thaks terminator for replying if you mean i precached my image name i did it for both (material& precached ) but it doesnt work and still display default image,my image show on one of texture and works fine on my map but cant show on this script.
If you do everything I just said and the material exists then it will work, I guarantee it. You're missing something.