Copying One Room/Object To Another Game

Darkweaver
What the title says.

For example, I have an item that I might want to duplicate for a completely different game I'm working on. How do I copy it from one game and paste it to another?

Pertex
Open your game in codeview or with an external text editor. Search your object there and copy it. Open your new game and paste your object into it

HegemonKhan
the code structure, grouping, and ordering is the same as an outline's heirarchy:

by it's 'indenting' (levels~layers), or 'nesting' or 'child~parent' (levels~layers) in code terminology

I. blah
-> A. blah
->-> 1. blah
2. blah

'A.' and '1.' are all within (held by the container of) 'I.'

I. is the direct parent of A.
I. is the indirect parent of 1.
A. is the direct child of I.
1. is the indirect child of I.
1. is the direct child of A.
A. is the direct parent of 1.

out most~most parent -> in most ~ most child

1. -> A. -> 1.
2. -> A. -> 2.
2. -> B.

HK
-> pants (with pockets)
->-> wallet
->->-> $1.00
->->-> $5.00

earth
-> plates
->-> oceans
->->-> pacific
->->-> atlantic
->->-> indian
->->-> arctic
->->-> antarctic
->-> continents
->->-> europe
->->->-> germany
->->->-> france
->->-> african
->->-> asia
->->-> australia
->->-> north america
->->-> south america
->->-> antarctica

Great Grandfather
-> Grandfather
->-> Father
->->-> You
->->->-> Child
->->->->-> Grandchild
Great Grandmother
-> Grandmother
->-> Mother
->->-> Sister
->->->-> Niece~Nephew

the only difference with code is that it needs an ending:

<asl version="550">
-> <inherit name="English.aslx" />
-> <game name="blah">
->-> <author>blah</author>
-> </game>
</asl>

quasi CONCEPTUALLY of how it would look in code, for example only:

<asl> (start of game file)
-> (start of GETFILE of the 'English.aslx' library file) <inherit /> (end of the GETFILE of the 'English.aslx' library file)
-> <game> (start of the game settings)
->-> (start of 'author' string attribute) <author></author> (end of 'author' string attribute)
-> </game> (end of the game settings)
</asl> (end of the game file)

HK (start of HK)
-> pants (start of pants)
->-> wallet (start of wallet)
->->-> (start of 1 dollar bill) <> $1.00 </> (end of 1 dollar bill)
->->-> (start of 5 dollar bill) <> $5.00 </> (end of 5 dollar bill)
->-> wallet (end of wallet)
-> pants (end of pants)
HK (end of HK)

---------------------------------------------

quiz time! (hehe)

using this:

<asl version="550">
<inherit name="English.aslx" />
<inherit name="Core.aslx" />
<game name="blah">
<gameid>blah</gameid>
<author>blah</author>
</game>
<object name="room">
<inherit name="editor_room" />
<object name="player">
<inherit name="editor_object" />
<inherit name="editor_player" />
<object name="blah1">
<inherit name="editor_object" />
<object name="blah2">
<object name="blah3">
<object name="blah4">
</object>
<object>
</object>
</object>
</object>
</object>
</asl>


question 1: where would I put our 'blah5' Object so that it is a direct child (held~contained directly within) of our 'blah4' Object ???

Answer 1:

<asl version="550">
<inherit name="English.aslx" />
<inherit name="Core.aslx" />
<game name="blah">
<gameid>blah</gameid>
<author>blah</author>
</game>
<object name="room">
<inherit name="editor_room" />
<object name="player">
<inherit name="editor_object" />
<inherit name="editor_player" />
<object name="blah1">
<inherit name="editor_object" />
<object name="blah2">
<object name="blah3">
<object name="blah4">
<object name="blah5">
<object>
</object>
<object>
</object>
</object>
</object>
</object>
</asl>


question 2: where would I again put the 'blah5' Object if it were a direct child of 'blah1' Object this time ???

answer 2:

<asl version="550">
<inherit name="English.aslx" />
<inherit name="Core.aslx" />
<game name="blah">
<gameid>blah</gameid>
<author>blah</author>
</game>
<object name="room">
<inherit name="editor_room" />
<object name="player">
<inherit name="editor_object" />
<inherit name="editor_player" />
<object name="blah1">
<inherit name="editor_object" />
<object name="blah5">
</object>
<object name="blah2">
<object name="blah3">
<object name="blah4">
</object>
<object>
</object>
</object>
</object>
</object>
</asl>


OR

<asl version="550">
<inherit name="English.aslx" />
<inherit name="Core.aslx" />
<game name="blah">
<gameid>blah</gameid>
<author>blah</author>
</game>
<object name="room">
<inherit name="editor_room" />
<object name="player">
<inherit name="editor_object" />
<inherit name="editor_player" />
<object name="blah1">
<inherit name="editor_object" />
<object name="blah2">
<object name="blah3">
<object name="blah4">
</object>
<object>
</object>
<object name="blah5">
<object>
</object>
</object>
</object>
</asl>


question 3: where would I put 'blah5' Object so that it is not a child at all of the 'room' Object ???

answer 3:

<asl version="550">
<inherit name="English.aslx" />
<inherit name="Core.aslx" />
<game name="blah">
<gameid>blah</gameid>
<author>blah</author>
</game>
<object nme="blah5">
</object>
<object name="room">
<inherit name="editor_room" />
<object name="player">
<inherit name="editor_object" />
<inherit name="editor_player" />
<object name="blah1">
<inherit name="editor_object" />
<object name="blah2">
<object name="blah3">
<object name="blah4"
</object>
<object>
</object>
</object>
</object>
</object>
</asl>


OR

<asl version="550">
<inherit name="English.aslx" />
<inherit name="Core.aslx" />
<game name="blah">
<gameid>blah</gameid>
<author>blah</author>
</game>
<object name="room">
<inherit name="editor_room" />
<object name="player">
<inherit name="editor_object" />
<inherit name="editor_player" />
<object name="blah1">
<inherit name="editor_object" />
<object name="blah2">
<object name="blah3">
<object name="blah4"
</object>
<object>
</object>
</object>
</object>
</object>
<object name="blah5">
</object>
</asl>

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums