mirror of
https://github.com/mapbase-source/source-fgds.git
synced 2025-01-28 06:47:54 +03:00
Added custom model support for Barney and npc_hunter + idle patrol keyvalue for hunters
This commit is contained in:
parent
a1d632df05
commit
fb511402e8
@ -1069,8 +1069,10 @@
|
|||||||
input SetExpressionOverride(string) : "Set facial expression override"
|
input SetExpressionOverride(string) : "Set facial expression override"
|
||||||
]
|
]
|
||||||
|
|
||||||
@NPCClass base(TalkNPC, PlayerCompanion) studio("models/Barney.mdl") = npc_barney : "Barney"
|
@NPCClass base(TalkNPC, PlayerCompanion) studioprop() = npc_barney : "Barney"
|
||||||
[
|
[
|
||||||
|
model(studio) : "Model" : "models/barney.mdl"
|
||||||
|
|
||||||
additionalequipment(choices) : "Weapons" : "weapon_pistol" =
|
additionalequipment(choices) : "Weapons" : "weapon_pistol" =
|
||||||
[
|
[
|
||||||
"weapon_pistol" : "Pistol"
|
"weapon_pistol" : "Pistol"
|
||||||
@ -1235,11 +1237,19 @@
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@NPCClass base(BaseNPC) studio("models/hunter.mdl") = npc_hunter :
|
@NPCClass base(BaseNPC) studio() = npc_hunter :
|
||||||
"A smaller, faster, strider that can pursue the player into buildings."
|
"A smaller, faster, strider that can pursue the player into buildings."
|
||||||
[
|
[
|
||||||
|
model(studio) : "Model" : "models/hunter.mdl" : "The model of this npc_hunter."
|
||||||
|
|
||||||
FollowTarget(target_destination) : "Strider to Follow" : "" : "The name of the strider that this hunter should follow."
|
FollowTarget(target_destination) : "Strider to Follow" : "" : "The name of the strider that this hunter should follow."
|
||||||
|
|
||||||
|
NoIdlePatrol(choices) : "Patrol while idle" : 0 =
|
||||||
|
[
|
||||||
|
0: "Yes"
|
||||||
|
1: "No"
|
||||||
|
]
|
||||||
|
|
||||||
// Inputs
|
// Inputs
|
||||||
input FollowStrider(target_destination) : "Sets the name of the strider that this hunter should follow."
|
input FollowStrider(target_destination) : "Sets the name of the strider that this hunter should follow."
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user