14 February 2017

Urban decay in winter


This video is part of  "Urban decay in winter".
A abandoned tobacco factory from my city. No, it is not Chernobyl or Pripyat. If i can extract the police siren so i can use it for Kingpin Life of crime, i will be happy :) In the courtyard they are a few buildings, but they are not accesible if you go and try to reach the buildings upper floors, due to colapse. Only one is accesible it seems. And you should be carefull so a brick or more don't come down on your head. More videos to come.

Added links

I added links on the right, Quake Army Knife editor related.

11 February 2017

Add a texture with transparency to a wall brush by using func_wall


1. How to add a graffiti texture to your brush without problems by using func_wall:

This tutorial also applies to a normal texture, but in that case you do not put the brush in a func_wall, because if the brush is a prefab (a crate etc.) will not cast shadows.

In the graffiti texture situation it does not matter because the func_wall is added on a wall.

- Add a cube brush in your map, click the + sign, and choose all the 6 faces with ctrl or shift keybord keys. Go to ,,Polyhedron-view,, or ,,Face_view,, and click ,,choose texture,, and click sprites and double click alfa_v1 texture. Now you have the transparency on all the brush faces.

- Click ,,flags for this face,, and untick everything.

So doing the same thing, add your texture with transparency on the south face of the new cube (if you put the brush on the north wall).
Next, you include your brush in the func_wall so the texture won't be bright in the game regardless of the light position.

2. Add it in a func_wall:

- Click KingPin Entities, choose func_wall, click + and delete its poly.

Add your new cube to the func_wall by draggin it with the left mouse button on it. (give ,,new cube,, another name if you wish).
Double click the func_wall and thick ,,SURF2_ALPHA,,.

I learned about ,,func_wall,, ,,SURF2_ALPHA,, and unthick all flags by reading felikkz7 topic, his last answer in the topic.
Thanks felikkz7 for the post in the topic.


Add a brush, resize it and add texture and scale it

1. 3D layouts views
First, go and click ,,Layout,, and choose 4 views (a) layout to have 4 windows.

To move in any window views, move by holding the right mouse button and dragg it there.
To zoom in or out, hold right and left mouse buttons and drag it forward, backward or left and right.

2. Adding a simple brush and resize it:

Make a cube, choose a 0.1 Grid (the button below ,,File,,) click it in the top right window view and with your left mouse button click and edit the brush width and height by dragging one of the middle of the faces of the brush to resize it, and to be as thin as it can be.

Click the new cube bellow the ,,Worldspawn,, and go to ,,Polyhedron-view or Face_view,, and click ,,choose texture,,

3. How to add a new texture in the editor and add it to a brush:

Click the new cube bellow the ,,Worldspawn,, and go to ,,Polyhedron-view or Face_view,, and click ,,choose texture,,

Double click with your mouse to add it to your brush.

4. How to scale the texture on your brush:

Scale the texture on the brush with ,,adjust texture to fit the face,, or ,,adjust texture on face but keep scaling to a minimum,, or click ,,Tex. Scale:,, and add two numbers with space between them:

0.1 0.1 (you can also choose 0.2 0.2 to 1 1 and beyond them in increments of 0.1, 0.12 or even 0.01). Many times i use 0.4 0.4, 0.7 0.7 or even
0.1 0.1.

In the bottom right 3d window you will see that the image has been scaled.