[Script] Capture Stations v1.0 by Nividium 13/02/09
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Even though I have modified this for personal use for a more realistic process based on station cost there is still one noticeable design bug in it:
In order for docking to occur I notice you chanage relations on the station. Whilst this makes sense to use the standard scripted process for docking to occur I cant help but think some emulation might be better.
The reason being is if after these relations have been set you issue a stop command to the TP, the boarding task is then interupted but no checking is done to revert the relations of the station, resulting in effectively a free hack.
Also having now got to grips with the editor a little and used marines skills in scripting I'm in a better position to understand their use, I think the process could easily be upgraded to accomodate effectiveness against the boarding teams abilities, thus making it potentially more "balanced". I can offer some pointers here about manipulation of marines skills if you want?
In order for docking to occur I notice you chanage relations on the station. Whilst this makes sense to use the standard scripted process for docking to occur I cant help but think some emulation might be better.
The reason being is if after these relations have been set you issue a stop command to the TP, the boarding task is then interupted but no checking is done to revert the relations of the station, resulting in effectively a free hack.
Also having now got to grips with the editor a little and used marines skills in scripting I'm in a better position to understand their use, I think the process could easily be upgraded to accomodate effectiveness against the boarding teams abilities, thus making it potentially more "balanced". I can offer some pointers here about manipulation of marines skills if you want?
Ickle question: if I cap a pirate station, or some other station that has items that spontaneously pop up in it (without producing them from resources or buying them from other stations), will those items keep popping up?
Or, in other words: will a capped pirate station keep giving me the ability to outfit my ships with pirate gear?
It'd be great to have two or three pirate stations of my very own, so I can wipe out the rest of them without worrying about pirate equipment becoming harder to find.
Thanks.
Or, in other words: will a capped pirate station keep giving me the ability to outfit my ships with pirate gear?
It'd be great to have two or three pirate stations of my very own, so I can wipe out the rest of them without worrying about pirate equipment becoming harder to find.
Thanks.
Eat, drink and be merry, for tomorrow you may die.
Meltdown wrote:Ickle question: if I cap a pirate station, or some other station that has items that spontaneously pop up in it (without producing them from resources or buying them from other stations), will those items keep popping up?
Or, in other words: will a capped pirate station keep giving me the ability to outfit my ships with pirate gear?
It'd be great to have two or three pirate stations of my very own, so I can wipe out the rest of them without worrying about pirate equipment becoming harder to find.
Thanks.
I think pirate stations work like AI EQ-docks in that fashion. Upgrades are stocked like any other ware, except if the player owns it I don't think you can get them any more or maybe only get them once and then the stock runs out.
Anyone else have problems with stations losing thier owner if you need to cancel the boarding for some reason? Once I had docked while the ship was docked and the marines were in combat after I undocked it said ship destroyed and I reloaded and told him to undock before that happened. I still had all 5 marines, but the station id lost the "S", at the start of it, which indicated split station. Now I can't target it to take it over anymore. So I moved onto a new station ordered it to be boarded and this time I changed my mind and told the ship to do something else only it happened again. The station id lost the "S" and I can no longer target it to board. Any thoughts?
Don't make me slap Ye!
-
- Posts: 6
- Joined: Sun, 13. Aug 06, 21:37
I've modified the script to just oppose 2 amounts of marines (instead of marines * 10, half a marine is a dead marine imo, but still debating) and have both sides suffer loss at the 2nd and 3rd stage (between 0 and 3).
Just added this after the 1rst and 2nd force check (forceCheck -> lose -> forceCheck -> lose -> result)
So the station starts with a resistance of 5 to 15, you start with a force of 10. You or the station can lose up to 6 marines. So if you are unlucky/lucky (in that order), you can end up with a 10v15 and win (10v9) and on the flip side, start out with 10v5 and lose (4v5). And of course you can win with 1 marine (1v-1).
Just added this after the 1rst and 2nd force check (forceCheck -> lose -> forceCheck -> lose -> result)
Code: Select all
$maxloss = $resistance - $max.loss.per.tick
$resistance = random value from $maxloss to $resistance - 1
inc $resistance =
$maxloss = $force - $max.loss.per.tick
$force = random value from $maxloss to $force - 1
inc $force =
Re: I cannot download it, would you send it to me ?
No it's not deleted and the link works just fine.black2906 wrote:deleted
Re: I cannot download it, would you send it to me ?
No, I mean, I want deleted that reply(I don't know how~), not your link.Nividium wrote:No it's not deleted and the link works just fine.black2906 wrote:deleted
your link is fine, my network does not work fine, I'v got it now, Fortunately(I tried a hundred times).
Any way, this is a useful script, thanks for your work.
-
- Posts: 31
- Joined: Sun, 5. Dec 10, 07:05