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.
MZslayer11's Contact & Social LinksMZslayer11Service_Code_30#2655
like an oxygen mask from moon or mabey blood or scratches around the edges? I dont know how to do that but it would be cool!
Oh you can remove that if you want to set it as a fullscreen shader, the alignX/Y and horz/vertAlign take care of that. (Also primarily the setShader since screen draw is considered 640x480.)
the game starts now but nothing shows up on teh screen
it is like normal, could u just basicly make a step-by-step tut on how to add ur code?
Yeah I'll do a little tut. Double Post Merge: October 04, 2014, 03:31:31 am
Find/create your shader.
Load up AssMan, create a new material.
Select materialType as 2D, blendFunc to Blend, tile to NO TILE, link to the image.
Build the material.
Copy raw/images/linked_image to mods/yourMod/images/
Go to your scripts folder create a new function or use it in an existing one (one that you created).
First precache the shader by using the function PrecacheShader("shader");[/u].
Function should include hud_spawn = create_simple_hud(self); //self represents the entity the function was called from so you better have called it like this: self thread newHUDElem or whatever entity self is BUT MAKE SURE IT'S A PLAYER.
Note how I set it, I called it when a player spawned. If you want to set it on level load you can place it on onPlayerConnect and add a waittill : "spawned_player". That will work without a hitch.