VIP Map Creation: Difference between revisions
Jump to navigation
Jump to search
m (Removed unnecessary category (LD tutorials is a subcat of LD already)) |
m (Some cleanup. Numbering is broken and probably beyond my Wiki mojo.) |
||
Line 4: | Line 4: | ||
==Set Up== | ==Set Up== | ||
# The map name must start with <code>as_</code> (E.g. <code>as_test.bsp</code>) | |||
# Determine the coordinates of the VIP escape zone. There are two ways of doing this: | |||
#* By approximation: Create a brush the size of the escape zone and write down the coordinates of its dimensions. Do this by hovering the mouse cursor over each corner of the escape zone brush and writing down the X, Y, and Z coordinates that are displayed in Hammer's status bar. | |||
#* By exact location: Tie the escape zone brush to a false entity (for example ''func_escapezone''). Save the .vmf and open it in a text editor. Search for the false entity term (i.e. ''func_escapezone'') and write down the coordinates listed. | |||
The following image is an "exact location method" example using a 256x256 cube centered about the origin. The X, Y and Z coordinates are in RED, GREEN and BLUE colors, respectively. | The following image is an "exact location method" example using a 256x256 cube centered about the origin. The X, Y and Z coordinates are in RED, GREEN and BLUE colors, respectively. | ||
[[Image:Vip_escapezone_coords.jpg|450 px|center]] | |||
# Add a [[point_servercommand]] entity to your map. Change its name to <code>servercommand</code>. | |||
[[Image:Vip_point_server_command.jpg|center]] | |||
# Add a [[logic_auto]] entity to your map. Use the '''logic_auto''' to trigger '''point_servercommand''' on map spawn with the <code>vip_escapezone</code> command. The format is <code>vip_escapezone minX minY minZ maxX maxY maxZ</code>. If you have two escape zones in your map, add a second output in the same way using vip_escapezone2 as the command. | |||
[[Image:Vip_logic_auto.jpg|center]] | |||
# If you want the VIP to disappear (be teleported), add another output of <code>vip_teleport X Y Z</code> where "X Y Z" is the point he will be teleported to when he escapes. For example: <code>vip_teleport 1024 512 -400</code>. | |||
# Add a [[npc_hostage|hostage]] entity to the map in an inaccessible location so that if time runs out the Terrorists win. The test map has the hostage embedded directly in the ground beneath the rescue zone, so that the radar will show the location of the rescue zone. | |||
# Download the [http://vipmod.punkassfraggers.com| VIP mod] and test your map. | |||
If you have two escape zones in your map, add a second output in the same way using vip_escapezone2 as the command. | |||
Revision as of 08:43, 12 September 2006
This tutorial covers the proper creation of the two entities necessary for running as_
-style maps on a CS:S server running the VIP Mod.
Set Up
- The map name must start with
as_
(E.g.as_test.bsp
) - Determine the coordinates of the VIP escape zone. There are two ways of doing this:
- By approximation: Create a brush the size of the escape zone and write down the coordinates of its dimensions. Do this by hovering the mouse cursor over each corner of the escape zone brush and writing down the X, Y, and Z coordinates that are displayed in Hammer's status bar.
- By exact location: Tie the escape zone brush to a false entity (for example func_escapezone). Save the .vmf and open it in a text editor. Search for the false entity term (i.e. func_escapezone) and write down the coordinates listed.
The following image is an "exact location method" example using a 256x256 cube centered about the origin. The X, Y and Z coordinates are in RED, GREEN and BLUE colors, respectively.
- Add a point_servercommand entity to your map. Change its name to
servercommand
.
- Add a logic_auto entity to your map. Use the logic_auto to trigger point_servercommand on map spawn with the
vip_escapezone
command. The format isvip_escapezone minX minY minZ maxX maxY maxZ
. If you have two escape zones in your map, add a second output in the same way using vip_escapezone2 as the command.
- If you want the VIP to disappear (be teleported), add another output of
vip_teleport X Y Z
where "X Y Z" is the point he will be teleported to when he escapes. For example:vip_teleport 1024 512 -400
. - Add a hostage entity to the map in an inaccessible location so that if time runs out the Terrorists win. The test map has the hostage embedded directly in the ground beneath the rescue zone, so that the radar will show the location of the rescue zone.
- Download the VIP mod and test your map.