VIP Map Creation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Please don't do drive-by cleanup-tagging.)
m (Fixed titles. Some other misc formatting.)
Line 1: Line 1:
[[Category:Level Design]][[Category:Level Design Tutorials]]
[[Category:Level Design]][[Category:Level Design Tutorials]]


===Introduction===
This tutorial covers the proper creation of the two entities necessary for running <code>as_ </code>-style maps on a [[CS:S]] server running the [[VIP Mod]].   
The VIP Mod was created by [http://www.lduke.com L. Duke] with the help of [http://www.punkassfraggers.com| PAF community]. It enables the assassination style game play from Counter-Strike in the Counter-Strike:Source environment. This tutorial covers the proper creation of the two entities necessary for running a "as_ style" map on a CS:S server running the VIP mod.   


===Set Up===
==Set Up==
To set up your map to work with the [http://vipmod.punkassfraggers.com| VIP plugin]:
To set up your map to work with the [http://vipmod.punkassfraggers.com| VIP plugin]:
* The map name must start with "as_" (For example- as_test.bsp)
* The map name must start with "as_" (For example- as_test.bsp)

Revision as of 08:25, 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

To set up your map to work with the VIP plugin:

  • The map name must start with "as_" (For example- as_test.bsp)
  • Determine the coordinates of the VIP escape zone. There are two ways of doing this:
    • By approximation: The first is to create a brush the size of the escape zone and writing down the coordinates of it's dimensions. This is done 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: The alternative method starts with tying the escape zone brush to a false entity (for example func_escapezone), saving the .vmf and opening the .vmf 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.

For example:

Vip escapezone coords.jpg
  • Add a point_servercommand entity to your map. Change it's name to "servercommand"

For example:

File:Vip point server command.jpg
  • 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 is "vip_escapezone minX minY minZ maxX maxY maxZ"

For example:

File:Vip logic auto.jpg

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.
  • For testing purposes you may want to download the VIP mod.