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

Topics - SSH

#61
It would be nice if the following constants were defined at compile time:

AGS_SCRIPT_NAME  holds "Global" in global script, quoted module name in module script and "Room NNN" in room script.
AGS_LINE_NUMBER holds the current line number

if it would be easier for these to be static variables, then sobeit. Also, I'd love if you had some runtime access to the calling stack (pehaps in debug mode only):

String Game.Stack

#62
Ever tried using a module or template in AGS 2.72 and got warnings about GetGameParameter or RunDialog being undefined? BackwardsCompatible fixes that without any changes to the existing module. Wahey!

It works in any AGS version but there ain't much point in using it in anything except AGS 2.72.

Please let me know if there are any more obsoleted functions that need supporting here.

BackwardsCompatible documentation
Download BackwardsCompatible
wiki article

#63
I've just be reorganising the script module information on the wiki, and now use a Category instead of the old list of modules. Please, module writers, add a wiki article for any new modules you write, and put it in a Module sub-category by adding this to the bottom of the article:

Code: ags

{{Module|Subcategory}}


Modules will now be listed at: http://americangirlscouts.org/agswiki/Category:Modules, which also has a list of the current sub-categories. Also, please check over the modules of yours that are already in the wiki and fix/improve the articles. Most have just very basic information.
#64
Requires AGS 2.71 or above (not actually checked with 2.71 yet)

In response to Ghost's idea in this thread I have made a module that makes it easy to have multiple Idle animations for any character. I've not extensively tested it, so bug reports here, please, but it seemed to work OK!

v1.01: Removed that darned silly debug code
v1.02: Fixed some problems and put in better error reporting

Full documentation at http://ssh.me.uk/parsemodzip.php?modfile=Idle.zip

Download Idle module here
#65
Yes, at last, you too can be Sam Jackson and kill those oedipal reptiles.



This game took nearly an hour to make!

Download my Magnum Opus here
#66
Completed Game Announcements / PMX
Fri 01/09/2006 12:16:08
Princess Marian X


Princess Marian, where she belongs ;)
Should have gone to Specsavers

At last, Princess Marian has a proper adventure, with gameplay and all!

Download PMX game
Visit the PMX game page
Official hints/tips thread

Thanks to my wonderful beta testers, Dave Gilbert, Nikolas, Sinsin and Stepurhan!
#67
Hints & Tips / PMX
Fri 01/09/2006 12:06:51
Please put your hints and tips in this, the official thread. Non-hint comments on the game should go in its Completed Games thread or AGS Games database page.
#68
OK, here's some thoughts on the whole idea of people with kids possibly being banned from brining them near any Mittens/Brittens events:

What do people feel about a separate Familittens event. Here's my pros/cons.

Pros
1. Kids wont disturb those who dont like kids/have hangovers/feel grumpy at that moment
2. Drunks/grumpy/stupid people wont disturb the kids
3. Parents can talk about nappies, vomiting, potty training etc without disturbing the non-parents
4. If Alynn comes we can do wife-swapping, etc.  ;)
5. People without kids who would still want to come would be welcome
6. Need to run police checks on random internet people who want to meet your kids?

Cons
1. CJ, AGA, scotch and other people I'd like to meet probably wouldn't want to come
2. Might be too tame for anyone who did come's tastes
3. My bins would be overloaded with nappies
4. Obviously any kids would still need to attend with their parents, so its not an open invitation to the 13-year-olds out there (is that a pro, maybe? :) )
5. Maybe some resentment abotu exclusion from the main meetings. This would be mitigated if (1) was not an issue.


So I'd like some discussion on this, and also an indication of who, kids or not, would be interested in a tamer version of these meet-ups. I don't want to put pressure on anyone: I wouldn't expect CJ (or anyone) to feel he "has" to go to some event. If it turns out that its just Nikolas and me, then we'll sort something out between ourselves. Probably for those with families, its much more expensive (and complicated) to travel, so we need to get the location right to allow as many people as possible to come. My kids will both be over two, so the "free infant" on planes stops  :(




#69
As Paint.NET is one of the better free paint programs, I use it, but pasting, i got this error:

Just got this trying to paste something into a  newly created sprite folder in AGS 2.72:

Exception 0x0000000
at EIP=0x000000000
AGSEDIT v2.72.652 SIP=26

Sad

and I can recreate it, it seems. The image was a subselection of a layer in Paint.NET... when I pasted it into MS Paint and copied it again, it worked fine....

In fact any pasting from paint.NET seems to mess it up
#70
requires AGS 2.71 or above

It's a real pain to script multiple responses to an action, sometimes. You have to go around declaring variables, put in bunches of if statements, etc. Not too much effort for one interaction, but if you're doing it for all of them?

SSH to the rescue with MultiResponse...

add a script action to your "interact with hotspot" for example and say:

Code: ags

Multi.Disp("No, I'm not touching that>No, I'm really not going near it>Look, for the last time, NO!");


And the first click on it will give you "No, I'm not touching that", the 2nd "No, I'm really not going near it" and the 3rd and subsequent clicks "Look, for the last time, NO!"

Great, I hear you say, but there's more!

The function returns which of the responses was given, so you can do something special:

Code: ags

int state=Multi.Say("I don't think I want to take any>I'd rather not>OK, if you insist>I've already got some");
if (state==3) player.AddInventory(iIckyGoo);


Full documentation at http://ssh.me.uk/moddoc/MultiResponse

Download MultiResponse module here

UPDATED FOR v1.1:

Multi.Respond still does what it used to, but Multi.Disp is now preferred (I would have made it Display, but AGS won't allow it :( ) There is now also Multi.Say to use player.Say instead of Display, and Multi.SRespond which returns the string as GarageGothic suggested. Also new Multi.SLoop and Multi.SRandom which return a looping or random string respectively. There is also the current position in Multi.reponse and a "last response" detector in Multi.last.

UPDATED v1.2:

Added some v3.0+ support with extender functions
#71
At last, a Princess Marian game that takes more than 2 minutes to play...


Download the teaser trailer







Help Princess Marian with a hatty adventure. The game will be finished by mid-September.

PROGRESS
Now in beta testing...
Character art: 100%
backgrounds: 100%
Inv items: 100%
Objects: 100%
Animations: 100%
Plot: 100%
#72
Thanks for those below who told me who won OROW2
#73
It has come to my attention that Some PeopleTM don't like that I'm doing the Pick of the Month on the games page here, or that I have been doing the AGS Awards. So, I'd like to reiterate that if someone else wants to do either of these things they are quite welcome to take over the responsibility. Or if they don't want to do them, but want to make suggestions for games to include or awards to have or anything.

Also, if you have any problem with me posting a lot, or any game reviews I may have done on other sites, or releasing so many Princess Marian games, or anything, really, please let me know directly: in this thread or in PM. Maybe I'm inviting a "slag off SSH" thread, but then maybe I deserve that. I tend to be pretty insensitive about stepping on other's toes and I'm sorry if I've hurt anyone's feelings, etc.

One thing I'm not doing, though, is leaving. Anyone who says they are usually comes back and I won't delude myself that I don't enjoy the forums. So if you wanted me to leave: tough luck.

#74
The rules of my existing licences are that I can't revoke them, but if you prefer to use the following licence instead, you can...


This work is licenced under a Creative Commons Licence
#75
General Discussion / 2006 first half review
Fri 07/07/2006 10:06:21
Well, here's a quick list of the games of 2006 that have stood out so far, and could be contenders for the next AGS Awards. Apologies if I missed yours out: it's probably more likely down to forgetting than anything else...

1213 parts 2&3
Al Emmo demo
Automation (yes, I know its old, but it counts for the 2006 awards)
Ben Jordan 5
Bog's adventures in the underworld
Crown of Solomon demo
Fountain of Youth demo
Kings Quest III VGA
Life of D Duck
Lost in the Nightmare 2 demo
Robotragedy 2
Spooks
The Family Treasure
The Heist
The Oracle
The Shivah
Trilby's notes

and a special mention for 2010: World of Chaos... so bad it's good!


Any thoughts, people?
#76
General Discussion / AGS Games ratings table
Tue 13/06/2006 11:00:46
Since CJ doesn't want to do this, by the magic of curl...

The AGS Games, by rating. However, its not updated so this is the ratings as of yesterday. Also, as you will recall, CJ has now made that only forum members can vote as some games had been artifically pumped up the rankings. I think you can plainly see which ones...
#77
General Discussion / AGS Search plugins
Thu 08/06/2006 17:30:20
Firefox users: want to add a search plugin for the forums and/or wiki?

I've created some that you can use, on my site
#78
I wondered if it would be safe to create code like this:

Code: ags

int storebutton;
int count;

function repeatedly_execute_always() {
	if  (count>1) count--;
	if (count==1 && (mouse.IsButtonDown(eMouseRight) || mouse.IsButtonDown(eMouseLeft)) && player.Moving) {
	  player.StopMoving(); // Cancel wahtever blocking action was going on
	}
}


function on_mouse_click(MouseButton button) {
  storebutton=button;
  count=15;
}


Why wouldn't it be? Well, if you had an interaction that did:

Code: ags

function hotspot1_a() {
  // script for Hotspot 1 (Hotspot 1): Interact hotspot
  player.Walk(hotspot[1].WalkToX, hotspot[1].WalkToY, eBlock);
  player.Say("Done");
}


then stopping the character walkign in rep_ex_always will leave the Say function never called. Does AGS build up some stack of "hung functions" when you do this, or does it just give up on them? Becasue it seems to work in a quick test (i.e. clicking during blocking stops the action) but maybe after 100 or 1000 cancelled walks, it would die?

#79
General Discussion / C&A moderation
Fri 02/06/2006 16:09:07
Can I suggest that:

a) Klaus is made a mod of C&A since he posts the MAGS stuff every month
b) Someone locks the defunct Coding contest that hasn't been posted in since 26th May...
c) The mods check out the forum a week bit more often? :-\
#80
Well, I had a go at this with the YesNo module inside my savegames with screenshots and it wasn't great: but now I've done it right and here is DialogBox. Ideal for those Yes/No , OK/Cancel confirmation questions, including Do you really want to quit?, Do you want to overwrite this saved game? and Did you really want to walk into that river, Graham?

Download DialogBox here: includes module and single importable GUI, instructions in module header as usual and does really this time only require AGS 2.71 or above
SMF spam blocked by CleanTalk