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

#5221
The parameter to dialog_request needs to be a variable:

@3 // ask about PADD
Narrator: "The PADD is bla bla bla".
run-script(1)

<in the global script>
function dialog_request(int reference_no) {
if (reference_no == 1) {createGraphicOverlay (X, Y,slot, trasperant color);}
}

Then, if you want to use dialog_request somewhere else in another dialog for a different reason, call it with
run-script(2)

and then put :

function dialog_request(int reference_no) {
if (reference_no == 1) {createGraphicOverlay (X, Y,slot, trasperant color); }
if (reference_no == 2) { // do soemthing different here }
}

of course, I assume you're replacing the X, Y, slot, etc for real numbers
#5222
Is that a C.leks doll in the top shelf, evil?

cool  8)
#5223
Make the door an object: you can either not have it in the background at all and have a blocked and unblocked sprite version of it, or just have the unblocked sprite go over the top of the background to hide the blocked version (only if it is same size or bigger, obviously)

Or, you could use multiple background and switch backgrounds, as long as you are not animating them.
#5224
Well, I wasn't being abusive or anything... just telling him that the info is in the manual! I didn't mean to scare/upset/offend/throw my weight around. Sorry dryhump, scummy and edward!  :-\

To be pedantic, Edward didn't actually say that he couldn't find it in the manual. And I did give the answer!  :-\

Oh well. In my first two years of marriage, all the arguments I had with my Spanish wife eventually turned out to be down to some language misunderstanding. Of course, now we have real arguments  ;)
#5225
Quote from: Edward Becket on Wed 23/07/2003 07:49:58
think that if you make a openable wardrobe, it need 1 obj for every door

Given that, as you say yourself, your English isn't great this could be interpreted as 1 object for each frame of the door. There's no need to get angry over a misinterpretation. From my experience (and my wife is Spanish, so I should know), when there is a language barrier its best to assume that the otehr person misunderstood rather than get angry.

And as for the comment on one door or two for the wardrobe, I'm just trying to help you get your game written. You can wait around for CJ to upgrade your particular issue if you like: but there's no guarantee on when this will happen, or you you can think of creative ways around the problem. I was just trying to help!

For example, how about having a close-up of the wardrobe when you get close to it? That way it's like a new room and you have a new set of 15 objects to play with.

You may be able to recycle objects in the same screen with some clever scripting: when they are out of sight, you can change their graphic and they become somehting else, using a variabel to keep track of what they really are. Or you can have a books object, detect the x,y mouse position of clicks to see which book and have a set of graphics with all combinations of books taken out and swithc between them. This would let you have books falling over on the shelf too as happens in real life.

Think laterally and you can usually work around problems like this.
#5226
General Discussion / Re:I was in a car crash
Wed 23/07/2003 14:43:32
Quote from: 12431 on Wed 23/07/2003 14:33:25
a lady that drove me once said: "look at the big bird", and suddenly the car started to spin. we got out of it unharmed. but we drove in like 50 mph, so it could have gone straight to hell

Moral: Never watch Sesame Street while driving

I had one car crash (that was my fault) about 2 weeks after buying my first car. Fortunately I crashed with a recovery vehicle. My excuse is that this ws in Spain and there was a road sign that you don't get in the UK that I didn't understand. Since then I've been hit in the back by someone not paying attention but that was very minor.

#5227
Dmitri.... aaargggh Philip Glass SuX000rS bigtime! Lets just play the same rythm over and over again with the same chord sequence awful.

As for Weird Al (quality music now) does anyone remember those Irn Bru adverts that had a custome version of "You don't Love me anyw more" from In At the Deep End? There was this girl who kept hurting her boyfirend by accident "I've got a funny feeling that you've been drinking Irn Bru"...

AH, those classic Irn Bru adverts:

Was this Weird Al too?

Don't you know it's one of those ads?
Lots of kids with white teeth and giant shoulder pads.
It's not a drink from those crazy yanks
Because it's made right here, you know it's tougher than tanks!
Made in Scotland from girders.
Unpronouncable too!
Made in Scotland from girders.
It's called Barr's, Irn Bru!?
Hey this ad is really quite fun
And you see the hit single go to Number One.
The only fly in the ointment of Irn Bru's that claim:
Made in Scotland from girders.
There goes my chance of fame
It's a bit of a shame.


EDIT: Hey isn't the internet great:
http://www.necrosdomain.co.uk/downloads/tvthemes/irn_bru.wav
#5228
You will probably need to call a script from the dialog. Look up runs-cript and dialog_request in the manual. In this script you could swap to a room which is just a closeup of the cup, or you could display the cup as an overlay, or as a room object, or various possibilities. Pick one and see how you get on.

EDIT: Removed uncalled for remark
#5229
Adventure Related Talk & Chat / Re:New AGS?
Wed 23/07/2003 12:01:37
DG, You forgot the possibility that ricecake is Kikme...

oh hang on, that's what you said  ;)
#5230
The Rumpus Room / Re:Haiku maybe help?
Wed 23/07/2003 11:55:03
Why does the Haiku
make any old rubbish seem
utterly profound?

One two three four five
Once I caught a fish alive
Six Se'en Eight Nine Ten

Then I threw him back
again. Why did you let it
go? because it bit

my finger so. Which
finger did it bite? This li'il
finger on my right.
#5231
Quote from: Edward Becket on Tue 22/07/2003 21:10:23
Thanks... but like i have already said i couldn't find that in the manual... it is a mine problem, bt i asked you to help me.

Ummm... I really don't understand this at all? Can you rephrase, please?
#5232
You could use a program like VNC http://www.tightvnc.org/ possibly. I don't know if AGS works with it, though.

EDIT:

Gave it a try and it was very slow. Had to fiddle with the settings to get the update right, too. It may be best to use a network drive to run the program from instead!
#5233
Quote from: Edward Becket on Wed 23/07/2003 07:49:58
think that if you make a openable wardrobe, it need 1 obj for every door

You didn't read my post then: use SetObjectGraphic or SetObjectView to have different pics for the same object open/closed. And if you have two separately openable doors to the wardrobe, why? That will just irritate the user having to do the "open" action twice.

So, exactly how many objects do you need, and what are they? Why not post a list then we can give SPECIFIC advice? Pick a room that you've got the problem with and tell us. If you're worried about spoliers, use the
Spoiler
code, or message me


[close]
#5234
I was just following TerranRich DryHump's READ ME FIRST, NO ME, ME, ME, THIS ONE, SERIOUSLY, BEFORE ANY OTHER, ABSOLUTLY FIRST thread  :P

Which is where the smilie(frownie?) came from, too
#5235
SetObjectGraphic (int object, int slot)

Sets the graphic for object number OBJECT to slot number SLOT. You can get the slot number from the Sprite Manager. If the object is currently animating (from an AnimateObject command) then the animation will be stopped.
Example:

SetObjectGraphic(2,100);

will change the object?s 2 image to the image stored in the sprite manager?s slot 100.
See Also: SetObjectFrame, SetObjectView

EDITed for friendlyness:

This answer is a manual extract, which can be difficult to find unless you already know its there by reading the whole thing through and memorizing it.
#5236
There are some things to remember about objects:

1. Is it really necessary for this thing to be an object? Does it move or does it need to be turned on/off at some point? If not, use a hotspot.
2. If you are, for example, opening a door, why does it need two objects? Use one and change the view/sprite. You can test which view is used in your interaction code and adjust accordingly.
3. Characters can be used as objects (as Scummbuddy said)
4. Overlays and background swapping can also be used to work around the object limit.

Why not give us an example of a specific room that you have problems with and the list of objects and what you need those objects to do and maybe we can help you work around it?
#5237
Here's me again. I'm the one lying underneath the gorgeous girl  ;D

#5238
Have you ever noticed that in the original version, Celine actually sings

"I believe that the hotdogs go on"

not "the heart does go on". Go on, listen!
#5239
I'm afraid that:

a) I don't know
b) I didn't change it from the original

Sorry. Please feel free to think of something amusing and insert it yourself (as the actor said to the ex-bishop)
#5240
General Discussion / Re:Monotony
Tue 22/07/2003 11:50:20
From my own experience, having a baby has lead to my wife and I meeting a whole load of people who share a common interest (e.g. what kind of poo the baby did this morning, where is the best place to get nipple shields, etc. :) ) And of course, having a baby to look after
keeps you pretty busy in itself.

And now she says "dada" and crawls around at high speed...

The trouble is finding a female willing to let you procreate with her... ;D

Have you tried church youth groups: they are usually very keen on having new members and you can ususally opt out of the most reilgous stuff and just use it as a social club! Or there's sport clubs too.
SMF spam blocked by CleanTalk