aprinto_joss
Member
Hi,
I need little help.
I am still learned to create a hopper assets for industrial based on an original Ben Dorsey content item. Meshes by @MSGSapper for coal, gravel and sand products.
So I cloned 3 times from <kuid2:439337:101033:4> Coal_Loader_Interactive_with_effects.
All had worked, products animation worked as desired.
BUT, there is a problem : loading process animation was too late 1 second after sound and smoke effects. I don't know which number to be changed.
Below the command in config.sys I read :
I need little help.
I am still learned to create a hopper assets for industrial based on an original Ben Dorsey content item. Meshes by @MSGSapper for coal, gravel and sand products.
So I cloned 3 times from <kuid2:439337:101033:4> Coal_Loader_Interactive_with_effects.
All had worked, products animation worked as desired.
BUT, there is a problem : loading process animation was too late 1 second after sound and smoke effects. I don't know which number to be changed.
Below the command in config.sys I read :
Code:
[INDENT=2]soundscript[/INDENT]
[INDENT=2]{[/INDENT]
[INDENT=2] coal_dump[/INDENT]
[INDENT=2] {[/INDENT]
[INDENT=2] trigger "coal_dump"[/INDENT]
[INDENT=2] attachment "a.sound"[/INDENT]
[INDENT=2] nostartdelay 1[/INDENT]
[INDENT=2] repeat-delay 1,0[/INDENT]
[INDENT=2] distance 5,200[/INDENT]
[INDENT=2] sound[/INDENT]
[INDENT=2] {[/INDENT]
[INDENT=3] 0 "coal_dump.wav"[/INDENT]
[INDENT=2] }[/INDENT]
[INDENT=2] }[/INDENT]
[INDENT=2]}[/INDENT]
[INDENT=2]smoke0[/INDENT]
[INDENT=2]{[/INDENT]
[INDENT=2] attachment "a.unloading0"[/INDENT]
[INDENT=2] mode "time"[/INDENT]
[INDENT=2] color 25,25,25,220[/INDENT]
[INDENT=2] accel 0.5,0.3,0[/INDENT]
[INDENT=2] rate 8[/INDENT]
[INDENT=2] velocity 3[/INDENT]
[INDENT=2] lifetime 10[/INDENT]
[INDENT=2] minsize 2[/INDENT]
[INDENT=2] maxsize 10[/INDENT]
[INDENT=2] enabled 0[/INDENT]
[INDENT=2]}[/INDENT]
[\CODE]
And in script file :
[CODE]
float BeginLoad(LoadingReport report)
{
SendMessage(me, "pfx", "+0+1");
Asset meAsset = GetAsset();
World.PlaySound(meAsset, "coal_dump.wav", 1000.0f, 20.0f, 1000.0f, me, "");
return 1.0;
}
[\CODE]
I want loading proccess, smoke and sound start in same time. I'm guessing those setting are in script 'world.playsound' but I don't know where I need to adjust.
Thanks in advance.