Author Topic: TEMPLATE: 9-verb MI-style 1.6.3 - Last update: 21th June 2018  (Read 70760 times)

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
abstauber, could you upload a fixed version please? Thing is I included it to 3.3.4 installation. I will have to add a correct template to the package (or return the older version).

abstauber

  • Cavefish
  • Mittens Knight
  • still mowing the lawn
    • abstauber worked on a game that was nominated for an AGS Award!
      abstauber worked on a game that won an AGS Award!
Most certainly! I just wanted to make sure that inventory bug isn't related to the template.

Here's the fixed version... and yes I tried to compile it this time without any last minute changes ;)
http://shatten.sonores.de/wp-content/uploads/2015/07/9-verb-MI-style_15_RC2.zip

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Downloads
AGS 3.2 and later (compiled with AGS 3.3.3)
Most recent version:
http://shatten.sonores.de/wp-content/uploads/2015/07/9-verb-MI-style_15_RC2.zip

I found this template is compiled with 3.3.4, and it can be opened in 3.3.3, but not in 3.2.

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Alright, I found what was wrong with tobulos1's project.

Thing is that AGS does define "character", "inventory" etc arrays only if there are characters and inventory items, because it cannot declare array of 0 size.
To fix the problem, create at least 1 inventory item.

I will think how we may improve this to prevent such cases in the future.

tobulos1

    • I can help with animation
    •  
    • I can help with characters
    •  
    • I can help with proof reading
    •  
    • I can help with translating
    •  
Alright, I found what was wrong with tobulos1's project.

Thing is that AGS does define "character", "inventory" etc arrays only if there are characters and inventory items, because it cannot declare array of 0 size.
To fix the problem, create at least 1 inventory item.

I will think how we may improve this to prevent such cases in the future.

Oh my, thank you! That certainly did the trick! I just had to create one inventory item and I was all set! Thank you so much Crimson :)

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Abstauber, I found another bug: in older versions of this template chatacter would walk closer to another to talk to him. Now it starts conversation right away, from a distance.

abstauber

  • Cavefish
  • Mittens Knight
  • still mowing the lawn
    • abstauber worked on a game that was nominated for an AGS Award!
      abstauber worked on a game that won an AGS Award!
Hey CW,
this shouldn't be a bug. Earlier on in this thread a user complained about the default behavior you've described. So I added an option to control this.
Code: Adventure Game Studio
  1. //guiscript.asc
  2. bool approachCharInteract       = false;  // walk to character before starting interaction
  3.  

It's also mentioned in the changelog in guiscript.ash.


Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Hey CW,
this shouldn't be a bug. Earlier on in this thread a user complained about the default behavior you've described. So I added an option to control this.
Oh, I see; well, that is a relief.
Although I would rather suggest to keep original behavior by default, because users will likely expect that.

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Found bug: for 3.4 version scrolling mouse wheel causes active option to be run.

abstauber

  • Cavefish
  • Mittens Knight
  • still mowing the lawn
    • abstauber worked on a game that was nominated for an AGS Award!
      abstauber worked on a game that won an AGS Award!
mea culpa (once again). I'll fix this right away.
edit:
Here's this fix until I'll upload the new version.

dialogscript.asc:
old
Code: Adventure Game Studio
  1.   info.RunActiveOption();
  2.  
new
Code: Adventure Game Studio
  1.   if (button != eMouseWheelSouth && button != eMouseWheelNorth) info.RunActiveOption();
  2.  
« Last Edit: 27 Aug 2015, 08:14 by abstauber »

abstauber

  • Cavefish
  • Mittens Knight
  • still mowing the lawn
    • abstauber worked on a game that was nominated for an AGS Award!
      abstauber worked on a game that won an AGS Award!
Re: TEMPLATE: 9-verb MI-style 1.5 - Last updade: 3rd Sept. 2015
« Reply #210 on: 03 Sep 2015, 08:11 »
Okay, a few days have passed and no more new bugs have been discovered yet, I decided to call version 1.5 stable ;)

http://shatten.sonores.de/wp-content/uploads/2015/09/9-verb_MI-style_15.zip
The GitHub repo has also been cleaned up, thanks again for your input, CW.
« Last Edit: 03 Sep 2015, 08:35 by abstauber »

lucasio6

  • I hate math
Re: TEMPLATE: 9-verb MI-style 1.5 - Last updade: 3rd Sept. 2015
« Reply #211 on: 22 Oct 2015, 15:19 »
Hi there.

I have a question about the door system in the 9 verb template. I tried to follow the instructions of the 9Verbs.pdf manual but could not find an answer. (I am not actually making a game - I am just playing around.)

I set up 2 rooms and a door to connect the two rooms. However, only the door in room 1 works and I can't find out why the one in room 2 does not work. The gui correctly displays "open" when I point at the hotspot but nothing happens on right-click. Also, the default message is not displayed when I tell the CHAR to look at the hotspot.

Room 2 script:
Code: Adventure Game Studio
  1. // room script file
  2.  
  3. function room_FirstLoad()
  4. {
  5.  // close door on startup when entering the room (0 = closed; 1 = open; 2 = closed & locked)
  6.  set_door_state(21, 0);
  7.  init_object(21, oDoor.ID);
  8. }
  9.  
  10. function hDoor_AnyClick()
  11. {
  12.      if (any_click_on_door_special(21, oDoor.ID, 75, 175, eDir_Left, 1, 280, 260, eDir_Down, null, null, 4, 0)==0) Unhandled();
  13.      
  14. }
  15.  

I double checked that the hotspot is called 'hDoor' and the object is called 'oDoor'.

Thanks in advance for any suggestions.

Lucasio6

Monsieur OUXX

  • Cavefish
  • Mittens Vassal
  • Mittens Half Initiate
    • I can help with proof reading
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: TEMPLATE: 9-verb MI-style 1.5 - Last updade: 3rd Sept. 2015
« Reply #212 on: 22 Oct 2015, 16:27 »
the hotspot is called 'hDoor' and the object is called 'oDoor'.

Sorry I don't have the template's code with me right now. Will try to help later.
 

lucasio6

  • I hate math
Re: TEMPLATE: 9-verb MI-style 1.5 - Last updade: 3rd Sept. 2015
« Reply #213 on: 23 Oct 2015, 11:38 »
So I found the problem.

AGS did not (always) recognize/execute the script for the door hotspot in room 2 because I had not manually set the function in the 'events' tab for the hotspot. Instead, I had copied the script from room 1 to room 2 directly into the 'room script'. (roll)
Does this make sense?

Monsieur OUXX

  • Cavefish
  • Mittens Vassal
  • Mittens Half Initiate
    • I can help with proof reading
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: TEMPLATE: 9-verb MI-style 1.5 - Last updade: 3rd Sept. 2015
« Reply #214 on: 03 Nov 2015, 16:41 »
So I found the problem.

AGS did not (always) recognize/execute the script for the door hotspot in room 2 because I had not manually set the function in the 'events' tab for the hotspot. Instead, I had copied the script from room 1 to room 2 directly into the 'room script'. (roll)
Does this make sense?

Yes it does. Sorry for not being able to look into this.
 

abstauber

  • Cavefish
  • Mittens Knight
  • still mowing the lawn
    • abstauber worked on a game that was nominated for an AGS Award!
      abstauber worked on a game that won an AGS Award!
*Push*
New version. See the first post for details.

Hello is there an actual scene template using this, as I am having a lot of trouble integrating
this package? tyvm Note: I am trying to use this in the unity version for adventure Creator. It works
to a certain extent but I cannot figure out how to set it up properly. any help is appreciated.
« Last Edit: 18 Feb 2016, 20:48 by LogicPort »

abstauber

  • Cavefish
  • Mittens Knight
  • still mowing the lawn
    • abstauber worked on a game that was nominated for an AGS Award!
      abstauber worked on a game that won an AGS Award!
Are you sure,AGS templates work in unity? Nonetheless I've never worked with unity or AC itself, so I'm afraid I won't be any help.
What do you mean by this?
It works to a certain extent but I cannot figure out how to set it up properly
What parts of the template worked in AC?



It works as far as displaying on the bottom, but I am having trouble figuring out how to set it all
up so that it actually works. I'm sure it is just my lack of knowledge of such. I get no hot spot info
when hovering nor anything happening.

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
LogicPort, could you explain, how do you import AGS template into Adventure Creator (Unity)?
Is there any information by AC author(s) about importing AGS templates into their system?

For starters I would find out if AGS scripts can work in AC at all, because these scripts are backbone of the template.
« Last Edit: 19 Feb 2016, 16:47 by Crimson Wizard »