Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Monsieur OUXX on Thu 18/07/2013 20:37:40

Title: Script each room separately?
Post by: Monsieur OUXX on Thu 18/07/2013 20:37:40
Hi all,

Is it possible to use the "create template" room feature to create rooms separately and then "import" them into the "main" game file?
We're working as a team and it's a bit complicated to work on the game when only one person can use the main game file at a time.

Would there be a catch in that idea?
Title: Re: Script each room separately?
Post by: Crimson Wizard on Thu 18/07/2013 21:02:50
By "main game file" you mean game project?
You can import existing rooms freely (*.crm files). Or is there a reason you cannot use that?
Title: Re: Script each room separately?
Post by: monkey0506 on Thu 18/07/2013 21:38:28
Someone should really get around to writing a source control plugin for the editor.

But yes, as CW says, you should be able to just edit the CRM file and send that back and forth without worrying about having to ship the whole project around. Using room templates would work almost identically as that just creates a new room from an existing one.
Title: Re: Script each room separately?
Post by: Monsieur OUXX on Fri 19/07/2013 11:07:12
Yes, I meant game project (.agf)

You mean I can just copy around .crm files and when I open a game that has that .crm file in its folder, then the room will appear in that game?

Then, what number does it receive? The number that's part of the .crm file name?
Title: Re: Script each room separately?
Post by: Crimson Wizard on Fri 19/07/2013 11:50:14
Quote from: Monsieur OUXX on Fri 19/07/2013 11:07:12
You mean I can just copy around .crm files and when I open a game that has that .crm file in its folder, then the room will appear in that game?
No, you need to right-click on Rooms node in project tree, then choose "Import existing room".

Quote from: Monsieur OUXX on Fri 19/07/2013 11:07:12
Then, what number does it receive? The number that's part of the .crm file name?
Yes.
The Editor won't let you import room if there's already a room of that number in the game.
Title: Re: Script each room separately?
Post by: Ryan Timothy B on Fri 19/07/2013 17:17:18
They also need the sprites file to see any of the objects and such.