shlt.fgd 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // phlt_copy_brush information, from the official release thread,
  2. // ( http://www.svencoop.com/forums/showthread.php?t=36733 ) :
  3. // Added a new point entity, phlt_copy_brush, which allows to change
  4. // its classname to any you want upon map compilation, e.g. func_wall,
  5. // and then take the model/appearance of an existing unique brush entity
  6. // by targetname. With this, you can, for example, make many clones of
  7. // some prefab you are using a lot, without furtherly approaching map
  8. // limits. Any additional keyvalues added with SmartEdit disabled will
  9. // be kept, allowing for perfect copies which are indistinguishable from
  10. // the original in appearance and function. It is adviced, that the entity
  11. // which's appearance you are copying over possesses an origin brush. If
  12. // you want to rotate the copy, have the new classname be func_rotating.
  13. // Func_walls are blind for angles. Furthermore, note that some entities
  14. // will cause massive errors when having an origin brush, e.g. func_water.
  15. // For such cases, look at the offset of the original entity to where
  16. // the copy is supposed to be, and offset the phlt_copy_brush entity that
  17. // much from the origin of the coordinate system (0, 0, 0). Also, note
  18. // that the copies will look exactly as the original, including its
  19. // lighting and decals placed on it, no matter whether from map start or
  20. // while the map is running (bullet holes, sprays, blood, etc.), and that
  21. // the copies cannot emit texturelights.
  22. @PointClass size(-8 -8 -8, 8 8 8) color(60 242 58) = phlt_copy_brush : "Copies models from other entities"
  23. [
  24. phlt_cpm_target(string) : "Copy Target"
  25. phlt_cpm_class(string) : "Class" : "func_rotating"
  26. targetname(target_source) : "Name"
  27. angles(string) : "Pitch Yaw Roll (X Z Y)" : "0 0 0"
  28. ]
  29. // shlt_entity_wildcard information, from the official release thread,
  30. // ( http://www.svencoop.com/forums/showthread.php?t=36733 ) :
  31. // This entity, upon compile, emits "wildcard_amount" - 1 info_targets,
  32. // and morphs this shlt_entity_wildcard into a trigger_auto, which
  33. // killtargets the emitted info_targets "delay" seconds after map start
  34. // and also removes itself.
  35. // The purpose of this is to prevent a crash from too many entities in
  36. // the middle of the map. Instead, the server would crash on map load,
  37. // and prevent frustration among players from a crash in the middle of play.
  38. @PointClass size(-24 -24 -24, 24 24 24) color(32 96 255) = shlt_entity_wildcard : "Edicts-Wildcard"
  39. [
  40. killtarget(string) : "Wildcard name" : "shlt_wildcards"
  41. wildcard_amount(integer) : "Wildcard size (Entities) (>=1)" : 50
  42. delay(string) : "Delay before removal (>=0.5)" : "1.0"
  43. ]