Scripts / foot steps .... would it be possible.

Author
Message
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 7th Jan 2018 16:50 Edited at: 7th Jan 2018 16:50
Hi all .

would it be possible to have different footstep sounds in a trigger zone with plrinzone.lua
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 7th Jan 2018 19:45
do you mean different per zone? then yes.
we can tell if the player is moving using either his distance to his last location or the key presses themselves.

unfortunately you can't get any info on static entities so you would need to use dynamic entities for more accurate "creative" methods (i.e. using raycasting to check the type of floor).
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 12th Jan 2018 20:50
Quote: "unfortunately you can't get any info on static entities so you would need to use dynamic entities for more accurate "creative" methods (i.e. using raycasting to check the type of floor)."


I'm curious how to get sounds when walking on interior floor pieces that are not EBE? Does Game Guru reference the material index? Or is this not possible with static pieces?
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960

Login to post a reply

Server time is: 2024-12-23 00:38:17
Your offset time is: 2024-12-23 00:38:17