EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[SCRIPT] Shiploot v1.04 (03. Dec. 2009)
Post new topic Reply to topic Goto page 1, 2, 3, 4, 5  Next
View previous topic :: View next topic
Author Message
Mailo





Joined: 05 May 2004
Posts: 696 on topic

Thank you for registering your game
modified
PostPosted: Mon, 7. Sep 09, 19:45    Post subject: [SCRIPT] Shiploot v1.04 (03. Dec. 2009) Reply with quote Print

Download:

Download-Link for v1.04

Mechanics, looting wrecks and ship tunings

This script adds the possibility to look ship wrecks for spare parts. The wrecks are symbolized by nav buoys which are sometimes spawned upon the destruction of a ship. Skilled mechanics can use these loot parts to tune ships beyond their design parameters, refit shiptypes (e.g. refit a vanguard model into a hauler one), build consumables like a shortlived speed boost or even turn a station or M1/TL/TM into a mobile repair base.
Wrecks disappear after a while to keep the universe from being cluttered, but it is fun to enter a vector and see a field of wreckage containing a "Khaak carrier wreckage" at the center.

These mechanics can be hired when docked at any base via a ship command and gain experience when working with loot parts. Note: mechanics with high aptitude are not available at every type of station.

Three new commands are added by the script, a ship trade command, a ship special command and a station command. While the station command is used to give orders to a mechanic assigned to a station, the ship command is both used for mechanics stationed on ships and to manage the hiring, assignment and firing of mechanics. The latter options are only available on the playership. The ship special command will be implemented in a later version.

The menus:

Ship menu: (Trade command, requires Trading System Extension)

Options available on playership
- Try to hire mechanic (only works on stations)
- Sell loot parts at station (only works on stations)
- View hired mechanics
- Fire mechanic
- Assign mechanic to M1/TL/TM
- Assign mechanic to station
- Recall mechanic from ship or station

Options available on M1/TL/TM with assigned mechanic:
- View mechanic assigned to this ship
- Repair docked ship(s)

Station menu: (requires a mechanic to be assigned)

- View mechanic assigned to this station
- View loot parts and consumables stored at the station
- Repair docked ship(s)
- Upgrade ship
- Refit ship
- Produce consumables
- Transfer loot parts between ship and station
- Transfer consumables between ship and station

To assign a mechanic to a station or a ship, a mechanics shop must be installed first. The cost of 500k is taken from the player (in case of a ship mechanic) or the station account (for a station mechanic). Note that the shop is not a ware that can be found anywhere, the player is prompted to install one via menu commands when assigning a mechanic.

The repair works slightly differently on a station and on a ship. A station mechanic only requires money and time to repair ships (20k per repair tick), the repairs on a ship cost resources and time, no money (teladianium, computer components, energy cells and quantum tubes, to be exact).
Repairs do not increase the skill of the mechanic, and require a minimum skill of 50.

Upgrades available are:
- Supertuned engines: Adds engine tunings above maximum, total amount depends on mechanic's skill
- Supertuned thrusters: Adds rudder tunings above maximum, total amount depends on mechanic's skill
- Shield recharge: Recharges shields by a small amount every tick. Recharge amount depends on mechanic's skill
- Weapon energy recharge: as above, recharges weapon energy
- auto hull repair: see above, repairs hull

The script also adds five hotkeys:

- Loot wreckage: Extracts a loot part from a wreckage. Needs to be within 50m of player to work. Extracted loot part is influenced by the shiptype and race as well as random chance
- Check collected loot: Lists pieces of loot collected and in ship storage
- Activate afterburner: Requires consumable onboard, has chance of destroying engine tunings, lasts 30s
- Recharge shield: Requires consumable onboard, has chance to burn out shield generator
- Recharge weapon energy: Requires consumable onboard, has chance to burn out weapon

The final command not mentioned so far is only available after a mechanic with extremely high skill gets a flash of inspiration (not implemented yet).

Still to do:
- Add mission for ultimate mechanic
- Add one or two more upgrade options available with ultimate mechanic

DeadlyDa was nice enough to set up a forum for the script, you'll find it here:

Shiploot beta forum (registration required, as DeadlyDa has had problems with wannabe hackers)

Uninstalling the script:

DO NOT SIMPLY DELETE THE SCRIPT FILES!!!
First switch the AL plugin to OFF in the AL plugin menu, wait a few seconds and save the game. Only then is it safe to delete the script files.

Technical Data:

Language File
7401

Command Slots:
COMMAND_TYPE_TRADE_49 (449)
COMMAND_TYPE_CUSTOM_48 (548)
COMMAND_TYPE_STATION_47 (1147)

Version history:

10. Oct. 2009: v1.0
23. Oct. 2009: v1.01: Only change is German t-file, english users do not need to re-download
18. Nov. 2009: v1.02: removed debug messages, implemented complex support, changed distance requirement for looting, more detailed feedback when looting, changed two command slots
22. Nov. 2009: v1.03: display bug when recalling a mechanic removed, production of consumables now correctly uses loot parts, bug in display of experience fixed
03. Dec. 2009: v1.04: consumables transfer from station to ship was slightly off, upgrading of ship returned wrong ship name in message, show collected loot hotkey now also shows consumables, polish translation

Thanks to:
- Pelador for his patience when explaining the basics of scripting to me and for listening when I bounced around crazy ideas
- LV for his tutorial on how to program an AL plugin and menus
- Deadly for the space on his forum and his great mod Wink
- Idea, Lifeforce and Thrandisher for the betatesting
- Yacek for his polish translation
- All the other scripters and modders around here who bring the X3 universe to life


_________________
As a personal service to all who try to keep up with my professional work:


My script: Shiploot v1.04 ... loot shipwrecks, collect different loot parts and upgrade your ships!
Mein Skript: Schiffswracks looten v1.04 ... Durchsuche Schiffswracks, sammle Lootteile und verbessere Deine Schiffe!


Last edited by Mailo on Thu, 3. Dec 09, 22:51; edited 8 times in total
Back to top
View user's profile Send private message
Lifeforce87





Joined: 15 Aug 2009
Posts: 95 on topic

Thank you for registering your game
PostPosted: Mon, 7. Sep 09, 20:55    Post subject: Reply with quote Print

Wow that looks pretty nice Oo I will test it now
*Edit* *waiting for confirmation mail*

Back to top
View user's profile Send private message
Thrandisher





Joined: 01 Jul 2007
Posts: 357 on topic

Thank you for registering your game
PostPosted: Tue, 8. Sep 09, 06:26    Post subject: Reply with quote Print

Sounds interesting. If the script is removed, hotkey's will remove also?


Can a mechanic strip down a ship )destroying the ship) and use those mateirals to repair other ships? There has been MANY times i have caped a ship and wanted to land it and have it taken apart and used those parts on other ships to repair them.

Ill give it a go in a few day's when i have more time, in less pain, and figured out the instability problem im haveing right now.


I do like the fact that the stations and repair ships have differnt REQ to repair.


_________________
The mongrels will never get over THIS wall.
Back to top
View user's profile Send private message
Mailo





Joined: 05 May 2004
Posts: 696 on topic

Thank you for registering your game
PostPosted: Tue, 8. Sep 09, 10:55    Post subject: Reply with quote Print

Just put up v0.31, hopefully the bad text messages Lifeforce found are gone.

@Thrandisher: The hotkeys should be removed, yes. And no, the mechanic cannot strip down a ship, but that is actually a pretty neat idea, I might try to include something like that in a future version.

The repair requirements is something that needs to be tested for balance first, so far I don't know if keeping the mechanic supplied with parts is too much of a bother or not.


_________________
As a personal service to all who try to keep up with my professional work:


My script: Shiploot v1.04 ... loot shipwrecks, collect different loot parts and upgrade your ships!
Mein Skript: Schiffswracks looten v1.04 ... Durchsuche Schiffswracks, sammle Lootteile und verbessere Deine Schiffe!
Back to top
View user's profile Send private message
Gazz





Joined: 13 Jan 2006
Posts: 12407 on topic
Location: Bavaria
Thank you for registering your game
PostPosted: Tue, 8. Sep 09, 12:34    Post subject: Re: [SCRIPT] Shiploot v0.3beta (07.09.2009) Reply with quote Print

Mailo wrote:
The wrecks are symbolized by nav buoys which are sometimes spawned upon the destruction of a ship.

If they are spawned by SIGNAL_KILLED that's a pretty neat (and clean) feature.

Overtuning ships is dangerous however, because speed is a multiplier for other abilities - at least when flown by the player.
What if this jury rigged overtune could have... side effects?
Overtunings and/or regular tunings breaking down, a power surge flushing the laser/shield battery. Even the controls could lock up so you could only alter the ship's speed.
Ahh, there are so many ways to vex the player. =)

There is at least one good "electric fizzle" sound that could be played for such occasions.


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Back to top
View user's profile Send private message Visit poster's website
Thrandisher





Joined: 01 Jul 2007
Posts: 357 on topic

Thank you for registering your game
PostPosted: Tue, 8. Sep 09, 22:20    Post subject: Reply with quote Print

Sadly i still like the way gazz thinks. Wink

BEEP BEEP BEEP, Malfunction Detected. Jump drive activated, Now entering Xenon Sector 695. Jumpdrive Error.


_________________
The mongrels will never get over THIS wall.
Back to top
View user's profile Send private message
Mailo





Joined: 05 May 2004
Posts: 696 on topic

Thank you for registering your game
PostPosted: Thu, 10. Sep 09, 11:11    Post subject: Reply with quote Print

@Gazz:

Yes, they are spawned by a secondary signal linked to SIGNAL_KILLED.

For the overtuning, it is similar to Cycrow's Reunion overtuning script, a mechanic with perfect skill will manage to install half again as many tunings as a regular shipyard can. I didn't include possible breakdowns there though, as that would probably vex me more than any other player Wink

The consumables I put in do have a chance for stuff breaking down, but I guess they are still quite unbalanced ... the afterburner consumable propelled my discoverer at 2880 m/s for 30 seconds Wink

I thought that was funnier, imagine the face of a player who wants to use the afterburner to get out of a tight spot, only to see he lost some of this tunings ...

Although ... hmm ... it would be funny to cap laser and shield energy at 50% of the normal amount, maybe until the next hull damage (a little knocking around might reset some connectors). I'll keep it in mind for the next update.


_________________
As a personal service to all who try to keep up with my professional work:


My script: Shiploot v1.04 ... loot shipwrecks, collect different loot parts and upgrade your ships!
Mein Skript: Schiffswracks looten v1.04 ... Durchsuche Schiffswracks, sammle Lootteile und verbessere Deine Schiffe!
Back to top
View user's profile Send private message
Mailo





Joined: 05 May 2004
Posts: 696 on topic

Thank you for registering your game
PostPosted: Sat, 10. Oct 09, 02:15    Post subject: Reply with quote Print

I've just put up the first release version. Feedback welcome Smile


_________________
As a personal service to all who try to keep up with my professional work:


My script: Shiploot v1.04 ... loot shipwrecks, collect different loot parts and upgrade your ships!
Mein Skript: Schiffswracks looten v1.04 ... Durchsuche Schiffswracks, sammle Lootteile und verbessere Deine Schiffe!
Back to top
View user's profile Send private message
vampirecosmonaut





Joined: 17 Aug 2006
Posts: 320 on topic
Location: Space
Thank you for registering your game
PostPosted: Sat, 10. Oct 09, 06:44    Post subject: Reply with quote Print

I know this might be a dumb suggestion, but what if instead of quest for the ultimate mechanic, what if you could become one yourself? Maybe add a ware that represents your training? Just an idea. Embarassed
My thinking is that it would be a great excuse to be able to do more than regular mechanic because it's your ship and you're more comfortable making serious, or dangerous, changes to it.

EDIT:
Link isn't working for me. Sad


_________________
The first documented attempt in human history to use a rocket for spaceflight
was made in the 16th century by a Chinese Ming dynasty official named Wan Hu.
The resultant explosion presumably killed him.
Back to top
View user's profile Send private message
Mailo





Joined: 05 May 2004
Posts: 696 on topic

Thank you for registering your game
PostPosted: Sat, 10. Oct 09, 08:08    Post subject: Reply with quote Print

Strange, the link works for me, and several people have already downloaded the file already. What happens when you click on it?

And to tell you the truth, if I was a mechanic, I'd be more comfortable doing dangerous modifications to other people's ships Very Happy
Seriously though, I thought about making the upgrade process more involved (e.g. pick loot parts, throw them together and see what happens) which would work better if the player did the work themselves, but the limitations of the X3 engine would make this a half-measure at best.


_________________
As a personal service to all who try to keep up with my professional work:


My script: Shiploot v1.04 ... loot shipwrecks, collect different loot parts and upgrade your ships!
Mein Skript: Schiffswracks looten v1.04 ... Durchsuche Schiffswracks, sammle Lootteile und verbessere Deine Schiffe!
Back to top
View user's profile Send private message
Sticks





Joined: 29 Nov 2007
Posts: 214 on topic

Thank you for registering your game
PostPosted: Sat, 10. Oct 09, 09:10    Post subject: Reply with quote Print

Lets see if i understand this ... this script adds actual wrecks to the universe when i kill a ship? Are these wrecks invincible like normal ship debris? May i have a screenshot of a few wrecks? =)

Back to top
View user's profile Send private message
Mailo





Joined: 05 May 2004
Posts: 696 on topic

Thank you for registering your game
PostPosted: Sat, 10. Oct 09, 09:21    Post subject: Re: [SCRIPT] Shiploot v1.0 RELEASE (10.Oct.2009) Reply with quote Print

Mailo wrote:
This script adds the possibility to look ship wrecks for spare parts. The wrecks are symbolized by nav buoys which are sometimes spawned upon the destruction of a ship.
Quoting myself Wink
The "wrecks" are normal nav buoys which are just called "Argon Nova wreckage" for example. You can fly up to them and collect a loot part by pressing the corresponding hotkey, you can shoot them (couple of hits should destroy them), or you just ignore them and they disappear after a few minutes.
While I would have loved to add actual wreck models for each ship in the game, my nonexistant modelling skills kind of killed that idea. That and the fact that I wanted to release it this century. As far as I know, the regular game only contains a small number of wreckage models, the only one that comes to mind is the model of an X2 style Argon M2.


_________________
As a personal service to all who try to keep up with my professional work:


My script: Shiploot v1.04 ... loot shipwrecks, collect different loot parts and upgrade your ships!
Mein Skript: Schiffswracks looten v1.04 ... Durchsuche Schiffswracks, sammle Lootteile und verbessere Deine Schiffe!
Back to top
View user's profile Send private message
Mailo





Joined: 05 May 2004
Posts: 696 on topic

Thank you for registering your game
PostPosted: Wed, 18. Nov 09, 23:25    Post subject: Reply with quote Print

I just uploaded v1.02. Changes are:

- Feedback when looting now also gives the number of loot parts collected so far
- debug logbook messages removed
- stations which are connected to a complex now do not appear in the list of stations when installing a new mechanic
- distance requirement for looting is now depending on ship type: M1/M2/M7 can loot at greater distances
- Readtext entry in command menu removed
- mechanics now have a higher chance to appear in shipyards and equipment docks


_________________
As a personal service to all who try to keep up with my professional work:


My script: Shiploot v1.04 ... loot shipwrecks, collect different loot parts and upgrade your ships!
Mein Skript: Schiffswracks looten v1.04 ... Durchsuche Schiffswracks, sammle Lootteile und verbessere Deine Schiffe!
Back to top
View user's profile Send private message
Requiemfang





Joined: 16 Jul 2009
Posts: 2660 on topic

Thank you for registering your game
PostPosted: Wed, 18. Nov 09, 23:52    Post subject: Reply with quote Print

nevermind... Embarassed

Back to top
View user's profile Send private message
Lifeforce87





Joined: 15 Aug 2009
Posts: 95 on topic

Thank you for registering your game
PostPosted: Thu, 19. Nov 09, 20:28    Post subject: Reply with quote Print

THX Mailo Smile Testing again

Edit: Works perfectly Smile

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3, 4, 5  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Mon, 23. Oct 17, 08:02

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.67786 seconds, sql queries = 29