[MOD] Hiigaran Crossroads v2.2 (GV 4.30+ : TO/HoL/CWIR Optional)

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

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

Exavier724
Posts: 118
Joined: Fri, 12. Dec 03, 03:13
x2

Post by Exavier724 » Tue, 12. Jun 18, 01:22

Well darn, guess I have to deal with the tedious code I was hoping wasn't needed. Seems the new method of spawning the stations I used in 2.0 isn't giving the station managers any default funds to put in buy orders for supplies.

The reason I don't have the stations in the zones file is because those aer permanent from game start. Since the dynamic stations included shipyards I didn't want them spawning at game start and giving campaign players access to Argon Shipyards before they storyline even progresses into Argon space. Likewise for many of the freeplay scenarios that start you in a specific place. The crossroads remains closed to anywhere the player hasn't actually visited the hard way first :)

I'll sit down and do the extra code next weekend to give the stations some resources. Most of the tediousness is figuring out how much to give them (without being too much to overfill the economy but too little for sustained operations). I haven't looked at this games station production lines in a very long time.

Thanks for checking that for me.

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

Post by alexalsp » Tue, 12. Jun 18, 08:54

This is not a player station, but NPC stations.

Code: Select all

name="'trade.station'"

 name="'fight.attack.object.station'"
not this

Code: Select all

<start_script object="$Manager" name="'trade.station.player'" /> 
  <start_script object="$DefenceNPC" name="'fight.station.player'" />

And in the game at all NPC stations there are engineers. I think it would be right to add them to the stations.

Code: Select all



                    <create_platform_actor name="$engineer" type="entitytype.engineer" dockingbay="$AdminDock.component" ref="engineer_albion_random">
                          <owner exact="$OwnerFaction"/>
                    </create_platform_actor>
                   <set_entity_type entity="$engineer" type="entitytype.engineer"/>
                  <assign_engineer actor="$engineer" object="$Station"/>
                  <start_script object="$engineer" name="'engineer.ai'"/>



			<patch sinceversion="3" state="complete">
				<start_script object="$Manager" name="'trade.station'"/>
				<start_script object="$DefenceNPC" name="'fight.attack.object.station'"/>

				<create_platform_actor name="$engineer" type="entitytype.engineer" dockingbay="$AdminDock.component" ref="engineer_albion_random">
				<owner exact="$OwnerFaction"/>
				</create_platform_actor>
				<set_entity_type entity="$engineer" type="entitytype.engineer"/>
				<assign_engineer actor="$engineer" object="$Station"/>
				<start_script object="$engineer" name="'engineer.ai'"/>
				
			</patch>


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

Post by alexalsp » Tue, 3. Jul 18, 19:39

Quiet as in a tank. )) Where the update Billy))

:D

Exavier724
Posts: 118
Joined: Fri, 12. Dec 03, 03:13
x2

Post by Exavier724 » Wed, 4. Jul 18, 02:17

Distracted as usual lol.
I haven't really had much interest in X Rebirth for a very long time. The only reason I came back and did the the 2.0 & 2.1 update was because the announcements for X4 Foundations rekindled the desire to actually know the campaign storyline :P

I am still poking at the code currently and am planning one more patch to fix the remaining couple of issues. I'll see if I can set aside another testing block in a cpl weeks for that (Already have plans for the 4th of July & following weekend).

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

Post by alexalsp » Wed, 4. Jul 18, 12:34

OK. We are waiting and hoping. :wink:

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

Post by alexalsp » Thu, 26. Jul 18, 17:18

Exavier724

And we're still waiting ...

:D

Exavier724
Posts: 118
Joined: Fri, 12. Dec 03, 03:13
x2

Post by Exavier724 » Fri, 27. Jul 18, 04:44

Ugh, knew I been forgetting something recently. Should be clear to look at things again this weekend... and hopefully this time someone I know won't break their computer. I really need to start charging more so people leave me alone :P

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

Post by alexalsp » Fri, 27. Jul 18, 12:28

Exavier724 wrote:Ugh, knew I been forgetting something recently. Should be clear to look at things again this weekend... and hopefully this time someone I know won't break their computer. I really need to start charging more so people leave me alone :P
This is the fate of modders)))

:)

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

Post by alexalsp » Fri, 24. Aug 18, 22:57

We waited a long time, hoping for a wonderful future, but we were just tired of waiting))

:D

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

Re: [MOD] Hiigaran Crossroads v2.2 (GV 4.30+ : TO/HoL/CWIR Optional)

Post by alexalsp » Sat, 29. Sep 18, 02:12

v. 2.02 hot fix

- added engineers at the station
- fixed: shiptrader.

https://drive.google.com/file/d/11C2WNx ... sp=sharing

:roll:

Exavier724

Check and update to Steam.

Noticed yet another bug. But I do not know how to fix this.

I think this is a bug 4.30 version of the game but not mod Hiigaran Crossroads.

https://imgur.com/a/MkneJwG

infohata
Posts: 126
Joined: Wed, 4. Apr 07, 22:53
x4

Re: [MOD] Hiigaran Crossroads v2.2 (GV 4.30+ : TO/HoL/CWIR Optional)

Post by infohata » Thu, 8. Nov 18, 20:51

All shipyards are stuck due to lack of resources (0 of everything on all), and they do not accept the missing wares. I have a ship loaded with the missing stuff required to build me another ship... without an option to sell them to the yard - it just does not accept anything. No active docking ports.
Pick the Best, kick the rest...
Travel more! :)
CodeMaster

Post Reply

Return to “X Rebirth - Scripts and Modding”