Editor interface problems & tech questions

Started by strazer, Mon 12/01/2004 09:32:28

Previous topic - Next topic

strazer

Hi!

Couple of things I noticed regarding the editor interface:

1.) If I want to (Start a new game/Load an existing game/Load a recently edited game), how do I get the "Welcome to AGS!" start screen back? There's no "New game" entry in the "File" menu.

2.) When I finish minimizing, maximizing or resizing a script window, it jumps to the cursor position, not the position I left off reading.

3.) Does the help file have to be "always on top"?

4.) When I minimize a (normal or maximized) script window, then close it via context menu in the task bar, then open it again, it stays minimized in the task bar and can't be restored, only maximized via the context menu.

I'm using AGS v2.60 (Build 2.60.450) on Win2k/SP4.

And a few other things:

5.) Is there a simple non-blocking alternative to MoveCharacterToObject ? I'd like to be able to cancel/override for example a pickup command.
I took a look at Proskritos MI2 template but couldn't locate the part in the code that does it. I would be grateful for a few hints.

6.) Is it possible to assign different walkable areas to different characters? Think of mouse that can run underneath a table while other characters can't.

Thanks a lot!
Chris

Gilbert

1) Well... Just quit agsedit and re-execute it.

3) Hint: just double click the ags.chm file in the ags folder instead of choosing Help from the menu.

5) For example, you want character EGO to walks to object #5, use:
MoveCharacter(EGO,GetObjectX(5),GetObjectY(5));

6) No, not currently, you may need to do some scriptings to archive your goal.

strazer

Quote1) Well... Just quit agsedit and re-execute it.

And I deleted the "safe from restarting AGS" from my sentence...  :P

Quote3) Hint: just double click the ags.chm file in the ags folder instead of choosing Help from the menu.

Hadn't thought of that, but still, easy to fix I would think.

Quote5) For example, you want character EGO to walks to object #5, use:
MoveCharacter(EGO,GetObjectX(5),GetObjectY(5));

Oh my, could it be even more simple? ;D
Thank you!

Quote6) No, not currently, you may need to do some scriptings to archive your goal.

All I wanted to know. Thanks.

strazer

QuoteMoveCharacter(EGO,GetObjectX(5),GetObjectY(5));

Just tested it. I still need for him to pick up the object AFTER he gets there...

Gilbert

#4
1) I think it's the only way at the moment, moreover, it would be rare that one really need to start making a new game while he's working on one anyway.

3) I'm not sure, probably it's considered a feature, as you can always edit your game while looking for help at the same time (ie not covered up by the editor window).

5) Do something like (may need refinement, but should work basically):

On top of that room's script, declare a variable, eg:
int ego2object;

Then when you need him to start walking to that object:
MoveCharacter(EGO,GetObjectX(5),GetObjectY(5));
ego2object = 1;


In repeatedly execute function of the room add:
if ((ego2object==1)&&(character[EGO].walking==0)){
//put whatever you need for him to pick up the object, eg:
ObjectOff(5);
AddInventory(5);
ego2object=0;
}




strazer

1) True, but I find myself constantly switching between different templates and stuff to look for new ways to do things, and if these games are in different directories and/or drives, it can become quite tedious. The "Load a recently edited game" is quite useful I think.
Again, easy to add, so I felt like I should mention it.

3) Maybe, an option to turn that function off would be nice though.

5) Works like a charm. Thank you!

Barcik

3) You can minimize the help window and work in the editor.
Currently Working On: Monkey Island 1.5

strazer

#7
Quote3) You can minimize the help window and work in the editor.
I know.
But when I have the help file not minimized, change to another program, e.g. paint program, then click the ags button in the task bar, the help file shows up, not the editor.
Just irks me, that's all.

SMF spam blocked by CleanTalk