Map of the Whenever

Meltdown (beta2)
Meltdown (beta2) by Chris
Rated 8.5

Latest Articles

Want to write your own article? Please use the Submit Article page.


Latest Maps

Made an awesome map that you want to share with the rest of the world? Submit your own map to etqwmapping.com!

 

Basic - how to add vehicles to a map

November 29, 2007, by Tapir.

This article explains how to add the basic always spawning vehicles to a map. These vehicles will always spawn, no matter what team owns the territory the vehicles are located in. First we'll add a vehicle to the map, then change its direction and spawn time.

Vehicles are added by placing a 'structure_model_construction_ <vehiclename>' entity on your map. To do this, position the mouse cursor in any of the 2D view windows and right-click. Navigate to the 'structure' item and pick the vehicle you want to add to you map. For this article we added a husky to the map.

Positioning your vehicle

A structure_module_construction_<vehiclename> entity behaves just like a normal brush you use to build walls and rooms with. Make sure the vehicle is not obstructed by other vehicles and that it is placed on the ground, not floating far above it. You'll probably want to move the husky close to a spawn point so that players can jump in a husky and drive to their objective. The vehicle entities can also be rotated like normal brushes. Use one of the rotation key combinations to change the vehicle's direction or press the r key to switch to rotation mode. Vehicles should face towards the direction players want to go, such as an objective or the base exit.

Setting vehicle properties

Now that you've added a vehicle to your map, press the N key to open the property editor. Using this window you can change some entity specific settings. We'll have to add at least one key in this window to make our vehicle spawn; the 'start_active' key! In the lower half of this window there are a key input field and a value field. Type in 'start_active' in the key field and in the value field fill in '1'. Press enter to save these settings. The start_active key will activate the vehicle's spawn, making sure it spawns at the map start.

Vehicle property editor

You can set a few other options too, for example the vehicle's respawn time. This is the time in seconds it takes for the vehicle to respawn after it gets destroyed. To make our husky spawn 5 seconds after being destroyed, enter 'wait_time' in the key field and '5' in the value field.


Comments

There are 0 comments for this article.

You must be logged in to post comments.