Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to disable weapons/box drop from sky?
#4
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.
Reply
Thanks given by:


Messages In This Thread
RE: How to disable weapons/box drop from sky? - by ragingskies44 - 03-06-2017, 09:57 AM



Users browsing this thread: 2 Guest(s)