dantedevil
Well-known member
I want to know as possible set a specific pallette of spawned enemy in two different. cases.
1) I have a bike enemy with differrent palletes:
If I set one remap of the bike, only change the map until the bike dies.
I want change the remap of the rider (bd2), to match with the selected map of the bike.
2) In this bike I have a spawn animation, where another enemy comes in the back seat of the bike and then jump.
I want change the remap of this spawnded enemy (bd5), if not always be the default pallete.
I want to know in both cases if there is any way to choose the specific palette, as we do to spawn the enemies in each level.
EX:
spawn dominatrix
map 4
alias vipers_gang
coords -100 230
at 0
1) I have a bike enemy with differrent palletes:
As you can see the rider is "bd2"name BIKER2
health 100
type enemy
subtype biker
gfxshadow 1
candamage player obstacle
nolife 1
load bd2
rider bd2
load bd5
load bikexp
palette data/chars/biker/idle0.png
alternatepal data/chars/biker/map.png
alternatepal data/chars/biker/map2.png
If I set one remap of the bike, only change the map until the bike dies.
Code:
spawn biker2
health 50
map 1
alias black_death_gang
coords 680 230
at 0
2) In this bike I have a spawn animation, where another enemy comes in the back seat of the bike and then jump.
Code:
anim spawn
loop 0
offset 88 130
delay 5
sound data/chars/biker/bike.wav
frame data/chars/biker/bike_bd200.png
frame data/chars/biker/bike_bd200b.png
frame data/chars/biker/bike_bd200.png
frame data/chars/biker/bike_bd200b.png
frame data/chars/biker/bike_bd200.png
frame data/chars/biker/bike_bd200b.png
frame data/chars/biker/bike_bd200.png
frame data/chars/biker/bike_bd200b.png
frame data/chars/biker/bike_bd200.png
frame data/chars/biker/bike_bd200b.png
frame data/chars/biker/bike_bd200.png
frame data/chars/biker/bike_bd200b.png
frame data/chars/biker/bike_bd200.png
frame data/chars/biker/bike_bd200b.png
frame data/chars/biker/bike_bd200.png
frame data/chars/biker/bike_bd200b.png
frame data/chars/biker/bike_bd200.png
frame data/chars/biker/bike_bd200b.png
frame data/chars/biker/bike_bd200.png
subentity bd5
spawnframe 20 -55 1 20 0
frame data/chars/biker/bike_bd200b.png
offset 88 103
frame data/chars/biker/bike00.png
I want to know in both cases if there is any way to choose the specific palette, as we do to spawn the enemies in each level.
EX:
spawn dominatrix
map 4
alias vipers_gang
coords -100 230
at 0