• Env_projectedtexture help
    4 replies, posted
OK, I need an env_projectedtexture for my map that I am creating. It has known problems (parenting,targeting) which have their remedies but I cannot figure out how to fix this entity. link to solution [url]http://developer.valvesoftware.com/wiki/Env_projectedtexture/fixes[/url] I have edited the proper files but have no idea where to put them. I read the page in the VDC on how to create a logical entity but that didn't help I just don't know where the files go. and I pasted the files in C:/DEATH_TRAP/src/game/client/ folder and overwrote the originals but it still won't work. I have created an .fgd for my mod and it looks like this: [CODE]@include "base.fgd" @PointClass base(Targetname, Parentname, Angles) size(-2 -2 -2, 2 2 2) frustum(lightfov,nearz,farz,lightcolor,-1) = env_projectedtexture : "Projected texture entity." [ spawnflags(flags) = [ 1 : "Enabled" : 1 ] target(target_destination) : "target" : : "target" lightfov(float) : "FOV" : "90.0" : "FOV" nearz(float) : "NearZ" : "4.0" : "Near Z for projected texture" farz(float) : "FarZ" : "750.0" : "Far Z for projected texture" enableshadows(Choices) : "Enable Shadows" : 0 : "Enables/disables shadows from this projected texture." = [ 0 : "No" 1 : "Yes" ] shadowquality(Choices) : "Shadow Quality" : 1 : "Quality of shadows." = [ 0 : "Low" 1 : "High" ] lightonlytarget(Choices) : "Light Only Target" : 0 : "Limit flashlight effect to only effect target entity." = [ 0 : "No" 1 : "Yes" ] lightworld(Choices) : "Light World" : 1 : "Control whether flashlight effects static world geometry." = [ 0 : "No" 1 : "Yes" ] lightcolor(color255) : "Light Color" : "255 255 255 200" : "Light Color RGB-Intensity" cameraspace(integer) : "Camera Space" : 0 : "Angles are interpreted as being relative to camera." // Inputs input TurnOn(void) : "Turn on the texture" input TurnOff(void) : "Turn off the texture" input SetFOV(float) : "Set FOV" ][/CODE] when I created my mod I chose the "Modify Half-Life 2 single player" selection should I have picked the advanced users if so where would I go from there? what have I done wrong? A few steps , a directory or, an example of what my .fgd should look like would be nice This is all very confusing to me, please help!
IS ANYONE GOING TO HELP THIS POOR MAN:argh:!!?!?!?!?!?!??!?!:argh::argh:
Im also making my own mod and i found a page like this... Needa find it again
OK... what?? could someone help me out? is this in the wrong section?
[QUOTE=uromastix87;20984749]I have edited the proper files but have no idea where to put them.[/quote] They don't need to be moved, just edited. [QUOTE=uromastix87;20984749]I read the page in the VDC on how to create a logical entity but that didn't help I just don't know where the files go.[/quote] No need to create an entirely new entity. [QUOTE=uromastix87;20984749]and I pasted the files in C:/DEATH_TRAP/src/game/client/ folder and overwrote the originals but it still won't work.[/quote] Shouldn't need to overwrite anything. [QUOTE=uromastix87;20984749]what have I done wrong?[/QUOTE] What exactly is the question? What doesn't work and how? [QUOTE=uromastix87;20988009]is this in the wrong section?[/QUOTE] There isn't a dedicated section for Source coding. Programming would be the most relevant.
Sorry, you need to Log In to post a reply to this thread.