Difference between revisions of "Talk:Item nugget"

From Valve Developer Community
Jump to: navigation, search
 
Line 1: Line 1:
FGD code<br />
+
FGD code
@PointClass base(Parentname, Targetname, Angles) studio("models/effects/cappoint_hologram.mdl") = item_nugget : "Aperture Incentivizing Nugget"<br />
+
<source lang="text">
[<br />
+
@PointClass base(Parentname, Targetname, Angles) studio("models/effects/cappoint_hologram.mdl") = item_nugget : "Aperture Incentivizing Nugget"
GroupName(string) : "Group Name" : : "Giving nuggets a group name hints the game that they are intended to be a group"<br />
+
[
RespawnTime(float) : "Respawn Time" : 30 : "Number of seconds between when a nugget is collected and when it respawns"<br />
+
GroupName(string) : "Group Name" : : "Giving nuggets a group name hints the game that they are intended to be a group"
PointValue(choices) : "Point Value" : 1 =<br />
+
RespawnTime(float) : "Respawn Time" : 30 : "Number of seconds between when a nugget is collected and when it respawns"
[<br />
+
PointValue(choices) : "Point Value" : 1 =
1 : "1"<br />
+
[
5 : "5"<br />
+
1 : "1"
10 : "10"<br />
+
5 : "5"
25 : "25"<br />
+
10 : "10"
]<br />
+
25 : "25"
]<br />
+
]
 
+
]
 +
</source>
 
[[User:Coding Ethan|Coding Ethan]] ([[User talk:Coding Ethan|talk]]) 19:31, 28 December 2017 (UTC)
 
[[User:Coding Ethan|Coding Ethan]] ([[User talk:Coding Ethan|talk]]) 19:31, 28 December 2017 (UTC)

Latest revision as of 19:33, 28 December 2017

FGD code

@PointClass base(Parentname, Targetname, Angles) studio("models/effects/cappoint_hologram.mdl") = item_nugget : "Aperture Incentivizing Nugget"
[
	GroupName(string) : "Group Name" : : "Giving nuggets a group name hints the game that they are intended to be a group"
	RespawnTime(float) : "Respawn Time" : 30 : "Number of seconds between when a nugget is collected and when it respawns"
	PointValue(choices) : "Point Value" : 1 =
	[
		1 : "1"
		5 : "5"
		10 : "10"
		25 : "25"
	]
]

Coding Ethan (talk) 19:31, 28 December 2017 (UTC)