User Tools

Site Tools


modding:xml:stationtype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
modding:xml:stationtype [2017/01/21 01:09] – Added info on gravity 0xabcdefmodding:xml:stationtype [2017/04/13 07:15] (current) – Need to finish Summary 0xabcdef
Line 1: Line 1:
 [[modding:xml:stationtype]]. [[modding:xml:stationtype]].
 +=====Summary===== 
 +  * <StationType> 
 +    * Zero or one <Animations> 
 +    * <ImageComposite> 
 +    * <Construction> 
 +    * <Devices> 
 +    * <DockingPorts> 
 +    * <DockScreens> 
 +    * Zero or one <Encounter> 
 +      * Zero or one <Attributes> 
 +        * criteria= 
 +      * Zero or one <Chance> 
 +        * chance= 
 +      * Zero or one <DistanceBetweenNodes> 
 +        * min= 
 +        * max= 
 +      * Zero or one <DistanceTo> 
 +        * criteria= 
 +        * nodeID= Cannot be used with **criteria** 
 +        * min= 
 +        * max= 
 +      * Zero or one <StargateCount> 
 +        * min= 
 +        * max= 
 +    * <Encounters> 
 +    * <Events> 
 +    * <HeroImage> 
 +    * <Image> 
 +    * <ImageEffect> 
 +    * <ImageLookup> 
 +    * <ImageVariants> 
 +    * <Items> 
 +    * <Names> 
 +    * <Reinforcements> 
 +    * <Satellites> 
 +    * <Ships> 
 +    * <Trade>
 =====Overview===== =====Overview=====
 <StationType> defines the properties and behavior of a type of [[station]]. In addition to stations and wrecks, a StationType is also used to define the properties of stars, planets, and asteroids. <StationType> defines the properties and behavior of a type of [[station]]. In addition to stations and wrecks, a StationType is also used to define the properties of stars, planets, and asteroids.
Line 21: Line 57:
  ***"true"** : Always treat the station like it can attack  ***"true"** : Always treat the station like it can attack
  ***"false"** : Always treat the station like it cannot attack  ***"false"** : Always treat the station like it cannot attack
-**gravityRadius=** This specifies the radius (in light-minutes) in which the station will exert gravitational force on mobile objects (such as ships and **mobile** stations like cargo crates and shipwrecks. The amount of gravitational acceleration that the station exerts on the object and the range at which objects are "ripped apart by" the station scale up with the radius and cannot be set. 
 =====Naming===== =====Naming=====
 **name=** The name of the station. **name=** The name of the station.
Line 69: Line 104:
  
 **spaceColor=** This is an RGB value specifying the color of space in the vicinity of the star. **spaceColor=** This is an RGB value specifying the color of space in the vicinity of the star.
 +
 +**mass=** This defines the mass of the star in terms of solar masses (equivalent to 330000 Earth masses). It affects the gravitational acceleration that this object exerts in its gravitational field.
 +
 +**gravityRadius=** This specifies the radius (in light-minutes) in which the station will exert gravitational force on mobile objects (such as ships and **mobile** stations like cargo crates and shipwrecks. Acceleration applied to nearby space objects may be roughly determined by **V = [g_SecondsPerUpdate * rAccel * vDist / sqrt(rDist2) = 6468 * mass * (gravityRadius^2 / distance^2) * distance / sqrt(distance^2)] km/s / 299792.5 ls/km**, where **V** is the change in speed in light-seconds per second (towards the star) after a single second. The maximum range at which objects can get "ripped apart by" this star will scale up with mass and radius also.
 =====Armor and HP===== =====Armor and HP=====
  
modding/xml/stationtype.txt · Last modified: 2017/04/13 07:15 by 0xabcdef