[script] UT Protection v1.1 14/7/07

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

[script] UT Protection v1.1 14/7/07

Post by LV » Sun, 1. Apr 07, 21:01

Universal Trader Protection

v 1.1
[ external image ]

I've put two scripts into one here


In your TS ships secondary command menu you should have 2 options if they have MK3 Software Installed



[ external image ]
1. Call UT Protection

2. Engage MK3 Enemy Detection

1. Call UTP

[ external image ]

[ external image ]

[ external image ]



run it on the TS (must be MK3 Trader) and it will send a ship to protect (see logbook) the ship will escort the UT and attack any ship that is set to attack the UT

To remove the ship from protecting the UT run the 'Call UT Protection' command again via the TS menu and choose the UTP Ship.

As the ship lasts it will upgrade itself over time to a higher class but the pilots hire rate will also increase

Costs :

Initial 20k fee
variable rates which you will be informed of (see pic above)

2. Engage Enemy Detection

This will just run in the menu and hail you if it picks up that as ship is set to attack the TS

Costs :

Initial 5k Start up
100cr per min

-----------------------
Note the script is still beta code is ok (hopefully) i just need feedback on the costs and if they are too high/low ect

I also rename the UT's and the red (3 P) in the ship is the amount of UTP's that are protecting it. (i'm looking into better formatting here and feedback is welcome)

------------------

This script also comes packaged with the Forum Name Library script which i have now bundled into a spk version as it sets the amount of names to use for most of my plugins by use of a setup script to go along with the tfile




install via cycrow installer

Commands

<t id="1226">COMMAND_TYPE_SHIP_26</t> - Conflicts with Unsigned version of Commodity Logistics Software MK1 by Lucike / Group Management System

<t id="1228">COMMAND_TYPE_SHIP_28</t> - Conflicts with Unsigned version of Commodity Logistics Software MK2 by Lucike

tfiles used

8829 (UTP Protection)
8830 (Warning Device)
7000 (forum name library)

LV™
_______________
Last edited by LV on Sat, 14. Jul 07, 22:37, edited 1 time in total.
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

User avatar
Jimmy Jazz
Posts: 794
Joined: Wed, 4. Jun 03, 17:20
x3

Post by Jimmy Jazz » Sun, 1. Apr 07, 21:08

Exactly what I have been looking for. I don't have UT's atm since they always got lost but as soon as I have leveled up a few I will try this out.

One small thing, could you reduce the price per minute? Please, please with sugar on top? Maybe 50cr?
Pinky : "Gee, Brain what do you want to do tonight?"
Brain : "The same thing we do every night Pinky. Try to take over the world!"

zfotoguy
Posts: 73
Joined: Sun, 22. Feb 04, 02:10
x3tc

Post by zfotoguy » Mon, 2. Apr 07, 04:51

How is Engaged Enemy Detection different from the N.O.S. system?

I really like the idea of hiring protection!! I'll be using that often. my UT's are always getting obliterated... how dumb to venture into Xenon sectors??? especially when they are known enemies. argh! ok, I'll stop preaching to the choir.

Great idea, Thanks for the time you put into this LV!!

PhantomDG1
Posts: 673
Joined: Fri, 26. Jan 07, 17:42
x3tc

Post by PhantomDG1 » Mon, 2. Apr 07, 16:09

I know your script does what it says in a more 'in depth' way but I get pretty much the same effect by assigning a couple of nova's to protect my TS ship(s) !

I may be missing the point but by doing it your way am I not just paying for something I can do myself at a cheaper rate ?

(When my ST moves up to UT I just assign a 'max'd out' Centaur ! has worked ok so far... )

I'll give your option a few more runs to compare, but I'm not totaly convinced the 'pay n display' way is the best option ?

(maybe a 'one off' payment depending on the class of ship you assign ? Then just deduct credits to pay for jump fees ? )


HTH

zfotoguy
Posts: 73
Joined: Sun, 22. Feb 04, 02:10
x3tc

Post by zfotoguy » Mon, 2. Apr 07, 18:17

Phantom, maybe that is good for you, but I do not play very often. My empire is still a hatchling. I own 2 M6's and the M7 along with a couple M3's. So it is great to have 3 or 4 UT's running around and I can use this script to pay someone else to protect them.

Squelch
Posts: 252
Joined: Sat, 15. May 04, 11:03
x2

Post by Squelch » Mon, 2. Apr 07, 18:21

This looks like it's going to be good. I haven't play tested yet, but have looked through the script, and I believe will be just what the doctor ordered for UT's.

PhantomDG1 - I believe the script does more than you think. It does not simply assign a ship to follow and protect your UT. It will look after it's own energy cell requirements, and by the looks will make a pre-emptive strike on incoming enemy ships.

A maxed out Centaur will run out of energy after a while, and will only attack once the initial attack has been made, usualy too late.

This looks like it might be worth the credits. I'm going to test it over the next couple of days. I believe that the pricing is about right on first sight, but maybe there should be a lower standby fee, with a higher rate based on time fighting. Just a thought.

LV, do you foresee any issues with enhanced Mk3 on this?

User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV » Mon, 2. Apr 07, 20:20

zfotoguy wrote:How is Engaged Enemy Detection different from the N.O.S. system?
dunno seeing i have no idea what NOS is, if there's a better script with the same function (it took me all of 10 mins to write this part of it) then i can remove it from the beta :)
LV, do you foresee any issues with enhanced Mk3 on this?
what's an enhanced MK3?

the prices are subject to review but in my testing my mk3's still made a decent profit but i didn't go into finding out how many ships you can attach before profit is neutralised. Also these ships wont be able to anything other than die if they wander into a xenon sector as i've not touched the mk3 code and i believe there are scripts that cover the xenon issue

I can also substitute the startup cost by creating a ware via the EMP mod so you purchase the software to run UTP
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

User avatar
Jimmy Jazz
Posts: 794
Joined: Wed, 4. Jun 03, 17:20
x3

Post by Jimmy Jazz » Mon, 2. Apr 07, 21:45

start up cost are no problem, 5k is peanuts
Pinky : "Gee, Brain what do you want to do tonight?"
Brain : "The same thing we do every night Pinky. Try to take over the world!"

Squelch
Posts: 252
Joined: Sat, 15. May 04, 11:03
x2

Post by Squelch » Mon, 2. Apr 07, 22:36

LV wrote:what's an enhanced MK3?
The enhanced Mk3 trader I've seen kicking around. It has proposed enemy avoidance, but maybe it won't happen.

I've spotted a minor bug.

The protection ship's pilot name shows as READTEXT7000 53 or something like.

zfotoguy
Posts: 73
Joined: Sun, 22. Feb 04, 02:10
x3tc

Post by zfotoguy » Tue, 3. Apr 07, 05:13

The NOS I was talking about is part of the Xia Corp software.

N.O.S. Navigation Over-ride Software

Basically if pirate has the UT targetted, the UT begins evasive maneuvers... i.e. docks asap. You also get a message telling you the UT has been targetted. I think the distance is 5km???

I use NOS along with the Xia Corp auto-drone launcher and it works pretty good most of the time for the random wing of pirates. I found it depends on how many pirate M3's are involved and which type.


As for the hiring of pilots to protect the UT's I think is awesome. Much better than a drone. :)

PhantomDG1
Posts: 673
Joined: Fri, 26. Jan 07, 17:42
x3tc

Post by PhantomDG1 » Tue, 3. Apr 07, 15:10

LV... I retract my previous doubts !

I do however think an adjustment to the pricing would help. The prices seem fine but maybe more experienced players with lots more cred should be charged a higher rate !

Apart from that as usual you have come up with a quality script !


Thanks

User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV » Tue, 3. Apr 07, 19:59

Squelch wrote: The protection ship's pilot name shows as READTEXT7000 53 or something like.
re-download vai the OP link and re-install the forum name library spk, i forgot to load the text id via the setup script
any current UTP's will stay RT but new ones will be fine

User avatar
TSM
Not a Moderator
Posts: 2947
Joined: Thu, 1. Jul 04, 12:31
x4

Post by TSM » Tue, 3. Apr 07, 22:08

This looks well good LV I am at stage in game where foes try to kick my traders asses so I give this a go :)

The Shadow Wolf
Posts: 244
Joined: Thu, 14. Nov 02, 18:16
x3

Post by The Shadow Wolf » Wed, 11. Apr 07, 23:59

LV I've got the script installed but now when I use the Call button to remove ships it keeps adding them plus I can't see the ship in sector anymore.
Afraid! You don't know the meaning of the word!!!

D_Zorro
Posts: 2027
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by D_Zorro » Wed, 23. May 07, 17:40

This looks like a great script. Is it possible for you to create the ame funnction above but for your own ships ?? Is it possible for you to make it use the ships you bought yourself, that way you don't have to pay them wages since they are your ships right ??
System spec: Pentium (R) D 2.66 Ghz, Ram : 2048 DDR, HD : 250 GIG 7200 RPM intern 8 MB cash
Videocard : Nvidia Geforce 8800 GTS 320mb : Realtek
Laptop : AMD athlon 64 3200 + 1024 DDR 80 gig HD Conexant AMC Audio, Ati mobility Radeon Express 200

User avatar
X2-Eliah
Posts: 4369
Joined: Thu, 12. Oct 06, 16:30
x4

Post by X2-Eliah » Thu, 24. May 07, 07:08

Looks really good, sure makes sence that you can hire others now aswell, not only protect other people like it was before :D

Anywho, if the protection ships, say, four, somehow attack a bypassing Argon trader with, say, a little bump or stray fire at my ship (not as much as making it hostile), will I take the rep. hit for them destroying said ship? And will the whole argon navy come chasing me because of that? Or are they not bound to my property list, as it is with hired TLs?

And another thought- prehaps make these protectors either
A) only applieable to UTs with pilot level 25, thus making it a bit more balanced by not making the leveling over-easy, or
B) variable changes for say 12th level and 25th level UT, for higher level pilot's protection you must pay a higher fee (say, the current fees are for 20th level, and 5% higher for every level +the 20, and 5% less for every level below 20th level, how's that sound?)

Both of course are contradicting possibilities, so it's up to you wether you want to take up any of these, or choose with one is more..fitting.
And..perhaps you could make a "Disband UTP" command for more easier usage of function?

Mailo
Posts: 1901
Joined: Wed, 5. May 04, 01:10
x3

[Script idea/request]Escort for UT/EST

Post by Mailo » Sun, 8. Jul 07, 21:11

After seeing an universe trader/EST for the umpteenth time destroyed in a too dangerous sector, I started to search for an escort script, but so far without success.

What I am looking for is a script that tells a variable amount of fighter ships to escort an UT/EST, meaning they copy any jumps made and form up as a defensive wing after.
To cope with the fuel requirements a second freighter follows the UT that only buys energy cells every time the UT/EST does and resupplies the fighters as needed.

Is anything like this even remotely feasible?

Osiris_sam
Posts: 422
Joined: Thu, 24. Aug 06, 13:45
x4

Post by Osiris_sam » Sun, 8. Jul 07, 21:52

im currently working on a script which (should) escort any freighters within the defined sectors. however, its still very early in development...

User avatar
SymTec ltd.
Posts: 5285
Joined: Mon, 11. Apr 05, 21:11
x3tc

Post by SymTec ltd. » Sun, 8. Jul 07, 23:26

I think I once read of one, it was by LV I guess. But I didn't find it listed anywhere.

With that plugin, you could engage NPC-ships to protect your Traders - if I remember correctly.

User avatar
Azz
Posts: 1031
Joined: Tue, 18. May 04, 20:14
x4

Post by Azz » Mon, 9. Jul 07, 09:05

PilotAI can do that

You create a group which the TS MK3 is the leader
And among the wingers you choose one to be a Energy supplier, (has to be of rank 8 and equiped with a transporter device). It will supply automatically the other wingers and the TS...

I have in project also to add a function allowing the trade ships in distress to call directly a task force
iou naud ouate, aille ama pis | Pilote IA | Site

Post Reply

Return to “X³: Reunion - Scripts and Modding”