[MOD] Jäger auf Arawn landen

Hier ist der ideale Ort um über Scripts und Mods für X Rebirth zu diskutieren.

Moderators: Moderatoren für Deutsches X-Forum, Scripting / Modding Moderators

User avatar
Marvin Martian
Posts: 3614
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian »

Spami wrote:Bilder schießen, bearbeiten, Testen, Workshopfähig machen, etc., etc., zieht sich einfach immer nen gutes Stück hin ;)
Danke gut gemacht
Spami wrote:Finde es aber fast schon zu kompliziert wenn man einen zusätzlichen Mod hat statt die Suls direkt in den Hauptmod zu packen.
das hat den Grund dass dieser sich im Gegensatz zum Carrier nicht einfach entfernen lässt, außerdem ist der Carrier schon immer als profisorische Lösung konzipiert bis Egosoft das offiziell anbietet. Dann soll man den Mod entfernen können, was eigentlich jederzeit problemlos möglich ist
Wenn man das mit den neuen Docks macht, sind wohl alle Jäger futsch die dort gedockt sind, den Sul-Mod kann man aber auch später mit einer offiziellen Trägerfunktion weiter laufen lassen
User avatar
Lander1979
Posts: 1017
Joined: Mon, 4. Aug 14, 05:18
x4

Post by Lander1979 »

I would like to Invite anyone who is interested in partaking in the production of a new mod to allow Multiple Player-Flyable Ships.

Also I would like to ask permission from Marvin Martian, to be allowed to use this mod as a required component for the new mod. http://forum.egosoft.com/viewtopic.php?t=377533

Also I would like to make a request; to be able to dock 2 to 4 minimum ships to the Rahanas, in order to facilitate swapping between small ship types in the new Mod.

Thanks.
Last edited by Lander1979 on Wed, 18. Feb 15, 08:16, edited 2 times in total.
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Re: [MOD] Jäger auf Arawn landen

Post by w.evans »

Marvin Martian wrote:1.38 effizientere Ausnutzung der Andockbuchten, Kompatibilität zum "Engineer Drone Fix"
Danke! :)
User avatar
Marvin Martian
Posts: 3614
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian »

:D your mod remove my search-condition in engineer.ai - but i don't see the reason why? You override the parameter anyway !

im my opinion you should use only

Code: Select all

<?xml version="1.0" encoding="utf-8"?> 
<diff> 
	<add sel="/aiscript/attention/actions/do_if[@value='$repairratefactor == 0']"> 
		<do_if value="$repairratefactor lt 1 and $Defensible.units.{unitcategory.welder}.count ge 1"> 
			<set_value name="$repairratefactor" exact="$Defensible.units.{unitcategory.welder}.count" /> 
		</do_if> 
	</add>
</diff>
thats enough and make less proplems with other modifications :wink:
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Post by w.evans »

If I remember correctly, I wanted to turn this:

Code: Select all

        <set_value name="$repairratefactor" exact="0.1" />
into this:

Code: Select all

		<do_if value="$Defensible.units.{unitcategory.welder}.count ge 1">
			<set_value name="$repairratefactor" operation="add" exact="$Defensible.units.{unitcategory.welder}.count" />
		</do_if>
You're right, though. It would be just as effective, and improve compatibility, by overriding <set_value name="$repairratefactor" exact="0.1" /> by adding the patch after. Changing it now. Sorry about that.

edit: Should probably do the same to Station Engineers.
User avatar
Marvin Martian
Posts: 3614
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian »

but in case, i would like in my example check if $repairratefactor is realy below 1 like in vanilla (bacause that is what you want to change)
and then not operation="add", because if some mods does the same you like to do. you have in the end instead of 30 drones, 60 or factor X, ok would be not bad, but not the original idea :wink:
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Post by w.evans »

Marvin Martian wrote:but in case, i would like in my example check if $repairratefactor is realy below 1 like in vanilla (bacause that is what you want to change)
and then not operation="add", because if some mods does the same you like to do. you have in the end instead of 30 drones, 60 or factor X, ok would be not bad, but not the original idea :wink:
Right again. I really shouldn't do updates first thing in the morning. Got rid of operation="add" in v0.03 (you're right. Wasn't necessary because $repairratefactor should be 0 at the start of that node.), and added $repairrate lt 1, and removed the now redundant do_else node in v0.04. Thanks!

I'm pretty sure that your mod loads after mine, so that code section should look like this with both of our mods installed:

Code: Select all

<do_if value="$repairratefactor == 0">
	<do_if value="$networkcreated">
		<debug_text text="$Defensible.knownname + ' is ending mass traffic (no more units are flying)'" chance="$debugoutputchance" />
		<end_repair_mass_traffic object="$Defensible" />
		<set_value name="$networkcreated" exact="false" />
	</do_if>
	<!-- if no welders are underway, repair 10 times more slowly than with just one mk1 drone -->
	<set_value name="$repairratefactor" exact="0.1" />
	<do_if value="($repairratefactor lt 1) and ($Defensible.units.{unitcategory.welder}.count ge 1)">
		<set_value name="$repairratefactor" exact="$Defensible.units.{unitcategory.welder}.count" />
	</do_if>
	<do_if value="$Defensible.isclass.ship_m or $Defensible.isclass.ship_s">
		<!-- rate like a mk1 drone -->
		<set_value name="$repairratefactor" exact="1" />
	</do_if>
</do_if>
Assuming that I've had enough coffee to bring me to a semi-sentient state, that should mean:
- If small ship, then $repairratefactor == 1
- If object has at least one welder drone, regardless of availability, then $repairratefactor == number of Construction URVs
- In all other cases, if $repairratefactor == 0, then $repairratefactor == 0.1 as per vanilla.

edit: edited to reflect change in EngineerDroneFix v0.04. Should be ok until someone adds welder drones into small ships. Getting more coffee.
User avatar
Marvin Martian
Posts: 3614
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian »

oh not seen that, just send you an PM about your mod, because i have a proposal that effects ships without dronebay (Balor, Sucellus, I, K)
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Post by w.evans »

Yup. Reading and considering it now. Thanks!
JabbaDabbaDu
Posts: 470
Joined: Wed, 17. Dec 03, 14:15
x3

Post by JabbaDabbaDu »

Also das Addon: Morecarriers-100.zip (jeweils 2 Invisible M&S Docks für Sul & Schwere Sul) funktioniert bei mir nicht korrekt.

Einzige Befehle über den Verteidigungsoffi. 1. Transfer; dann noch 1. Zu Skunk; 2. Eskorte zur Skunk.

Landen oder Starten geht nicht.
>>1 prozentler<< unterliegt dem Urheberrecht und darf kostenlos kopiert werden!
User avatar
Marvin Martian
Posts: 3614
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian »

sind das neue oder schon vor dem Addon bestehende Suls? die Docks bekommen im Moment nur neue

aktuell hab ich noch nicht raus wie ich "alte" Schiffe einmalig update

die Transfer Option wird jetzt seit dem letzten update bei allen L&XL schiffen angeboten wenn es NICHT als Träger erkannt wird, sonst würde da Träger stehen und Transfer wäre eine Ebene tiefer zu finden :wink:
User avatar
Spami
Posts: 468
Joined: Sun, 1. Jun 08, 21:32
x4

Post by Spami »

Ich füge mal einen Hinweis dazu in der Beschreibung ein. :)

Habe sowohl die Originaldatei als auch die Steamworkshopdatei gegengetestet beim Screenshot schießen und beide Schiffe (wenn neu gebaut) funktionieren wie geplant.

Fande die Idee von JabbaDabbaDu mit dem autonomen Starten und Landen eigentlich garnicht so schlecht. Man könnte dem DeffOffi ja ein AI script hinzufügen das er die Schiffe startet wie die Dronen wenn Angriffseinstellung auf: "Feinde angreifen" steht.
Weis jetzt nicht wieviel Müll das hinterlässt weil AI scripts sind halt auch immer sone Sache.
Spami

Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning.
- Albert Einstein
User avatar
Marvin Martian
Posts: 3614
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian »

bis ich weiß wie ich Mod-Versionsabhängig einen Patch ausführen kann, hab ich eine Gesprächsoption eingefügt Morecarriers_101.zip

*der hotfix hat sich inzwischen erledigt*

damit wird beim Defenceofficer dann ein Updatehinweis in den Gesprächsoptionen angezeigt wenn das Schiff nicht als Träger erkannt wird
Last edited by Marvin Martian on Thu, 19. Feb 15, 11:02, edited 1 time in total.
Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 8074
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp »

From what I can gather from google translate, you guys have been working on the Suls I asked about. Danke!
JabbaDabbaDu
Posts: 470
Joined: Wed, 17. Dec 03, 14:15
x3

Post by JabbaDabbaDu »

Marvin Martian wrote:sind das neue oder schon vor dem Addon bestehende Suls? die Docks bekommen im Moment nur neue

aktuell hab ich noch nicht raus wie ich "alte" Schiffe einmalig update

die Transfer Option wird jetzt seit dem letzten update bei allen L&XL schiffen angeboten wenn es NICHT als Träger erkannt wird, sonst würde da Träger stehen und Transfer wäre eine Ebene tiefer zu finden :wink:
Sind Alte...
>>1 prozentler<< unterliegt dem Urheberrecht und darf kostenlos kopiert werden!
User avatar
Marvin Martian
Posts: 3614
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian »

Mit der Version 1.01 des Addons, respektive Hotfix aus dem Beitrag oben wird (im Bedarfsfall) eine Gesprächsoption beim Verteidigungsoffizier eingefügt die das Schiff auf den aktuellen Stand bringt und damit die Docks einfügt
w.evans
Posts: 2963
Joined: Tue, 18. Nov 14, 16:23
x4

Re: [MOD] Jäger auf Arawn landen

Post by w.evans »

Marvin Martian wrote:1.39 bugfixes und Jägerkommandos nun ebenfalls unter Kapitän->"Greife an"
Danke für's Update!
User avatar
alexalsp
Posts: 1896
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp »

Offer.

1) auto dock before jump and after attack
2) auto launch before attack

This will replace the two parameters

1) dock

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

Post by Sparky Sparkycorp »

Danke für de Raptor :)
oliverjanda
Posts: 309
Joined: Sun, 14. Feb 10, 17:47
xr

Post by oliverjanda »

Hat schon jemand den Mod zusammen mit UFO probiert?

Return to “X Rebirth - Scripts und Modding”