Подсказки в стиле Left 4 Dead

Аддон позволит создавать подсказки для игроков в стиле Left 4 Dead. Аддон больше подходит для разработчиков, а не для обычных игроков, так как для их воспроизведения и правильной работы понадобиться приложить определенное усилие. Но в целом вещь довольно таки интересная, примерную работу можно увидеть на сриншотах.

Подсказки в стиле Left 4 Dead

Параметры функции

The functions themselves:

  • l4dgi_hintall(hinttable) NEW* now uses tables so it’s less confusing for testing quick hints n ♥♥♥♥
  • Has default values so even if you don’t send smth it will still work.

Table structure:

  • hinttable.Type — A string type from the types listed below. Default: «exclamation»
  • hinttable.Text — The text to display. Default: «No Text Input»
  • hinttable.Pos — The position or the entity to follow. Will move with entities. Default: Vector(0,0,0)
  • hinttable.Time — How much time the hint will stay on screen for. Default: Stay Forever
  • hinttable.Sound — A string containing the path to the sound. Default: «l4dgi/beepclear.wav»
  • hinttable.ShouldMove — Bool to determine whether the hint should move. Default: false
  • hinttable.Color — Color of the text as a Vector. Default: Vector(255,255,255)
  • hinttable.Offset — An added offset to the hint position. Default: Vector(0,0,0) hinttable.Identifier — Unique identifier for your hint. This allows for multiple hints at once. Default: «»
  • hinttable.Texture — String path to the custom texture you want to use for the icon. Don’t send a Type if you’re gonna use a custom texture. Textures should be 1:1 aspect ratio ideally. Default: Nil

  • l4dgi_hint(hinttable, ply)
  • Same as hintall but sends hint only to player specified.

  • hint type is one of the types listed below
  • hint time is in seconds

Похожие аддоны:

Установка

  1. Распаковать и разместить папку из архива в папку addons;
  2. Например: D:\Steam\SteamApps\common\GarrysMod\garrysmod\addons.

Аддон в Стиме