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

Is there a maximum ammount of damage a weapon can do?

The general place to discuss MOD''ing Freelancer!

Post Thu Apr 15, 2004 1:26 pm

Is there a maximum ammount of damage a weapon can do?

As in, why won't 4 torps with the line "hull_damage = 250000000" in the code kill a station? Any ideas?

(This site is best viewed with your eyes open)

Post Thu Apr 15, 2004 1:33 pm

I suppose they would, as long as it can be destroyed. Most stations and planets in the game are not destroyable. The basic rule is, if you can dock with it, It can't be destroyed, PERIOD.

I believe that there is a mod or two that fix this, however.

Sanic

Post Thu Apr 15, 2004 1:52 pm

Yea but in MP these mods can crash the server. When you (or someone else) last docked with a base and it's subsequently destroyed, the server crashes. So beware of that when using it in MP (Or try finding a workaround )

Kabouter, mapping for the Phoenix Mod.
Visit www.phoenixmod.com




Edited by - Kabbie on 4/15/2004 2:54:00 PM

Post Thu Apr 15, 2004 1:58 pm

Nah, I've got Destructable Universe or something like that for SP. Thing is that I've added an encounter where you run into an Osiris and the health on it is only 69300, and it takes 12 of those torps to kill it! That's why I'm wondering if there is a limit or something...

(This site is best viewed with your eyes open)

Post Thu Apr 15, 2004 8:18 pm

The code used to implent the damages might have an upper range. If it used an int in C++ style, then the max number would 65535. If anything goes above such a number, it is usually set to 0 or some random number (including negatives).

"A scratch? Your wing is off!"
"No it isn't"
"Then what's that then?"
"I've had worse"

Post Fri Apr 16, 2004 10:24 am

hmm.... do we know what language is FL written in then? I'll try that number in the mean time.

(This site is best viewed with your eyes open)

Return to Freelancer General Editing Forum