Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Donations
Monthly costs: -50€
Income (ads): +25€
Donations (last month): +0€

Current balance: -65€
(last updated 2013/05)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Random Image
Collapse/Expand Poll
Would you be interested in Star Citizen modding?
Yes.
No, not interested in SC mods/modding.
No, not interested in SC in general.
Total Votes: 275
3 Comments
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Twitter
Collapse/Expand Who's Online
20 user(s) are online (13 user(s) are browsing Forum)

Members: 1
Guests: 19

Thaddeus, more...
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 285 users playing Freelancer on 88 servers.
May. 23, 2013

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



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
Offline
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:

<script>
<data file="DATA\FX\fuse.ini" method="append">
<source>
[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
</source>
</data>
<data file="DATA\SHIPS\shiparch.ini" method="append" numTimes="0">
<section>
ids_info2 = 66608
</section>
<source>
fuse = drop_cargo_fuse, 0.000000, 1
</source>
</data>
</script>


well i thank you for your anwser ^^

tell my your questions ^^

Posted on: 2009/10/9 15:18
Report Top
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
Offline
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
Open in new window
Report Top
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
Offline
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
Open in new window
Sorry for my poor english...
Report Top
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
Offline
Quote:
...
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 ...


Any news?

Posted on: 2012/9/20 10:35
Open in new window
Report Top
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
Offline
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
Report Top
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
Offline
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
Open in new window
Report Top
Re: loot mod only goods and other but NO ammo
Just popping in
Joined:
2012/9/22 23:13
Group:
Registered Users
Posts: 2
Offline
Quote:

F!R wrote:
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.



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
Report Top