![]() |
How to disable weapons/box drop from sky? - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: LF2 Modifications / Other Versions (https://lf-empire.de/forum/forumdisplay.php?fid=9) +--- Thread: How to disable weapons/box drop from sky? (/showthread.php?tid=10645) Pages:
1
2
|
How to disable weapons/box drop from sky? - ragingskies44 - 03-06-2017 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. RE: How to disable weapons/box drop from sky? - STM1993 - 03-06-2017 See here RE: How to disable weapons/box drop from sky? - Gad - 03-06-2017 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. RE: How to disable weapons/box drop from sky? - ragingskies44 - 03-06-2017 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. RE: How to disable weapons/box drop from sky? - STM1993 - 03-06-2017 What kind of error did you get? Does the game have weapon_0.bmp inside the sprite/sys folder? RE: How to disable weapons/box drop from sky? - ragingskies44 - 03-06-2017 (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? ![]() RE: How to disable weapons/box drop from sky? - STM1993 - 03-06-2017 (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: [attachment=3539] 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). ![]() data.txt lines, replace with something like this: Code: id: 100 type: 1 file: noweapon\NOWEAPON.txt #no weapon 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. ![]() And show me both the original data.txt and your new data.txt. RE: How to disable weapons/box drop from sky? - ragingskies44 - 03-06-2017 Thanks you for explain me, but it's still get error at loading NOWEAPON.txt [attachment=3540] My data.txt is attached. RE: How to disable weapons/box drop from sky? - STM1993 - 03-06-2017 Change: Code: id: 151 type: 2 file: data\weapon1.dat #oilbox Code: "id: 151 type: 2 file: noweapon\NOWEAPON.txt #oilbox 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. RE: How to disable weapons/box drop from sky? - ragingskies44 - 03-06-2017 It's strange, now i got error at bee_ball.dat, it never happen before. !! Hey, it work now! ![]() ![]() ![]() 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! |