All right guys? I'm doing an easter egg jumpscare on my map, but I can not put the picture at all... I'm trying to get through the HUD, is that correct? But the problem is that I can not make images appear on the HUD at all... I used the tutorial below (the DidUknowiPwn's tutorial), but the image just do not appear in the game... I've tried with different images, I created my own shader through Asset Manager, I used existing shaders in the game, and does not work... Does anyone know what might be happening?
If it worked with the juggernaut shader, I would say that it was your image or you didn't include the material in csv, or you didn't precache it in gsc. But since your not getting anything to work, I'd have to lean towards you not doing something correctly... maybe, probably script related is where I would start guessing.
Did you call the new gsc from zombiemode where the others are called from and did you check it when you built your mod?
Last Edit: February 17, 2016, 08:25:25 pm by MakeCents
If it worked with the juggernaut shader, I would say that it was you image or you didn't include the material in csv, or you didn't precache it in gsc. But since your not getting anything to work, I'd have to lean towards you not doing something correctly... maybe, probably script related is where I would start guessing.
Did you call the new gsc from zombiemode where the others are called from and did you check it when you built your mod?
I created a GSC and put only the script shader test the inside, as it was not working the other forms... The script shader.gsc below:
In my GSC, map name.gsc, I added the following line after the maps maps\_zombiemode::main();
I personally like to call it inside zombiemode main function where zombiemode_perks and the others are called. But I am not sure that there is a difference, except for the notify you are waiting for may already have been notified...? So your script may not be running. It may still be waiting for that notify.
Code Snippet
Plaintext
self waittill( "spawned_player" );
Edit: And preache_shaders I put in zombiemode too.
Last Edit: February 17, 2016, 09:07:09 pm by MakeCents
Edit: Nevermind, thought you were trying to make it full screen.
Did you try a shader you know is working?
Have you tried adjusting x or y or making it show in the center?
Are your image names and material names the same, in case you switched them? This is far fetched, but possible I guess.
I do not know if the shader is running... But it is very strange, why did the same material in the tutorial... How can I test? My stuff and my image has different names, but when I export the material comes in IWI, right? The name should I refer to the CSV is the name of the material... is not it?
I do not know if the shader is running... But it is very strange, why did the same material in the tutorial... How can I test? My stuff and my image has different names, but when I export the material comes in IWI, right? The name should I refer to the CSV is the name of the material... is not it?
Now you have me confused, lol. I'm not at home to double check. I always use the name that you give it in assman, I think . I name everything the same between the two cause of this confusion, lol. If that is the same name as what you named it, then yes.
you can just use one of your perk shaders to test, like for jug or qr,
Now you have me confused, lol. I'm not at home to double check. I always use the name that you give it in assman, I think . I name everything the same between the two cause of this confusion, lol. If that is the same name as what you named it, then yes.
you can just use one of your perk shaders to test, like for jug or qr,
Set in center (for all 4) and if it shows start messing with the alignments.
Edit: That My script you're using will continuously spawn the hud element when you respawn which is something you don't want. Make another function to delete itself when you hit the waittill death.
Last Edit: February 17, 2016, 11:06:10 pm by DidUknowiPwn
Set in center (for all 4) and if it shows start messing with the alignments.
Edit: That My script you're using will continuously spawn the hud element when you respawn which is something you don't want. Make another function to delete itself when you hit the waittill death.
Right? About the function I am using for testing only, why I can not really make the images appear... If I change to a text, it appears in the spawn... Any tips?
If your using someone else's perks, that material might not work, sorry, didn't think of that. I think you can try "white" or "black" though.
Wow! I was forgetting that too... I'm using the Harry's pack! And it worked perfectly with the white texture! That's weird! I must be doing something wrong at the time you import a custom shader, but can not find the error...
Last Edit: February 17, 2016, 11:26:03 pm by niick555
Wow! I was forgetting that too... I'm using the Harry's pack! And it worked perfectly with the white texture! That's weird! I must be doing something wrong at the time you import a custom shader, but can not find the error...
Try converting the image again with a new name, using the same name for the image and the material, then try precaching the shader in zombiemode, in the main function. You'll find others there. Of course, making sure to change the material name in mod.csv
Edit, don't forget to copy image to images folder in mod, and check it when building mod
Last Edit: February 17, 2016, 11:44:45 pm by MakeCents
Try converting the image again with a new name, using the same name for the image and the material, then try precaching the shader in zombiemode, in the main function. You'll find others there. Of course, making sure to change the material name in mod.csv
Edit, don't forget to copy image to images folder in mod, and check it when building mod
I need to copy the IWI and DDS for mods folder? I made another shader, all right, but it really does not work ...: \