User:Popcorn: Difference between revisions
Jump to navigation
Jump to search
Warning:This entity is responsible for most game crashes!
No edit summary |
|||
Line 1: | Line 1: | ||
= | {{ent not in fgd|nolink=1|because=he might not like that}} | ||
{{csgo point|popcorn|internal=1}} | |||
- [[ | ==Entity Description== | ||
It is something between a [[player]] and a [[bot]]. | |||
{{Warning|This entity is responsible for most game crashes!}} | |||
<strong style="color:#8BC53F">To do: </strong> What is its purpose? | |||
This entity is able to materialize: | |||
{| class="standard-table" | |||
! width="64px" | Image | |||
! width="100px" | Name | |||
! width="75px" | Visible if <br /> [[world brush]] | |||
! width="75px" | Casts shadows | |||
! width="75px" | Cuts <br /> [[visleaf|VIS leaves]] | |||
! width="75px" | Blocks NPC [[LOS]] | |||
! width="75px" | Solid to NPCs | |||
! width="75px" | Solid to player(s) | |||
! width="75px" | Solid to physics | |||
! width="75px" | Solid to bullets | |||
! Usage / Notes | |||
|- | |||
| [[Image:Toolsdynamicdifficulty.jpg]] | |||
| '''popcorn''' | |||
| {{N/A}} | |||
| {{Yes}} | |||
| {{No}} | |||
| {{No}} | |||
| {{Yes}} | |||
| {{Yes}} | |||
| {{Yes}} | |||
| {{Yes|Yes, sadly}} | |||
| Use is discouraged. | |||
|} | |||
==KeyValues== | |||
{{KV|Age|intn=age|integer|The age of this entity. Higher values cause the entity to have less time; Lower values cause it to have less experience.}} | |||
{{KV|Activity|intn=activity|choices|This entity's current activity. | |||
:* 0 : ACT_IDLE | |||
:* 1 : ACT_WORK | |||
:* 2 : ACT_WRITEVDCCONTENT | |||
}} | |||
{{KV|Start Disabled|intn=StartDisabled|boolean|Stay dormant until activated (with the <code>Enable</code> input).}} | |||
{{KV|Start Asleep|intn=StartAsleep|boolean|Stay asleep until woken up (with the <code>Wake</code> input).}} | |||
{{KV|Start Quarantined|nofgd=1|since={{HL:A}}|intn=StartQuarantined|boolean|Stay in quarantine until quarantine ends (with the <code>EndQuarantine</code> input).}} | |||
{{KV|Entity Scripts|scriptlist|intn=vscripts|Space delimited list of [[VScript]] files (without file extension) that are executed in this entity's mind after all entities have spawned.|since={{l4d2}}}} | |||
{{KV|Script think function|string|intn=thinkfunction|Name of a function in this entity's mind which will be called automatically every 100 milliseconds (ten times a second) for the duration of its life. It can be used to create timers or to simulate autonomous behavior. {{note|Try to avoid expensive operations in this function, as it may cause performance problems.}}|since={{l4d2}}}} | |||
==Flags== | |||
{{Fl|1|Start at home}} | |||
{{Fl|2|Allow {{ent|god}} }} | |||
{{Fl|4|Allow {{ent|noclip}} }} | |||
{{Fl|4096|Knows the result of 2^12|since={{tf2}} }} | |||
{{Fl|65536|Knows the result of 2^16|since={{csgo}} }} | |||
==Inputs== | |||
{{I EnableDisable}} | |||
{{IO|Wake|Wakes this entity up. This process can take a while or even fail.}} | |||
{{IO|EndQuarantine|nofgd=1|since={{HL:A}}|Allows this entity to move around freely.<br>{{tf2}} Only Medics can fire this input.<br>{{l4d}}{{l4d2}} Does not work for [[infected]].}} | |||
{{IO|Trigger|nofgd=1|deprecated=1|removed={{csgo}}|Triggers this entity, possibly causing a game crash.}} | |||
==Outputs== | |||
{{IO|OnFunny|since=TF2|Fired when this entity tries to be funny.}} | |||
{{IO|RUUUHEEEE|only=CSGO|Fired when the last is B.}} |
Revision as of 11:55, 19 April 2021

popcorn
is a point entity available in Counter-Strike: Global Offensive.
Entity Description
It is something between a player and a bot.

To do: What is its purpose?
This entity is able to materialize:
Image | Name | Visible if world brush |
Casts shadows | Cuts VIS leaves |
Blocks NPC LOS | Solid to NPCs | Solid to player(s) | Solid to physics | Solid to bullets | Usage / Notes |
---|---|---|---|---|---|---|---|---|---|---|
![]() |
popcorn | N/A | Yes | No | No | Yes | Yes | Yes | Yes, sadly | Use is discouraged. |
KeyValues
- Age (age) <integer>
- The age of this entity. Higher values cause the entity to have less time; Lower values cause it to have less experience.
- Activity (activity) <choices>
- This entity's current activity.
- 0 : ACT_IDLE
- 1 : ACT_WORK
- 2 : ACT_WRITEVDCCONTENT
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
- Start Asleep (StartAsleep) <boolean>
- Stay asleep until woken up (with the
Wake
input).
- Start Quarantined (StartQuarantined) <boolean> (in all games since
) !FGD
- Stay in quarantine until quarantine ends (with the
EndQuarantine
input).
- Entity Scripts (vscripts) <scriptlist> (in all games since
)
- Space delimited list of VScript files (without file extension) that are executed in this entity's mind after all entities have spawned.
- Script think function (thinkfunction) <string> (in all games since
)
- Name of a function in this entity's mind which will be called automatically every 100 milliseconds (ten times a second) for the duration of its life. It can be used to create timers or to simulate autonomous behavior.
Note:Try to avoid expensive operations in this function, as it may cause performance problems.
Flags
- Start at home : [1]
- Allow god : [2]
- Allow noclip : [4]
- Knows the result of 2^12 : [4096] (in all games since
)
- Knows the result of 2^16 : [65536] (in all games since
)
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Wake
- Wakes this entity up. This process can take a while or even fail.
- EndQuarantine (in all games since
) !FGD
- Allows this entity to move around freely.
Only Medics can fire this input.
Does not work for infected.
Trigger(removed since) !FGD
- Deprecated.
Triggers this entity, possibly causing a game crash.
Outputs
- OnFunny (in all games since
)
- Fired when this entity tries to be funny.