Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mousemat

#61
how come there are no tutorials on making a basic rpg .
It would definitly come in handy.
#62
i would like to make an altime atck kind of one but it would be easier to do a turnbased one wouldnt it?
#63
ok i will try out that script.Under what heading do i put the first script
kinoko  i am using ags of course
#64
i love this mini demo but only 1 problem the window is really small and and i cant read the writing too well.
#65
ok new problem ...when i open the inventory screen displays an error it says 1 or more of the inventory grafix may have been deleted
here is my script

if (interface == ICONBAR) {
    if (button == 4) {  // show inventory
      show_inventory_window();
    }
    else if (button == 5) {   // use selected inventory
      if (character[ GetPlayerCharacter() ].activeinv >= 0)
        SetCursorMode(4);

space here for gui stuff


if (button == 2) {
      // They pressed LOOK, so switch to that mode
      SetActiveInventory(-1);
      SetCursorMode(MODE_LOOK); 
    }
    if (button == 3) {
      // They pressed the OK button, close the GUI
      GUIOff (INVENTORY);
      SetDefaultCursor();
    }

    if ((button == 4) && (game.top_inv_item < game.num_inv_items - game.num_inv_displayed)) {
      // scroll down
      game.top_inv_item = game.top_inv_item + game.items_per_line;
    }
    if ((button == 5) && (game.top_inv_item > 0)){
      // scroll up
      game.top_inv_item = game.top_inv_item - game.items_per_line;
    }
  }
please help
#66
i will have a go if i can find a music composing programme
#67
Arons epic journey: your muscles are weak but you still have the strengh

or something like that
#68
i am so fed up with scripting...(by the way somone made this script and the guis for me)
#69
aw....it has worked on another game i made though (apart from the inventory) do you think you could fix it up a bit.

Edit :were did your post go hotspot
#70
if you mean like this then it dosnt work

function interface_click(int interface, int button)
{
  if (interface == ICONBAR) {
#71
thanks hotspot its working now ..the only problem now is an unexpected { in my gui script  (first line)

function interface_click(int interface, int button)
  if (interface == ICONBAR) {
    if (button == 4) {  // show inventory
      show_inventory_window();
    }
    else if (button == 5) {   // use selected inventory
      if (character[ GetPlayerCharacter() ].activeinv >= 0)
        SetCursorMode(4);
    }
    else if (button == 6)    // save game
      SaveGameDialog();
    else if (button == 7)   // load game
      RestoreGameDialog();
    else if (button == 8)   // quit
      QuitGame(1);
    else if (button == 9)    // about
      Display("Adventure Game Studio v2 run-time engine[[Copyright (c) 1999-2003 Chris Jones");
  }  // end if interface ICONBAR

  if (interface == INVENTORY) {
    // They clicked a button on the Inventory GUI
   
    if (button == 1) {
      // They pressed SELECT, so switch to the Get cursor
      SetCursorMode (MODE_USE);
      // But, override the appearance to look like the arrow
      SetMouseCursor (6);
    }
   
    if (button == 2) {
      // They pressed LOOK, so switch to that mode
      SetActiveInventory(-1);
      SetCursorMode(MODE_LOOK); 
    }
    if (button == 3) {
      // They pressed the OK button, close the GUI
      GUIOff (INVENTORY);
      SetDefaultCursor();
    }

    if ((button == 4) && (game.top_inv_item < game.num_inv_items - game.num_inv_displayed)) {
      // scroll down
      game.top_inv_item = game.top_inv_item + game.items_per_line;
    }
    if ((button == 5) && (game.top_inv_item > 0)){
      // scroll up
      game.top_inv_item = game.top_inv_item - game.items_per_line;
    }
  }
  }
#72
now it says undifined token "DisplayMessage"
#73
thanks ishmael i thought something wrong but it still dosent solve my problem
#74
this is the whole room script :-\
#75
i put it in room interactions for the intro room.
#76
i have this intro script but every time i save it and test the game it says
parse error unexpected display message     does anyone know how to fix this

DisplayMesssage("Whats that noise");
Playmusic(1);
DisplayMessage("There it was again");
DisplayMessage ("Woooooooooo");
FadeOut(20);
Wait(10);
ObjectOn(1);
FadeIn(20);
Wait(30);
NewRoomEx(1, 0, 0);






#77
General Discussion / Re: Forum Font
Mon 30/08/2004 08:00:43
In mozilla its view>text zoom
#78
General Discussion / Re: Going to the UK
Mon 30/08/2004 07:26:44
hay i live near heathrow...i watched concord from the once when i was little although  i have never flown anywhere from heathrow i coz always use gatwick(in London)
#79
i dont remember a light switch and a dead girlfriend
#80
please consider me as character creater i have sent you some more pics hope you like them .
thanks
mousemat
SMF spam blocked by CleanTalk