Mission Script for commodity transportation
-
I’ve noticed that all missions proposed in Freelancer are fight oriented: kill, catch, destroy.
I would like to create merchant oriented missions: transport a VIP, a prisoner, needed commodities (with would also include pirates or faction to counter the mission).
I have looked for mission scripting tutorial but did not found any information about commodities…
Does anyone know how to script this example?Bring 15 crates of Boron to Liberty DSE station and get paid for the stock, plus a 2000$ reward.
A trigger would catch the stock sold.Harder:
Bring 350 crates of Boron to Liberty DSE station.
This would force many trips (depending on the ship). That would need a “Remaining crate” counter.Any help will be appreciated.
-
You read my mind about it! I also thought of making a thread about it, and adding other types of random missions, not only trading missions but also special missions for specific ships, like: Mission for Luxory Liner to move luxory goods only, and Mining missions only for Miner ship owners (mine an amount of… and get rewarded).
What do you say? Is it possible? -
Definitivly. I doubt that it is possible directly through modding, but through FL Hook programming. HC server (www.freelancerserver.de) implented suhc kind of trade missions in their character manager. You might want to take a look at the server to see about what I am speaking.
-
i doubt it is possible to add it to the random missions with hook or multiplayer scripting. the missions are designed to destroy and to destroy and loot. with the source code it could be possible to input additional mission types, maybe even with a plugin but it really is a lot of work diving deeply into the engine.
-
my theory goes like this…
A player joins the server and the mulitplayer script starts, but nothing happens untill they meet a certain npc in a certain bar in a certain base.
They are offered the mission via a popup window and they can accept or decline.
I imagine its alot of work to write up a mission but i wouldnt say impossible. -
khayman wrote:
my theory goes like this…A player joins the server and the mulitplayer script starts, but nothing happens untill they meet a certain npc in a certain bar in a certain base.
They are offered the mission via a popup window and they can accept or decline.
I imagine its alot of work to write up a mission but i wouldnt say impossible.Like that thing I saw in Itao Circus with that server mission to save the liner.
Yeah thats a whole lot of work!!! -
There is in content.dll```
loot_item_mission -
HeIIoween wrote:
There is in content.dll```
loot_item_missionCouldn’t that be the “return the lifepod to station xy” mission?
-
@Quarks
No. It is only in content.dll.And return loot is in Assasinate_mission