Need some help with my station

Freeform discussion about anything related to modding Transcendence.
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

I'll try that.


EDIT: IT WORKS! THANKS GEORGE! *evilbob plays imperial march on continous loop*
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

another problem :oops: . I'm messing around with the Nexian battleship.
when I tried to add my own dockscreen, I get"unable to parse line (133) .expected" or some thing. here's the station:

Code: Select all

]>
<TranscendenceExtension UNID="&unidExtension;" version="0.96">

<Image UNID="&rsCruiser2;" bitmap="Neoship.jpg" bitmask="Neomask.bmp" backColor="0x00000000"/>

	<!-- Nexian battleship -->
	
	<ShipClass UNID="&scNeobattleship;"
			manufacturer=		"Neo-Nexia"
			class=				"Doomstorm"
			type=				"battleship"
			score=				"440"
			techOrder=			"mech"
			sovereign=			"&svIndependent;"
			dockScreen=			"Main"
			
			mass=				"20000"
			cargoSpace=			"15000"
			thrust=				"2000"
			maneuver=			"20"
			maxSpeed=			"3"

			leavesWreck=		"100"
			>

		<Armor>
			<ArmorSection start="345" span="15" armorID="&itLightBlastPlate;" />
			<ArmorSection start="330" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="315" span="15" armorID="&itLightBlastPlate;" />
			<ArmorSection start="300" span="15" armorID="&itLightBlastPlate;" />
			<ArmorSection start="285" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="270" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="255" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="240" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="225" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="210" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="195" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="180" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>

			<ArmorSection start="165" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="150" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="135" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="120" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="105" span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="90"  span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="75"  span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="60"  span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="45"  span="15" armorID="&itLightBlastPlate;" />
			<ArmorSection start="30"  span="15" armorID="&itLightBlastPlate;" />
			<ArmorSection start="15"  span="15" armorID="&itLightBlastPlate;" nonCritical="general"/>
			<ArmorSection start="0"   span="15" armorID="&itLightBlastPlate;" />
			</Armor>

		<Devices>
			<Device deviceID="&itSlamCannon;" omnidirectional="true"/>
			<Device deviceID="&itSlamCannon;" omnidirectional="true"/>
			<Device deviceID="&itSlamCannon;" omnidirectional="true"/>
			<Device deviceID="&itSlamCannon;" omnidirectional="true"/>
			<Device deviceID="&itSlamCannon;" omnidirectional="true"/>
			<Device deviceID="&itSlamCannon;" omnidirectional="true"/>
			<Device deviceID="&itSlamCannon;" omnidirectional="true"/>
			<Device deviceID="&itSlamCannon;" omnidirectional="true"/>
			<Device deviceID="&itMissileDefense;" omnidirectional="true" />
			<Device deviceID="&itMissileDefense;" omnidirectional="true" />
			</Devices>

		<Items>
			<Item count="20"		item="&itNeowingman;" />
                    </Items>

		<AISettings
			fireRateAdj=		"40"
			fireAccuracy=		"90"
			perception=			"4"
			standOffCombat=		"true"
			/>

<Image imageID="&rsCruiser2;" imageX="0" imageY="0" imageWidth="208" imageHeight="208" imageFrameCount="0" imageTicksPerFrame="0"/>

		<Names>Battleship Dragoon; Battleship Venom; Battleship Black hand; Battleship Sonus; Battleship Nexus; Battleship Xeon; 

Battleship Imperator; Battleship Armagon; Battleship Skyhawk; Battleship Slaar; Battleship Angelus; Battleship Genesis; Battleship Victorius; 

Battleship Vindictus; Battleship Lance; Battleship Dreadnaught; Battleship Starchild; Battleship Heart of darkness; Battleship Leviathan; 

Battleship Warlord; Battleship Condor; Battleship st.Oscar;Battleship Vengance; Battlship Imperial glory; Battleship Firestar; Battleship 

Azrael; Battleship Reaver; Battleship Raziel; Battleship Doomblade; Battleship Revenant; Battleship Nighthunter; Battleship Soulkiller; 

Battleship Hiawatha; Battleship Forsaken; Battleship Challenger; Battleship Godkiller; Battleship Southern cross; Battleship Exodus; 

Battleship Draconis; Battleship Krig; Battleship Morningstar; Battleship Raptor; Battleship Ravager; Battleship Shade; Battleship Sentinel; 

Battleship Bah'ko; Battleship Westwood; Battleship Madcat; Battleship Black Knight; Battleship Dread legion; Battleship Ghost; Battleship 

Thunderhawk; Battleship Lightbringer; Battleship Anaconda; Battleship fearless; Battleship vision; Battleship Oddesey; Battleship 

Colossus</Names>

{line 133}
	<DockScreen>
                <Main
		              name=			"=(objGetName gStation)"
		              backgroundID=	"&rsShipInterior;"
		              >

		<Panes>
			<Default>
                                    desc=	"You are docked at a Nexian Battleship. Various crew members stand around the hangar. One 

pilot approaches you and asks if you are interested in hiring any wingmen.">

				<Actions>
					<Action name="Hire Wingmen" imageID="&rsItemListScreen;" imageIndex="1" default="1" key="B">
						(block Nil
							(setq gPrevScreen "&dsBattleship;")
							(setq gMargin 20)
							(setq gShowCriteria "*NU -Illegal;")
							(scrShowScreen gScreen "&dsExchangeBuy;")
							)
						</Action>

					<Action name="Dock Services" imageID="&rsItemListScreen;" imageIndex="1" key="D">
						<ShowPane pane="DockServices"/>
						</Action>

					<Action name="Undock" imageID="&rsItemListScreen;" imageIndex="0" cancel="1" key="U">
						<Exit/>
						</Action>

					</Actions>

				</Default>

			<DockServices
					desc=	"You are at the docking services terminal.">

				<Actions>
					<Action name="Refuel" imageID="&rsItemListScreen;" imageIndex="1" key="R">
						(block Nil
							(setq gPrevScreen "&dsBattleship;")
							(setq gPrevPane "DockServices")
							(setq gCost 25)
							(setq gItem (itmCreate &itHelium3FuelRod; 1))
							(scrShowScreen gScreen "&dsRefuel;")
							)
						</Action>

					<Action name="Install weapon" imageID="&rsItemListScreen;" imageIndex="1" key="W" >
						(block Nil
							(setq gPrevScreen "&dsBattleship;")
							(setq gPrevPane "DockServices")
							(setq gTechLevel 8)
							(setq gCheckMilitaryID True)
							(setq gMargin 100)
							(scrShowScreen gScreen "&dsInstallWeapon;")
							)
						</Action>

					<Action name="Remove weapon" imageID="&rsItemListScreen;" imageIndex="1" key="V" >
						(block Nil
							(setq gPrevScreen "&dsBattleship;")
							(setq gPrevPane "DockServices")
							(scrShowScreen gScreen "&dsRemoveWeapon;")
							)
						</Action>

					<Action name="Done" imageID="&rsItemListScreen;" imageIndex="0" cancel="1" key="N">
						<ShowPane pane="Default"/>
						</Action>

					</Actions>

				</DockServices>

			</Panes>
                    </Main>

		</DockScreen>

		<DockingPorts>
			<Port x="0"		y="40" />
			<Port x="0"		y="-40" />
			<Port x="40"	y="0" />
			<Port x="-40"	y="0" />
			</DockingPorts>


		</ShipClass>
I marked line 133 with {line 133}.
what's wrong?
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

The problem is that until next version, when they're enabled, we cannot use custom dockscreens for our mods.
User avatar
dvlenk6
Militia Captain
Militia Captain
Posts: 519
Joined: Sun Mar 05, 2006 6:56 am
Location: Sanctuary and beyond
Contact:

Code: Select all

<DockScreens>
...
</DockScreens>
That's not right, Yugi.
We can make dockscreens the way Evilbob has, we just can't make UNID type dockscreens (&dswhatever;)
Last edited by dvlenk6 on Sun Jul 30, 2006 12:56 pm, edited 1 time in total.
"War is hell."
-William Tecumseh Sherman
http://dvlenk6.blackraven3d.com/transgals.html
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

Yugimotomanager wrote:The problem is that until next version, when they're enabled, we cannot use custom dockscreens for our mods.
red pig managed it.

and I tried making it <dockscreens> but that didn't help
User avatar
dvlenk6
Militia Captain
Militia Captain
Posts: 519
Joined: Sun Mar 05, 2006 6:56 am
Location: Sanctuary and beyond
Contact:

Sorry, just noticed these:

Code: Select all

setq gPrevScreen "&dsBattleship;"
Won't work.

You will just have to make either a pane(s) or a new screen set for whatever is in &dsBattleship; entity and put it directly into the dockscreens you have posted here.

Then Use:
setq gPrevPane "ONE OF YOUR PANES" <- if you make panes or,

setq gPrevScreen "Main"
setq gPrevPane "ONE OF YOUR PANES" <- if you make a new screen set

to navigate when an action in the new 'battleship' panes or screenset is completed.

Else make a main xml mod (NOT recommended) and use your &dsBattleship in that.

EDIT - you still need <Dockscreens>...</Dockscreens>
"War is hell."
-William Tecumseh Sherman
http://dvlenk6.blackraven3d.com/transgals.html
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

If you still can't get it to work, I'd be happy to take a look. If you can put a link to the whole file, I might be able to debug it.
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

YAY! it works! thanks for your help Dvlenk! :D :D :D

EDIT: Here it is: http://www.savefile.com/files.php?fid=2481585
Post Reply