Ricochet.fgd: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Back|Ricochet Level Creation}}
<pre>
// Ricochet FGD file
// Ricochet FGD file
// By Vitaliy "SiPlus" Kuzmin
// By SiPlus
// 11 Dec 2010 revision
// April 4, 2012 revision
// Works with VHE 3.5+
// For Hammer 3.5
// http://developer.valvesoftware.com/wiki/Ricochet_Level_Creation
// http://developer.valvesoftware.com/wiki/Ricochet_Level_Creation
// Requires Half-Life FGD to work
// Requires Half-Life FGD
 
@SolidClass = worldspawn : "World entity"
@SolidClass = worldspawn : "World entity"
[
[
Line 44: Line 41:
]
]
]
]
@PointClass base(PlayerClass) = info_player_start : "Player start. Not used, but required on all maps." []
@PointClass base(PlayerClass) = info_player_start []
@PointClass base(PlayerClass) studio("models/ricochet/male.mdl") = info_player_deathmatch : "Player deathmatch start"
@PointClass base(PlayerClass) studio("models/ricochet/male.mdl") = info_player_deathmatch
[
[
target(target_destination) : "Target"
target(target_destination) : "Target"
Line 51: Line 48:
]
]


@PointClass base(Angles) = info_ricochet : "Map list indicator entity (required on all maps)." []
@PointClass base(Angles) = info_ricochet []
@PointClass base(PlayerClass) studio("models/ricochet/head.mdl") = info_player_spectator : "Spectator camera"
@PointClass base(PlayerClass) studio("models/ricochet/head.mdl") = info_player_spectator
[
[
target(target_destination) : "Target"
target(target_destination) : "Target"
master(string) : "Master"
master(string) : "Master"
]
]
@PointClass size(-16 16 0,16 16 16) base(PlayerClass, Targetname) studio("models/ricochet/head.mdl") = info_teleport_destination : []
@PointClass size(-16 16 0,16 16 16) base(PlayerClass, Targetname) studio("models/ricochet/head.mdl") = info_teleport_destination []
@PointClass size(-16 16 0,16 16 32) base(Weapon, Targetx) studio("models/ricochet/pow_visual.mdl") = item_powerup : "Powerup" []
@PointClass size(-16 16 0,16 16 32) base(Weapon, Targetx) studio("models/ricochet/pow_visual.mdl") = item_powerup []
 
// Solid entities
@SolidClass = trigger_discreturn []
@SolidClass = trigger_discreturn []
@SolidClass = trigger_fall []
@SolidClass = trigger_fall []
@SolidClass base(Target) = trigger_jump
@SolidClass base(Target) = trigger_jump
[
[
         height(integer) : "Height of jump arc" : 128
         height(integer) : "Height" : 128
]
]
</pre>
[[Category:Level Design]]
[[Category:Ricochet]]
[[Category:FGD]]

Revision as of 09:49, 4 April 2012

// Ricochet FGD file // By SiPlus // April 4, 2012 revision // For Hammer 3.5 // http://developer.valvesoftware.com/wiki/Ricochet_Level_Creation // Requires Half-Life FGD @SolidClass = worldspawn : "World entity" [ message(string) : "Map Description / Title" skyname(string) : "environment map (cl_skyname)" : "disc" sounds(integer) : "CD track to play" : 1 light(integer) : "Default light level" WaveHeight(string) : "Default Wave Height" MaxRange(string) : "Max viewable distance" : "4096" chaptertitle(string) : "Chapter Title Message" startdark(choices) : "Level Fade In" : 0 = [ 0 : "No" 1 : "Yes" ] gametitle(choices) : "Display game title" : 0 = [ 0 : "No" 1 : "Yes" ] newunit(choices) : "New Level Unit" : 0 = [ 0 : "No, keep current" 1 : "Yes, clear previous levels" ] mapteams(string) : "Map Team List" defaultteam(choices) : "Default Team" : 0 = [ 0 : "Fewest Players" 1 : "First Team" ] no_arena(choices) : "Gamemode" : 1 = [ 0 : "Arena" 1 : "Deathmatch" ] ] @PointClass base(PlayerClass) = info_player_start [] @PointClass base(PlayerClass) studio("models/ricochet/male.mdl") = info_player_deathmatch [ target(target_destination) : "Target" master(string) : "Master" ]

@PointClass base(Angles) = info_ricochet [] @PointClass base(PlayerClass) studio("models/ricochet/head.mdl") = info_player_spectator [ target(target_destination) : "Target" master(string) : "Master" ] @PointClass size(-16 16 0,16 16 16) base(PlayerClass, Targetname) studio("models/ricochet/head.mdl") = info_teleport_destination [] @PointClass size(-16 16 0,16 16 32) base(Weapon, Targetx) studio("models/ricochet/pow_visual.mdl") = item_powerup [] @SolidClass = trigger_discreturn [] @SolidClass = trigger_fall [] @SolidClass base(Target) = trigger_jump [

       height(integer) : "Height" : 128

]