Logo Platform
logo amplifiers simplified

Modding Warp and star transformation

Reply
Copied to clipboard!
7 years ago
Aug 26, 2018, 1:59:57 PM

I apologize in advance, but I do not know English and I use Google translator.
Tell me where I can edit the speed of the ships in the warp? I would like to increase it.
And where can I edit the probability of a star turning into another after a behemoth shot? For example, after a shot on a white dwarf - 95% that there will be a white dwarf and 5% that the star will be destroyed. Where to change these percentages?
Help me please.
Thank you in advance.

0Send private message
7 years ago
Aug 27, 2018, 10:17:27 AM

Hi, I can only give you a pointer regarding your first question. The attribute in question is called [Base]FreeMovementSpeed. If you want to change base warp speeds for all ships, SimulationDescriptors[EmpireImprovement].xml would be the location to do it (there are several tiers depending on tech progression, just run a search on the file). Some racial traits also affect warp speeds, see SimulationDescriptors[FactionTrait*].xml, keywords are 'FreeMovementSpeed' (warp) and 'MaximumSpeed' (non-warp). There are various other places that you can use to implement boosts, e.g. policies or heroes.

0Send private message
7 years ago
Aug 27, 2018, 1:27:46 PM

Hey folks,


As terodil mentioned, looking at the Traits SimulationDescriptors is a good start:

<SimulationDescriptor Name="FactionTraitFastTraveler1" Type="FactionTrait">
    <Modifier TargetProperty="MaximumMovement"        Operation="Addition"  Value="1"   Path="ClassEmpire/ClassGarrison/ClassShip"/>
    <Modifier TargetProperty="MaximumMovement"        Operation="Addition"  Value="1"   Path="ClassEmpire/ClassColonizedStarSystem/ClassGarrison/ClassShip" TooltipHidden="true"/>
</SimulationDescriptor>

This effect increases the movement of all ships of the empire by 1.


For the destruction after a behemoth shot, you'll have to look at the file "StarDestructionDefinitions.xml":

<StarDestructionDefinition Name="StarTypeWhite">
    <StarDestruction DestinationStarType="StarTypeRedSupergiant"    Weight="20"/>
    <StarDestruction DestinationStarType="StarTypeWhiteDwarf"       Weight="80"/>
</StarDestructionDefinition>

I hope this helps!

0Send private message
7 years ago
Aug 27, 2018, 5:58:51 PM

Hi guys!
Yes, you very much helped me with your answers, thank you.
I correctly understood that FreeMovementSpeed and BaseFreeMovementSpeed are responsible only for the speed of the ships in the warp? What then do they differ from each other?
And where to edit the speed of ships not in warp, over hyperlines?
I just want to equalize the speed of hyperlines and warp.
Thanks again!

MonAmiral wrote:

Hey folks,


As terodil mentioned, looking at the Traits SimulationDescriptors is a good start:

<SimulationDescriptor Name="FactionTraitFastTraveler1" Type="FactionTrait">
    <Modifier TargetProperty="MaximumMovement"        Operation="Addition"  Value="1"   Path="ClassEmpire/ClassGarrison/ClassShip"/>
    <Modifier TargetProperty="MaximumMovement"        Operation="Addition"  Value="1"   Path="ClassEmpire/ClassColonizedStarSystem/ClassGarrison/ClassShip" TooltipHidden="true"/>
</SimulationDescriptor>

This effect increases the movement of all ships of the empire by 1.


For the destruction after a behemoth shot, you'll have to look at the file "StarDestructionDefinitions.xml":

<StarDestructionDefinition Name="StarTypeWhite">
    <StarDestruction DestinationStarType="StarTypeRedSupergiant"    Weight="20"/>
    <StarDestruction DestinationStarType="StarTypeWhiteDwarf"       Weight="80"/>
</StarDestructionDefinition>

I hope this helps!


0Send private message
7 years ago
Aug 28, 2018, 7:44:59 AM

BaseWarpSpeed, BaseWormholeSpeed, BaseFreeMovementSpeed and BasePortalMaximumCost are properties on the Empire which are used to calculate a path for a fleet that hasn't spawned, like the civilian fleets.

WarpSpeed, WormholeSpeed, FreeMovementSpeed and PortalMaximumCost are properties on the Fleet which are used to know how much distance a ship can move with one movement point.


What you call hyperlines would most likely be Wormholes, so it'd be WormholeSpeed! However the wormhole movement points consumption is... different: using a wormhole costs MaximumMovement / WormholeSpeed movement points, so you can't make wormholes movement cost as much as a warp (on regular lanes) movement, except if you disable them and force the player to use Free move.

0Send private message
7 years ago
Aug 28, 2018, 3:38:38 PM

I think he misunderstood you and thought that warp = free travel.

To clarify :


-Movement over starlanes (warp travel) : this one uses BaseWarpSpeed and WarpSpeed (value is in parsecs).
-FREE movement, not following any starlane or using wormholes/portals : uses baseFreeMovementSpeed and FreeMovementSpeed (again, value in parsecs).
-wormhole travel : uses wormholespeed which is actually a cost, base cost is 1 so it uses all available movement points when traveling through them. If you want them to use only half you'll need a wormhole speed of 2, 1/3 will be speed of 3 etc.
-portal travel : this one is a fixed cost, unlike the one just above, it will just subtract the PortalMaximumCost from your movement points.

Updated 7 years ago.
0Send private message
?

Click here to login

Reply
Comment

Characters : 0
No results
0Send private message