Attempting to mod the .Lvl files for health/ammo droids

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Sketchup
Recruit Womprat Killer
Posts: 12
Joined: Fri Jun 21, 2013 11:29 am
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

Attempting to mod the .Lvl files for health/ammo droids

Post by Sketchup »

The Problem:
I run a hero assault server and I'm annoyed when noobs run to the rapid-heal droids when they are losing a fight.

I want to modify the .Lvl files so that the following conditions are satisfied:

1. Health and ammo droids are indestructible
2. Health and ammo droids dispense rapidly
3. Only the health droid in the arena has fast heal OR Only the health droid in the arena is indestructible.


Can anyone help me with this? From what I can tell there is no easy way to decompile .Lvl files so I would have to hex edit it.
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Attempting to mod the .Lvl files for health/ammo droids

Post by Kingpin »

I am pretty sure that is...impossible. Since the game recognizes the droids as one object placed multiple times, you can change the dimensions of the object, but not specific ones.
Sketchup
Recruit Womprat Killer
Posts: 12
Joined: Fri Jun 21, 2013 11:29 am
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

Re: Attempting to mod the .Lvl files for health/ammo droids

Post by Sketchup »

Then how would I simply make all droids indestructible?
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Re: Attempting to mod the .Lvl files for health/ammo droids

Post by nobody3 »

the information you want to edit is stored in ingame.lvl you can either munge new one or hex edit the existing one...

here are the odf's you need to edit: com_item_weaponrecharge and com_item_healthrecharge

they're located in common/odfs
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Attempting to mod the .Lvl files for health/ammo droids

Post by AnthonyBF2 »

While you can make the droids hard to kill and faster, you cannot destroy them individually...

Bit I have an alterantive I've used in my day:

You can make the radius of each droid 0.0 so it becomes useless.

Open the tat2.lvl in the hex editor and search for com_item_weaponrechange and put a number at the end of it like: com_item_weaponrechange8. Then you will see the 5.0 radius. Overwright it with 0.0(never backspace/delete in hex editor) Then use F3 for next instance. Most exact numbered droids have 1 instance.

To make it simpler I marked all the med and ammo droids with each number they have.

Yellow numbers are med droids and red are for ammunition droids. N/A means the droid didn't have a number or was titled different(In Zero editor an ammo droid was titled healthrecharge? ugh)

Anyway here is my reference:

http://tinypic.com/r/2e1dopv/5
Post Reply