Post your scripting questions / solutions here
Moderator: Moderators
-
General Death
- Moderator
- Posts: 1116
- Joined: Thu Nov 21, 2002 2:33 am
- Location: NC, USA
-
Contact:
Post
by General Death »
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:

-
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"

-
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

.
-
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
-
tltrude
- Chuck Norris
- Posts: 4774
- Joined: Sun Jul 07, 2002 4:03 am
- Location: Oklahoma, USA
-
Contact:
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,

-
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

-
jv_map
- Site Admin
- Posts: 6521
- Joined: Tue Sep 03, 2002 2:53 pm
- Location: The Netherlands
-
Contact:
Post
by jv_map »
-
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

-
tltrude
- Chuck Norris
- Posts: 4774
- Joined: Sun Jul 07, 2002 4:03 am
- Location: Oklahoma, USA
-
Contact:
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,
