Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to disable weapons/box drop from sky?
#1
I think it's so annoy.
To disable this, which program i should use, which file i should open, and which things i should edit..
Can i use MS VIsual 2015?
I currently play XLf-Omega and LF2_Reinforced.
Tks.
Reply
Thanks given by:
#2
See here
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by: ragingskies44
#3
If you simply want to erase one of weapons, then go to data/data.txt and erase the line. If you don't want any weapons to appear take a look at the similiar topic in data changing section on the forum.



[Image: NsiNMB9.png]

Help me and test my new game basis!




Reply
Thanks given by: ragingskies44
#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:
#5
What kind of error did you get? Does the game have weapon_0.bmp inside the sprite/sys folder?
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by: ragingskies44
#6
(03-06-2017, 11:50 AM)STM1993 Wrote:  What kind of error did you get? Does the game have weapon_0.bmp inside the sprite/sys folder?

There isn't weapon_0.bmp.
I has made default for everything. What should I do first? Shock
Reply
Thanks given by:
#7
(03-06-2017, 11:54 AM)ragingskies44 Wrote:  There isn't weapon_0.bmp.
My mistake, weapon0.bmp, not weapon_0.

Okay, tell you what. Download this:

.zip   noweapon.zip (Size: 718 bytes / Downloads: 33)
After unzipping, there should be a folder called "noweapon". Just put the folder into LF2 directly (no need to move to data or sprite, just put it inside LF2 folder).
[Image: c3hDanA.png]

data.txt lines, replace with something like this:
Code:
id: 100  type: 1  file: noweapon\NOWEAPON.txt   #no weapon
The important part is "noweapon\NOWEAPON.txt". Just use that line to replace over the weapons you don't want. You'd want to leave weapon6,7,8,10,11 as normal because they are milk/icesword/beer/louis armors respectively.

There shouldn't be any errors if you installed the files correctly.

If there are still errors, please press the PrintScreen button on your keyboard to get a screenshot, paste into ms paint, save it as an image and post it here.
[Image: ruRwznO.png]
And show me both the original data.txt and your new data.txt.
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by: ragingskies44
#8
Thanks you for explain me, but it's still get error at loading NOWEAPON.txt
   
My data.txt is attached.


Attached Files
.txt   data.txt (Size: 4.17 KB / Downloads: 22)
.txt   newdata.txt (Size: 4.19 KB / Downloads: 24)
Reply
Thanks given by:
#9
Change:
Code:
id: 151  type: 2  file: data\weapon1.dat   #oilbox
id: 150  type: 2  file: data\weapon2.dat   #stone
to
Code:
"id: 151  type: 2  file: noweapon\NOWEAPON.txt   #oilbox
id: 150  type: 2  file: noweapon\NOWEAPON.txt   #stone
Leave the "id: 100~199 drop weapon" alone, don't change that.
Even then I find it quite strange that your lf2 crashes from this, shouldn't happen at all. I can't exactly test it myself since my computer refuses to load XLF-Omega past "bee_ball.dat", but at least it still loads the noweapons properly.
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by: ragingskies44
#10
It's strange, now i got error at bee_ball.dat, it never happen before.
!!
Hey, it work now! :D :D :D
I move these codes:

id: 122 type: 6 file: data\weapon6.dat #milk
id: 123 type: 6 file: data\weapon8.dat #beer
id: 151 type: 2 file: data\noweapon\NOWEAPON.txt
id: 150 type: 2 file: data\noweapon\NOWEAPON.txt

to before:

id: 996 type: 3 file: data\special2.dat
id: 997 type: 3 file: data\special.dat
id: 999 type: 5 file: data\broken_weapon.dat

So, the game will load all .dat files of all characters then load weapon, special files.
Thanks you so so so much.
I am so happy now, this game is old, but there are some people who are willing to help...
God blesses you!
Reply
Thanks given by: STM1993




Users browsing this thread: 1 Guest(s)