Updated stuff

This commit is contained in:
Olle Rosenquist 2007-07-21 21:17:30 +00:00
parent e298c3a386
commit b6c9c311c5
2 changed files with 22 additions and 6 deletions

View file

@ -40,6 +40,12 @@ struct spriteptr {
ptr:sprite psprite = @0
}
struct projectileparticles {
int particlespersecond = particlespersecond@1
float particlesize = particlesize@1
float particlelife = particlelife@1
}
struct weapon {
ptr:sprite sprite_body = sprite_body@1
ptr:sprite sprite_cursor = sprite_cursor@1
@ -100,6 +106,7 @@ struct data_container {
array:sprite sprites = sprites.*.*
array:weapon weapons = weapons.*
array:particleinfo particles = particles.*
array:projectileparticles projectileparticles = projectileparticles.*
array:soundset sounds = sounds.*
array:animation animations = animations.*

View file

@ -208,12 +208,21 @@ playerstats {
}
}
modifiers {
ninja {
sprite_body sprites.weapons.weapon_ninja_body
sprite_cursor sprites.weapons.weapon_ninja_cursor
movetime 200
projectileparticles {
gun {
particlespersecond 200
particlesize 16.0
particlelife 0.5
}
rocket {
particlespersecond 100
particlesize 22.0
particlelife 1.3
}
shotgun {
particlespersecond 100
particlesize 16.0
particlelife 0.8
}
}