mersox
Active member
I have a bunch of questions. I have wasted a ridiculous amount of time with each of these issues, and have no idea how to solve them. Please help.
1.- Hit sound.
The issue: I have a hit sound I want to be played each time a specific enemy is hit, but not others. For the others I will keep the default OpenBOR sound.
If I include the sound in the enemy's "pain" animation, well, IN THEORY it would override the default hitting sound. But I'm not interested in testing that theory because I'm not planning to do this:
But rather:
And a great thing about the randsound script is that it lets you play multiple sounds at once, so you can have a karate yell playing alonggside a swoosh sound. That's perfect, except in this case, where "puttyhit1.wav" plays at the same time as the default OpenBOR sound hit. How can I get around this?
2. Weapons
This is emparassing. I can't get weapons to work properly. One hour and a half trying to figure this out. Lame.
I want "jasonh" to turn into "jasonh1" upon picking up "morpher". When testing the game, jasonh desn't pick up morpher, much less turns into jasonh1.
Here's jasonh's header:
Here's jasonh1's header:
Here's morpher's header:
Here's part of models.txt:
I have tried with "know morpher" and... nothing.
3.- Changing the bike's speed after its rider has been knocked down. How?
1.- Hit sound.
The issue: I have a hit sound I want to be played each time a specific enemy is hit, but not others. For the others I will keep the default OpenBOR sound.
If I include the sound in the enemy's "pain" animation, well, IN THEORY it would override the default hitting sound. But I'm not interested in testing that theory because I'm not planning to do this:
anim pain
sound data/sounds/puttyhit.wav
But rather:
anim pain
@cmd randSound7 "puttyhit1.wav" "puttyhit2.wav" "puttyhit3.wav" "puttyhit4.wav" "puttyhit5.wav" "puttyhit6.wav" "puttyhit7.wav"
And a great thing about the randsound script is that it lets you play multiple sounds at once, so you can have a karate yell playing alonggside a swoosh sound. That's perfect, except in this case, where "puttyhit1.wav" plays at the same time as the default OpenBOR sound hit. How can I get around this?
2. Weapons
This is emparassing. I can't get weapons to work properly. One hour and a half trying to figure this out. Lame.
I want "jasonh" to turn into "jasonh1" upon picking up "morpher". When testing the game, jasonh desn't pick up morpher, much less turns into jasonh1.
Here's jasonh's header:
name JASONH
type player
weapons hasonh1 JASONH
weaploss 3
Here's jasonh1's header:
name JASONh1
type none
Here's morpher's header:
name morpher
health 20
type item
subtype weapon
weapnum 1
shadow 1
Here's part of models.txt:
load jasonh data/chars/JASONh/JASONh.txt
load jasonh1 data/chars/JASONh/JASONh1.txt
load morpher data/chars/misc/morpher.txt
I have tried with "know morpher" and... nothing.
3.- Changing the bike's speed after its rider has been knocked down. How?