[MOD]Repair Laser and New Player controll drone [updated 1.0 2015-1-25]

The place to discuss scripting and game modifications for X Rebirth.

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

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

[MOD]Repair Laser and New Player controll drone [updated 1.0 2015-1-25]

Post by docwho83 » Sun, 19. Jan 14, 05:51

Great News all.... The 1.0 version is here.... :) ok What do we have in version 1.0

Adds a playercontrolled drones for repair work. This is an updated version removed the new start need to get repairdrone at drone traders. There are 4 MK of repair Drones.
Drones MK1 and Mk2 have 2 repair lasers.
MK 1 has MK 1 repairlasers (75% at being at trader)
MK 2 has MK 2 repairlasers (25% at being at trader)
MK 3 has 3 MK 3 repairlasers (15% at being at trader)
MK 4 has 4 MK 4 repairlasers (10% at being at trader)
Beholder ROV mk4 (Non illegal version) (5% at being at trader)
Trojan ROV Mk2 (Non illegal version) (5% at being at trader)


This was an idea after playing with [Welding Laser] Tho I had an issue with the lost of mining laser (not sure if mining ships worked while turned on.) looked at trying to add a new weapon to the ship. At the time I had no figured out how to make the ship take a new weapon. So I looked at outfitting a player control drone with repairlasers instead. This is what this mod dose.

A drone that had repairlasers on it. Once I know other people can use it I will see about adding the Mk2 in.

Download

known bugs
It claims to be an Assassin urv from the ability menu. Not sure of a fix on that.

if you come up with problem let me know so I can try to fix them. Or ideas you like to see done base on work done already here.

To do
_____________
See about T name change(Blue ring for lunching of drone)

Plans to add craft-able drones of the Beholder ROV and Trojan ROV so you could craft a non illegal version of the drone. (Can craft but can not put them in dronebay. So just added two non illegal versions.)
_____________


update list of repairs
____________________________
2015-2-25 23:01 EST 1.3 corrected a code errror

2015-3-25 01:16 am EST 1.1 add the english T files to all other lang files to remove textnotfound error. Add both the of the non illegal version to game

2015-1-25 01:16 am EST (God a year....) 1.0 Add MK 2 to MK 4 of repair drones. Removed new game start requirement.

2014-1-23 11:38 am EST .05 md\setup looks like missing cue line to make dronetrader load.

.04 T file was missing closing code, components was missing mod location, md\setup rem out all but dronetrader for now. New pics on download site. renamed no space now

.03 not sure what was messed.

.02 looked at code after zip was uploaded saw I had not move all and renamed files.

.01 move files from root of game to mod file.

____________________________
Last edited by docwho83 on Thu, 26. Feb 15, 05:05, edited 7 times in total.

Sprondar
Posts: 77
Joined: Sat, 30. Nov 13, 00:39
x4

Post by Sprondar » Tue, 21. Jan 14, 01:52

I'm trying this out, but I cant find a drone dealer that sells this. Is it for sale elsewhere?

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

Post by docwho83 » Tue, 21. Jan 14, 16:58

@sprondar

While I do not know for sure. I try to play with a saved game but could not find the drone myself so I did a restart and found the drone. I have even played in the drone while testing it. Forgot to get pic for mod file.


In my current play, I am still working on plot and drone is listed but I have yet to get 2m need to buy one. So I saw it in both freeplay and plot.

The drone deal has a 75% chants of having the drone in stock.

I have looked over the files everything seams to be there in the mod. I was/am using local files. I will try to set a non mod version to test it again once I get home.

Sprondar
Posts: 77
Joined: Sat, 30. Nov 13, 00:39
x4

Post by Sprondar » Wed, 22. Jan 14, 01:27

Checked the mod by itself, no other mods, on 1.22 and 1.23rc2, fresh game each time. Checked 6 drone vendors each time and didn't find it. Tried to add the drone to a vendor and to skunk via save edit without success (it just doesn't appear in the vendor list or T menu)

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

Post by docwho83 » Wed, 22. Jan 14, 07:17

list of what was missing....
from the T file was missing closing info

Code: Select all

</page>
</language>
from the components was missing mod location info.

from the md\setup I rem out all but the dronetrader info until I add a repair beam to playership build setup there is no point in selling the repairlaser for ship.

I remove the space from file name so delete old file repair laser and replace with repairlaser.

I retested everything again with a non mod game file setup. and have pics granted price was set low so I could get drone and play with it.


@sprondar

Thanks for letting know I had an issue. My head still hurts from the first round of head banging I did with the wall over this file. More so now.
:roll:

Sprondar
Posts: 77
Joined: Sat, 30. Nov 13, 00:39
x4

Post by Sprondar » Thu, 23. Jan 14, 01:48

Tried again with the new version, still not showing up. Checked 1.23rc2 with new game no mods but this, 12 vendors.

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

Post by docwho83 » Thu, 23. Jan 14, 05:40

This was built using 1.22 data files. Should work on later updates....


_____________________
alright lets look at what you got.
Check files are correct location extensions\repairlaser\
Check the extension from with in program (just to see if it is loading there) if it dose what version dose it claim.

open the game with just repairlaser mod.

Open xrebirth go under settings/controls/space assign a key to Open Debug log viewer. (IF not already done.) Mine I have set to shift+~
Clear the log old logs. (will need to be in space to open log viewer)
exit and reload xrebirth open new freeplay then exit again. and upload a copy of your uidata.xml located one up from save files.

this should tell me what area the files are having a problem with.
___________________________________

Sprondar
Posts: 77
Joined: Sat, 30. Nov 13, 00:39
x4

Post by Sprondar » Thu, 23. Jan 14, 14:54

Here you go https://www.dropbox.com/s/fmhv30oqys7f9kc/uidata.xml

I don't know why there are references to other mods in there, I doublechecked and all were disabled except this one.

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

Post by docwho83 » Thu, 23. Jan 14, 17:41

I see an issue with mdscript in the log have made a change but for some reason both ways worked for me.

I have tested this with nothing but base game. I deleted all my locale files and extensions then put just the repairlaser back in to the exension.

New version up loaded

Sprondar
Posts: 77
Joined: Sat, 30. Nov 13, 00:39
x4

Post by Sprondar » Fri, 24. Jan 14, 00:50

Works perfectly now. Thanks for this mod.

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

Post by docwho83 » Fri, 24. Jan 14, 20:59

Glad to hear. Sorry for the trouble. I will look at adding the mark 2 and player repairlaser as well in the next time I have some time to build.
My Mods
RepairLasers Player controlled drone Also on steam
[Minefield] fell affliction minefield removed Also on steam
[Buildmodule] add research for buildmodule leak steals

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

Post by docwho83 » Fri, 4. Jul 14, 18:51

While I am still trying to remove the must start a new game issues.


I have come across how to change the name on the Ability menu (T screen).

Names are listed in another file but here in t pages was what made me look for something else.

Code: Select all

<page id="20209" title="Drone Abilities" descr="0" voice="no">
 <t id="101">Launch {20101,1003}</t>
 <t id="102">Attacks with Pulsed Masers.</t>
 <t id="201">Launch {20101,1203}</t>
 <t id="202">Attacks with Plasma Repeaters.</t>
 <t id="301">Launch {20101,1403}</t>
 <t id="302">Attacks with V Crushers.</t>
 <t id="401">Launch {20101,4501}</t>
 <t id="402">Deploys temporary shield wall.</t>
 <t id="501">Launch {20101,4601}</t>
 <t id="502">Improves shield regeneration.</t>
 <t id="601">Enter {20101,501}</t>
 <t id="602">Remote controlled hacking.</t>
 <t id="701">Enter {20101,703}</t>
 <t id="702">Remote controlled scanning.</t>
 <t id="801">Enter {20101,401}</t>
 <t id="802">Remote controlled sabotage.</t>
 <t id="901">Enter {20101,601}</t>
 <t id="902">Remote controlled fighting.</t>
 <t id="1001">{1001,5600}</t>
 <t id="1002">Activates all drones' passive abilities.</t>
</page>

Which led me to find influencelistconfigurations under the libraries

Code: Select all

  <influencelist name="playercontroldroneability">
    <properties delay="0" cooldown="0" range="0">
      <display name="{20209,901}" description="{20209,902}" />
      <icon icon="droneability_playercontrol" />
    </properties>
    <influences />
  </influencelist>
Made a mod file with diff and add another influencelist name....

like so

Code: Select all

<diff>
	<add sel="/influencelistconfigurations">


  <influencelist name="playercontrolrepairdroneability">
    <properties delay="0" cooldown="0" range="0">
      <display name="{20209,1101}" description="{20209,1102}" />
      <icon icon="droneability_playercontrol" />
    </properties>
    <influences />
  </influencelist>

  </add>
</diff>
Issues is influencelist name seam to be hard coded to only allow playercontroldroneability, hackerdroneability, or scannerdroneability to let you hope in the sit of a drone.

So I have hit a wall on this as the influencelist name is how to change the name on the ring of the lunch drone screen. I found I can change it name but can not raid the drone after changing it. I can even change the icon for the drone now.

if anybody know where I could look to maybe add another line so it could be a drone that will Launch and be under playercontrol
My Mods
RepairLasers Player controlled drone Also on steam
[Minefield] fell affliction minefield removed Also on steam
[Buildmodule] add research for buildmodule leak steals

docwho83
Posts: 168
Joined: Mon, 15. Jun 09, 23:10
x4

Post by docwho83 » Sun, 25. Jan 15, 07:18

Sorry for being MIA.... Here is the new update for repair lasers. 1.0 is here.
My Mods
RepairLasers Player controlled drone Also on steam
[Minefield] fell affliction minefield removed Also on steam
[Buildmodule] add research for buildmodule leak steals

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 8074
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp » Thu, 19. Feb 15, 10:27

No problem :)

Any idea if this is compatible with Rebirth v3.20?

Regards,
Sparks

User avatar
Lander1979
Posts: 1017
Joined: Mon, 4. Aug 14, 05:18
x4

Post by Lander1979 » Thu, 19. Feb 15, 15:36

Confirmed as working in 3.20 and 3.50b, tested it myself, works like a charm. Leave zone and the traders will have it in stock. Thanks for an excellent Mod!

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 8074
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp » Sat, 21. Feb 15, 21:28

I'm having some difficulties with these in v3.50 beta 1 although I am not sure if it is beta-related or not as I have not used these drones before.

1. When I click on Repair Drone Mk4 info in trader menu, I get no info screen and a UI lockup occurs (fixed with an alt+tab after entering Full Screen mode).

2. I have remotely ordered a Mk4s twice so far and when the cargo pods arrived, the pod disappears and the docking sound can be heard but I get a popup on the event monitor saying that delivery of the drone failed. They do not appear in the T menu or in the Skunk's drone list (return-2-3).

3. When I speak to a dealer with a Mk4 for sale face-to-face, I can by one and there are no delivery errors (probably because no cargo pods are involved) but after undocking, there isn't a repair drone in the T menu or in the Skunk's drone list.

Not tested other repair drones but it seems like maybe they will only continue to work in 3.50 beta 1 if they were purchased in an earlier Rebirth version.

birdtable
Posts: 2056
Joined: Sat, 7. Feb 04, 20:42
x4

Post by birdtable » Sat, 21. Feb 15, 21:41

Bought a MK4 Repair Drone ... in Beta 3.50 and had no problem,,, very powerful repair laser ..... Gone back to 3.20 miss the side bar.

Solomon Short
Posts: 797
Joined: Wed, 25. Mar 09, 07:00
x4

Post by Solomon Short » Sat, 21. Feb 15, 22:53

Sparky Sparkycorp wrote:3. When I speak to a dealer with a Mk4 for sale face-to-face, I can by one and there are no delivery errors (probably because no cargo pods are involved) but after undocking, there isn't a repair drone in the T menu or in the Skunk's drone list.
In 3.20 the Mk3 Repair "URV" I purchased was an "Assassin ROV" in my Abilities (T) menu (and was most definitely a ROV not a URV).

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 8074
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp » Sat, 21. Feb 15, 22:55

Thanks for the replies!

Hmm...not sure what happened then. I shall try again later.

User avatar
Lander1979
Posts: 1017
Joined: Mon, 4. Aug 14, 05:18
x4

Post by Lander1979 » Sun, 22. Feb 15, 02:34

Also bought and used a Mk4 Repair ROV no problems. Make sure you change zones after installing the mod so that the drone trader updates.

(Unrelated) I had an issue where I had uninstalled a non-working mod, after that, acessing the Mechanic would cause a UI freeze. Make sure you haven't uninstalled any old 3.2 mods as this can cripple your save game.

Post Reply

Return to “X Rebirth - Scripts and Modding”