Reminder: Internet Explorer 6 or below are NOT supported.





|
There are currently 285 users playing Freelancer on
88 servers. | May. 23, 2013 |
The Starport Forum Index
>
The Shipyard
>
Conventional Modding
>
Coding
>
loot mod only goods and other but NO ammo
Browsing this Thread:
1 Anonymous Users
loot mod only goods and other but NO ammo |
||||
|---|---|---|---|---|
|
Not too shy to talk
![]()
Joined:
2009/5/17 0:13 Group:
Registered Users FLServer Admins
Posts:
57
![]() |
Hi guys,
well i have a question because my modders of my team don't find how to code the good loot mod. We want a loot for all the ship in the game wich when a player is killed , he lose in space goods and other but not the ammo . Because else we put the loot mod when player is killed they lose ammo in space, there will be so much ammo in space and it will create some freeze for player. So we need to do a loot mod to player lose in space only goods and other but not the ammo How can we do this ? we have this code for the moment : Code: well i thank you for your anwser ^^ tell my your questions ^^
Posted on: 2009/10/9 15:18
|
|||
|
||||
Re: loot mod only goods and other but NO ammo |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2008/5/15 21:52 From Germany
Group:
Registered Users $$$ Supporters $$$ Senior Members
Posts:
1567
![]() |
Eh...IIRC there isn't a mod solution to what do you want, I had the same problem in my past.
But afaik there is a FLHook plugin solution or something like that....?
Posted on: 2009/10/9 15:48
|
|||
|
||||
|
||||
Re: loot mod only goods and other but NO ammo |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2009/7/30 4:40 From P.R.C
Group:
Registered Users Senior Members
Posts:
758
![]() |
Well, in Freelancer.ini
[Server] death_penalty = 100 ; percentage of your cargo (commoditied and unmounted equipment) lost at death in MP Player will lost he's commoditied and unmounted equipment, only goods and no ammo. Actually, if you want player drop they supply like battery etc, you can just do this with FLHook, but a simplely way is: make a money taker plugin.
Posted on: 2009/10/9 16:44
|
|||
![]() Sorry for my poor english... |
||||
|
||||
Re: loot mod only goods and other but NO ammo |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2008/5/13 15:48 Group:
Registered Users FLServer Admins $$$ Supporters $$$ Senior Members
Posts:
637
![]() |
Quote: ... Any news?
Posted on: 2012/9/20 10:35
|
|||
![]() |
||||
|
||||
Re: loot mod only goods and other but NO ammo |
||||
|---|---|---|---|---|
|
Quite a regular
![]()
Joined:
2009/7/16 5:43 From Germany
Group:
Registered Users
Posts:
153
![]() |
Did u try flhook's [NoSpaceItems] function?
![]() works pretty good for me (afaik fe. at 88flaks hook and the one by kosacid or discos playercntl)
Posted on: 2012/9/20 20:14
|
|||
|
||||
Re: loot mod only goods and other but NO ammo |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2008/5/13 15:48 Group:
Registered Users FLServer Admins $$$ Supporters $$$ Senior Members
Posts:
637
![]() |
My problem are not the drops or loot, but the loss.
I want to keep the ammo for the player. Background: We have items the player needs to collect, to get @ the next level. Those are defined as [ammo] and kept at the ships with no 'dump_cargo' fuse. But so I want at least the freighters to drop loot, it's you can't have both situation atm (afaik). Atm we are using KOSACID's FlHook plugin version 2.0 and I tried the playercntl plugin. The player control plugin dumps additional stuff (depending @ the settings of HullDropFactor), but NOT the cargo (at least with this FlHook version). And 'no space items' does only avoid, that this stuff spawns in space (as far as I remember). For example if a player would try to drop a no-trade-item.
Posted on: 2012/9/21 7:23
|
|||
![]() |
||||
|
||||
Re: loot mod only goods and other but NO ammo |
||||
|---|---|---|---|---|
|
Just popping in
![]()
Joined:
2012/9/22 23:13 Group:
Registered Users
Posts:
2
![]() |
Quote:
Hey, It might be possible to do this with an FLHook Plugin; having the plugin copy the cargo of the player and then spawn it at their coordinates. That way you can have all ships keep ammo and destroy the cargo, which in turn gets spawned in space by the plugin, similar to the way 'playercntl' plugin spawns preset cargo (e.g. Engine components and Super Alloys) I don't know what would be used as a particular call to copy the players cargo before they die, but I'm not a programmer either ![]()
Posted on: 2012/9/22 23:32
|
|||
|
||||










Donations
Forum









