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

#3461
Advanced Technical Forum / Re: 2 suggestions.
Thu 15/09/2005 14:15:27
Quote from: InCreator on Thu 15/09/2005 04:16:32
1) When setting walk-to-point for hotspots, walkable areas could be seen in some form, even outlines if nothing else.
It's hard to set a walk-to if you can't figure out where walkable area is. And characters won't act very smart in game if the point's outside walkable area. It's nothing special, but I find very little use to walk-to-points if i have to character.walk by script every time anyway.

Hear hear, although maybe you'd want to toggle this

Quote
2) oObject.Visible, etc object-related variables can't be changed outside room script.

But if I need to set it from character interactions, like after talking to character - turn some object on/animate/whatever? It's quite a pain to set GlobalInt only, then check it from room's repeatedly_excecute, then perform the thing... etc. Especially, if there's more than 1 object-related thing which comes from character's interactions.

Can't AGS recognize object names from all rooms (in future)?
Let it compile, but generate error when character isn't in that room (with used object) or something... current way to work around in such cases is too primitive.

I'd like to point out that you can do object[0].Visible=1; and similar in the global script. It does mean you need to know object number, but you can set up an enum or something..
#3462
Does merging an object into the background make the game run faster than if you have the object on with its baseline set to 0? I'm using lots of objects onscreen and objects 0 and 1 are backgrounds, really. Would merging them make the game run faster?

#3463
Why not use:

if (DEBUG)

and CTRL-X to teleport to the room? debug mode enables the teleport and sets the #define DEBUG on
#3464
General Discussion / Re: A Query?
Wed 14/09/2005 14:44:08
Quote from: zooomer1990 on Wed 14/09/2005 05:48:00
2) In the main profile page, (what anyone sees when they click on a member's profile) What if the member has a provision to display a brief summary about himself/herself. It can be anything, latest news or any such info.
Thats what the Website link is for, surely?

Quote
3) It would really be nice to have a contact us/ Suggestions?/Comments? link in the forum page or in the main AGS pages like games/reources etc. For eg: I have seen a few duplicate game entries who to report to?

4) Many times abusive, irrelevant comments are posted on the "comment on this game page'. By both people who give abusive/negative criticizm on a game which is not at all to the point. But worse still, I've seen many members whose game received negative criticizm reply abusively to the critics like a "sore loser". One can't criticize any game without unleashing the wrath of the game author. Who to turn to when such a thing happens?
In that example, click on "Report to moderator" on the forum post, or post a message in gen Gen. But maybe the games database pages DO need a "report to moderator" link, although I think that would be the same as PMing CJ.

Quote
5) And shouldn't there be an option to "delete this post" by the person who posts a comment on a thread.

Just modify it to nothingness

Quote
6) Should I PM you if I have a query regarding the profile settings option which I don't want to discuss here?

6)Will I be allowed to start a thread if I have something of a similar nature to say or will it be considered abuse of forum space?
Two number sixes!
#3465
Some String wierdness:

Code: ags

String newroom = Game.InputBox("!Teleport to room:");
if ((newroom!="") && (newroom.AsInt<ROOMS)) {
// some stuff
}


gives the compile error "type mismatch: cannot convert const string to int"

why can't I compare newroom to ""?

I worked around it by using newroom.Length!=0 instead, but I think it deserves some attention. Same happens with ==, so I guess its an empty-string issue.


NB: Changing operator precedence doesn't make a difference
#3466
Quote from: [lgm] on Tue 13/09/2005 15:14:14
But if you don't have a fridge... Dairy products and the like would spoil rather quickly.

You just need to warm the toungues of all the bacteria, too, so that THEY think the food is cold, too. Given that bacteria have very very small toungues, this should not greatly increase the power consumption...  :=

Quote from: Hotspot on Tue 13/09/2005 15:15:40
Yes. The main use for them is to keep meat and diary non-germ ridden and non-rotten
Well, most of the diaries on livejournal are pretty rotten: maybe they need some refrigeration.
#3467
General Discussion / Re: The Ashes 2005
Tue 13/09/2005 13:22:24
For those of you not in the former colonies, I shall now explain cricket:

1) Imagine baseball without the excitement, and more stops for tea, cakes, crumpets, etc.
2) You have two sides, one out in the field and one in. Each man that's in the side that's in goes out, and when he's out he comes in and the next man goes in until he's out. When they are all out, the side that's out comes in and the side thats been in goes out and tries to get those coming in, out. Sometimes you get men still in and not out.

When a man goes out to go in, the men who are out try to get him out, and when he is out he goes in and the next man in goes out and goes in. There are two men called umpires who stay all out all the time and they decide when the men who are in are out. When both sides have been in and all the men have out, and both sides have been out twice after all the men have been in, including those who are not out, that is the end of the game!
3) They have names for people like "Silly sod off"
4) All the best teams were countries oppressed by the English at some point. Except Scotland.
5) The English really dont realise that hardly anyone else in the world is interested in it. Kind of like the Americans and their "football"
6) 95% of matches playing in England are stopped for bad light, rain, etc and thus end in a draw. Hence the current euphoria in England is not due to any sporting success but rather that there was good enough weather for any cricket to be played at all.
#3468
CJ has kept the game format sekrit, to stop people ripping sprites so easily, but obviously the acsprset.spr file is only available to the author of a game.

Have you looked at the COM plugin details to see if it would be possible to make your program as an Editor plugin?
#3469
General Discussion / Re: A Query?
Tue 13/09/2005 09:33:48
CJ's not busy, just lazy  ;)
#3470
Quote from: Scorpiorus on Mon 12/09/2005 19:19:59
Quote from: strazer on Mon 12/09/2005 18:11:09I don't think this will work. AFAIK modules get assigned a unique ID internally when they are created and you can't have two modules with the same ID.

Yep, that's the only problem with having a module template in a form of an already created script module. IIRC, we discussed a possibility of having some sort of module template feature built-in AGS; making a module template as two pure text files can serve as a workaround for now I believe.

so, someone make a tracker entry then... :=
#3471
Critics' Lounge / Re: A depressive poem
Mon 12/09/2005 10:39:29
surely "is bespoken" would jar less?

and I think that most people would understand "procreated" to mean "concieved" and I suspect you rather mean "begotten".

And all these "be-somethings" are maybe a bit too much. Why not replace "besprinkle" with "baptise" or "asperse"?

But it's pretty good, I think. Sounds like its Jesus' last prayer to God on the cross.
#3472
Quote from: SteveMcCrea on Wed 07/09/2005 00:10:48

I did notice this (with the new left to right precedence enabled):
Code: ags

float x = -y + z;

is equivalent to:
Code: ags

float x = -(y + z);

rather than the expected:
Code: ags

float x = (-y) + (z);


Also, you can't assign an enum a negative value... dunno if this is related
#3473
Modules, Plugins & Tools / Re: MODULE: IniFile
Fri 09/09/2005 16:59:06
The Inifile.txt document in the Inifile zip seems to go on about copying stuff into global script, etc. I guess this comes from before AGS module support was added and needs updating...

Thanks!
#3474
Thanks for the bug report. If I ever get around to doign the full game, I'll fix it.  :=
#3475
Finally and at last, I have taken my Savegames with screenshots tutorial and made it into a super-duper OO module.

as used in the AGS-Award-winning games Prodigal and Stargate Adventure

Download here (Requires AGS v2.71!)



The old zip file contains a game template which is basically the default game with the screenshots stuff added. The new zip file contains just the modules and GUIs necessary to add the GUI to an existing game:

There are actually two GUE/SCM (Individual GUI import file and Script module file) pairs. The first is YesNo, which is just a quick dialog to allow the question "Do you wish to overwrite this save game" to be asked with an OK and Cancel button. The YesNo module actually allows any Question to be asked here, by changing the GUI label.
The main one is the Saveload GUI and script module. The module must be listed after YesNo in the module list, as it uses it. Full instructions can be found in the README or in the top of the Saveload module's script header.

This module and GUI are released under the LGPL.

I got Darth to update the tutorial on his site to have a link to this thread, so that people pick up this instead of the old version there, which doesn't work with AGS 2.7.

Download site updated 29/03/06 due to Iqu's server dying
#3476
Competitions & Activities / Re: Ongoing Comic
Fri 09/09/2005 10:27:06
So thats what she did after Calvin and her grew up!

By the way, they're not called the Inland Revenue anymore. It's now Her Majesty's Revenue and Customs.
#3477
String related stuff: does using the new String.ReplaceCharAt or whatever its called work like the old one where you could replace the last char with 0 to truncate the string? If not, and maybe a good idea anyway, t would be nice to have a String.Substring function with start are length parametrs which returned any arbitrary substring of the String. I know I could write one by hand-concatenation the individual chars, but there doesn't seem to currently be a neat way to make a string shorter.
#3478
Personally, I dont care which sport or what its called, as long as Scotland do well and England do badly.
#3479
I'd just like to take a moment to bask in the happiness that is Scotland beating a good team AND England losing to a crap team ON THE SAME DAY.  :=

Thank you. I think that this proves that there is a God.
#3480
Remind those of us unlucky enough  not to have played QFG4, what that means...
SMF spam blocked by CleanTalk