Can't Find Common/Origin


(Ted) #1

My door currently opens but does not pivot on its hinges but on some much larger, invisible pivot point. I’ve cloned and resized a second door for the pivot point but to no avail.
Apparantly I need to apply a Common/Origin texture to my door to get it to open correctly.

When I look under Textures I can see Common but that’s it - no further sub menu called Origin. Am I looking in the right place.

I’m using GtkRadiant-1.3.8-ET.

Thanks,


(chavo_one) #2

origin is a shader in the common directory. Load the textures from common in radiant, and you should find it (as well as caulk, nodraw, clip, etc.)

You will need to create a separate brush from your door and texture all of it with common/origin. Then select the origin brush and your door brush and turn it into a func_door_rotating entity.


(Ted) #3

I don’t see a Common directory in Radiant. Am I missing something.


(DeAtHmAsTeR) #4

textures and then common. it should be there,

have you unpacked your pak0.pk3 file? extract that to your etmain folder, do not drag and drop.


(Ted) #5

The only pak0.pak3 file I can find is in the ET game itself. Is that the one?


(Loffy) #6

Make a brush. It will be your door, so make it the right size. It must have the size of a door. Put some nice texture on it. LIke a cool metal texture, so it looks as if the door is made out of metal.
Then make a smaller brush. Put this brush where you want the “turning point” in the door. Yes, put it on the right side (or left side) of the door.
Now you must put the texture called “origin” on this brush.
This texture is here: Start radiant, click on the menu “Textures”, drag down to “common”. You see, the Origin texture is one of the many so called “common” textures. Find it, apply it to the second brush.
The origin texture is orange in colour.
Then you must select the first brush (the door). Then right click anywhere, in the 2d window. Select Func > func door rotating. Im not sure what this is called, but I think it is func door rotating, or something similar.
Now de-select it. Make sure nothing is selected.
Then select the second brush (the brush with the texture Origin). And then press SHIFT and click one on the first brush (the door).
Ok? You must have the two brushes selected. And no other brush. Just the two.
Right-click anywhere in the 2d-window. Select “move into entity”.
Now you can de-select all.
You have now moved the Origin brush into the door brush. They are one.
The door will turn around the centre of the origin brush.
If the turn looks wierd in the game - just move the origin brush in the editor and compile the map again. It is possible to move just the origin brush, without having to move the door, even though they are one.
Good luck!
// Loffy


(Ted) #7

Thank you Loffy for your detailed explanation and everyone else. I’ve got the door to work fine now. I misunderstood the Menu thing and was expecting Common to split into a further sub Menu list including Origin. Now I see the little orange Origin icon. I feel a real El Stupido.

Thanks again everyone. Your help for this newbie is much appreciated.