Jump to content

Home

Why does my floor sound like water?


Ryick Pa'tran

Recommended Posts

i have the same problem :mad: it happens with the impdetention/floor1 texture and the impdetention/floordet texture it works fine in single player but when i play my map in multiplayer it makes that water sound ive read what you have said wudan but i dont understand what you mean so could you please explain what to do in more detail? or could sombody else help please?

Link to comment
Share on other sites

Here is the floor1 from base/shaders/imperial.shader file:

textures/impdetention/floor1
{
[b]surfaceparm metalsteps[/b]
{
map $lightmap
}
{
map textures/impdetention/floor1
blendFunc GL_DST_COLOR GL_ZERO
}
}

wudan said remove the surfaceparm metalsteps from the shader code. I say copy it to your own shader file first then delete that line from your copy.

 

Like this:

textures/[b]yourmapnamehere[/b]/floor1
{
{
map $lightmap
}
{
map textures/impdetention/floor1
blendFunc GL_DST_COLOR GL_ZERO
}
}

Save it as base/shaders/yourmapnamehere.shader and include the file's name in the base/shaders/shaderlist.txt file.

 

Don't forget to create the base/textures/yourmapnamehere directory even if it is empty.

Link to comment
Share on other sites

So what causes my floor to sound like water (so I can avoid it in the future)? Why does it only happen sometimes? Is it something in JK2Radiant? I tried deleting my floor and placing a new one, but it still sounds like water. As for the fix stated above, how do i access that code? By pressing N?

 

Thanks in advance.

Link to comment
Share on other sites

Originally posted by Ryick Pa'tran

So what causes my floor to sound like water (so I can avoid it in the future)? Why does it only happen sometimes? Is it something in JK2Radiant? I tried deleting my floor and placing a new one, but it still sounds like water. As for the fix stated above, how do i access that code? By pressing N?

 

Thanks in advance.

That is an error in the MP executable. You can't avoid it just with the above solutions with clip brush or new shader code.

Link to comment
Share on other sites

A)You could go through all of the shaders in your shaders folder under base, and remove surfaceparm metalsteps, which will make regular footsteps. Because you aren't changing the shaders in your pk3's, you'll be fine. This *should* solve the problem.

 

B)You could, as Master Leslie Judge suggested, make new shaders in a new map-specific folder, omitting the "surfaceparm metalsteps" (dont worry about syntax too much, as long as "surfaceparm metalsteps" is all you remove, you should be good. I like this option best.

 

B)Some GENIUS! could find out what sound file is playing that splooshy sound and replace it in a new pk3, the only problem with that being if that file is the same file that you hear when you actually step in water, I haven't messed with this option much, but ... whatever, eh?

Link to comment
Share on other sites

  • 2 weeks later...

If I do want to change the shader code, I would have to change all the shaders that do this, correct? There are at least 5 different textures that do this in my map.

 

When making the pk3 file, do I need the shaders file if I choose to just use the small clip brush (and have not used any custom textures or shaders)? If so, do I have to include all of the textures I've used? Or just the ones that i modify (if I modify any)?

 

Thanks in advance,

Ryick Pa'tran

Link to comment
Share on other sites

In any pk3, you must include ALL the changes that are necessary to play YOUR map/mod. For a standard MP map with no custom shaders or effects, this means a BSP map, an arena script, and a bot route. If you use any shaders or textures that aren't in the standard JKII game, then you must include the appropriate image files and shader files.

 

Since the clip brush is a standard JKII shader, if you fix the splooshy sound by laying down a tiny clip brush then you don't need to include any custom shader or texture files.

 

If you fix the splooshy sound by writing your own shader that uses the the game texture but sounds like metal steps, then you will need to include the shader file with the code you wrote (if you point it to a standard JKII texture then you don't need to include a copy of the image).

Link to comment
Share on other sites

I need a bot route? Really?

Can someone tell me where I can find a tutorial on that since I doubt that anyone wants to explain it to me here?

 

Maps without Bot Routes have the bots that just jump continually around and shoot right?

 

If you're in the mood to help me more, check out my thread "Now What?" in the General Editing Forum.

 

Thanks in advance,

Ryick Pa'tran

Link to comment
Share on other sites

WEll, you can run a map without routing it, but then only humans can play. You need a bot route only if you don't want your bots to jump around in place and shoot. :) Bot routing is essential for a map to work well with AI opponents. I think if you look in your gamedata/tools directory, there will be a word document that explains bot routing...

Link to comment
Share on other sites

Thanks. :) THose are probably some of the best words a mapper can hear.

 

Did you find the bot-routing doc? If you didn't, I can write up a short tutorial, I did all the bot-routing for Mars and City of the Ancients myself, and they work pretty well, so I at least think I know what I'm doing!

Link to comment
Share on other sites

I actually wrote one up, soon after you asked about one the first time. Aru tried to ask people to sticky it, but it's fallen down the list...I posted a link in the resources thread, but you can look at my outcast site (link in the sig), and the bot-route tutorial is listed near the top.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...