Announcement

Collapse
No announcement yet.

need help with DP sky

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • need help with DP sky

    Hello, first post

    I cant seem to make the skies work with DarkPlaces and GTKRadiant

    This is what i do:

    1.- I download and extract darkplaces to my c: drive
    2.- Copy my pack0.pak and pak1.pak into c:/darkplaces/id1
    3.- run darkplaces, everything works ok
    4.- i download a skybox and paste all 6 files to c:/darkplaces/id1/env
    5.- start new game, open console and use the "loadsky skybox", and the sky changes to the skybox i downloaded ( so now i know it works)
    6.- now i make 3 textures (tga 64x64) named floor, walls and sky and i put them in a folder under darplaces/id1/textures
    7.- i open gtkradiant, choose darkplaces as the game and make a cube with my textures (floor for the floor, walls for the walls and the sky texture for the sky), i add a light and a player spawn
    8.- i compile this map with the "final" settings and then i load the map in dark places

    The result is that i end up in a room with the "sky" texture just like it looks on the gtkradiant screen (i mean, no sky)

    can someone tell me what i did wrong? Quake 1 mapping tutorials are scarce and they only say to use a "sky texture" like in half life?

    Also i downloaded one of those cloud (sky1, sky4)textures and they didnt work for me, they show exactly like they look on the editor

    I use windows xp, gtkradiant 1.5 and darkplaces

    Thanks for your help.

  • #2
    Not too familiar with how DP works, but from a quick search through it's code it seems that you need two TGAs (or other supported image formats): one called sky_solidtexture.tga for the back layer and the other called sky_alphatexture.tga for the front layer.
    IT LIVES! http://directq.blogspot.com/

    Comment


    • #3
      i do not know anything about gtkradiant, I use QUARK (it�s very easy i think). but i can give you some suggestions.
      1- use a sky taken from the wad of pak0 or pak 1 (sky1 or sky4). These skys works very fine, if you want you can load a skybox from "worldspawn" very easy. Just add a specific named "sky" (the Arg is the name of the skybox)
      2- if your map only will be for darkplaces support, use q3bsp. In quake 3 you can find a nice skyshader called "blacksky" to load after the skybox.
      the invasion has begun! hide your children, grab the guns, and pack sandwiches.

      syluxman2803

      Comment


      • #4
        Originally posted by nahuel View Post
        I use QUARK (it�s very easy i think).
        Can you suggest a good
        "'s guide to quark."
        ----------------------------------------
        NIXON'S BACK!!

        Comment


        • #5
          fixed it

          I fixed it!

          After the first compile gtkradiant created a "scripts" folder in id1 with a shaderlist.txt file (like in quake3 arena).
          So after reading some quark tutorials i realized that i could use a Q3 sky shader so i copy/paste this one:

          textures/skies/xsky
          {
          qer_editorimage textures/day1/sky.tga
          surfaceparm noimpact
          surfaceparm nolightmap
          q3map_globaltexture
          q3map_lightsubdivide 256
          q3map_surfacelight 400
          surfaceparm sky
          q3map_sun 1 1 1 150 30 60
          skyparms - 512 -
          }
          Deleted the cloud data since all i wanted was a working sky
          I used this shader to texture my sky brushes, compile then run darkplaces, load my map and i can see a black sky with the sun lighting all over the room.
          so now i use the "loadsky" console command and load my skybox and now it looks great! (for a cube)


          Uploaded with ImageShack.us

          Thanks guys!

          EDIT: ok, seems like all special textures have to be made with Q3 like shaders (slime, sky, animated, etc).
          Last edited by zaauriel; 10-26-2011, 09:59 AM. Reason: add info

          Comment


          • #6
            Originally posted by Halm_Barte View Post
            Can you suggest a good
            "'s guide to quark."
            No.
            the invasion has begun! hide your children, grab the guns, and pack sandwiches.

            syluxman2803

            Comment

            Working...
            X