GMod Racer 2 Mapping
From GMod Wiki
This page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here. Reason for deletion: Not what Garry wants the wiki to be used for Last Edit was made on 11/16/2011 |
Mapping: GMod Racer 2 |
Description: | Information about the entities needed to map for the GMod Racer 2 gamemode. |
Original Author: | HuntsKikBut |
Created: | 2nd June 2009 |
Contents |
Mapping FGD
Snapster has created a fgd to aid with mapping for GMod Racer 2.
Entities
RT Camera
(UNFINISHED)
This entity is used by the big screens to follow the lead racer for the spectators.
Entity Class Name: gmr2_camera
Entity Type: Point
Key Values: None
Garage Center
This entity is used for the vgui display the garage which shows available cars for purchase and parts. This entity needs the angles set to the direction you wish the vehicle to face.
Entity Class Name: gmr2_garage_center
Entity Type: Point
Key Values: None
Garage View
This entity is supposed to be placed at the area where you want the vgui to set your view to the position of the gmr2_garage_center entity. Keep in mind that the player can rotate his view 360 degrees from this point, so try and check that if the entity was rotated 360 degrees that it does not clip with any brushes.
Entity Class Name: gmr2_garage_view
Entity Type: Point
Key Values: None
Vehicle Spawn
This entity is used when spawning vehicles for the race. The script uses the entity's position and angles to spawn the vehicle. There should be at least 20 of these; but the more the merrier.
Entity Class Name: gmr2_vehicle_spawn
Entity Type: Point
Key Values:
- spawnid -> An ascending number count. Starting at 1 and working it's way up by one for every vehicle spawn. Do not skip any numbers.
Lap Manager
This entity is used to determine the number of laps players should be instructed to complete. It is acceptable to set both key values to 1.
Entity Class Name: gmr2_lap_manager
Entity Type: Point
Key Values:
- minlaps -> The minimum number of laps the players should have to complete.
- maxlaps -> The maximum number of laps the players should have to complete.
Checkpoint
This entity is used during a race to determine the player's position among his or her piers. It is also used to determine the start and finish of races.
Entity Class Name: gmr2_checkpoint
Entity Type: Brush
Key Values:
- num -> An ascending number count. Starting at 1 and working it's way up by one for every checkpoint. Do not skip any numbers. The checkpoint with the highest number should be the finish line.