I am working on a map, and you have a fighter ship in space ect. Now what I wanted was to make them be more conservative on how much they move around, or how far away they move away from the main ship. So I though up of A SFS (Ship Fuel System).
Now I am sure that this can be used on many other maps, and may be useful to people who have been having the same problem as me. Okay the triggering is fairly simple, but it will use some switches, and the fuel display will have to be either gas, or minerals. I also suggest using hyper triggers, it will make the system work more accurately.
Trigger |
Description: |
Subtract Fuel |
Players: |
¤ Player 1 |
Conditions: |
¤ Brings 0 Fighter to location 01
|
¤ switch red fly is set |
Actions: |
¤ Subtract 1 gas
|
¤ center location 01 on Fighter for P1 anywhere
|
¤ Preserve trigger |
That is the basic way to make the fuel run out, so you can have a visual on how much you have left.
Trigger |
Description: |
Player 1 |
Conditions: |
¤ Accumulates exactly 0 gas
|
¤ Switch red fly is set |
Actions: |
¤ Clear red fly
|
¤ Move all Fighter owned by P1 anywhere to location 01
|
¤ Preserve trigger |
That will not let the ship move, until it is picked up, or a fuel transport is sent.
Trigger |
Description: |
Base Re-Fuel |
Players: |
¤ Player 1 |
Conditions: |
¤ Brings atleast 1 fighter to location Re-Fuel
|
¤ Accumulates AtMost 50 Gas
|
¤ (*Optional Trigger*)Accumulates AtLeast 1 Mineral |
Actions: |
¤ Add 1 gas for Player 1
|
¤ (*Optional Trigger*)Subtract 1 mineral for Player 1
|
¤ Preserve trigger |
The reason it adds only 1 gas at a time is to simulate the fuel acually being poured into the ship, and also so you can fill it. The optional triggers are if you want to charge the players for their gas, which I am sure you would want to.
Trigger |
Description: |
Re-Fuel Ship |
Players: |
¤ Player X |
Conditions: |
¤ Brings atleast 1 re-fuel ship to location 01
|
¤ Accumulates atleast 1 Gas |
Actions: |
¤ Add 1 Gas to player 1
|
¤ Subtract 1 gas from Player X
|
¤ Preserve trigger |
It subracts gas from player X because fuel just dosent come from anywhere. But the re-fuel ship can hold a lot more than the fighters. I would say make it around 200. I'm sure you could add charge the same way I did with the base re-fuel.
That is a very basic fuel system. I don't think I have ever seen one on SEN before, so here it is.