plane sound / custom tik

Post your scripting questions / solutions here

Moderator: Moderators

User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

:evil:

tik:

Code: Select all

TIKI

setup
{
	path models/fx/dummy
	skelmodel dummy3.skd
}

init
{
	server
	{
	    classname ScriptModel
		rendereffects +dontdraw
		notsolid
	}
	client
	{
		settiki none
		//================================================================================
		// VEHICLES
		//================================================================================
		
		//planes
		aliascache Zeroflyby sound/Zeroflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 obj dm maps "midway"
		aliascache corsairflyby sound/corsairflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 obj dm maps "midway"
		
	}
}

animations
{
	idle     dummy3.skc
with same error:
Image
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

aliascache Zeroflyby sound/Zeroflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 obj dm maps "midway"

should be

aliascache Zeroflyby sound/Zeroflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 maps "obj dm"

:)
Image
User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

Must be the answer I was looking for...now it simply says it cant play stereo wavs so i will make them mono and see....I knew it was somthing simple :oops: .
Image
User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

woohoo...it works but the sound is weird...

what are these values?

soundparms 1.3 0.2 1.0 0.3 600 5000
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

tik

Post by tltrude »

where are you placing the tik file? It should be somewhere in the models folder, if you follow the tutorial correctly.

//planes
aliascache Zeroflyby sound/Zeroflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 auto loaded maps "obj dm midway"
aliascache corsairflyby sound/corsairflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 auto loaded maps "obj dm midway"
Tom Trude,

Image
User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

it works now....had to change those those lines you posted to this lke jv said:

aliascache Zeroflyby sound/Zeroflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 maps "obj dm"
aliascache corsairflyby sound/corsairflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 maps "obj dm"

now to figure out the soundparms values :shock:
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Uhh well I discovered a few days ago soundparms don't affect sounds loaded by tikis :? :? :?

It is annoying :(
Image
User avatar
General Death
Moderator
Posts: 1116
Joined: Thu Nov 21, 2002 2:33 am
Location: NC, USA
Contact:

Post by General Death »

They do...at least the fades...tltrude gave me the info, it was in the ubersound.scr :oops:
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Auto

Post by tltrude »

Don't forget the auto loaded part:

//planes
aliascache Zeroflyby sound/Zeroflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 auto loaded maps "obj dm midway"
aliascache corsairflyby sound/corsairflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 auto loaded maps "obj dm midway"
Tom Trude,

Image
Post Reply