[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

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.

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

Post by Sparky Sparkycorp » Sun, 22. Feb 15, 08:02

Thank you very much for that tip!

skr
Posts: 1
Joined: Mon, 23. Feb 15, 10:59

Post by skr » Mon, 23. Feb 15, 11:08

mentioned it over at nexus, but maybe it would help more here.

There seems to be a small copy error in part of the code.
"
Mk.4 was failing to deliver to the Skunk, so I checked the xml files and there is a small typo in repairlaser/assets/units/player/macros/unit_player_repair_drone_mk4_macro.XML

At the top of the file it is running the mk2 flags -
<macros>
<macro name="unit_player_repair_drone_mk2_macro" class="drone">
<component ref="unit_player_repair_drone_mk2" />
it should be-
<macros>
<macro name="unit_player_repair_drone_mk4_macro" class="drone">
<component ref="unit_player_repair_drone_mk4" />
"

Not too fresh on this coding thing, but with the mk. 4 running 4 component lasers, the mk.2 macro would cause issues with additional lasers.
After I fixed that in my xml, it now works like a charm. (it was also causing some bugs in the drone dealer menu)

Awesome mod and saves a lot of shipyard headaches, also has saved my boarding team a few times from overachieving Allied weapons fire.

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

Post by docwho83 » Thu, 26. Feb 15, 04:53

Thank Skr will post an update here shortly. Had thought I fix it at the same time I post the steamworkshop version.
My Mods
RepairLasers Player controlled drone Also on steam
[Minefield] fell affliction minefield removed Also on steam
[Buildmodule] add research for buildmodule leak steals

Fazer1000
Posts: 73
Joined: Sat, 23. Jul 11, 23:28
x4

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

Post by Fazer1000 » Tue, 17. Mar 15, 21:29

docwho83 wrote: 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.

____________________________
Hey man,
you made me confuse!
What calander did you use for the dates?
I thought that I have an old version but when I looked inside on steam and nexus it is the same version 1.03 last edited 2015-01-31 what's the date of your last steamupdate.
An update 1.3 from 2015-02-25 does not exist! :?
The update 1.1 with the date 2015-03-25 doesn't exist and the date is in future if you use a "normal" calander :?
i7 4770k /16GB /GTX 770
seit Xbtf bekennender X-Fan

Requiemfang
Posts: 3206
Joined: Thu, 16. Jul 09, 12:24
x4

Post by Requiemfang » Tue, 17. Mar 15, 21:33

Fazer1000 check the nexus site in the downloads, it's right under the 1.1 download.

Fazer1000
Posts: 73
Joined: Sat, 23. Jul 11, 23:28
x4

Post by Fazer1000 » Tue, 17. Mar 15, 21:48

I downloaded this file called 1.3 from nexus and if you're looking inside the date of last edit of and inside the modfolder is 2015-01-31 and windows says here the same as the content.xml, though there was no edit after that. :o
i7 4770k /16GB /GTX 770
seit Xbtf bekennender X-Fan

Valhalla Awaits
Posts: 36
Joined: Wed, 18. Mar 15, 15:40

Post by Valhalla Awaits » Wed, 18. Mar 15, 15:48

This is a great idea for a mod, and I really like the idea.

But could I get a non-cheat version of this? One where the drone doesn't repair 100,000 hull a second? It was easy to make my capital ships invincible with a single mk1 drone. (I'm not even sure why you even made a mk2-mk4, they all repair everything pretty much instantly.)

It should repair at 1/100th or maybe 1/50th the current speed to be even considered a non-cheat mod. (Even with the insane price tag per-drone, which should also be much lower with a non-cheat version.)

UPDATE: I played around with the numbers some, and I figured out why you may have made the repair rate absurdly high, and that is likely due to both station repairs and the fact that repairing capital ships is bugged, and that you actually repair the shield value before the hull. (Acts like a shield transfer first.) This results in my lower repair values taking EONS to make a difference. So after trying different values, I determined that even 1/50th your speed was a bit too low, and settled at 1/20th the speed roughly, which seems about perfect to me.

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

Post by docwho83 » Fri, 20. Mar 15, 13:06

@ fazer1000
both steam and nexus should have the same version. Will check them when I get home this weekend.

@valhalla Awaits.
I have not been able to play much with them. When I first built this mod it would take about 30 mins to repair the plot trade ship from 20%. that was the mark 4 unit. I have play with them some since some of the new updates and yes there is an issue with my numbers but had not had time to fine tune it. Also I play with stronger hulls not sure of the mod name but most of the ships in my game are 3 times larger then unmodified versions. SO harder to kill and longer to repair.

But I will look into building a non cheat version as you put it for the unmodified ship hulls.
My Mods
RepairLasers Player controlled drone Also on steam
[Minefield] fell affliction minefield removed Also on steam
[Buildmodule] add research for buildmodule leak steals

Cerber91
Posts: 1
Joined: Sat, 21. Jan 17, 11:57

Post by Cerber91 » Sat, 21. Jan 17, 12:00

Beholder Mk4 legal from your mod is actually a mk3. Can't be used to fully scan a ship. Please fix that. DK how to test for the Trojan Mk2.

<Be aware that the mod author has not posted in these forums for 2 years now. Alan Phipps>

User avatar
alexalsp
Posts: 1823
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Thu, 14. Dec 17, 19:53

XR 4.30

Please rename the mod to Repair urv or Repair urv for Skunk

Some parameters have been migrated.

e:\Game_Test\X Rebirth\extensions\repairlaser\md\
Delit file Setup.xml

add

repairlaser\libraries\parameters.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<diff>
 <replace sel="/parameters/scriptparams/category[@name='itemtraderlists']/param[@name='dronetraderlists']">
      <param name="dronetraderlists" value="
        [
          [
                    [ware.spe_drone_scanner_mk1, 4, 8, 100],
                    [ware.spe_drone_scanner_mk2, 2, 4, 50],
                    [ware.spe_drone_scanner_mk3, 1, 2, 25],
                    [ware.spe_drone_interceptor, 3, 7, 90],
                    [ware.spe_drone_hacker, 2, 6, 60],
                    [ware.spe_drone_demolition, 1, 5, 50],
                    [ware.spe_drone_shieldwall, 2, 6, 60],
                    [ware.spe_drone_shieldboost, 1, 5, 50],
                    [ware.drp_interceptor_mk1, 8, 18, 90],
                    [ware.drp_interceptor_mk2, 7, 16, 80],
                    [ware.drp_intrepid_mk1, 6, 14, 70],
                    [ware.drp_intrepid_mk2, 5, 12, 60],
                    [ware.drp_overrun_mk1, 4, 10, 50],
                    [ware.drp_overrun_mk2, 3, 8, 40],
					[ware.spe_repair_mk1, 1, 2, 75],
					[ware.spe_repair_mk2, 1, 2, 25],
					[ware.spe_repair_mk3, 1, 2, 15],
					[ware.spe_repair_mk4, 1, 2, 10],
                    [ware.spe_drone_hacker_mk2, 1, 2, 5],
                    [ware.spe_drone_scanner_mk4, 1, 2, 5]
          ]
        ]
      "/>
	</replace>
</diff>

And a couple of mistakes.

I do not know how to fix these errors :( :?

Code: Select all

[=ERROR=] 248.43 [Mesh::Mesh] could not find a valid meshsource for mesh assets\units\player\\unit_player_repair_drone_data\part_classcube-lod0.xmf!
[General] 248.43 ======================================
[General] 248.43 ======================================
[=ERROR=] 248.43 AssetManager::GetAssetIntern() invalid handle(255:16777215)
[General] 248.43 ======================================



Russian LNG

Code: Select all


<?xml version="1.0" encoding="UTF-8" ?>
<language id="7">

<page id="83088" title="Drone Mod" descr="0" voice="No">
 <t id="20001">Ремонтный Лазер Mk1</t>
 <t id="20002">Лазер предназначен для улучшенного ремонта судов в полевых условиях.</t>
 <t id="20101">Ремонтный Лазер Mk2</t>
 <t id="20102">Лазер предназначен для улучшенного ремонта судов в полевых условиях.</t>
 <t id="20201">Ремонтный Лазер Mk3</t>
 <t id="20202">Лазер предназначен для улучшенного  ремонта судов в полевых условиях.</t>
 <t id="20301">Ремонтный Лазер Mk4</t>
 <t id="20302">Лазер предназначен для улучшенного  ремонта судов в полевых условиях.</t>
 <t id="20004">Ремонтный Дрон</t>
 <t id="20005">{83088,20004} {20106,101}</t>
 <t id="20006">{83088,20004} {20106,201}</t>
 <t id="20007">{83088,20004} {20106,301}</t>
 <t id="20008">{83088,20004} {20106,401}</t>
 <t id="20009">{20101,501} {20106,201}</t>
 <t id="20010">{20101,703} {20106,401}</t>
 <t id="20003">Принадлежит к группе автоматизированных дронов \(беспилотных летательных аппаратов\), которая широко используется во всех секторах в настоящее время. Ремонтный дрон управляется простым AI. Положительные стороны дрона заключаются в его скорости и маневренности, отрицательные - он имеет сравнительно хрупкий корпус и слабое ремонтное оборудование.</t>
 <t id="21983">Ремонтный Дрон используется для ремонта судов.</t>

</page>

<page id="20209" title="Drone Abilities" descr="0" voice="no">
 <t id="1101">Вход {83088,20004}</t>
 <t id="1102">Удаленное управление</t>
</page>

</language>


Post Reply

Return to “X Rebirth - Scripts and Modding”