Important MessageYou are browsing the archived Lancers Reactor forums. You cannot register or login. |
Death Penelty
The general place to discuss MOD''ing Freelancer!
12 posts
• Page 1 of 1
hay i was looking for help with something. i wanted to know how to make it so when a player dies not only is all their equipment destroyed but it doesn't return upon respawn. anyone here know how to do this?
this cannot be done as far as i kno of, it would require a almost instance edit of thier player file, which, can corrupt rather easily
Requiem: A Freelancer Total Conversion MOD
Openlancer Project
Requiem: A Freelancer Total Conversion MOD
Openlancer Project
freelancer.ini:
death_penalty = 100 ; percentage of your cargo (commoditied and unmounted equipment) lost at death in MP
but as you can see its only about cargo and MP - not to mention that this is already at 100%
im not 100% sure about the following idea but to my knowledge fuses are able to "unmount" equipment (ive seen that long time ago)
so basically if its unmounted then its cargo.. and therefore can be lost as a penalty
death_penalty = 100 ; percentage of your cargo (commoditied and unmounted equipment) lost at death in MP
but as you can see its only about cargo and MP - not to mention that this is already at 100%
im not 100% sure about the following idea but to my knowledge fuses are able to "unmount" equipment (ive seen that long time ago)
so basically if its unmounted then its cargo.. and therefore can be lost as a penalty
I think this is the way you could do it...
In the shiparch.ini put this under each ship entry...
fuse = drop_cargo_fuse, 0.000000, 1
In the fuse.ini add this....
[fuse
name = drop_cargo_fuse
lifetime = 0.0
death_fuse = true
[destroy_hp_attachment
at_t = 0.000000
hardpoint = HpWeapon01 <---- or whatever mount
fate = loot
[destroy_hp_attachment
at_t = 0.000000
hardpoint = HpWeapon02 <---- or whatever mount
fate = loot
[dump_cargo
at_t = 0.00000
origin_hardpoint = HpMount
[destroy_root
at_t = 1.000000
I'd keep it limited to just weapons or shields. Removing a scanner/powerplant ect can cause bad things for the player.... oh yeah I'd think long and hard about serious death penalties, players tend to get pissed and lose their motivation to play if they lose they equipment they worked long and hard for. Such a move will probably cause you to seriously rework your economy and npc loot drops to accommodate such losses.
Having said that, I'd like to give thanks to Wasabe who showed the FL community how to do this. No I cant take credit for it
Forsaken
www.shatteredworlds.net
In the shiparch.ini put this under each ship entry...
fuse = drop_cargo_fuse, 0.000000, 1
In the fuse.ini add this....
[fuse
name = drop_cargo_fuse
lifetime = 0.0
death_fuse = true
[destroy_hp_attachment
at_t = 0.000000
hardpoint = HpWeapon01 <---- or whatever mount
fate = loot
[destroy_hp_attachment
at_t = 0.000000
hardpoint = HpWeapon02 <---- or whatever mount
fate = loot
[dump_cargo
at_t = 0.00000
origin_hardpoint = HpMount
[destroy_root
at_t = 1.000000
I'd keep it limited to just weapons or shields. Removing a scanner/powerplant ect can cause bad things for the player.... oh yeah I'd think long and hard about serious death penalties, players tend to get pissed and lose their motivation to play if they lose they equipment they worked long and hard for. Such a move will probably cause you to seriously rework your economy and npc loot drops to accommodate such losses.
Having said that, I'd like to give thanks to Wasabe who showed the FL community how to do this. No I cant take credit for it
Forsaken
www.shatteredworlds.net
You can lose a piece of mounted equipment because they have "hit points" and take damage. You don't really have to change anything in that aspect.
But, the minute a player is destroyed and "respawns" .. all the progress of knocking off the weapons and equipment is lost.
This might defeat the purpose of the game, but just make player ships practically invincible. This way, they don't die..but they'll lose their equipment & weapons in combat. Re-outfitting a ship with new equipment (and weapons) gets pretty expensive. Even sun diving or planet diving won't kill them..but give them enough damage to be pretty expensive to fix.
But, the minute a player is destroyed and "respawns" .. all the progress of knocking off the weapons and equipment is lost.
This might defeat the purpose of the game, but just make player ships practically invincible. This way, they don't die..but they'll lose their equipment & weapons in combat. Re-outfitting a ship with new equipment (and weapons) gets pretty expensive. Even sun diving or planet diving won't kill them..but give them enough damage to be pretty expensive to fix.
of course it would be possible to enable "no kill zones" so new players are protected but in the end everyone playing a game where other can kill you should expect to be killed
ok but in the end we are totally off topic now
there are death fuses already that let your cargo/loot drop
and this cargo does not re-appear when you spawn at a base
so either we get it working to turn mounted equipment to be cargo before the ship goes boom or we find out why cargo is handled different from equipment at a respawn
ok but in the end we are totally off topic now
there are death fuses already that let your cargo/loot drop
and this cargo does not re-appear when you spawn at a base
so either we get it working to turn mounted equipment to be cargo before the ship goes boom or we find out why cargo is handled different from equipment at a respawn
12 posts
• Page 1 of 1
Return to Freelancer General Editing Forum