[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: 6358
Joined: Wed, 6. Nov 02, 21:31

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

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

Universal Trader Protection

v 1.1
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



Image
1. Call UT Protection

2. Engage MK3 Enemy Detection

1. Call UTP

Image

Image

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: 738
Joined: Wed, 4. Jun 03, 17:20

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, 03:10

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: 667
Joined: Fri, 26. Jan 07, 18:42

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
Image

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

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

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: 6358
Joined: Wed, 6. Nov 02, 21:31

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: 738
Joined: Wed, 4. Jun 03, 17:20

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

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, 03:10

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: 667
Joined: Fri, 26. Jan 07, 18:42

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
Image

User avatar
LV
Sith Lord
Posts: 6358
Joined: Wed, 6. Nov 02, 21:31

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: 1766
Joined: Thu, 1. Jul 04, 12:31

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, 19:16

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: 1571
Joined: Wed, 6. Nov 02, 21:31

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

Post Reply

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