Garry's Mod

Garry's Mod

Accurate Soldier Statue Entity
Technochips  [开发者] 2020 年 5 月 2 日 下午 5:27
Timing Needed
since i'm looking to get an accurate port of the entity_soldier_statue entity in TF2, i'm trying to get an accurate timing of the voice lines.

what i've found:
  • it says a Soldier.Statue voice line every ~16 seconds
  • if a player is more than 256 units away from the statue when it tries to speak, it "cancels" it
  • if the player approaches within the 256 units again after it "canceled" it, it says the line ~0.5 seconds later

now, i'm pretty sure the timing is randomised since spawning a bunch of them and then approaching the thing doesn't make every lines get spoken at the exact same time. this addon uses an approximation of the "random timing" i quickly gathered myself. it'd be nice if someone could inspect this further and get more approximate numbers.
最后由 Technochips 编辑于; 2020 年 5 月 2 日 下午 5:27
< >
正在显示第 1 - 2 条,共 2 条留言
halcyon <3 2020 年 5 月 3 日 下午 1:01 
good luck man
Technochips  [开发者] 8 月 15 日 下午 12:23 
good news: i finally implemented accurate timing in. thanks valve for the sdk. okay it's been five years, bye.
最后由 Technochips 编辑于; 8 月 15 日 下午 12:23
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50