Hi All ^^ This is my First map. And...


(rommel) #1

Well, i finish this map and almost works fine, but i have some problems with shaders, i dont know to much abaut scriptting, almost nothing lol. But studding other maps i made my own map.

[img]http://img687.imageshack.us/i/et2010012717323434.png/[img]

I need some help with 2 shaders: to plant mines and with the sky ( i read and search everypost here about that but it doesnt work, i dont want to compile again =P )

here is the shader

textures/terrain/grass_dm01
{
qer_editorimage textures/terrain/grass_dm01
q3map_nonplanar
q3map_shadeangle 120
surfaceparm grasssteps
surfaceparm landmine
implicitMap textures/terrain/grass_dm01
}

textures/skies/miramar
{
qer_editorimage textures/skies/miramar.jpg
surfaceparm sky
surfaceparm noimpact
surfaceparm nolightmap
q3map_globaltexture
q3map_lightsubdivide 256
q3map_surfacelight 110
q3map_sun 1 1 1 150 290 60
skyparms env/miramar/miramar - -
// {
// map textures/sky/sky_clouds.jpg
// blendFunc filter
// tcMod scroll 0.005 0.005
// tcMod scale 3 3
// }
}

HELP!!! SOS!!! SHQ!!!


(Qualmi) #2

hi sir,

wrong forum, should be in the et editing section.

and well scripting and writing a shader ? ok call it scripting then :wink: but did you make sure your shader is written in the shaderlist.txt ? and as far as i know if you dont compile it again then your shader wont have an effect if you changed sth. maybe someone want to link you to the shadermanual, always a good spot for shaderstuff.


(Paul) #3

Map looks great indeed, but yeah this is in the wrong forums xd


(rommel) #4

if some Admin can move my post to the right forum would be great, i dont know how =P. i make a simple shader for the sky, and it works on muy computer, but when someone probe my map they dont see any texture at the sky =C Why???

Qualmi: yes, my shader is in the shaderlist and i made a new compilation, and nothig happends
Paul: ty ^^


(Wezelkrozum) #5

Are you sure you saved the shaderfile and the skytextures in the pk3?

Nice map :wink:


(rommel) #6

wezelkrozum:yes, and i made mini maps to prube the shader and the sky texture and works in my pc correctly, but when give that map toy my friends they see the skybox without texture. I had make all kind of diferent variations on the shader and textures and noone works in an alien pc. What am i doing wrong? maby im lossing some step when im comppiling or when im making the pk3 or the shader?

i cant use a common shader, my map its too big, i only need a simple shader to emulate a sky with this characteristics:

    surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nodlight

is this ok? :

textures/miskies/celeste
{
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nodlight
surfaceparm sky
implicitMap -
}


(IndyJones) #7

didn’t have much time to look on video, but don’t use LADDER on ‘stairs’. some servers has turned off weapon when u re on ladder, and even if they don’t - ur acc get’s much lower. and that way u can’t push people off easily.


(stealth6) #8

Try these skies:
textures/skies/sd_goldrush
textures/skies/sd_railgun
textures/skies/sd_batterysky
textures/skies_sd/sd_siwasky

I think those are some of the default skies, so if you use them then you don’t need to add anything extra to your pk3 or shader.\

as for the grrass I think you are just missing the .tga try this:


textures/terrain/grass_dm01
{
    qer_editorimage textures/terrain/grass_dm01.tga
    q3map_nonplanar
    q3map_shadeangle 120
    surfaceparm grasssteps
    surfaceparm landmine
    implicitMap textures/terrain/grass_dm01.tga
}

Even if you are using .jpg images use .tga in shader (it will look for a jpg if it doesnt find a tga automatically)

as for surfaceparms you need for a sky I think this:


	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm noimpact
	surfaceparm nosteps

Also remove the ladders as indy said since you should just be able to walk up the tower without them.


(Ganjaman) #9

Hello Rommel,

Did you copy all the skybox-texture files into your .pk3 file ?

There should be about 7 different texture files in the textures/yourmap/skybox folder :
( …_bk, …_dn, …_ft, …_lf, …_rt, …_up = back, down, front, left, right, up and the miramar.jpg)
all of these are .jpg files.

and try this shader where “yourmap” is a folder with the same name as your map :

textures/yourmap/skybox/skybox
{
	qer_editorimage textures/yourmap/skybox/miramar
//	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_globaltexture
//	q3map_lightsubdivide 256
//	q3map_surfacelight 120
	q3map_sun 1 1 1 150 305 40
	skyparms textures/yourmap/skybox/miramar - -
//	{
//		map textures/yourmap/skybox/sky_clouds.jpg
//		blendFunc filter
//		tcMod scroll 0.005 0.005
//		tcMod scale 3 3
//	}
}

The last 6 lines are for clouds blowing in the wind :wink:
This shader is the one from the necromancer 66 skyboxes pack.
And make sure the textures in the skybox ( in the editor) are pointing to the right map name :
textures/yourmap/skybox

hope it works for you.


(rommel) #10

I am delighted that people are so good at this forum that is willing to help.

IndyJones: yes =P i will edit that, i just wanted to save some brushes ^^ ( i played ur map in my clan, its realy good )

stealth6: I just can not use the default skies because if used the error :max_map_leaffaces will appear, but i discovered that I can avoid that problem creating a monocromaticsky with a simple shader

Ganjaman: Yes i copied all stuf in the pk3 file.

My map is huge ( 10399x533 )and i cant reduce it, it have a lot of secret signs thats why i cant use a default sky. Worst of all is that the map on my computer works perfectly, only on other computers the sky does not appear and its shader doesnt work.I have planned many maps, but if I can fix this, although i really like making maps, discourages me greatly.


(stealth6) #11

maybe post your map here then we can try it out?


(rommel) #12

ok i have uploaded one of the version of my map when i tryied to use a good sky, maby in this version other textures are missing but all that stuf are fixed, Currently my unique problem is the sky.

This is the fourth of the six compilations I’ve made from this map:
http://www.megaupload.com/?d=SBWYFFFH


(stealth6) #13

hmm looks like you used caulk for the sky.
Check that you only have 1 outer brush (not 2 brushes inside eachother)
try brush cleanup.

not much else I can think of.

EDIT: also another sky you could try is:
textures/fueldump/fueldumpsky


(rommel) #14

no, i used the miramar texture in that pk3, something happened in the shader. Did u descompress it to se the shader in my map? maby i have something wrong there??


(rommel) #15

I was thinking. What happens if I compile without light? and I create every one of the shadows with brushes: semi transparent and not solid, is it possible to do something like that? where can i find a brush like that?


(Ganjaman) #16

Hello Rommel,

I have checked out your map , I has a nice jungle atmosphere. :smiley:

After looking at your pk3 file I found only 1 miramar texture file.
I have added everything into your pk3 file and I think there is still something missing in your map file (in the editor).

I have made a skybox texture folder and changed your shader a little bit.
Also a temple_skybox.map file and a picture reference.( + readme.txt)

all you have to do is download the file here : http://cid-19b6b546c4ec08a6.skydrive.live.com/self.aspx/.Public/skybox/skybox^_prefab^_temple.rar

it is a rar file of all the texture files added and the changed shader
the reference picture and the prefab.map file, the readme.txt is a step by step guide .


(-SSF-Sage) #17

I looked at your map. It is definetly not big. But it has some serious problems. First thing, remove the windows from barracks (the fps won’t be playable unless you do this). Second thing, you probably haven’t got much clue about structural vs detail brushes or vis. In your map only the skybox and the outer walls of barracks should be structural.

You also have a lot of missing textures and stuff. You still have hell a lot to do, but there’s nothing that can’t be done. You probably will have to cut down a lot detail even if you got the visibility fixed properly.


(rommel) #18

Thank you very much for the help Ganjaman!! =D , I`ll compile with that sky. ^^

{SSF}Sage:I had commented that the map had risen to megaupload was not the end that I now no longer missing textures and its true, for this version had not done detail to almost nothing, in my latest version is 90% detail.

Keep in mind this is my first map and this is something totally different from what i do in my profession. =P


(-SSF-Sage) #19

Yes I understood. I just stated that the problems going on with the map aren’t mostly because of the size. It is that you were doing some things wrong.


(rommel) #20

Ganjaman: I tried the prefab_skybox, but when you import it into my map, the texture does not appear, as if you used the caulk texture Why is it? (in build BSP -meta)