mirror of
https://github.com/mapbase-source/source-fgds.git
synced 2024-12-28 08:45:27 +03:00
Merge pull request #2 from mapbase-source/feature/vscript
VScript support in Mapbase
This commit is contained in:
commit
4b100da719
46
base.fgd
46
base.fgd
@ -100,6 +100,16 @@
|
||||
[
|
||||
targetname(target_source) : "Name" : : "The name that other entities refer to this entity by."
|
||||
|
||||
vscripts(string) : "Entity Scripts" : "" : "Name(s) of script files that are executed after all entities have spawned."
|
||||
thinkfunction(string) : "Script think function" : "" : "Name of a function in this entity's script scope which will be called automatically."
|
||||
|
||||
input RunScriptFile(string) : "Execute a game script file from disk"
|
||||
input RunScriptCode(string) : "Execute a string of script source code"
|
||||
input RunScriptCodeQuotable(string) : "Execute a string of script source code which converts double apostrophes ('') to quotation marks for strings"
|
||||
input CallScriptFunction(string) : "Call a named function from this entity's Activation Script"
|
||||
input ClearScriptScope(void) : "Clears this entity's script scope"
|
||||
|
||||
|
||||
// Inputs
|
||||
input Kill(void) : "Removes this entity from the world."
|
||||
input KillHierarchy(void) : "Removes this entity and all its children from the world."
|
||||
@ -1074,6 +1084,14 @@
|
||||
minpropscreenwidth(float) : "End Fade Pixels" : 0 : "Minimum number of pixels wide at which the prop is visible (0 = don't fade out). This number is ignored if the prop has a specific fade distance specified."
|
||||
detailvbsp(string) : "Detail.vbsp file" : "detail.vbsp" : "Detail.vbsp file to use for emitting detail props (found in directory <root>/modname)"
|
||||
detailmaterial(string) : "Detail material file" : "detail/detailsprites" : "Material for detail sprites to use for drawing detail props"
|
||||
vscriptlanguage(choices) : "VScript language" : 0 : "Sets the script language this map should use for entity scripts." =
|
||||
[
|
||||
0 : "Default (Squirrel)"
|
||||
//1 : "GameMonkey (Unsupported)"
|
||||
2 : "Squirrel"
|
||||
//3 : "Lua (Unsupported)"
|
||||
//4 : "Python (Unsupported)"
|
||||
]
|
||||
startdark(choices) : "Level Fade In" : 0 =
|
||||
[
|
||||
0 : "No"
|
||||
@ -4928,6 +4946,26 @@
|
||||
output OnTriggerParameter(string) : "Fired when the relay is triggered with a parameter."
|
||||
]
|
||||
|
||||
@PointClass base(Targetname) iconsprite("editor/logic_script.vmt") = logic_script : "An entity that acts as a container for scripts"
|
||||
[
|
||||
Group00(target_destination) : "EntityGroup[0]"
|
||||
Group01(target_destination) : "EntityGroup[1]"
|
||||
Group02(target_destination) : "EntityGroup[2]"
|
||||
Group03(target_destination) : "EntityGroup[3]"
|
||||
Group04(target_destination) : "EntityGroup[4]"
|
||||
Group05(target_destination) : "EntityGroup[5]"
|
||||
Group06(target_destination) : "EntityGroup[6]"
|
||||
Group07(target_destination) : "EntityGroup[7]"
|
||||
Group08(target_destination) : "EntityGroup[8]"
|
||||
Group09(target_destination) : "EntityGroup[9]"
|
||||
Group10(target_destination) : "EntityGroup[10]"
|
||||
Group11(target_destination) : "EntityGroup[11]"
|
||||
Group12(target_destination) : "EntityGroup[12]"
|
||||
Group13(target_destination) : "EntityGroup[13]"
|
||||
Group14(target_destination) : "EntityGroup[14]"
|
||||
Group15(target_destination) : "EntityGroup[15]"
|
||||
]
|
||||
|
||||
@PointClass base(Targetname, EnableDisable) iconsprite("editor/logic_timer.vmt") = logic_timer :
|
||||
"An entity that fires a timer event at regular, or random, intervals. It can also be set to oscillate between" +
|
||||
"a high and low end, in which case it will fire alternating high/low outputs each time it fires."
|
||||
@ -6745,6 +6783,14 @@
|
||||
output OutForceFriendlyFire(bool) : "Outputs whether the damage info forces friendly fire."
|
||||
]
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
@FilterClass base(BaseFilter) iconsprite("editor/filter_script.vmt") = filter_script :
|
||||
"A filter which utilizes hooks in its entity scripts."
|
||||
[
|
||||
]
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
// Special Mapbase Entities
|
||||
|
Loading…
Reference in New Issue
Block a user