Guest User

Untitled

a guest
Mar 17th, 2021
249
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Current working FGD entries (paste these into your portal 2 fgd file to have them in hammer):
  2.  
  3. @PointClass base(Parentname, Targetname, Angles) studio( "models/npc/hover_turret.mdl" ) = npc_hover_turret: "Hover Turret."
  4.  
  5. [
  6. attachTarget(string) : "attachTarget" : "" : "The attach Target"
  7.  
  8. // Inputs
  9. input InteractivePowerDown(void)
  10. input CreateAddon(string)
  11. input UpdateEnemyMemory(string)
  12. input ForceInteractionWithNPC(string)
  13. input UnholsterWeapon(void)
  14. input HolsterAndDestroyWeapon(void)
  15. input HolsterWeapon(void)
  16. input SetSpeedModSpeed(integer)
  17. input SetSpeedModRadius(integer)
  18. input DisableSpeedModifier(void)
  19. input ActivateSpeedModifier(void)
  20. input OutsideTransition(void)
  21. input InsideTransition(void)
  22. input GagDisable(void)
  23. input GagEnable(void)
  24. input StopScripting(void)
  25. input StartScripting(void)
  26. input Break(void)
  27. input IgnoreDangerSounds(float)
  28. input ForgetEntity(string)
  29. input Wake(void)
  30. input SetSquad(string)
  31. input BeginRappel(void)
  32. input SetHealth(integer)
  33. input SetEnemyFilter(string)
  34. input SetRelationship(string)
  35. input KilledNPC(void)
  36. input physdamagescale(float)
  37. input SetLightingOrigin(string)
  38. input SetLightingOriginHack(string)
  39. input BecomeRagdoll(void)
  40. input IgniteHitboxFireScale(float)
  41. input IgniteNumHitboxFires(integer)
  42. input IgniteLifetime(float)
  43. input Ignite(void)
  44. input SetBodyGroup(integer)
  45. input skin(integer)
  46. input RemovePaint(void)
  47. input CallScriptFunction(string)
  48. input RunScriptCode(string)
  49. input RunScriptFile(string)
  50. input FireUser4(string)
  51. input FireUser3(string)
  52. input FireUser2(string)
  53. input FireUser1(string)
  54. input AddOutput(string)
  55. input EnableDrawInFastReflection(void)
  56. input DisableDrawInFastReflection(void)
  57. input EnableReceivingFlashlight(void)
  58. input DisableReceivingFlashlight(void)
  59. input EnableDraw(void)
  60. input DisableDraw(void)
  61. input EnableShadow(void)
  62. input DisableShadow(void)
  63. input ClearContext(string)
  64. input RemoveContext(string)
  65. input AddContext(string)
  66. input DispatchResponse(string)
  67. input DisableDamageForces(void)
  68. input EnableDamageForces(void)
  69. input SetDamageFilter(string)
  70. input SetLocalAngles(string)
  71. input SetLocalOrigin(string)
  72. input ClearParent(void)
  73. input SetParentAttachmentMaintainOffset(string)
  74. input SetParentAttachment(string)
  75. input SetParent(string) : "Changes the entity's parent in the movement hierarchy."
  76. input AlternativeSorting(boolean)
  77. input Alpha(integer)
  78. input Use(void)
  79. input KillHierarchy(void)
  80. input Kill(void)
  81. input fademaxdist(float)
  82. input fademindist(float)
  83. input SetTeam(integer)
  84. input TeamNum(integer)
  85.  
  86. // Outputs
  87. output OnAlyxFinishedInteraction(void)
  88. output OnAlyxStartedInteraction(void)
  89. output OnPhysGunDrop(void)
  90. output OnPhysGunPickup(void)
  91. output OnForcedInteractionFinished(void)
  92. output OnForcedInteractionAborted(void)
  93. output OnForcedInteractionStarted(void)
  94. output OnSleep(void)
  95. output OnWake(void)
  96. output OnRappelTouchdown(void)
  97. output OnDenyCommanderUse(void)
  98. output OnDamagedByPlayerSquad(void)
  99. output OnDamagedByPlayer(void)
  100. output OnHearCombat(void)
  101. output OnHearPlayer(void)
  102. output OnHearWorld(void)
  103. output OnLostPlayer(void)
  104. output OnLostPlayerLOS(void)
  105. output OnFoundPlayer(void)
  106. output OnLostEnemy(void)
  107. output OnLostEnemyLOS(void)
  108. output OnFoundEnemy(void)
  109. output OnHalfHealth(void)
  110. output OnDeath(void) : "Fired after this turret finishes it's destroy think and begins it's death think."
  111. output OnDamaged(void)
  112. output OnFizzled(void)
  113. output OnIgnite(void)
  114. output OnUser4(void)
  115. output OnUser3(void)
  116. output OnUser2(void)
  117. output OnUser1(void)
  118.  
  119.  
  120. ]
  121.  
  122. @PointClass base(Targetname,Parentname,Angles) studio("models/editor/axis_helper_thick.mdl") = ent_hover_turret_tether :
  123. "Tether that hover turrets attach to."
  124. [
  125.  
  126. // Inputs
  127. input SetLightingOrigin(string)
  128. input SetLightingOriginHack(string)
  129. input BecomeRagdoll(void)
  130. input IgniteHitboxFireScale(float)
  131. input IgniteNumHitboxFires(integer)
  132. input IgniteLifetime(float)
  133. input Ignite(void)
  134. input SetBodyGroup(integer)
  135. input skin(integer)
  136. input RemovePaint(void)
  137. input CallScriptFunction(string)
  138. input RunScriptCode(string)
  139. input RunScriptFile(string)
  140. input FireUser4(string)
  141. input FireUser3(string)
  142. input FireUser2(string)
  143. input FireUser1(string)
  144. input AddOutput(string)
  145. input EnableDrawInFastReflection(void)
  146. input DisableDrawInFastReflection(void)
  147. input EnableReceivingFlashlight(void)
  148. input DisableReceivingFlashlight(void)
  149. input EnableDraw(void)
  150. input DisableDraw(void)
  151. input EnableShadow(void)
  152. input DisableShadow(void)
  153. input ClearContext(string)
  154. input RemoveContext(string)
  155. input AddContext(string)
  156. input DispatchResponse(string)
  157. input DisableDamageForces(void)
  158. input EnableDamageForces(void)
  159. input SetDamageFilter(string)
  160. input SetLocalAngles(string)
  161. input SetLocalOrigin(string)
  162. input ClearParent(void)
  163. input SetParentAttachmentMaintainOffset(string)
  164. input SetParentAttachment(string)
  165. input SetParent(string)
  166. input AlternativeSorting(boolean)
  167. input Alpha(integer)
  168. input Use(void)
  169. input KillHierarchy(void)
  170. input Kill(void)
  171. input fademaxdist(float)
  172. input fademindist(float)
  173. input SetTeam(integer)
  174. input TeamNum(integer)
  175.  
  176. // Outputs
  177. output OnFizzled(void)
  178. output OnIgnite(void)
  179. output OnUser4(void)
  180. output OnUser3(void)
  181. output OnUser2(void)
  182. output OnUser1(void)
  183. ]
  184.  
  185.  
  186.  
  187. /////////////////////////////////////////////////////////
  188.  
  189. Original full keyvalues/IOs (these still need to be fixed before they will work in Hammer. Feel free to get them all working and send them to me!)
  190.  
  191. @PointClass = ent_hover_turret_tether
  192. [
  193. SuppressAnimSounds(boolean) : "SuppressAnimSounds"
  194. ModelScale(float) : "ModelScale"
  195. LightingOrigin(string) : "LightingOrigin"
  196. LightingOriginHack(string) : "LightingOriginHack"
  197. cycle(float) : "cycle"
  198. playbackrate(float) : "playbackrate"
  199. sequence(integer) : "sequence"
  200. hitboxset(integer) : "hitboxset"
  201. SetBodyGroup(integer) : "SetBodyGroup"
  202. body(integer) : "body"
  203. skin(integer) : "skin"
  204. ModelSkin(integer) : "ModelSkin"
  205. LagCompensate(boolean) : "LagCompensate"
  206. fadescale(float) : "fadescale"
  207. fademaxdist(float) : "fademaxdist"
  208. fademindist(float) : "fademindist"
  209. spawnflags(integer) : "spawnflags"
  210. texframeindex(integer) : "texframeindex"
  211. velocity(vector) : "velocity"
  212. ltime(float) : "ltime"
  213. friction(float) : "friction"
  214. gravity(float) : "gravity"
  215. waterlevel(integer) : "waterlevel"
  216. avelocity(vector) : "avelocity"
  217. basevelocity(vector) : "basevelocity"
  218. addon(string) : "addon"
  219. model(studio) : "model"
  220. teamnumber(integer) : "teamnumber"
  221. TeamNum(integer) : "TeamNum"
  222. shadowcastdist(float) : "shadowcastdist"
  223. CollisionGroup(integer) : "CollisionGroup"
  224. MoveType(integer) : "MoveType"
  225. solid(integer) : "solid"
  226. damagefilter(string) : "damagefilter"
  227. target(string) : "target"
  228. health(integer) : "health"
  229. ResponseContext(string) : "ResponseContext"
  230. modelindex(integer) : "modelindex"
  231. effects(integer) : "effects"
  232. nextthink(integer) : "nextthink"
  233. thinkfunction(string) : "thinkfunction"
  234. vscripts(string) : "vscripts"
  235. rendermode(integer) : "rendermode"
  236. renderfx(integer) : "renderfx"
  237. speed(float) : "speed"
  238. hammerid(integer) : "hammerid"
  239. maxgpulevel(integer) : "maxgpulevel"
  240. mingpulevel(integer) : "mingpulevel"
  241. maxcpulevel(integer) : "maxcpulevel"
  242. mincpulevel(integer) : "mincpulevel"
  243. parentname(string) : "parentname"
  244. globalname(string) : "globalname"
  245. classname(string) : "classname"
  246.  
  247. // Inputs
  248. input SetLightingOrigin(string)
  249. input SetLightingOriginHack(string)
  250. input BecomeRagdoll(void)
  251. input IgniteHitboxFireScale(float)
  252. input IgniteNumHitboxFires(integer)
  253. input IgniteLifetime(float)
  254. input Ignite(void)
  255. input SetBodyGroup(integer)
  256. input skin(integer)
  257. input RemovePaint(void)
  258. input CallScriptFunction(string)
  259. input RunScriptCode(string)
  260. input RunScriptFile(string)
  261. input FireUser4(string)
  262. input FireUser3(string)
  263. input FireUser2(string)
  264. input FireUser1(string)
  265. input AddOutput(string)
  266. input EnableDrawInFastReflection(void)
  267. input DisableDrawInFastReflection(void)
  268. input EnableReceivingFlashlight(void)
  269. input DisableReceivingFlashlight(void)
  270. input EnableDraw(void)
  271. input DisableDraw(void)
  272. input EnableShadow(void)
  273. input DisableShadow(void)
  274. input ClearContext(string)
  275. input RemoveContext(string)
  276. input AddContext(string)
  277. input DispatchResponse(string)
  278. input DisableDamageForces(void)
  279. input EnableDamageForces(void)
  280. input SetDamageFilter(string)
  281. input SetLocalAngles(string)
  282. input SetLocalOrigin(string)
  283. input ClearParent(void)
  284. input SetParentAttachmentMaintainOffset(string)
  285. input SetParentAttachment(string)
  286. input SetParent(string)
  287. input AlternativeSorting(boolean)
  288. input Alpha(integer)
  289. input Use(void)
  290. input KillHierarchy(void)
  291. input Kill(void)
  292. input fademaxdist(float)
  293. input fademindist(float)
  294. input SetTeam(integer)
  295. input TeamNum(integer)
  296.  
  297. // Outputs
  298. output OnFizzled(void)
  299. output OnIgnite(void)
  300. output OnUser4(void)
  301. output OnUser3(void)
  302. output OnUser2(void)
  303. output OnUser1(void)
  304. ]
  305.  
  306.  
  307.  
  308. @PointClass = npc_hover_turret
  309. [
  310. canPushPlayer(boolean) : "canPushPlayer"
  311. sentryRotateSpeed(float) : "sentryRotateSpeed"
  312. attachTarget(string) : "attachTarget"
  313. enemyfilter(string) : "enemyfilter"
  314. additionalequipment(string) : "additionalequipment"
  315. hintlimiting(boolean) : "hintlimiting"
  316. hintgroup(string) : "hintgroup"
  317. squadname(string) : "squadname"
  318. ignoreunseenenemies(boolean) : "ignoreunseenenemies"
  319. wakesquad(boolean) : "wakesquad"
  320. wakeradius(float) : "wakeradius"
  321. sleepstate(integer) : "sleepstate"
  322. physdamagescale(float) : "physdamagescale"
  323. Relationship(string) : "Relationship"
  324. BloodColor(integer) : "BloodColor"
  325. HullType(integer) : "HullType"
  326. SuppressAnimSounds(boolean) : "SuppressAnimSounds"
  327. ModelScale(float) : "ModelScale"
  328. LightingOrigin(string) : "LightingOrigin"
  329. LightingOriginHack(string) : "LightingOriginHack"
  330. cycle(float) : "cycle"
  331. playbackrate(float) : "playbackrate"
  332. sequence(integer) : "sequence"
  333. hitboxset(integer) : "hitboxset"
  334. SetBodyGroup(integer) : "SetBodyGroup"
  335. body(integer) : "body"
  336. skin(integer) : "skin"
  337. ModelSkin(integer) : "ModelSkin"
  338. LagCompensate(boolean) : "LagCompensate"
  339. fadescale(float) : "fadescale"
  340. fademaxdist(float) : "fademaxdist"
  341. fademindist(float) : "fademindist"
  342. spawnflags(integer) : "spawnflags"
  343. texframeindex(integer) : "texframeindex"
  344. velocity(vector) : "velocity"
  345. ltime(float) : "ltime"
  346. friction(float) : "friction"
  347. gravity(float) : "gravity"
  348. waterlevel(integer) : "waterlevel"
  349. avelocity(vector) : "avelocity"
  350. basevelocity(vector) : "basevelocity"
  351. addon(string) : "addon"
  352. model(studio) : "model"
  353. teamnumber(integer) : "teamnumber"
  354. TeamNum(integer) : "TeamNum"
  355. shadowcastdist(float) : "shadowcastdist"
  356. CollisionGroup(integer) : "CollisionGroup"
  357. MoveType(integer) : "MoveType"
  358. solid(integer) : "solid"
  359. damagefilter(string) : "damagefilter"
  360. target(string) : "target"
  361. health(integer) : "health"
  362. ResponseContext(string) : "ResponseContext"
  363. modelindex(integer) : "modelindex"
  364. effects(integer) : "effects"
  365. nextthink(integer) : "nextthink"
  366. thinkfunction(string) : "thinkfunction"
  367. vscripts(string) : "vscripts"
  368. rendermode(integer) : "rendermode"
  369. renderfx(integer) : "renderfx"
  370. speed(float) : "speed"
  371. hammerid(integer) : "hammerid"
  372. maxgpulevel(integer) : "maxgpulevel"
  373. mingpulevel(integer) : "mingpulevel"
  374. maxcpulevel(integer) : "maxcpulevel"
  375. mincpulevel(integer) : "mincpulevel"
  376. parentname(string) : "parentname"
  377. globalname(string) : "globalname"
  378. classname(string) : "classname"
  379.  
  380. // Inputs
  381. input InteractivePowerDown(void)
  382. input CreateAddon(string)
  383. input UpdateEnemyMemory(string)
  384. input ForceInteractionWithNPC(string)
  385. input UnholsterWeapon(void)
  386. input HolsterAndDestroyWeapon(void)
  387. input HolsterWeapon(void)
  388. input SetSpeedModSpeed(integer)
  389. input SetSpeedModRadius(integer)
  390. input DisableSpeedModifier(void)
  391. input ActivateSpeedModifier(void)
  392. input OutsideTransition(void)
  393. input InsideTransition(void)
  394. input GagDisable(void)
  395. input GagEnable(void)
  396. input StopScripting(void)
  397. input StartScripting(void)
  398. input Break(void)
  399. input IgnoreDangerSounds(float)
  400. input ForgetEntity(string)
  401. input Wake(void)
  402. input SetSquad(string)
  403. input BeginRappel(void)
  404. input SetHealth(integer)
  405. input SetEnemyFilter(string)
  406. input SetRelationship(string)
  407. input KilledNPC(void)
  408. input physdamagescale(float)
  409. input SetLightingOrigin(string)
  410. input SetLightingOriginHack(string)
  411. input BecomeRagdoll(void)
  412. input IgniteHitboxFireScale(float)
  413. input IgniteNumHitboxFires(integer)
  414. input IgniteLifetime(float)
  415. input Ignite(void)
  416. input SetBodyGroup(integer)
  417. input skin(integer)
  418. input RemovePaint(void)
  419. input CallScriptFunction(string)
  420. input RunScriptCode(string)
  421. input RunScriptFile(string)
  422. input FireUser4(string)
  423. input FireUser3(string)
  424. input FireUser2(string)
  425. input FireUser1(string)
  426. input AddOutput(string)
  427. input EnableDrawInFastReflection(void)
  428. input DisableDrawInFastReflection(void)
  429. input EnableReceivingFlashlight(void)
  430. input DisableReceivingFlashlight(void)
  431. input EnableDraw(void)
  432. input DisableDraw(void)
  433. input EnableShadow(void)
  434. input DisableShadow(void)
  435. input ClearContext(string)
  436. input RemoveContext(string)
  437. input AddContext(string)
  438. input DispatchResponse(string)
  439. input DisableDamageForces(void)
  440. input EnableDamageForces(void)
  441. input SetDamageFilter(string)
  442. input SetLocalAngles(string)
  443. input SetLocalOrigin(string)
  444. input ClearParent(void)
  445. input SetParentAttachmentMaintainOffset(string)
  446. input SetParentAttachment(string)
  447. input SetParent(string)
  448. input AlternativeSorting(boolean)
  449. input Alpha(integer)
  450. input Use(void)
  451. input KillHierarchy(void)
  452. input Kill(void)
  453. input fademaxdist(float)
  454. input fademindist(float)
  455. input SetTeam(integer)
  456. input TeamNum(integer)
  457.  
  458. // Outputs
  459. output OnAlyxFinishedInteraction(void)
  460. output OnAlyxStartedInteraction(void)
  461. output OnPhysGunDrop(void)
  462. output OnPhysGunPickup(void)
  463. output OnForcedInteractionFinished(void)
  464. output OnForcedInteractionAborted(void)
  465. output OnForcedInteractionStarted(void)
  466. output OnSleep(void)
  467. output OnWake(void)
  468. output OnRappelTouchdown(void)
  469. output OnDenyCommanderUse(void)
  470. output OnDamagedByPlayerSquad(void)
  471. output OnDamagedByPlayer(void)
  472. output OnHearCombat(void)
  473. output OnHearPlayer(void)
  474. output OnHearWorld(void)
  475. output OnLostPlayer(void)
  476. output OnLostPlayerLOS(void)
  477. output OnFoundPlayer(void)
  478. output OnLostEnemy(void)
  479. output OnLostEnemyLOS(void)
  480. output OnFoundEnemy(void)
  481. output OnHalfHealth(void)
  482. output OnDeath(void)
  483. output OnDamaged(void)
  484. output OnFizzled(void)
  485. output OnIgnite(void)
  486. output OnUser4(void)
  487. output OnUser3(void)
  488. output OnUser2(void)
  489. output OnUser1(void)
  490. ]
  491.  
  492.  
  493. I can be reached at thewolfcl0ck@gmail.com or Wolfcl0ck#2027 on Discord if you have anything to share. Enjoy, and have fun modding!
RAW Paste Data