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 - SSH

#5101
So, for example:

Character properties can be set by choosing a character and clicking oin the properties buttopn just under "interaction"

Object properties can be edited by going to a room's Object section and clicking on the Properties button next to "New Object"

And hotspot properties by a room's  Areas/Hotspot and clicking properties, next to "interaction".

The first time you do one, you will be told that no properties exists and you have to edit the schema. The right-click on the schema window, add a property and call the property "labelx" for example, set the type to number, etc. Create another one called "labely".

Then, in the repeatedly execute:
int loctype;
int itemno;
loctype = GetLocationType(mouse.x, mouse.y);
if (loctype == 1) {
  itemno = GetHotSpotAt(mouse.x, mouse.y);
   CreateTextOverlay(GetHotspotProperty(itemno, "labelx"), GetHotspotProperty(itemno, "labely"), <labelwidth>, <labelfont>, <labelcolor>, GetLocationName(mouse.x, mouse.y));
} else if (loctype == 2) {
  itemno = GetCharacterAt(mouse.x, mouse.y);
   CreateTextOverlay(GetCharacterProperty(itemno, "labelx"), GetCharacterProperty(itemno, "labely"), <labelwidth>, <labelfont>, <labelcolor>, GetLocationName(mouse.x, mouse.y));
} else if (loctype == 3) {
  itemno = GetObjectAt(mouse.x, mouse.y);
   CreateTextOverlay(GetObjectProperty(itemno, "labelx"), GetObjectProperty(itemno, "labely"), <labelwidth>, <labelfont>, <labelcolor>, GetLocationName(mouse.x, mouse.y));
}
#5102
EDIT: See last post of mine...


I think that to allow sprite-based dialogs, all CJ would have to add to AGS would be:

int RunDialogOption(int topic, int option);

Which would run the Dialog Option as if it were clicked on and return the following:

0 : illegal option: it is disabled
1 : ran option and ended with "return"
2 : ran option and ended with "stop"

or some other encodsing as CJ sees fit.

Then  one could make

import function myRunDialog(int topic);

which could use GetDialogOption to see which options are enabled and use a GUI or whatever to show the sprites and then use the new RunDialogOption to run the talking bit. It would be compatible with existing dialog scripts. However, GUI inetractions calling the dialog and unchanged scripts using RUnDIalog instead of myRunDialog would sitll use the old system. It would be more work, but maybe CJ could add a global option "Use script for RunDialog" and then a global script function called run_dialog or whatever could be configured by the programmer...


EDIt: Oops, sorry, I've posted this before, although not in so much detail!

See: http://www.agsforums.com/yabb/index.php?board=2;action=display;threadid=6534;start=msg79663
#5103
I agree with the dialog options as sprites, but you can do your equivalent to "on mouse over"...

In repeatedly execute, use GetLocationName(mouse.x, mouse.y) to get the name of the thing the mouse is over. There is also GetLocationType and GetCharacterAt and GetObjectAt that you can use and have an if statement in the repeatedly_execute.

If you're using AGS 2.56 you could use properties of the object/hotspsots/characters to set the label locations, too.
#5104
Again, sorry for my earlier OT stuff, Andail

I admire that "part of the people" attitude, Andail. I wish I'd known about it before. Our PM is talking about getting "Blair Force One" private plane, just list "one of the people"!

What kind of turnout do you get at elections there? UK election turnouts have been going down for ages: maybe a "part of the people" attitude would help?

As for the security issue: I know that I want to live in a society where I don't feel that I or my family going to get attacked (fatally or otherwise) just walking down the street. Yet, not far from where I live a teenager called Jodi Jones was brutally murdered a couple of months ago.

In other places in the world, people are dying every day in violent attacks. Whatever the cuases of this violence, I don't think that anyone in the violent places can say "You should be more like us" on security. Having bodyguards gives out a number of messages: "I want to keep you away from me" and "I don't trust you" being two of the most confrontational.

Great respect to this lady who died becuase she trusted her fellow countrymen to behave in a civilised way. I hope that Sweden's politicans carry on trusting their own people despite this terrible event.
#5105
One day to go and eveybody is keeping their cards close to their chest.

Maybe a programming competition which didn't replicate existing functionality would be better, becuase there would be more motivation to do something "new"?

How about a star-wars style opening sequence? I've got one all ready....  ;D
#5106
Quote from: Barcik on Thu 11/09/2003 12:36:01
This case proves that there can always be an extremist willing to take matters into his own hands.
In which case, an "eye for an eye" policy can only provoke and make matters worse, as it certainly does not have the effect of stopping violence.

When is one side or the other going to be big and say "we're above tit-for-tat" and start the road to peace?

Sorry for hijacking your thread Andail. It's astounding, this murder: why would anyone feel so strongly about the Euro? I can only guess that there is some other reason behind it which hopefully the police can discover.
#5107
Because the politicians in Andail's country have a more mature response to terrorist activity than "an eye for an eye", maybe?
#5108
Volcan, I've fixed the Marian 3 link (and added a Marian 4 link)... it was a letter not capitalised in the URL!!!!  ::)

Yes, that's my daughter in my avatar, if that's what you're asking.
#5109
Well, I wasn't going to bother posting the game, because it is so minimal, but on the other hand:

0. Farlander sounded so enthusiastic about my games, I thought I'd put this one here. There's more to it than the 3rd one, at least!

1. Neole, I think, said he preferred the no-walking-animation style. The thrid game did have a walking animation, but it messed up bigtime because I hadn't done up/down, just left/right (the 3rd game didn't get announced here, but can be found on my profile website).

2. The game is made for my wife, who has loved all the games so far. If you didn't like my previous games, don't download this one becuase you won't like it either.

3. I'm not trying to disrespect anyone! I think I made it clear above that there's not much plot or graphics here

4. I do have a serious game "in development" which I will post something in the "in Development" forum when I've got some more art done on it. I'm no great artist and have little spare time, so it will be a while, though...

5. I don't care if I'm the coolest, excpet in the eyes of my wife and daughter!

but thanks for giving it the once-over.

I haven't done the credits yet, but thanks go to:

Scorpiorus for the rain
CJ for AGS
Remixor for the remix of the music when I get around to adding it
#5110
Never, never, eat peanuts or any other kind of snack from a bowl on a bar. A recent study found traces of 43 different people's urine on the peanuts in one bowl.....

eeeewwwwww!
#5111
Can anyone recommend me an AGS game that makes good use of music? I normally play with the sound off for variuous reasons (either I don't want to wake the baby or I don't want to wake my boss, depending where I am  ;) ). So, do any games make really good use of music, by which I mean not necessarily that the music is the best ever, but rather that the music is dramatic at dramatic moments, peaceful at peaceful places, etc. ???
#5112
Yes, it's the moment you have all been waiting for... another in the Princess Marian series of games made for my wife. This time it's our wedding anniversary.

Please can you let me know if you find any bugs.This is now the final version with music and sound effects included and optional music pack (put in the same directory as the exe)

UPDATED DEC 2004 WITH NEW LINKS
Download from: http://www.ssh.me.uk/darkcave.zip
Music pack: http://www.ssh.me.uk/darkcavemusic.zip

Screenshot:


For those of you who have never played one of my games before: it's got naff graphics and not a great deal of plot, but if you like cuteness, you'll love it (maybe).

Further Princess Marian games at: http://www.angelfire.com/space/little_flower/ags.html

#5113
The Rumpus Room / Re:Haiku maybe help?
Tue 09/09/2003 18:42:34
Polysyllabic
Polyunsaturated
Polly want cracker
#5114
Nellie: wise words. +10 on my respectometer

(by the way, I saw a shampoo advert yesterday that claimed to make your hair 3 times more sleek. How the heck do the measure sleekness? Do the shampoo companies possess "sleekometers"?)

Farlander: Thanks for the kind words. I wasn't trying to attack good ol' DGMacphee, just hoping to point out that he was being a bit of a grumpy old man. Oh, and there's another of my "games for my Spanish wife" coming soon, as it's our anniversary in 10 days.
#5115
The Rumpus Room / Re:Haiku maybe help?
Tue 09/09/2003 16:44:25
Oh Veryweirdguy
You should know by now that this
thread can never die

I just could not stop
myself from making the Q
joke in my last post
#5116
Quote from: DGMacphee on Tue 09/09/2003 13:50:30
I'd rather not start any thread that tries to bring some intelligent discussion to the forum.

I dunno, you don't want forum games, you don't want intelligent discussion, you don't want people who haven't finished a game demanding respect.... what do you want?
#5117
Quote from: DGMacphee on Tue 09/09/2003 04:35:36
So, in conclusion, what do you gain by trying to prove a student from Australia wrong on a shitty debate in an adventure game forum?

To me, it sounds like a waste of time, but that's just my retarded point of view -- I'm sure this will be something you can tell your grandkids about.

Well, you did start the debate, DG, I don't think you can complain when people differ from your point of view. Also, given the number of lives and deaths involved, its fair enough for people to get angry about it all, too.

On the other hand, I tend to agree with you on the points of Iraq. The US have said that terrorists have tasted US justice. The trouble is that violence begets violence and that all that has happened is that the US finds itself in a very difficult situation (albeit greatly of their own making) and hatred against the USA has increased. Since the "war on terror" started there has been MORE terrorist attacks on western targets around the world. This is a fact (they said so on BBC Radio 4 this morning, so it must be true  ;D ). Now some of these are unrelated to Al-Quaeda, but the USA is naive if it thinks that killing one guy who hates them, or 20, or 1000, or 10000 will stop anyone else from hating them.

After all, look what happened to Tulsa Doom.
#5118
Hard to go cold turkey on the Moderating, eh, DG?
#5119
The Rumpus Room / Re:Haiku maybe help?
Tue 09/09/2003 12:08:09
"Haiku" said James Bond.
The gadget maker replied:
"Pay attention, Bond"
#5120
Maybe if the flags gave a pop up of the person when the cursor was over them, it would be easier to read...
SMF spam blocked by CleanTalk