Feature Creep / AI soundset

Author
Message
Snake675
GameGuru TGC Backer
6
Years of Service
User Offline
Joined: 6th Apr 2012
Location: Planet Earth
Posted: 28th Feb 2018 16:14
Maybee I do not understand correctly...

The field "soundset" in entity properties is sayd to define the sounds played by ai characters. But for me it does nothing. Searching the ai scripts reveals no calls with theese sound files.

Does someone know? Is this to be implemented soon?

-Snake675
------------------------------------------------------------

i5 2.8 GHz 64bit / 4G ram / W7 home sp1 / geforce gts 250

FPSC 120 Beta 3
Teabone
3D Media Maker
12
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Canada
Posted: 6th Mar 2018 18:25 Edited at: 7th Mar 2018 03:16
Soudset is typically for the "voice" or "character" sub-folders in the audiobank folder. Its a bit confusing because when you click the drop down it doesn't allow you to choose a voice folder but only an audio clip. Which isn't how this field is suppose to be used for characters.

I did report this issue to the github issue tracker:
https://github.com/TheGameCreators/GameGuruRepo/issues/106

to use the soundset feature you have to just type the name of the folder of audio you would like the character to use. Which can be found in audiobank/voices/ or audiobank/character/
folder. (I can't recall exactly which folder GG uses since I'm at work I cannot check.)

Some examples are:
male
player
playerloud
fantasyplayer
female
bunny
soldier


the way soundset works is when a character uses something like the commands in LUA:
PlayCharacterSound(e,"onHurt")
PlayCharacterSound(e,"onDeath")


For example, it will scan the folder you have set for soundset and play the audio file associated with the call randomly. This way you can have many sounds for if an enemy is hurt instead of just one and things like that.

It's important to note that soundset is very different from the soundset# fields. As those are usually defined so you can reference with them with: PlaySound(1,e) etc.

EDIT: There are some bugs with this. So looks like you helped discover one! I can't get any solider enemy to use a soudset. They are silent.
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
Teabone
3D Media Maker
12
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Canada
Posted: 16th Mar 2018 05:43
Hey Snake it appears that they have changed the way characters use sounds now. So we'll have to wait for an update from Lee on how its used now.
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
Snake675
GameGuru TGC Backer
6
Years of Service
User Offline
Joined: 6th Apr 2012
Location: Planet Earth
Posted: 30th Mar 2018 06:48
@Teabone

Thanks. I somehow did get it to work. But it seems like on some sets there is always only played the "0.wav". So we will have to wait (again)...
-Snake675
------------------------------------------------------------

Intel Core i5 760 @ 2.80GHz, RAM 16.0GB, NVIDIA GeForce GT 1030 2047MB

GameGuru
FPS Creator

Login to post a reply

Server time is: 2018-06-21 19:02:58
Your offset time is: 2018-06-21 19:02:58