07-01-2009, 07:03 PM
I was coding a weapon and when i came to testing, the sprites refused to display themselves.
Before anybody note it, i am 100% sure i have the right bmp-file and frame numbers.
Code in the weapon itself
And yes, i have searched for the answer, and there is similar cases but there is none who actually says what's wrong.
Help?
Before anybody note it, i am 100% sure i have the right bmp-file and frame numbers.
Code in the weapon itself
DC-Code:
<bmp_begin> file(0-10): sprite\sys\wccube.bmp w: 78 h: 78 row: 10 col: 0 weapon_hp: 1000000 weapon_drop_hurt: 1 weapon_hit_sound: data\084.wav weapon_drop_sound: data\083.wav weapon_broken_sound: data\085.wav <bmp_end> <frame> 0 in_the_sky pic: 0 state: 2000 wait: 3 next: 1 dvx: 0 dvy: 0 centerx: 29 centery: 66 itr: kind: 0 x: 6 y: 9 w: 44 h: 46 dvx: 5 dvy: -7 fall: 70 vrest: 17 bdefend: 30 injury: 60 itr_end: bdy: kind: 0 x: 6 y: 9 w: 44 h: 46 bdy_end: <frame_end> <frame> 1 in_the_sky pic: 1 state: 2000 wait: 2 next: 2 dvx: 0 dvy: 0 centerx: 36 centery: 72 itr: kind: 0 x: 6 y: 9 w: 44 h: 46 dvx: 5 dvy: -7 fall: 70 vrest: 17 bdefend: 30 injury: 60 itr_end: bdy: kind: 0 x: 6 y: 9 w: 44 h: 46 bdy_end: <frame_end> <frame> 2 in_the_sky pic: 2 state: 2000 wait: 3 next: 3 dvx: 0 dvy: 0 centerx: 43 centery: 66 itr: kind: 0 x: 6 y: 9 w: 44 h: 46 dvx: 5 dvy: -7 fall: 70 vrest: 17 bdefend: 30 injury: 60 itr_end: bdy: kind: 0 x: 6 y: 9 w: 44 h: 46 bdy_end: <frame_end> <frame> 3 in_the_sky pic: 3 state: 2000 wait: 2 next: 4 dvx: 0 dvy: 0 centerx: 34 centery: 64 itr: kind: 0 x: 6 y: 9 w: 44 h: 46 dvx: 5 dvy: -7 fall: 70 vrest: 17 bdefend: 30 injury: 60 itr_end: bdy: kind: 0 x: 6 y: 9 w: 44 h: 46 bdy_end: <frame_end> <frame> 4 in_the_sky pic: 4 state: 2000 wait: 3 next: 5 dvx: 0 dvy: 0 centerx: 44 centery: 65 itr: kind: 0 x: 6 y: 9 w: 44 h: 46 dvx: 5 dvy: -7 fall: 70 vrest: 17 bdefend: 30 injury: 60 itr_end: bdy: kind: 0 x: 6 y: 9 w: 44 h: 46 bdy_end: <frame_end> <frame> 5 in_the_sky pic: 5 state: 2000 wait: 2 next: 999 dvx: 0 dvy: 0 centerx: 41 centery: 67 itr: kind: 0 x: 6 y: 9 w: 44 h: 46 dvx: 5 dvy: -7 fall: 70 vrest: 17 bdefend: 30 injury: 60 itr_end: bdy: kind: 0 x: 6 y: 9 w: 44 h: 46 bdy_end: <frame_end> <frame> 10 on_hand pic: 5 state: 2001 wait: 0 next: 0 dvx: 0 dvy: 0 centerx: 41 centery: 67 wpoint: kind: 2 x: 29 y: 56 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: <frame_end> <frame> 20 on_ground pic: 5 state: 2004 wait: 0 next: 0 dvx: 0 dvy: 0 centerx: 41 centery: 67 itr: kind: 14 x: 21 y: 37 w: 16 h: 18 vrest: 1 itr_end: bdy: kind: 0 x: 11 y: 10 w: 36 h: 50 bdy_end: <frame_end> <frame> 21 just_on_ground pic: 3 state: 2000 wait: 1 next: 999 dvx: 0 dvy: 0 centerx: 34 centery: 64 itr: kind: 0 x: 6 y: 9 w: 44 h: 46 dvx: 5 dvy: -7 fall: 70 vrest: 17 bdefend: 30 injury: 60 itr_end: <frame_end> <frame> 399 dummy pic: 5 state: 0 wait: 2 next: 999 dvx: 0 dvy: 0 centerx: 29 centery: 56 bdy: kind: 0 x: 1 y: 19 w: 46 h: 15 bdy_end: <frame_end> |
And yes, i have searched for the answer, and there is similar cases but there is none who actually says what's wrong.
Help?
| Metaknight | G-types | Bottle Skinz | Companion Cube | Art Gallery |
"Do not grieve, it is logical. The needs of the many outweigh the needs of the few, or the one."
- Mr. Spock
"A man's not dead while his name is still spoken"
- Terry Pratchett, Going Postal
"Do not grieve, it is logical. The needs of the many outweigh the needs of the few, or the one."
- Mr. Spock
"A man's not dead while his name is still spoken"
- Terry Pratchett, Going Postal