Can i set the ship or equip for the player only?

The place to discuss scripting and game modifications for X4: Foundations.

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

Post Reply
xyq565861
Posts: 2
Joined: Sat, 1. Dec 18, 03:41
x4

Can i set the ship or equip for the player only?

Post by xyq565861 » Fri, 21. Jan 22, 14:31

I made some ship and equipment to improve my experience, the mod is a little bit unbalanced. I set the blueprint to sell from Terran, and I find the Terran can use my modding ship and equipment too. This led to a break in the balance between TER and ANT, now the TER got too much advance in the war,and conquered too many sectors.
So, Can I set the ship or equipment for the player only?

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13293
Joined: Sun, 15. Feb 04, 20:12
x4

Re: Can i set the ship or equip for the player only?

Post by euclid » Sat, 22. Jan 22, 01:58

Welcome :-)

And no, not to my knowledge. Sorry to have bad news.

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

arshiba
Posts: 48
Joined: Thu, 1. Jul 04, 15:30
x4

Re: Can i set the ship or equip for the player only?

Post by arshiba » Sun, 23. Jan 22, 10:24

xyq565861 wrote:
Fri, 21. Jan 22, 14:31
I set the blueprint to sell from Terran..
Just don't do it.
xyq565861 wrote:
Fri, 21. Jan 22, 14:31
Can I set the ship or equipment for the player only?
Don't "attach" (god, ships, loadouts, jobs, wares) blueprints and respective ships/modules to any faction other than the player's faction.
Make some kind of quest or research for this.
Or give blueprints by cue to the player straight away at load time:

Code: Select all

<mdscript name="Demo123">
	<cues>
		<cue name="NewShips">
			<conditions>
				<event_cue_signalled cue="md.Setup.Start" />
			</conditions>
			<actions>
				<add_blueprints wares="[ware.ship_demo123, ware.turret_demo123]"/>
			</actions>
		</cue>
	</cues>
</mdscript>

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

Re: Can i set the ship or equip for the player only?

Post by docwho83 » Sun, 23. Jan 22, 11:51

Or add it to be drops as fragments. That have to be put together. I have been playing with an idea to make it where we could slowly get all the blue prints in hand without buying them. More of a slow way to build up. Buy the ship plans you need and the other basic stuff but then relies on finding them from drops or rare chest.

I am trying to figure out if I could make it so I could sell the prints back to other races to give me more build options late in game.
My Mods
RepairLasers Player controlled drone Also on steam
[Minefield] fell affliction minefield removed Also on steam
[Buildmodule] add research for buildmodule leak steals

Post Reply

Return to “X4: Foundations - Scripts and Modding”