Plugin suggestion: Multiple ships per character !?
-
- Owning more than one ship per character is currently not possible -the game engine was not designed for it. But you may have multiple characters on one account, each with a different ship, faction alignment, and cash on-hand.
Huhu,
just wondered if this is possible via FLHook (but I believe it could be
If the player enters a command (for instance /saveship or so, or link it with the /newship command (see bottom of this text)) FLHook reads out the current ship of the character file and saves it as ship#1 (or so)
The player then can switch his ships via /selectship#1 (or so), gets kicked and after reconnect he has the other ship (just let FLHook override the character file)
But how to buy other ships?
Other command; /newship or so, will kick the player and will give him a starflier (or other starter ship) so he can buy a other ship again.
Mounted equipment might be saved at the ship-savegame (the thing coded for flhook then ^^), so you will have other equipment if you change your ship(s).Thoughts? Is this possible?
-
I don’t see any reason it wouldn’t be possible. Both the player cleaner and cargo exchanger can change out the player ships, they just dump the guns into the cargo hold.
-
Eh, better save the guns with the ship templates, since not every ship has the same gun mounts. For instance, if you have an eagle and a hammerhead, you won’t be able to carry your cl. 10 weaps along with the hammerhead equipped. And especially at pvp servers you can imagine how fast you will loose your weapons then ^^
(This goes for mounted equipment only, unmounted guns should still always remain at the character)
-
**Hehe thats why they are put in the cargo hold, those programs dont have any idea what mounts the ship have so the only option is the cargo hold. This can cause problems though if the ship they switch to has a cargo hold that isn’t big enough to handle all of the extra cargo space needed for the unmounted equipment.
You will also want it to skip over anything that is not normally sold on the open market. Pre-mounted equipment for a specific ship is a good example, you don’t want it mounted on another ship.**
-
?
I am very sure it is written down in the savegame which equipments are mounted and which not, where is there the problem to read it out? -
Yep, its all stored in the player savegame on the server. If you decompile a player file you will see ‘equip =’ and ‘cargo =’ which is where it is set at. If it isn’t hooked it has to be changed after the player logs off, this is due to that the server saves out the player data in memory then dumps the info. This happens when docking, launching, jumping to a new system and when they log off. If it is hooked you can edit the in-game values for that player server-side.
-
So any volunteers for this feature?
Will be a great addition to FL i believe ^^