Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Shield Battery Question

The general place to discuss MOD''ing Freelancer!

Post Sun Mar 16, 2003 10:50 pm

Shield Battery Question

Hey all,

I've been mucking around with Shield Batteries and it seems that the hitpoint value for the shield batteries is equivalent to the amount that it will repair you. The odd thing (ok maybe not really odd as I can see the point in this) is that it automatically uses as many shield batteries as it can to attempt repairing you up to 100%.

misc_equip.ini

[ShieldBattery
nickname=ge_s_battery_01
ids_name=263748
ids_info=264748
volume=0
mass=10
hit_pts=300
loot_appearance=ge_s_battery_01_loot
units_per_container=15
lootable=true

So I never noticed before that say, if you have 600 shield points and they are depleted that it will use up 2 batteries when you hit the battery button.

Anyone have any thoughts on whether it's possible to disable this? I'm thinking we'll need access to the .thn files personally.

Obviously the nanobots should have the same behavior but I haven't verified this.

-V
The Nets Edge
Freelancer .INI File Parser
Freelancer IDSName Matcher

Post Sun Mar 16, 2003 11:20 pm

You mean you want it to just use one shield battery each time you press the key, or you don't want it to use a whole battery if the depleted amount is less than a whole battery?

Post Sun Mar 16, 2003 11:46 pm

Tygah,

I want it to use 1 shield battery with each press of the key and that shield battery to only restore however X number of points it's designed to. In order to repair the shields to full, you must hit the shield battery key until you've manually used enough batteries to repair it.

Thanks,


-V
The Nets Edge
Freelancer .INI File Parser
Freelancer IDSName Matcher

Post Mon Mar 17, 2003 3:47 am

I worked on this. I know what you mean. I am making a MOD and ran into this.

I want the game more like the original Privateer where you could buy a Repair Robot to repair hull, and Shield Regenerate Booster.

I think the shield batteries and nanobots were cheesy.

I removed them from purchase in game to free up spot for a Repair robot and Shield Regenerate Booster. The more shield batteries you have, the faster your shields will regenerate, and the same for Repair Robot and nanobots.

Use them up in battle in an emrgency, you will ruin the effective Shield Regeneration Rate back down towards normal. Use up all your nanobots, the Repair robot repairs very slowly.

Nanobots, and Shield batteries can only be gotten from a battle as normal. To help those who prefer Cargo and trade type play, they are available from the Illegal Market from time to time via the Rumors/Bribes interface cards asking if you want to buy some for a cost.

I have to run a modified memory editor "trainer" I got off the Net to make this work. I have to monitor what and how many shield batteries and nanobots you have on you while the game is running. I can control "one by one" usage as you say.

There is the problem, mine is a memory trainer type program running in the background. The code you want is hard coded behaviour into the game for a static solution.

The game EXE looks for statement on the fly "IS the shield value up to Max? IF Not, Then use another shield battery up." If you got the 'cracked' EXE you can read the files, but that is illegal to possess. It is encrypted. You can change the statement so it will think after one button push, it is already at maximum and the stop.

Since we do not have this, get Hex Editor out and hunt down the code. I just wanted to let you know what I came cross for your edification; it is possible to do it...but....no..no..maybe some might 'find' the code adress statement behaviour for you and send the data, it will only be good for version 1.0 of FL, and it is NOT an illegal crack.

Post Mon Mar 17, 2003 4:39 am

Xerx,

Thanks for the 411. Man that stinks to think that the code is literally hard coded into the .exe. For a while I was beginning to have some hopes that Freelancer.exe was merely an engine and with luck the "game" was mostly scripted.

Based on this feedback and the lack of anything sensibly recognizable as core scripting for the game in the SCRIPTS directory, my hopes for a game as customizable as say, Dungeon Siege was/is are quickly being dashed.


-V
The Nets Edge
Freelancer .INI File Parser
Freelancer IDSName Matcher

Post Mon Mar 17, 2003 4:50 am

I feel your pain, but do not lose ultimate hope. There IS a open easy to use freelancer .exe to modify. It is just that it was decrypted into a 'modifiable' form.

I do not know if it is legal to put this EXE out or is this considered a crack and thus illegal.

That is how I been making many of my so called impossible mods. LOL

I used a Hex Editor and a LONG time to open it so it could be read. (and of few hack tools).

Edited by - Xerx on 17-03-2003 04:50:18

Post Mon Mar 17, 2003 8:13 pm

oooo a readable exe? lol, this could solve all my problems...

Return to Freelancer General Editing Forum