03-06-2017, 09:57 AM
(This post was last modified: 03-06-2017, 10:23 AM by ragingskies44.)
Default code is:
id: 122 type: 6 file: data\weapon6.dat #milk
id: 123 type: 6 file: data\weapon8.dat #beer
id: 151 type: 2 file: data\weapon1.dat #oilbox
id: 150 type: 2 file: data\weapon2.dat #stone
If i delete two last lines, the game gives an error.
I use this code:
id: 122 type: 6 file: data\weapon6.dat #milk
id: 123 type: 6 file: data\weapon8.dat #beer
id: 151 type: 2 file: data\weapon0.dat #oilbox removed
id: 150 type: 2 file: data\weapon0.dat #stone removed
id: 124 type: 1 file: data\weapon0.dat #< removed
My folder is not contained weapon0.dat, so it gives an error.
I create a weapon0.dat with this code inside:
<bmp_begin>
file(0): sprite\sys\weapon0.bmp w: 1 h: 1 row: 1 col: 1
weapon_hp: 0
weapon_drop_hurt: 0
<bmp_end>
<frame> 0 in_the_sky
pic: 999 state: 9998 wait: 1 next: 1000 centerx: 24 centery: 40
<frame_end>
<frame> 1 in_the_sky
pic: 999 state: 9998 wait: 1 next: 1000 centerx: 24 centery: 40
<frame_end>
<frame> 2 in_the_sky
pic: 999 state: 9998 wait: 1 next: 1000 centerx: 24 centery: 40
<frame_end>
Still error..
Help, please.
id: 122 type: 6 file: data\weapon6.dat #milk
id: 123 type: 6 file: data\weapon8.dat #beer
id: 151 type: 2 file: data\weapon1.dat #oilbox
id: 150 type: 2 file: data\weapon2.dat #stone
If i delete two last lines, the game gives an error.
I use this code:
id: 122 type: 6 file: data\weapon6.dat #milk
id: 123 type: 6 file: data\weapon8.dat #beer
id: 151 type: 2 file: data\weapon0.dat #oilbox removed
id: 150 type: 2 file: data\weapon0.dat #stone removed
id: 124 type: 1 file: data\weapon0.dat #< removed
My folder is not contained weapon0.dat, so it gives an error.
I create a weapon0.dat with this code inside:
<bmp_begin>
file(0): sprite\sys\weapon0.bmp w: 1 h: 1 row: 1 col: 1
weapon_hp: 0
weapon_drop_hurt: 0
<bmp_end>
<frame> 0 in_the_sky
pic: 999 state: 9998 wait: 1 next: 1000 centerx: 24 centery: 40
<frame_end>
<frame> 1 in_the_sky
pic: 999 state: 9998 wait: 1 next: 1000 centerx: 24 centery: 40
<frame_end>
<frame> 2 in_the_sky
pic: 999 state: 9998 wait: 1 next: 1000 centerx: 24 centery: 40
<frame_end>
Still error..
Help, please.