Is it possible?
-
Ok, This one is a bit strange i agree…
Is it possible for a player that has been given a new ship and loadout (in sp) for a mission. to get back the ship they had before the mission (including everything except the players cash before the mission).
To make this a bit more clear, here’s what i want it for…
I want to make an offered mission to a player, that if they accept, they get a new ship and loadout but only for the mission.
When or if the mission is completed (or they die) i want to give the player his/her starting ship back (+extra cash if the mission was a success). -
Not sure, maybe SW:WT implented such a thing from Adoxa’s stuff.
-
Changing the ships and 1st weapons change is the easy part,
And also swapping the ship back, but how do you get back the weapons the player had before the mission started?If a player has flown half the way around sirius for the favourite weapon choice, it would be very annoying to lose it just for the sake of one mission.
-
you may need to use a plugin for this. something along the lines of adoxa’s console plugin that was mentioned if you want this for MP.
You could then hook into the plugin for those missions, park the players ship and all, assign a new one. then reverse it w=when mission is done but delete the assigned ship instead of parking it.
also remember you will need to account for a player canceling/aborting a mission as well.
-
thanks to everyone for your replys.
Looks like i need a different approach to this then, i no nothing at all about hooks or the coding of c++ (or whatever)Maybe i could change this, so its the very first mission that changes the ship.
It’s a shame really, i wanted to be able to give players a “taste” of better equipment and ships for each mission so they can save up to buy their favourite.
Anyways, thanks again!
p.s - if anybody does come across a program (or whatever) that can help me do this, please give me the heads up.
i have tried the console.dll and yes, it is very good, but i have no clue where i would start to intergrate the features with the missions.