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 nobody thinking we would need that?

The general place to discuss MOD''ing Freelancer!

Post Wed Jun 25, 2003 10:37 pm

Is nobody thinking we would need that?

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...

Post Thu Jun 26, 2003 4:15 am

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....

_____________________________
With his army of tapeworms, hell rule the world!

Post Thu Jun 26, 2003 1:10 pm

that is true.. but let's say it's a convoy going on.. and a pirate comes and attacks that Player-Convoy, there should be atleast the Cargo that drops.

Post Thu Jun 26, 2003 6:44 pm

"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.

Post Fri Jun 27, 2003 7:17 am

well if npc ships can drop cargo then there must be a way for players to u know

Mess With the Best Die lIke the Rest

Post Fri Jun 27, 2003 9:54 am

well hopefully unless it's hardcoded... if anybody finds out anything..please post it here..

Post Fri Jun 27, 2003 5:44 pm

I've been trying to get players to drop cargo for a while now, not had any joy so far gonna have another go at it tonight, if i make any headway i'll post my results

Post Tue Jul 01, 2003 6:24 pm

no luck from my side either so far.. i also am in contact with the lead dev for MP at DA.. hope they can help us out on this one.. if anyone comes across something please post..

Post Sun May 09, 2004 4:07 am

*bumb*

i haven't been playing or modding for a while since THIS question or idea could never been fulfilled. If ANYONE managed to get this working please post! I'm really interested in it and i'm sure it would add another dimension to the game

Post Sun May 09, 2004 1:24 pm

"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?

Post Sun May 09, 2004 9:11 pm

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

Post Tue Jun 15, 2004 10:42 pm

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

Post Tue Jun 15, 2004 10:55 pm

Wasabe, if this is true, you should have a front page spot!!! Flippin amazing stuff dude, and excellent work!!! I haven't tested it yet (work), but i hope someone can verify this. You sir, are a genius!!

Post Tue Jun 15, 2004 11:03 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
\////
\//
\/

Post Tue Jun 15, 2004 11:05 pm

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.

Return to Freelancer General Editing Forum