Searching for an Invisible texture to make a texture disappe
Searching for an Invisible texture to make a texture disappe
Is there a texture for a .jpg and .tga that has been made, for making a texture disappear? The reason I ask is, I want to make the raildisc_mono2npm.jpg disappear in my Osp railtrail, so just the railcorethin_mononpm.jpg shows. The way it is, makes the railtrail all fat like in p.r.1.16n, rather than p.r. 1.30 , 1.31, and 1.32.
The pak0.pk3 in Q3 baseq3 folder has a .wav file(can't remember the name of it) that is nothing, so you can rename it(in folder layout) so you can take a sound out if you like. I used that for my rg_hum.wav in my instagib mods so I don't have to listen to the damn humming. So..kind of the same thing as that, but for a texture.
-thx
The pak0.pk3 in Q3 baseq3 folder has a .wav file(can't remember the name of it) that is nothing, so you can rename it(in folder layout) so you can take a sound out if you like. I used that for my rg_hum.wav in my instagib mods so I don't have to listen to the damn humming. So..kind of the same thing as that, but for a texture.
-thx
Re: Searching for an Invisible texture to make a texture disappe
Make a shader with the same name as the texture and surface parameter 'nodraw'. Alternatively, add an alpha channel to the texture and set transparency to 100 percent. Just guessing, I have not tried anything like that yet 

Re: Searching for an Invisible texture to make a texture disappe
cant you just mess around with the railtrail settings in the console?
set it to old rail, then change railtrailwidth for instance?
or am i not getting what you are getting at.
set it to old rail, then change railtrailwidth for instance?
or am i not getting what you are getting at.
Re: Searching for an Invisible texture to make a texture disappe
My railtrail in OSP looks just like a laser, so it is possible with just console commands.
I use oldrail and some non-default core or segment width, not sure which. You can even make the railtrail not show up at all if you set the right things to 0.
Remember you can press Tab after entering part of a console command for it to list the commands starting like that for you. So that way you can find rail commands (something like cg_rail).
I use oldrail and some non-default core or segment width, not sure which. You can even make the railtrail not show up at all if you set the right things to 0.
Remember you can press Tab after entering part of a console command for it to list the commands starting like that for you. So that way you can find rail commands (something like cg_rail).
Re: Searching for an Invisible texture to make a texture disappe
Yeah..I've always had it on cg_oldRail "1". I've had r_railWidth "1" , but the problem is the dots or small circles in it which are from the raildisc_mono2npm.jpg that screws it up.
-thx guys
Could you type out exactly the way that I should put that on the .shader file. The format..or the way that's done exactly?Make a shader with the same name as the texture and surface parameter 'nodraw'. Alternatively, add an alpha channel to the texture and set transparency to 100 percent. Just guessing, I have not tried anything like that yet
-thx guys
Re: Searching for an Invisible texture to make a texture disappe
gfx/misc/raildisc_mono2npm
{
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm nomarks
surfaceparm nolightmap
}
Save this as a text file called 'raildisc.shader' and copy to 'pak0.pk3' into the 'scripts' folder (but don't forget to make a backup of your 'pak0.pk3 before, just in case). No guarantee that this works at all, because 'raildisc_mono2npm' may not be used in the same way as standard textures are.
As a last resort, you could try to replace the 'gfx/misc/raildisc_mono2npm.jpg' with simple black or white textures of the same dimension, or just delete it from the PK3 altogether (but save a copy first).
Any of these manipulations will change the CRC of the PK3, so pure servers will probably not allow you to connect. BTW, it may be that the change should be made to the OSP PK3, not to the original 'pak0'. I don't know, I am not familiar with the OSP mod.
{
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm nomarks
surfaceparm nolightmap
}
Save this as a text file called 'raildisc.shader' and copy to 'pak0.pk3' into the 'scripts' folder (but don't forget to make a backup of your 'pak0.pk3 before, just in case). No guarantee that this works at all, because 'raildisc_mono2npm' may not be used in the same way as standard textures are.
As a last resort, you could try to replace the 'gfx/misc/raildisc_mono2npm.jpg' with simple black or white textures of the same dimension, or just delete it from the PK3 altogether (but save a copy first).
Any of these manipulations will change the CRC of the PK3, so pure servers will probably not allow you to connect. BTW, it may be that the change should be made to the OSP PK3, not to the original 'pak0'. I don't know, I am not familiar with the OSP mod.
Re: Searching for an Invisible texture to make a texture disappe
what DTS said. use cg/rail[tab] to see all railproperties. you can control the width of the discs too, and how many discs appear et al
you could probably get rid of the discs by setting /cg_railsegmentlength (i think it is) to 1000000 if 0 doesnt work.
you could probably get rid of the discs by setting /cg_railsegmentlength (i think it is) to 1000000 if 0 doesnt work.
Re: Searching for an Invisible texture to make a texture disappe
I don't have any discs on mine. Or dots.
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Searching for an Invisible texture to make a texture disappe
That's cg_oldrail 0.
Re: Searching for an Invisible texture to make a texture disappe
I just checked my OSP config and it says^misantropia^ wrote:That's cg_oldrail 0.
Code: Select all
seta cg_oldRail "1"
Re: Searching for an Invisible texture to make a texture disappe
o.k. I finally figured it out...if I only used my brain for 1 second (uh-duh)
All I had to do was set r_railwidth to "0". I should have probably figured this out like 7 years ago.
I'm sorry for wasting everyones time! grrr
Thanks for the .shader text Speaker, though I wouldn't suggest copying it to pak0.pk3, should never do that..it'll make you unpure. Should put it in a .pk3 that's read after pak0.pk3...as far as anything is concerned in that notion.


Thanks for the .shader text Speaker, though I wouldn't suggest copying it to pak0.pk3, should never do that..it'll make you unpure. Should put it in a .pk3 that's read after pak0.pk3...as far as anything is concerned in that notion.
Re: Searching for an Invisible texture to make a texture disappe
so.. kinda what was posted multiple times in this thread then?
next time forget the brain, just read
next time forget the brain, just read

Re: Searching for an Invisible texture to make a texture disappe
I've readMKJ wrote:you could probably get rid of the discs by setting /cg_railsegmentlength (i think it is) to 1000000 if 0 doesnt work.

-thx