Scorpion GodPlayership

A place to discuss mods in development and concepts for new mods.
Post Reply
relanat
Militia Commander
Militia Commander
Posts: 436
Joined: Tue Nov 05, 2013 9:56 am

Sat Nov 05, 2016 9:01 am

I use GodMOD a lot for mod testing but it's reaching a stage where it is no longer fully compatible with the lastest versions of Transcendence and is causing errors.

So I thought I'd try and make a ship which did the things I use most in GodMOD which hopefully won't be full of bugs. It also means I don't have to upgrade the playership everytime I start a new game.

Presenting the Scorpion GodPlayership.

I chose the Scorpion because it looks really good and is fairly manoeuvrable.

ATM it has Light Iocrym armor, Iocrym Veil, Hyperion reactor, Megadrive and an IM90 and Ares Plasma Archcannon which have been '+Fast'ed to the max. This is quite a fun setup, but is there primarily so when you gate directly to Outer Realm systems you don't get one-shot killed while trying out your new station and so it doesn't take long to get rid of randomEncounter enemies which can get annoying.
It also has the targeting computer and visual display enhancement installed as well as a Mil and BM ID in the hold.

The only god feature presently working is 'Map System' which shows every station (friendly or enemy) in a system. It's also pretty rough code-wise being a work-in-progress and hasn't got many comments for modders but that will get better over time.

Feedback, suggestions and tips all greatly appreciated. I've pretty much reached my limit of code knowledge with this so everything from here is full-on learning. And if anyone has an armor HUD for the Scorpion made up could I use that, please, otherwise I'll put a black border around the image I'm using and resize it to fit. That's about the limit of my graphics ability.

On the list to do:
Travel System: Lets you choose a station in the current system and Jump directly to it.
Restore: which will bring all ship items back to 100% condition. (Note: must leave enhancements on weapons)
Gate to: this will be a list of all systems in the game which you can instantly gate to wherever you are.

Long term:
Install items (including armor)
Enhance items.

I've also started on a text list of criteria for certain functions because I can never find them when I want them. If this goes in with the playership .xml I'll always know where to look.


Thanks already to gunship256 (playership code) and PM (enhancement code).
Obviously thanks to alterecco and TVR for GodMOD,
And as always thanks to George for a great game and a great looking ship.
Attachments
Criteria list.txt
(4.32 KiB) Downloaded 34 times

relanat
Militia Commander
Militia Commander
Posts: 436
Joined: Tue Nov 05, 2013 9:56 am

Tue Nov 15, 2016 3:38 am

Next version.

Restore is working, straight from the rpgRestorePlayer lambda.
Galaxy mapping is now included in system mapping. Map one system and the galaxy is known.

Need to fiddle with a few things on the ship.
Get the travel options sorted. (I'm starting to dislike "Numeral expected".)
Filter turrets from the station list.
Last edited by relanat on Thu Nov 24, 2016 2:38 am, edited 1 time in total.

relanat
Militia Commander
Militia Commander
Posts: 436
Joined: Tue Nov 05, 2013 9:56 am

Thu Nov 24, 2016 2:37 am

Polished the playership code. Now with circular HUDs, thanks to xephyr for posting that info.
More features now working (lots more not working :lol:)
No additional images needed for this mod because a HeroImage is in the game already.
Started mucking about with <DockscreenDisplay> so the dockscreen background is now black (not sure why).

Now with:
Mapping.
In-system travel to friendly stations.
Jump between systems wherever you are.
Repair/replace armor and install/remove devices.
And get any weapon or armor you want and install it or put it in your hold (more items to come).
Attachments
Scorpion GodPlayership.xml
(25.41 KiB) Downloaded 40 times

relanat
Militia Commander
Militia Commander
Posts: 436
Joined: Tue Nov 05, 2013 9:56 am

Thu Dec 08, 2016 3:59 am

Dock services inside the player ship now working thanks to info from Arkheias.
Attachments
D789GodNewDockServices.xml
(26.81 KiB) Downloaded 38 times
D789GodTravelDockscreens.xml
(11.68 KiB) Downloaded 37 times
Scorpion GodPlayership modulised.xml
(14.94 KiB) Downloaded 29 times

relanat
Militia Commander
Militia Commander
Posts: 436
Joined: Tue Nov 05, 2013 9:56 am

Thu Dec 08, 2016 4:01 am

And due to a 3 file attach limit, (apparently) the final module. Looks like I need to demodulise it for forum usage. And it was my first module success too. :lol:
Attachments
D789GodItemDockscreens.xml
(12.02 KiB) Downloaded 30 times

relanat
Militia Commander
Militia Commander
Posts: 436
Joined: Tue Nov 05, 2013 9:56 am

Sat Feb 11, 2017 6:11 am

Been a while, I stopped posting here until the mod was useful enough to put on xelerus.
http://xelerus.de/index.php?s=mod&id=1576

Dock services now work, thanks Arkheias, but still need a filter criteria for Install. Repair/damage working on installed devices, but enhancements get deleted.
Restore fixes internals, thanks AP (see the Interior Design mod), and removes pteravores as well.

The playership dockscreens have different color texts and backgrounds. Nice ability added by George recently.
Also changed the reactor, weapon and armor display colors just for something different.

Items can be created, installed or identified. The item lists still need a bit of refining though.
And ships and stations can be created (with a few exceptions that don't work).

Need to add rankings and enhancements.

Removing the (eq (objGetType gPlayership) &scD789ScorpionGodPlayership;) condition in OnGlobalPaneInit will give all playerships in a game the god features. I found this handy when looking at other mods.
Last edited by relanat on Thu Apr 06, 2017 5:40 am, edited 1 time in total.

relanat
Militia Commander
Militia Commander
Posts: 436
Joined: Tue Nov 05, 2013 9:56 am

Fri Mar 10, 2017 1:23 am

Here's a version for use in VOTG. It is very rough and hasn't been tested much so don't expect everything to work. Find station certainly doesn't.
But still fun if you want to zip around and have a look at everything.

And apparently you can attach .zip files to the forum as well! I had done this before but so long ago I'd forgotten.
Attachments
Scorpion GodPlayership VOTG.zip
(22.84 KiB) Downloaded 13 times

relanat
Militia Commander
Militia Commander
Posts: 436
Joined: Tue Nov 05, 2013 9:56 am

Sat Aug 05, 2017 1:20 am

Version 2 now on xelerus.

Added the ability to place a text marker on the system map. Thanks to Bobby for the code from Captain's Log/Shiplog mod.
Also "Find Stations and Ships" which finds objects using unvFindObject and gives the option to jump to the system where the object is. Thanks to 0xABCDEF for "sortByLambda".
And ranks; Korolov, Black Market, Militia and Fleet ranks can now be set.

The system travel list now has enemy stations listed after all the friendly stations.
Added a "Go to End of List" dockscreen action to some screens because mod additions usually appear at the bottom of lists.

The item criteria have been expanded but still aren't perfect. Needs a search function. But there's a vacant action on the last page for custom selections.

relanat
Militia Commander
Militia Commander
Posts: 436
Joined: Tue Nov 05, 2013 9:56 am

Sat Nov 04, 2017 12:02 am

Version 3 now on xelerus.

Changes to the Korolov ranking code means this version doesn't work in 1.7 (V2 may not have either, I don't think I checked!). Requires 1.8a3 (API 38) but will probably work in 1.8a2 if you change the APIVersion=.

Not much change but the the Create items section now has a search function thanks to NMS's code help. Type part of the item name into the text entry box to get a list of items with that text in their names. eg 'tev' gives the three Tev 9 weapons as well as light Tevlar armor to choose from.

The intra-system travel now has ships with docking ports in the list. This should work for Benedict and his friends as well as CSCs.

Thanks to digdug and NMS for the dec to hex converting functions. (mathDecToHex is now in the Globals section for use in the debug console).

Annoyingly, installing armor from the items section undocks you to the dock services section. I'm getting to it.
And the system mapping actions reset themselves sometimes. It doesn't appear to affect anything because I think it is new ships arriving in the system doing it.

The usual thanks to the dozens of people who have helped.

Post Reply