home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2003 April / NEW.ISO / Utilities / Half-Life / dpb_beta_1.exe / Main / dpb.fgd < prev    next >
Encoding:
Text File  |  2002-10-09  |  4.0 KB  |  90 lines

  1. // Digital Paintball Mod FGD by Jonah (68CaliberKiller)
  2. // ALL maps for DPB MUST have the info_paintball entity somewhere in the map(can be anywhere)
  3. // I will describe each entity in the following section:
  4. // info_playerstart_blue: Point Entity
  5. //    This is a spawn point for a member of the blue team.
  6. //    DPB does NOT use info_player_start or info_player_deathmatch, so do not put these entities in your map
  7. //     MAKE SURE TO INCLUDE 16 SPAWN POINTS PER TEAM!
  8. //    Let me rephrase the above:
  9. //    Include 16 spawn points for each team in your map
  10. //    Note the following:
  11. //    15 does not equal 16
  12. //    17 does not equal 16
  13. //    14 does not equal 16
  14. //    1  does not equal 16
  15. // info_playerstart_red: Point Entity
  16. //    Same as info_playerstart_blue, except is a spawn point for red team
  17. // item_flag_center: Point Entity
  18. //    This creates a flag which may be picked up by BOTH teams
  19. // item_flag_red: Point Entity
  20. //    This creates a flag for the red team, which may only be picked up by blue
  21. // item_flag_blue: Point Entity
  22. //    This creates a flag for the blue team, which may only be picked up by red
  23. // trigger_teampush: Brush Entity
  24. //    This is the same as a trigger_push, however, it has 1 field added:
  25. //    team:
  26. //        This determines the team that the trigger_teampush will push.
  27. //        A player who matches this team will be pushed by the entity, and one who is on a different team will be unaffected
  28. //    This entity can be used to create Team-only walls(walls that both teams may shoot through, but only 1 may pass through):
  29. //    Create a brush the size of your wall, but 7 units thick.  Turn this into a trigger_teampush, set speed to 500, and the team to whatever you wish
  30. //    Create another brush parallel to this brush, 7 units thick, and space these brushes 1 unit apart.  Turn this brush into a trigger_teampush, with the same speed and team as previous brush
  31. //    Set the DIRECTION of push for each trigger_teampush AWAY from each other
  32. // func_goalpoint: Solid Entity
  33. //    If a player who has a flag touches this entity, his team wins
  34. //    team:
  35. //        The team who may win by touching this entity with flag
  36. // info_paintball: Point Entity
  37. //    This Entity MUST be in all DPB maps!
  38. //    Players Can Respawn(flag):
  39. //        Determines whether players are allowed to respawn eventually
  40. //    Infinite Round Time(flag):
  41. //        If checked, the round Never ends
  42. //        IF YOU USE THIS, YOU MUST ENABLE PLAYERS TO RESPAWN!!
  43. //    Allowed Weapons:
  44. //        Weapons allowed on map, more information when weapon system is complete(does nothing currently)
  45. //    Respawn Time:
  46. //        Time(in seconds) that a player must wait to respawn.  If "Players can respawn" is not checked, this does nothing
  47. //    Round Time Multiplier:
  48. //        mp_roundtime*this determines the length of rounds(if you have a very small map, make this 0.5, and if you have a huge map, make it 1.5 etc)
  49. @PointClass size(-16 -16 -36, 16 16 36) color(0 0 200) = info_playerstart_blue : "Blue Team Spawn Point" []
  50. @PointClass size(-16 -16 -36, 16 16 36) color(200 0 0) = info_playerstart_red : "Red Team Spawn Point" []
  51. @PointClass = item_flag_center : "Center flag" []
  52. @PointClass = item_flag_red : "Red flag" []
  53. @PointClass = item_flag_blue : "Blue flag" []
  54. @SolidClass base(Trigger, Angles) = trigger_teampush : "Trigger Team Player push"
  55. [
  56.     spawnflags(flags) = 
  57.     [ 
  58.         1: "Once Only" : 0 
  59.         2: "Start Off" : 0
  60.     ]
  61.     speed(integer) : "Speed of push" : 500
  62.     team(integer) : "Team: 1=red, 2=blue" : 1
  63. ]
  64. @SolidClass = func_goalpoint : "Flag capture point"
  65. [
  66.     team(integer) : "Team: 1=red, 2=blue:" : 1
  67. ]
  68. @PointClass = info_paintball : "DPB Detect Entity"
  69. [
  70.     spawnflags(flags) =
  71.     [
  72.         1 : "Allow Respawn" : 0
  73.         2 : "Infinite Time" : 0
  74.         4 : "Change teams" : 0
  75.         8 : "Reset flag ontouch" : 0
  76.     ]
  77.     weapons(integer) : "Allowed Weapons" : 4294967295
  78.     frags(integer) : "Respawn Time" : 0
  79.     message(string) : "Round Time Multiplier" : "1.0"
  80. ]
  81. @SolidClass base(Targetname, RenderFields) = func_block : "Wall ALLOWS players but BLOCKS paintballs" 
  82. [
  83.  
  84.     skin(choices) : "Contents" : -1 =
  85.     [
  86.         -1: "Empty"
  87.         -7: "Volumetric Light"
  88.     ]
  89.     _minlight(string) : "Minimum light level"
  90. ]