Important MessageYou are browsing the archived Lancers Reactor forums. You cannot register or login. |
Is nobody thinking we would need that?
The general place to discuss MOD''ing Freelancer!
21 posts
• Page 1 of 2 • 1, 2
Through my People on the Server i got made attentive to the fact that when a player kills another Player in a PvP (PKing or whatever the heck you wanna call it). There is NO cargo dropped. Is this supposed to be like that? Has it been missed out by DA? Or is it solveable with a mod? I highly appreciate any news around that topic. Coz i can't find any info about it...
"Well that completely normal and if you did you should probably have it drop a random item. Someone could go around with level 10 everything then be backstabbed and lose a Codename weapon!
Wouldnt be fun...."
That would be ideal, add a real penalty to dying, as it is now all you loose is your cargo and any unmounted equipment, what penalty is there in that?
As far as player's dropping stuff, it would be nice but I haven't found a way to get it to work.
Wouldnt be fun...."
That would be ideal, add a real penalty to dying, as it is now all you loose is your cargo and any unmounted equipment, what penalty is there in that?
As far as player's dropping stuff, it would be nice but I haven't found a way to get it to work.
"Bumb"? Do you mean "Bump"? Why not just start a new thread? I have come to se that people dont really respond very well if they know the posts are real old. But, I think that would be neat! You know? I am trying to get all ships to drop ship hull panels, and scrap metal in my mod. But Instead I seemed....... Wait! You dont care about my mod! Anywho.. I dont think it can be done. But what do I know?
to the topic:
i tried to mod this with the fuses that are activated when a ship reaches the given hitpoints.
It is possible to make NPCs lose all guns before they blow up with fuse entries. and i mean all guns, not he drop ratio u set in lootprops.ini.
however, this didnt work on players
you can look it up in the fuse tutorial i wrote, then you can see it in a more detailed way on how i approached it.
a post with a link to it should be in the tutorial forums here. or click the link in my sig and scroll down to FL editing forum, should be a sticky there.
------------------
conclusion: u cant make players to drop/lose stuff with modding. not without editing the player files with a 3rdparty tool. if i remember right ioncross wanted to make something like this - i read that somewhere.
Fjord
---------------------------------
Excelcia Mod Leading Developer
i tried to mod this with the fuses that are activated when a ship reaches the given hitpoints.
It is possible to make NPCs lose all guns before they blow up with fuse entries. and i mean all guns, not he drop ratio u set in lootprops.ini.
however, this didnt work on players
you can look it up in the fuse tutorial i wrote, then you can see it in a more detailed way on how i approached it.
a post with a link to it should be in the tutorial forums here. or click the link in my sig and scroll down to FL editing forum, should be a sticky there.
------------------
conclusion: u cant make players to drop/lose stuff with modding. not without editing the player files with a 3rdparty tool. if i remember right ioncross wanted to make something like this - i read that somewhere.
Fjord
---------------------------------
Excelcia Mod Leading Developer
To get human players to drop their cargo:
In the fuse.ini file, create a new fuse like this:
[fuse
name = drop_cargo_fuse
lifetime = 0.0
death_fuse = true
[dump_cargo
at_t = 0.00000
origin_hardpoint = HpMount
[destroy_root
at_t = 1.000000
You can also have them drop their weapons by adding this to the fuse.ini file under the drop_cargo_fuse
[destroy_hp_attachment
at_t = 0.000000
hardpoint = HpWeapon01
fate = loot
[destroy_hp_attachment
at_t = 0.000000
hardpoint = HpWeapon02
fate = loot
etc etc - add in sections for as many of the HpWeapon hardpoints you want. You can also make shields and thrusters drop this way - basically anything attached to any Hardpoint. Just to note though, even if they are dropped, players still get all their weapons back when they respawn.
Then, in your shiparch.ini file, add in a new fuse entry for EVERY ship that you want to drop it's cargo when it dies:
fuse = drop_cargo_fuse, 0.000000, 1
This will make it so that when players die, they drop all their cargo (including ammo), and any of the items attached to any hardpoints you included under the fuse entry.
HOWEVER, THERE IS ONE BIG DRAWBACK TO ALL OF THIS!!!!!!!!!
If you do this, then players will no longer have displayed "Player has died:player" - there will be no death message! They of course will still actually die though.
There are lots of little details that I didn't post here, because it's late and these are the basics to get this to work. There are other cool things that can be done with players dropping cargo/weapons; maybe someday I'll write a tutorial. . .
Edited by - Wasabe on 6/15/2004 11:45:08 PM
In the fuse.ini file, create a new fuse like this:
[fuse
name = drop_cargo_fuse
lifetime = 0.0
death_fuse = true
[dump_cargo
at_t = 0.00000
origin_hardpoint = HpMount
[destroy_root
at_t = 1.000000
You can also have them drop their weapons by adding this to the fuse.ini file under the drop_cargo_fuse
[destroy_hp_attachment
at_t = 0.000000
hardpoint = HpWeapon01
fate = loot
[destroy_hp_attachment
at_t = 0.000000
hardpoint = HpWeapon02
fate = loot
etc etc - add in sections for as many of the HpWeapon hardpoints you want. You can also make shields and thrusters drop this way - basically anything attached to any Hardpoint. Just to note though, even if they are dropped, players still get all their weapons back when they respawn.
Then, in your shiparch.ini file, add in a new fuse entry for EVERY ship that you want to drop it's cargo when it dies:
fuse = drop_cargo_fuse, 0.000000, 1
This will make it so that when players die, they drop all their cargo (including ammo), and any of the items attached to any hardpoints you included under the fuse entry.
HOWEVER, THERE IS ONE BIG DRAWBACK TO ALL OF THIS!!!!!!!!!
If you do this, then players will no longer have displayed "Player has died:player" - there will be no death message! They of course will still actually die though.
There are lots of little details that I didn't post here, because it's late and these are the basics to get this to work. There are other cool things that can be done with players dropping cargo/weapons; maybe someday I'll write a tutorial. . .
Edited by - Wasabe on 6/15/2004 11:45:08 PM
i dont know bout the whole fuse thing, but if you look on the freelancer.ini then you will find a part called:
[Server
;name = M9Universe
;description = My cool Freelancer server
death_penalty = 100 ; percentage of your cargo (commoditied and unmounted equipment) lost at death in MP
Make sure the death penalty is 100, or it wont drop all of the cargo. This only works for non-mounted items though. Also, notice above there are several parts with the name fuse. Maybe this can help with what you were discussing before, wasabe.
StarSeeker//\ International Pirate
\////
\//
\/
[Server
;name = M9Universe
;description = My cool Freelancer server
death_penalty = 100 ; percentage of your cargo (commoditied and unmounted equipment) lost at death in MP
Make sure the death penalty is 100, or it wont drop all of the cargo. This only works for non-mounted items though. Also, notice above there are several parts with the name fuse. Maybe this can help with what you were discussing before, wasabe.
StarSeeker//\ International Pirate
\////
\//
\/
hehe, thanks Chips =)
When I tested it it seemed to work perfectly, but like I said, the drawback is that there is no longer the "player has died" message =( The reason is because of the line:
death_fuse = true
Basically that means that the player is invincible. To kill the player, you add the lines:
[destroy_root
at_t = 1.000000
And then the player dies - but no death message. If you make the death_fuse = false though, then the loot doesn't drop.
When I tested it it seemed to work perfectly, but like I said, the drawback is that there is no longer the "player has died" message =( The reason is because of the line:
death_fuse = true
Basically that means that the player is invincible. To kill the player, you add the lines:
[destroy_root
at_t = 1.000000
And then the player dies - but no death message. If you make the death_fuse = false though, then the loot doesn't drop.
21 posts
• Page 1 of 2 • 1, 2
Return to Freelancer General Editing Forum