mirror of
https://github.com/nzp-team/assets.git
synced 2025-02-07 06:31:08 +00:00
FGD: Fix misc. errors, add Angles superclass to various entities
This commit is contained in:
parent
864ae133a7
commit
a9dc7f7a46
2 changed files with 63 additions and 71 deletions
|
@ -40,6 +40,12 @@
|
|||
killtarget(target_destination) : "Killtarget"
|
||||
]
|
||||
|
||||
@BaseClass = Angles
|
||||
[
|
||||
angles(angle) : "Pitch Yaw Roll (Y Z X)" : "0 0 0" : "This entity's orientation in the world. Pitch is rotation around the Y axis, " +
|
||||
"yaw is the rotation around the Z axis, roll is the rotation around the X axis."
|
||||
]
|
||||
|
||||
// info_texlights
|
||||
// It defines texture lights.
|
||||
// Add any texture name as a key and their brightness as the value.
|
||||
|
@ -321,7 +327,7 @@
|
|||
mangle(string) : "Mangle (Pitch Yaw Roll)"
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) studio("models/props/teleporter.mdl") = func_teleporter_entrance : "Teleporter Entrance"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Angles) color(107 29 20) studio("models/props/teleporter.mdl") = func_teleporter_entrance : "Teleporter Entrance"
|
||||
[
|
||||
target(target_destination) : "Destination"
|
||||
cost(integer) : "Cost"
|
||||
|
@ -335,17 +341,17 @@
|
|||
tpTimer(integer) : "[Timed] Time before return"
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) studio("models/props/mainframe_pad.mdl") = func_teleporter_destination : "Teleporter Destination"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Angles) color(107 29 20) studio("models/props/mainframe_pad.mdl") = func_teleporter_destination : "Teleporter Destination"
|
||||
[
|
||||
targetname(target_source) : "Name"
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(171 73 252) studio("models/props/mainframe_pad.mdl") = func_teleporter_timed : "Teleporter Timed Destination"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Angles) color(171 73 252) studio("models/props/mainframe_pad.mdl") = func_teleporter_timed : "Teleporter Timed Destination"
|
||||
[
|
||||
targetname(target_source) : "Name"
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(62 0 132) studio("models/props/mainframe_pad.mdl") = func_teleporter_pad : "Teleporter Pad"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Angles) color(62 0 132) studio("models/props/mainframe_pad.mdl") = func_teleporter_pad : "Teleporter Pad"
|
||||
[
|
||||
targetname(target_source) : "Name"
|
||||
]
|
||||
|
@ -365,7 +371,7 @@
|
|||
message(string) : "Message"
|
||||
]
|
||||
|
||||
@PointClass size(-9 -9 -4, 9 9 4) base(Item) color(35 67 36) studio() = item_radio : "Radio"
|
||||
@PointClass size(-9 -9 -4, 9 9 4) base(Item, Angles) color(35 67 36) studio() = item_radio : "Radio"
|
||||
[
|
||||
model(studio) : "Model" : "models/props/radio.mdl"
|
||||
mins(vector) : "Bounding Box Mins" : "-8 -8 -4"
|
||||
|
@ -381,7 +387,7 @@
|
|||
@PointClass size(-8 -8 -8, 8 8 8) base(Item) color(141 85 29) studio("models/props/teddy.mdl") = teddy_spawn : "Teddy spawn location" []
|
||||
|
||||
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) studio() = zapper_switch : "Electro-Shock Activation Switch"
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) base(Angles) studio() = zapper_switch : "Electro-Shock Activation Switch"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/zapper/z_switch.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -399,7 +405,7 @@
|
|||
1 : "Requires Power" : 0
|
||||
]
|
||||
]
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) studio() = zapper_node : "Electro-Shock Node"
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) base(Angles) studio() = zapper_node : "Electro-Shock Node"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/zapper/z_zap.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -407,7 +413,7 @@
|
|||
targetname(target_source) : "Name"
|
||||
target(target_destination) : "Target"
|
||||
]
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) studio() = zapper_light : "Electro-Shock Node"
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) base(Angles) studio() = zapper_light : "Electro-Shock Node"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/zapper/z_light.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -438,7 +444,7 @@
|
|||
//
|
||||
|
||||
// Jugger-Nog
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Target) color(107 29 20) studio() = perk_juggernog : "Jugger-Nog"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Target, Angles) color(107 29 20) studio() = perk_juggernog : "Jugger-Nog"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/juggernog.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -474,7 +480,7 @@
|
|||
]
|
||||
|
||||
// PhD Flopper
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Target) color(131 63 148) studio() = perk_flopper : "PhD Flopper"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Target, Angles) color(131 63 148) studio() = perk_flopper : "PhD Flopper"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/flopper.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -510,7 +516,7 @@
|
|||
]
|
||||
|
||||
// Double Tap Root Beer
|
||||
@PointClass size(-16 -16 -32, 16 16 40) base(Item, Target) color(214 203 1) studio() = perk_double : "Double Tap Root Beer"
|
||||
@PointClass size(-16 -16 -32, 16 16 40) base(Item, Target, Angles) color(214 203 1) studio() = perk_double : "Double Tap Root Beer"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/double_tap_2.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -547,7 +553,7 @@
|
|||
]
|
||||
|
||||
// Speed Cola
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target) color(0 117 58) studio() = perk_speed : "Speed Cola"
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target, Angles) color(0 117 58) studio() = perk_speed : "Speed Cola"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/speed_cola.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -583,7 +589,7 @@
|
|||
]
|
||||
|
||||
// Quick Revive
|
||||
@PointClass size(-16 -16 -32, 16 16 32) base(Item, Target) color(129 172 254) studio() = perk_revive : "Quick Revive"
|
||||
@PointClass size(-16 -16 -32, 16 16 32) base(Item, Target, Angles) color(129 172 254) studio() = perk_revive : "Quick Revive"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/quick_revive.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -619,7 +625,7 @@
|
|||
]
|
||||
|
||||
// Stamin-Up
|
||||
@PointClass size(-24 -24 -32, 24 24 48) base(Item, Target) color(254 198 65) studio() = perk_staminup : "Stamin-Up"
|
||||
@PointClass size(-24 -24 -32, 24 24 48) base(Item, Target, Angles) color(254 198 65) studio() = perk_staminup : "Stamin-Up"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/staminup.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -655,7 +661,7 @@
|
|||
]
|
||||
|
||||
// Deadshot Daiquiri
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target) color(0 35 10) studio() = perk_deadshot : "Deadshot Daiquiri"
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target, Angles) color(0 35 10) studio() = perk_deadshot : "Deadshot Daiquiri"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/deadshot.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -691,7 +697,7 @@
|
|||
]
|
||||
|
||||
// Mule Kick
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target) color(0 117 58) studio() = perk_mule : "Mule Kick"
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target, Angles) color(0 117 58) studio() = perk_mule : "Mule Kick"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/mulekick.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -726,7 +732,7 @@
|
|||
]
|
||||
]
|
||||
|
||||
@PointClass size(-32 -32 -32, 32 32 56) base(Item) color(125 196 187) studio("models/machines/hl_scale/pap/p_machine.mdl") =
|
||||
@PointClass size(-32 -32 -32, 32 32 56) base(Item, Angles) color(125 196 187) studio("models/machines/hl_scale/pap/p_machine.mdl") =
|
||||
perk_pap : "Pack-A-Punch"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/pap/p_machine.mdl"
|
||||
|
@ -767,7 +773,7 @@
|
|||
// NZP Weapons
|
||||
//
|
||||
|
||||
@PointClass size(-32 -8 -8, 32 8 8) base(Item) color(141 85 29) studio() =
|
||||
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Angles) color(141 85 29) studio() =
|
||||
mystery_box : "Mystery Box"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/mystery.mdl"
|
||||
|
@ -781,7 +787,7 @@
|
|||
2 : "No Light" : 0
|
||||
]
|
||||
]
|
||||
@PointClass size(-32 -8 -8, 32 8 8) base(Item) color(151 104 34) studio("models/machines/mystery.mdl") =
|
||||
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Angles) color(151 104 34) studio("models/machines/mystery.mdl") =
|
||||
mystery_box_tp_spot : "Mystery Box Possible Spawn Point" []
|
||||
|
||||
@PointClass size(-28 -28 -64, 28 28 40 ) base(Item) color(114 224 172) studio() = item_barricade : "Window Barricade"
|
||||
|
@ -799,14 +805,14 @@
|
|||
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -16, 16 16 51 ) base(Item) color(147 132 108) studio() = power_switch : "Power Switch"
|
||||
@PointClass size(-16 -16 -16, 16 16 51 ) base(Item, Angles) color(147 132 108) studio() = power_switch : "Power Switch"
|
||||
[
|
||||
model(studio) : "Model" : "models/machines/hl_scale/power_switch.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
oldmodel(string) : "Activation Sound" : "sounds/machines/power.wav"
|
||||
]
|
||||
|
||||
@PointClass color(114 224 172) studio() = place_model : "Place a Model"
|
||||
@PointClass color(114 224 172) base(Angles) studio() = place_model : "Place a Model"
|
||||
[
|
||||
model(studio) : "Model" : "models/Props/"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -829,7 +835,7 @@
|
|||
]
|
||||
]
|
||||
|
||||
@PointClass base(Targetname) color(114 224 172) studio("models/misc/chalk.mdl") = weapon_wall : "Wall weapon for buy_weapon"
|
||||
@PointClass base(Targetname, Angles) color(114 224 172) studio("models/misc/chalk.mdl") = weapon_wall : "Wall weapon for buy_weapon"
|
||||
[
|
||||
sequence(choices) : "Weapon" : 0 =
|
||||
[
|
||||
|
@ -866,7 +872,7 @@
|
|||
]
|
||||
model(studio) : "World Model" : "models/GModels/"
|
||||
]
|
||||
@PointClass base(Targetname) color(114 224 172) studio() = explosive_barrel : "Barrel that can explode when shot at"
|
||||
@PointClass base(Targetname, Angles) color(114 224 172) studio() = explosive_barrel : "Barrel that can explode when shot at"
|
||||
[
|
||||
model(studio) : "Model" : "models/props/barrel_m.mdl"
|
||||
health(integer) : "Health" : 300
|
||||
|
@ -1044,13 +1050,13 @@
|
|||
]
|
||||
]
|
||||
|
||||
@PointClass iconsprite("sprites/light_environment.spr") = light_environment : "Environment"
|
||||
@PointClass iconsprite("models/sprites/lamp_glow.spr") = light_environment : "Environment"
|
||||
[
|
||||
pitch(integer) : "Pitch" : 0
|
||||
_light(color255) : "Brightness" : "255 255 128 200"
|
||||
]
|
||||
|
||||
@PointClass size(-8 -8 -8, 8 8 8) base(Light, Target, Targetname) iconsprite("sprites/lightbulb.spr") =
|
||||
@PointClass size(-8 -8 -8, 8 8 8) base(Light, Target, Targetname) iconsprite("models/sprites/lamp_glow.spr") =
|
||||
light : "Invisible lightsource"
|
||||
[
|
||||
spawnflags(Flags) = [ 1 : "Initially dark" : 0 ]
|
||||
|
@ -1278,16 +1284,6 @@
|
|||
health(integer) : "Damage Threshold" : 60
|
||||
]
|
||||
|
||||
@SolidClass base(Targetname, Target, func_rubble) = func_breakawaywall : "Break Away Wall"
|
||||
[
|
||||
spawnflags(flags) =
|
||||
[
|
||||
1 : "explode" : 0
|
||||
2 : "Use Particles" : 0
|
||||
]
|
||||
cnt(integer) : "Ent id # for using Counter"
|
||||
]
|
||||
|
||||
@SolidClass base(Targetname) = func_button : "Button"
|
||||
[
|
||||
speed(integer) : "Speed" : 40
|
||||
|
@ -1691,7 +1687,7 @@
|
|||
model(string) : "Sprite Model" : "progs/s_blood1.spr"
|
||||
]
|
||||
|
||||
@PointClass size(32 32 32) studio() color(255 128 0) = misc_model : "A point entity for displaying models. A frame range can be given to animate the model. 'frame' can also be used to offset the animation. NOTE: set angle value to 0 if using angles key to rotate mdls"
|
||||
@PointClass size(32 32 32) studio() base(Angles) color(255 128 0) = misc_model : "A point entity for displaying models. A frame range can be given to animate the model. 'frame' can also be used to offset the animation. NOTE: set angle value to 0 if using angles key to rotate mdls"
|
||||
[
|
||||
skin(integer) : "Skin index (default 0)" : : "Skin index (default 0) Use this when your custom model has more than one skin to select"
|
||||
model(studio) : "Model Selection (ex progs/model.mdl)"
|
||||
|
|
|
@ -40,6 +40,12 @@
|
|||
killtarget(target_destination) : "Killtarget"
|
||||
]
|
||||
|
||||
@BaseClass = Angles
|
||||
[
|
||||
angles(angle) : "Pitch Yaw Roll (Y Z X)" : "0 0 0" : "This entity's orientation in the world. Pitch is rotation around the Y axis, " +
|
||||
"yaw is the rotation around the Z axis, roll is the rotation around the X axis."
|
||||
]
|
||||
|
||||
// info_texlights
|
||||
// It defines texture lights.
|
||||
// Add any texture name as a key and their brightness as the value.
|
||||
|
@ -321,7 +327,7 @@
|
|||
mangle(string) : "Mangle (Pitch Yaw Roll)"
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) model("models/props/teleporter.mdl") = func_teleporter_entrance : "Teleporter Entrance"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Angles) color(107 29 20) model("models/props/teleporter.mdl") = func_teleporter_entrance : "Teleporter Entrance"
|
||||
[
|
||||
target(target_destination) : "Destination"
|
||||
cost(integer) : "Cost"
|
||||
|
@ -335,17 +341,17 @@
|
|||
tpTimer(integer) : "[Timed] Time before return"
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) model("models/props/mainframe_pad.mdl") = func_teleporter_destination : "Teleporter Destination"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Angles) color(107 29 20) model("models/props/mainframe_pad.mdl") = func_teleporter_destination : "Teleporter Destination"
|
||||
[
|
||||
targetname(target_source) : "Name"
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(171 73 252) model("models/props/mainframe_pad.mdl") = func_teleporter_timed : "Teleporter Timed Destination"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Angles) color(171 73 252) model("models/props/mainframe_pad.mdl") = func_teleporter_timed : "Teleporter Timed Destination"
|
||||
[
|
||||
targetname(target_source) : "Name"
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(62 0 132) model("models/props/mainframe_pad.mdl") = func_teleporter_pad : "Teleporter Pad"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Angles) color(62 0 132) model("models/props/mainframe_pad.mdl") = func_teleporter_pad : "Teleporter Pad"
|
||||
[
|
||||
targetname(target_source) : "Name"
|
||||
]
|
||||
|
@ -365,7 +371,7 @@
|
|||
message(string) : "Message"
|
||||
]
|
||||
|
||||
@PointClass size(-9 -9 -4, 9 9 4) base(Item) color(35 67 36) model({{ model != Null -> model, {"path":"models/props/radio.mdl"} }}) = item_radio : "Radio"
|
||||
@PointClass size(-9 -9 -4, 9 9 4) base(Item, Angles) color(35 67 36) model({{ model != Null -> model, {"path":"models/props/radio.mdl"} }}) = item_radio : "Radio"
|
||||
[
|
||||
model(string) : "Model" : "models/props/radio.mdl"
|
||||
mins(vector) : "Bounding Box Mins" : "-8 -8 -4"
|
||||
|
@ -381,7 +387,7 @@
|
|||
@PointClass size(-8 -8 -8, 8 8 8) base(Item) color(141 85 29) model("models/props/teddy.mdl") = teddy_spawn : "Teddy spawn location" []
|
||||
|
||||
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) model({{ model != Null -> model, {"path":"models/machines/hl_scale/zapper/z_switch.mdl"} }}) = zapper_switch : "Electro-Shock Activation Switch"
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) base(Angles) model({{ model != Null -> model, {"path":"models/machines/hl_scale/zapper/z_switch.mdl"} }}) = zapper_switch : "Electro-Shock Activation Switch"
|
||||
[
|
||||
model(string) : "Model" : "models/machines/hl_scale/zapper/z_switch.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -399,7 +405,7 @@
|
|||
1 : "Requires Power" : 0
|
||||
]
|
||||
]
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) model({{ model != Null -> model, {"path":"models/machines/hl_scale/zapper/z_zap.mdl"} }}) = zapper_node : "Electro-Shock Node"
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) base(Angles) model({{ model != Null -> model, {"path":"models/machines/hl_scale/zapper/z_zap.mdl"} }}) = zapper_node : "Electro-Shock Node"
|
||||
[
|
||||
model(string) : "Model" : "models/machines/hl_scale/zapper/z_zap.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -407,7 +413,7 @@
|
|||
targetname(target_source) : "Name"
|
||||
target(target_destination) : "Target"
|
||||
]
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) model({{ model != Null -> model, {"path":"models/machines/hl_scale/zapper/z_light.mdl"} }}) = zapper_light : "Electro-Shock Node"
|
||||
@PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) base(Angles) model({{ model != Null -> model, {"path":"models/machines/hl_scale/zapper/z_light.mdl"} }}) = zapper_light : "Electro-Shock Node"
|
||||
[
|
||||
model(string) : "Model" : "models/machines/hl_scale/zapper/z_light.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -438,7 +444,7 @@
|
|||
//
|
||||
|
||||
// Jugger-Nog
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Target) color(107 29 20) model({{ model != Null -> model, {"path":"models/machines/hl_scale/juggernog.mdl"} }}) = perk_juggernog : "Jugger-Nog"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Target, Angles) color(107 29 20) model({{ model != Null -> model, {"path":"models/machines/hl_scale/juggernog.mdl"} }}) = perk_juggernog : "Jugger-Nog"
|
||||
[
|
||||
model(model) : "Model" : "models/machines/hl_scale/juggernog.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -474,7 +480,7 @@
|
|||
]
|
||||
|
||||
// PhD Flopper
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Target) color(131 63 148) model({{ model != Null -> model, {"path":"models/machines/hl_scale/flopper.mdl"} }}) = perk_flopper : "PhD Flopper"
|
||||
@PointClass size(-16 -16 -32, 16 16 56) base(Item, Target, Angles) color(131 63 148) model({{ model != Null -> model, {"path":"models/machines/hl_scale/flopper.mdl"} }}) = perk_flopper : "PhD Flopper"
|
||||
[
|
||||
model(model) : "Model" : "models/machines/hl_scale/flopper.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -510,7 +516,7 @@
|
|||
]
|
||||
|
||||
// Double Tap Root Beer
|
||||
@PointClass size(-16 -16 -32, 16 16 40) base(Item, Target) color(214 203 1) model({{ model != Null -> model, {"path":"models/machines/hl_scale/double_tap_2.mdl"} }}) = perk_double : "Double Tap Root Beer"
|
||||
@PointClass size(-16 -16 -32, 16 16 40) base(Item, Target, Angles) color(214 203 1) model({{ model != Null -> model, {"path":"models/machines/hl_scale/double_tap_2.mdl"} }}) = perk_double : "Double Tap Root Beer"
|
||||
[
|
||||
model(model) : "Model" : "models/machines/hl_scale/double_tap_2.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -547,7 +553,7 @@
|
|||
]
|
||||
|
||||
// Speed Cola
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target) color(0 117 58) model({{ model != Null -> model, {"path":"models/machines/hl_scale/speed_cola.mdl"} }}) = perk_speed : "Speed Cola"
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target, Angles) color(0 117 58) model({{ model != Null -> model, {"path":"models/machines/hl_scale/speed_cola.mdl"} }}) = perk_speed : "Speed Cola"
|
||||
[
|
||||
model(model) : "Model" : "models/machines/hl_scale/speed_cola.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -583,7 +589,7 @@
|
|||
]
|
||||
|
||||
// Quick Revive
|
||||
@PointClass size(-16 -16 -32, 16 16 32) base(Item, Target) color(129 172 254) model({{ model != Null -> model, {"path":"models/machines/hl_scale/quick_revive.mdl"} }}) = perk_revive : "Quick Revive"
|
||||
@PointClass size(-16 -16 -32, 16 16 32) base(Item, Target, Angles) color(129 172 254) model({{ model != Null -> model, {"path":"models/machines/hl_scale/quick_revive.mdl"} }}) = perk_revive : "Quick Revive"
|
||||
[
|
||||
model(model) : "Model" : "models/machines/hl_scale/quick_revive.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -619,7 +625,7 @@
|
|||
]
|
||||
|
||||
// Stamin-Up
|
||||
@PointClass size(-24 -24 -32, 24 24 48) base(Item, Target) color(254 198 65) model({{ model != Null -> model, {"path":"models/machines/hl_scale/staminup.mdl"} }}) = perk_staminup : "Stamin-Up"
|
||||
@PointClass size(-24 -24 -32, 24 24 48) base(Item, Target, Angles) color(254 198 65) model({{ model != Null -> model, {"path":"models/machines/hl_scale/staminup.mdl"} }}) = perk_staminup : "Stamin-Up"
|
||||
[
|
||||
model(model) : "Model" : "models/machines/hl_scale/staminup.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -655,7 +661,7 @@
|
|||
]
|
||||
|
||||
// Deadshot Daiquiri
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target) color(0 35 10) model({{ model != Null -> model, {"path":"models/machines/hl_scale/deadshot.mdl"} }}) = perk_deadshot : "Deadshot Daiquiri"
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target, Angles) color(0 35 10) model({{ model != Null -> model, {"path":"models/machines/hl_scale/deadshot.mdl"} }}) = perk_deadshot : "Deadshot Daiquiri"
|
||||
[
|
||||
model(model) : "Model" : "models/machines/hl_scale/deadshot.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -691,7 +697,7 @@
|
|||
]
|
||||
|
||||
// Mule Kick
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target) color(0 117 58) model({{ model != Null -> model, {"path":"models/machines/hl_scale/mulekick.mdl"} }}) = perk_mule : "Mule Kick"
|
||||
@PointClass size(-24 -24 -32, 24 24 56) base(Item, Target, Angles) color(0 117 58) model({{ model != Null -> model, {"path":"models/machines/hl_scale/mulekick.mdl"} }}) = perk_mule : "Mule Kick"
|
||||
[
|
||||
model(model) : "Model" : "models/machines/hl_scale/mulekick.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -767,7 +773,7 @@
|
|||
// NZP Weapons
|
||||
//
|
||||
|
||||
@PointClass size(-32 -8 -8, 32 8 8) base(Item) color(141 85 29) model({{ model != Null -> model, {"path":"models/machines/mystery.mdl"} }}) =
|
||||
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Angles) color(141 85 29) model({{ model != Null -> model, {"path":"models/machines/mystery.mdl"} }}) =
|
||||
mystery_box : "Mystery Box"
|
||||
[
|
||||
model(model) : "Model" : "models/machines/mystery.mdl"
|
||||
|
@ -781,7 +787,7 @@
|
|||
2 : "No Light" : 0
|
||||
]
|
||||
]
|
||||
@PointClass size(-32 -8 -8, 32 8 8) base(Item) color(151 104 34) model("models/machines/mystery.mdl") =
|
||||
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Angles) color(151 104 34) model("models/machines/mystery.mdl") =
|
||||
mystery_box_tp_spot : "Mystery Box Possible Spawn Point" []
|
||||
|
||||
@PointClass size(-28 -28 -64, 28 28 40 ) base(Item) color(114 224 172) model({{ model != Null -> model, {"path":"models/misc/window.mdl"} }}) = item_barricade : "Window Barricade"
|
||||
|
@ -799,14 +805,14 @@
|
|||
|
||||
]
|
||||
|
||||
@PointClass size(-16 -16 -16, 16 16 51 ) base(Item) color(147 132 108) model({{ model != Null -> model, {"path":"models/machines/hl_scale/power_switch.mdl"} }}) = power_switch : "Power Switch"
|
||||
@PointClass size(-16 -16 -16, 16 16 51 ) base(Item, Angles) color(147 132 108) model({{ model != Null -> model, {"path":"models/machines/hl_scale/power_switch.mdl"} }}) = power_switch : "Power Switch"
|
||||
[
|
||||
model(string) : "Model" : "models/machines/hl_scale/power_switch.mdl"
|
||||
skin(integer) : "Skin" : 0
|
||||
oldmodel(string) : "Activation Sound" : "sounds/machines/power.wav"
|
||||
]
|
||||
|
||||
@PointClass color(114 224 172) model({"path" : model, "skin" : skin}) = place_model : "Place a Model"
|
||||
@PointClass color(114 224 172) base(Angles) model({"path" : model, "skin" : skin}) = place_model : "Place a Model"
|
||||
[
|
||||
model(model) : "Model" : "models/props/"
|
||||
skin(integer) : "Skin" : 0
|
||||
|
@ -829,7 +835,7 @@
|
|||
]
|
||||
]
|
||||
|
||||
@PointClass base(Targetname) color(114 224 172) model({"path" : "models/misc/chalk.mdl", "frame" : sequence}) = weapon_wall : "Wall weapon for buy_weapon"
|
||||
@PointClass base(Targetname, Angles) color(114 224 172) model({"path" : "models/misc/chalk.mdl", "frame" : sequence}) = weapon_wall : "Wall weapon for buy_weapon"
|
||||
[
|
||||
sequence(choices) : "Weapon" : 0 =
|
||||
[
|
||||
|
@ -866,7 +872,7 @@
|
|||
]
|
||||
model(string) : "World Model" : "models/GModels/"
|
||||
]
|
||||
@PointClass base(Targetname) color(114 224 172) model({{ model != Null -> model, {"path":"models/props/barrel_m.mdl"} }}) = explosive_barrel : "Barrel that can explode when shot at"
|
||||
@PointClass base(Targetname, Angles) color(114 224 172) model({{ model != Null -> model, {"path":"models/props/barrel_m.mdl"} }}) = explosive_barrel : "Barrel that can explode when shot at"
|
||||
[
|
||||
model(string) : "Model" : "models/props/barrel_m.mdl"
|
||||
health(integer) : "Health" : 300
|
||||
|
@ -1044,13 +1050,13 @@
|
|||
]
|
||||
]
|
||||
|
||||
@PointClass iconsprite("sprites/light_environment.spr") = light_environment : "Environment"
|
||||
@PointClass iconsprite("models/sprites/lamp_glow.spr") = light_environment : "Environment"
|
||||
[
|
||||
pitch(integer) : "Pitch" : 0
|
||||
_light(color255) : "Brightness" : "255 255 128 200"
|
||||
]
|
||||
|
||||
@PointClass size(-8 -8 -8, 8 8 8) base(Light, Target, Targetname) iconsprite("sprites/lightbulb.spr") =
|
||||
@PointClass size(-8 -8 -8, 8 8 8) base(Light, Target, Targetname) iconsprite("models/sprites/lamp_glow.spr") =
|
||||
light : "Invisible lightsource"
|
||||
[
|
||||
spawnflags(Flags) = [ 1 : "Initially dark" : 0 ]
|
||||
|
@ -1278,16 +1284,6 @@
|
|||
health(integer) : "Damage Threshold" : 60
|
||||
]
|
||||
|
||||
@SolidClass base(Targetname, Target, func_rubble) = func_breakawaywall : "Break Away Wall"
|
||||
[
|
||||
spawnflags(flags) =
|
||||
[
|
||||
1 : "explode" : 0
|
||||
2 : "Use Particles" : 0
|
||||
]
|
||||
cnt(integer) : "Ent id # for using Counter"
|
||||
]
|
||||
|
||||
@SolidClass base(Targetname) = func_button : "Button"
|
||||
[
|
||||
speed(integer) : "Speed" : 40
|
||||
|
@ -1690,7 +1686,7 @@
|
|||
model(string) : "Sprite Model" : "progs/s_blood1.spr"
|
||||
]
|
||||
|
||||
@PointClass base(Angle, Target, Targetname) size(32 32 32) color(255 128 0) model({"path" : model, "skin" : skin, "frame": frame}) = misc_model : "A point entity for displaying models. A frame range can be given to animate the model.
|
||||
@PointClass base(Angle, Target, Targetname) size(32 32 32) base(Angles) color(255 128 0) model({"path" : model, "skin" : skin, "frame": frame}) = misc_model : "A point entity for displaying models. A frame range can be given to animate the model.
|
||||
|
||||
mdl: The model to display. Can be of type mdl, bsp, or spr.
|
||||
frame: Single frame to display. Can also be used to offset the animation.
|
||||
|
|
Loading…
Reference in a new issue