Pale Blue Light Alpha Release (V3 up!)

A place to discuss mods in development and concepts for new mods.
Shaman
Commonwealth Pilot
Commonwealth Pilot
Posts: 95
Joined: Fri Sep 20, 2013 2:03 pm

As we talked about in IRC:

Would you include system-design? There is a good explanation in the .xml but not all is covered.

Especially: What are attributes?
Example (StarSystems.xml line 356)

Code: Select all

<AddAttribute attributes="asteroidBeltSystem, KTypeSystem"/>
JohnBWatson
Fleet Officer
Fleet Officer
Posts: 1452
Joined: Tue Aug 19, 2014 10:17 pm

Attributes, as I understand them, are string variables applied to objects that can be used during procedural generation. A station with the attribute "envAvoidsFire" can be checked when filling a system to ensure it is not placed in an area designated with fire.

Is this correct? If so, where should I place it in the comments?

In addition, I have decided to alter the design so that the target station is spawned in the first system. This will better match the majority of existing missions and allow for more readability. The second system will now simply be a place to explore, and a means of demonstrating how procedural system generation works.
JohnBWatson
Fleet Officer
Fleet Officer
Posts: 1452
Joined: Tue Aug 19, 2014 10:17 pm

Got the mission done, about ready to move on to beta. Quick question, why does my attempt to set the target upon docking not work? The code is:

Code: Select all

<MissionInProgress
							desc="The monitor displays a map, indicating the position of the infected station.">

						<Actions>
							<Action name="Continue" default="1" cancel="1" key="C">
								(block (theTarget)
									(setq theTarget (objGetData gSource "Target"))
									(shpCancelOrders gPlayerShip)
									(shpOrder gPlayerShip 'attack theTarget)
								)
								<Exit/>
							</Action>
						</Actions>
					</MissionInProgress>

Also, here's the link to the new version.
Post Reply