I got it to work so far, but...
Anyways, I'm working on this plug-in and I decided I wanted to have a ship in which the player can use to recharge their energy without having to land on an active spob. What I've done so far was the following to make it work:
-
Created a pers that offers a mission when being hailed 100% of the time.
-
Created an outfit called "Rechargin Process" which does the following:
-
Recharges energy with the value of 1
-
Inhibits hyperjump distance with the value of 32767 (or was it -32767?)
-
Reduces acceleration, speed, and maneuverability to 0 making the ship stop completey dead in its tracks.
-
-
The "Recharging Process" is given to the player when mission is accepted
-
Mission objective is set to "Destroy all ships" which involves one ship who is set to attack the player after delay jumping
-
That mission-related ship is customized for this mission and has the following important attributes:
-
Has invisible sprites
-
Uses a self-destructing weapon
-
Cannot be targeted
-
-
The mission ship will kill itself when using the self-destructing weapon thus completing the objective
-
Mission objective (not mission complete) will remove the "Recharging Process" outfit.
-
By then, player's ship should have at least 1 jump available
Now granted that this whole entire process may not fill the player's ship entire tank, that's why it would make sense to add instructions and such that a pilot or captain would require to do it again until they are fully charged, which I have done.
However, I wanted to use the objective to "observe" the initial current system the player is occupying at the moment and have the player "board" the pers ship instead, but the problem is that I haven't been able to get it to work so far. The reason for this is because I want to give the recharging process some small amount of time, not instantaneously like what the abort-mission setting could do cause that won't even be enough to fill up at least 1% of 1 jump worth of energy. The problem is that the "observe" and "board" won't work for some reason, and I'm curious if it's related to having an active spob or something. Even when I was using the "destroy ship", I set up an invisible spob so I could use the "Appear on Nav 5", but the mission ship wouldn't show up. So now I'm asking is there a way to make the mission process a bit faster and making the elements more invisible to the player, such as not having to trigger red alert sounds.
This post has been edited by Coraxus : 07 June 2006 - 07:45 PM