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 - Nine Toes

#421
No need to give me the link, it's in your sig, you shilly sit! ;)  Thanks anyway, man.  BTW, the BFAQ was a big help.

I did what Gilbot told me, and I replaced the %d with buffer, and the code now works just peachy.  And after a little tinkering, I figured out exactly what I was doing.
#422
General Discussion / 3D Gamestudio - Worth it?
Fri 06/05/2005 10:47:33
I've been considering buying a professional copy of 3D Gamestudio A6 lately, but before I shell out the $1,700.00 for the program itself and the edition upgrade, I want to know if anybody has it, or has tried it.  Is it worth the money?

Granted, I could very well spend a whole lot less on the Commercial version ($350.00)and get something that's almost as good as the professional version, there's just some things about the Professional version that makes it seem more desirable.

What do you think?
#423
Jolly good.Ã,  I'll try it as soon as I get home.

I appreciate it, because I don't really understand too much about string functions and command, therefore, I don't really know how they work.

Thank you very much... and sorry about posting in the wrong forum, I guess I wasn't thinking.

~Mr. Hyde
#424
Forgive me, for a few things...

1. I looked around the forum for a similar topic, but found none, even though I could have looked a little more at the very least.
2. I don't remember the EXACT codes I used to try and do what I'm trying to do.

See, what I'm trying to do is display a GlobalInt's value on a GUI label.

Here is a rough guess of the code I have at home:
Code: ags

GetGlobalInt(blah);
string buffer;
StrFormat(buffer, "%d", GetGlobalInt(blah));
SetLabelText(1,9,"%d");


Like I said, it's not the EXACT code I used (because I foolishly forgot to write it down before I left my apartment), but I do know that it doesn't work.  I tried a few other methods, but still no result.

The above code is based on the manual's example for StrFormat(), and with the code I have above, all that I get displayed on the GUI's label is "%d".

Can anyone offer me some pointers?  Perhaps educate me a little more about what the code I have written is REALLY doing?
#425
Welcome back, and thank you for dashing my hopes that you were dead in a gutter somewhere.
#426
Jesus H. Chri...

I was going to say, "someone start a freaking 'I'm Gay' thread in the Popular Threads forum already."

Anyway, I'm... (short pause, taking the test)...

80% Female, 20% Male?!?!?!?!?:O
Your brain leans female
You think with your heart, not your head
Sweet and considerate, you are a giver
But you're tough enough not to let anyone take advantage of you!

I knew I was a little girly, but I didn't think I was that girly!Ã,  >:(
#427
Why, are you getting jealous?  ;D
#428
70% Official Survivor. Did you expect anything less?
#429
I wouldn't think that the GUI would be covering the co-ordinates where the mouse clicked, which is why I added:
Code: ags

SetGUIPosition(10, mouse.x+1, mouse.y+1);
SetGUIPosition(11, mouse.x+1, mouse.y+14);
SetGUIPosition(12, mouse.x+1, mouse.y+27);

GUI 10 and 12 are 31 x 13 pixels, and GUI 11 is 55 x 13 pixels.

I have it set up so that no matter where GUIs 10, 11, and 12 come up on the screen, they are always 1 pixel away from the point where the mouse clicked.

I'm almost positive I already tried it (and it didn't have any effect or help at all), but I will try the Wait() command again once I get home.

Thanks. :)

Does anyone else have any other suggestions?

Edit:  I got home last night and tryed out your suggestion, Ashen.  It works fine now.  Thanks for your help.
#430
I'm trying to craft my own verb coin.  I think what I have should theoretically work, but for some strange reason, it's not.

Not too sure what's wrong, but I know for a fact that everything I click on is being classified as "Nothing, inventory, or GUI" by GetLocationType.

Here's the script, in it's entirety:
Code: ags

repeatedly_execute:
    if (GetCharacterAt(mouse.x,mouse.y)==1 && GetCursorMode() != 10){
      SaveCursorForLocationChange();
      SetCursorMode(10);
      }

Character: Interaction Editor: Any Click On Character:
if (GetCursorMode() == 10){
  if (mouse.x <= 160 && mouse.y >= 121){
    SetGlobalInt(98, mouse.x);
    SetGlobalInt(99, mouse.y);
    SetGUIPosition(10, mouse.x+1, mouse.y-40);
    SetGUIPosition(11, mouse.x+1, mouse.y-27);
    SetGUIPosition(12, mouse.x+1, mouse.y-14);
    GUIOn(10);
    GUIOn(11);
    GUIOn(12);
    SetCursorMode(6);
    }
  if (mouse.x >= 161 && mouse.y >= 121){
    SetGlobalInt(98, mouse.x);
    SetGlobalInt(99, mouse.y);
    SetGUIPosition(10, mouse.x-32, mouse.y-40);
    SetGUIPosition(11, mouse.x-56, mouse.y-27);
    SetGUIPosition(12, mouse.x-32, mouse.y-14);
    GUIOn(10);
    GUIOn(11);
    GUIOn(12);
    SetCursorMode(6);
    }
  if (mouse.x <= 160 && mouse.y <= 120){
    SetGlobalInt(98, mouse.x);
    SetGlobalInt(99, mouse.y);
    SetGUIPosition(10, mouse.x+1, mouse.y+1);
    SetGUIPosition(11, mouse.x+1, mouse.y+14);
    SetGUIPosition(12, mouse.x+1, mouse.y+27);
    GUIOn(10);
    GUIOn(11);
    GUIOn(12);
    SetCursorMode(6);
    }
  if (mouse.x >= 161 && mouse.y <= 120){
    SetGlobalInt(98, mouse.x);
    SetGlobalInt(99, mouse.y);
    SetGUIPosition(10, mouse.x-32, mouse.y+1);
    SetGUIPosition(11, mouse.x-56, mouse.y+14);
    SetGUIPosition(12, mouse.x-32, mouse.y+27);
    GUIOn(10);
    GUIOn(11);
    GUIOn(12);
    SetCursorMode(6);
    }
  }

interface_click:
  if (interface == LOOKAT){
    if (button == 0){
      GUIOff(10);
      GUIOff(11);
      GUIOff(12);
      if (IsInteractionAvailable(GetGlobalInt(98), GetGlobalInt(99), MODE_LOOK) == 1){
        if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 0){
          Display("Something isn't right here, because this is being classified as 'nothing, inventory, or GUI' by GetLocationType.");
          }
        else if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 1){
          RunHotspotInteraction(GetHotspotAt(GetGlobalInt(98), GetGlobalInt(99)), MODE_LOOK);
          }
        else if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 2){
          RunCharacterInteraction(GetCharacterAt(GetGlobalInt(98), GetGlobalInt(99)), MODE_LOOK);
          }
        else if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 3){
          RunObjectInteraction(GetObjectAt(GetGlobalInt(98), GetGlobalInt(99)), MODE_LOOK);
          }
        }
      }
    }
  if (interface == INTERACTWITH){
    if (button == 0){
      GUIOff(10);
      GUIOff(11);
      GUIOff(12);
      if (IsInteractionAvailable(GetGlobalInt(98), GetGlobalInt(99), MODE_USE) == 1){
        if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 0){
          Display("Something isn't right here, because this is being classified as 'nothing, inventory, or GUI' by GetLocationType.");
          }
        else if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 1){
          RunHotspotInteraction(GetHotspotAt(GetGlobalInt(98), GetGlobalInt(99)), MODE_USE);
          }
        else if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 2){
          RunCharacterInteraction(GetCharacterAt(GetGlobalInt(98), GetGlobalInt(99)), MODE_USE);
          }
        else if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 3){
          RunObjectInteraction(GetObjectAt(GetGlobalInt(98), GetGlobalInt(99)), MODE_USE);
          }
        }
      }
    }
  if (interface == TALKTO){
    if (button == 0){
      GUIOff(10);
      GUIOff(11);
      GUIOff(12);
      if (IsInteractionAvailable(GetGlobalInt(98), GetGlobalInt(99), MODE_TALK) == 1){
        if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 0){
          Display("Something isn't right here, because this is being classified as 'nothing, inventory, or GUI' by GetLocationType.");
          }
        else if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 1){
          RunHotspotInteraction(GetHotspotAt(GetGlobalInt(98), GetGlobalInt(99)), MODE_TALK);
          }
        else if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 2){
          RunCharacterInteraction(GetCharacterAt(GetGlobalInt(98), GetGlobalInt(99)), MODE_TALK);
          }
        else if (GetLocationType(GetGlobalInt(98), GetGlobalInt(99)) == 3){
          RunObjectInteraction(GetObjectAt(GetGlobalInt(98), GetGlobalInt(99)), MODE_TALK);
          }
        }
      }
    }



I've been tinkering with this for about 2 days now, trying to get it to work, but it's just not working, and I don't know what I've done wrong.

I will look around the forums and a few sites for some info on creating verb-coin interfaces, but in the meantime, can anyone help me out with this?
#431
Heh.Ã,  I know exactly what you mean. :)Ã,  Sometime AGS intimidates me a little too much as well.

A little off-topic:  I looked at your site.  The game "Stranger By Night", did you make that one as well?
#432
Quote from: Al_Ninio on Fri 22/04/2005 22:06:04
Alec: Hurray, now I know why you enjoy MSI *that* much. ;)

Mindless Self Indulgence? ...I didn't really realize that until you mentioned it.  I retract my previous statement.  Maybe you are a swinger, Cam.
#433
Double dip?!?!?!?!?!Ã,  :oÃ,  For some reason, that saying doesn't sit quite well with me...

Well, congratulations (?) ... I don't know what else to say.

One thing I just don't get... See, I can look at another guy and think, "Yeah, he's a pretty handsome guy", but it doesn't mean I'm checking him out, and it doesn't mean I want to sleep with him... so I guess I just don't get it.

BTW... not to step on your groove, Cam, but are you sure that this isn't just a hormonal thing? (you're only 15-16) A lot of us are confused when we're that age...Ã,  Did you really sit down and think about this thoroughly?Ã,  I mean, Peter Thomas was gone for a few months before coming back and announcing he was gay...

Off-topic:
What's with all the smack-talking about the french being gay, and being stinky and never showering?  Why I oughta...
#434
"Gorga: The Space Monster".Ã,  Oh yeah.Ã,  8)

I know it's a little off of the topic at hand (sorry, Stuh), but I found some funny links concerning those CYOA books:
http://www.jengajam.com/r/cyoa-books
http://www.iamcal.com/games/choose/
#435
Actually, learning a new language can't be all that hard, can it?  I mean, with AGS, you've got, "if", "else if", "else", "while", "SetGlobalInt()", "GetGlobalInt()", "ShakeScreen()", "MoveCharacter()", "DieNowOkayThanksBye()", etc.  I'm sure that other game-making programs have similar commands, only they have a different name/handle.

Also, "if", "else if", "else", "while", and (I beleive) "when" statements are pretty much 75% of all programming, if I'm not mistaken.

All you really need to learn is how to signify the end of a line of script, and learn all of the other commands that don't have an AGS equivalent.

...Okay, I'm sure there are some things that I forgot about, feel free to correct me if your ego requires it.
#436

Quote from: Haddas on Thu 21/04/2005 21:16:00
Try having only one cigarette handy. It's when you don't have any you just want more.

I don't know if that would work for me... I'll just sit with the cigarette in front of me on the table, or in my breast pocket, and I'll be drooling just looking at it/thinking about it. (Think of the little devil on your shoulder saying, "Go on.  Light up.  You know you want to... One little cigarette won't hurt... nobody's gotta know...")  I'll eventually end up smoking it, and then I'll not have any, and want more... so it's kind of a catch 22.  I think I would just have to suffer through not having any at all if this is going to work.

Quote from: Venus on Thu 21/04/2005 21:52:08And if you have problems with all your friends smoking around you, why not try to convince them to quit together?!?

I did say something to my friend, Paul, about maybe doing a "buddy system"-type thing.  He smokes about the same as I do (did), thing is, he's got a horrible ulcer, and it's always getting worse because he smokes and drinks all the time.  So I dropped a few hints at him, "Maybe it's time to quit...?", also mentioning the new smoking ban in Appleton, and the $1.00 tax increase on cigarettes.  However, I haven't seen him in a week, so I don't know if he has even tried to stop... He also has a really well-paying job, so he doesn't care about the whole saving money thing.  I guess if he doesn't want to quit just yet (or at all for that matter), I'm not going to push him into it.  I know how it feels to be pressured into quitting, one of my ex-girlfriends did that to me... I know she wanted me to quit because she was concerned about my health, but she just kept pushing, and hard too.  All it did was piss me off... and frustration only made me want to smoke EVEN MORE... So that's kind of a catch-22 as well.

The same with my girlfriend.  She's not an extremely heavy smoker, a pack can last her 2-3 days (I think).  And I really only get to see her on weekends, so I'm not always around her.  She did mention she was going to quit too, in light of the new smoking ban in Appleton (where she lives, her school is actually ON College Avenue, where the smoking ban has been placed).  I'll support her, but I'm not going to push her.

Quote from: Barbarian on Fri 22/04/2005 04:04:18
Another suggestion, anytime you have an "urge" to have that smoke, drop and do 20 pushups (if you can't do 20, shoot for 10 at first), and by the time you're finished, you'll be breathing a bit harder, and feel less like wanting to inhale some dirty smoke, and hey, it's also a great way to get in shape.

Hmm... yeah... I'm not even sure if I can do 20... I know I can do 10, but I break out into a horrible sweat and I get all flushed.  But I guess it's worth a try.

Quote from: Barbarian on Fri 22/04/2005 04:04:18
Have a rubber-band around your wrist. Anytime that strong "urge" to have a smoke kicks in, pull the rubber band, let it go to have it *snap* against your wrist. The little bit of "pain sensation" will help "wake you up", bring you back to your senses, and remind you that you're trying to quit smoking.

I actually did that just for the heck of it one day, all I could tell was that it stung for a second... I never understood how that was supposed to help you quit smoking until you just explained it. :)

I don't know why, but as I was just reading that last part of Barbarian's post, it kinda reminded me of Lord Of The Rings... You know... I'm trying to quit smoking, Frodo is trying to destroy the ring... everytime he felt himself slipping, he should have snapped a rubber band against his wrist... I dunno, I thought it was kinda of funny.
#437
General Discussion / Quitting Smoking Blues
Thu 21/04/2005 20:56:46
Any ex-smokers here who can offer me some advice on quitting?

I've been smoking since I was 18, at about a pack a day (lately, almost 2).  I can't run anymore without my heart feeling like it's going to explode, and I've become so dependent on nicotene that if I go more than an hour without a cigarette my head spins and I vomit green pea soup all over the place.

Only about a week ago I decided that I WANT to quit.  I've "tried" to quit smoking before, but my plan was to "work my way down" - smoke less and less each day... Obviously that didn't work out at all.  I finally decided, the only thing that's going to work is quitting cold turkey.  My mom (an ex-smoker) said that it takes about four days for all of the nicotene to leave your system.  She also said, "You will be restless, bitchy, irritable..." ...isn't that a typical day for me? :P  Sounds like fun, but it's gotta happen.

I just finally decided, "I'm not going to buy anymore."  I think about the thousands of dollars I've wasted on cigarettes... (no lie, THOUSANDS... (roughly $3.00 a pack x 365 days in a year) x 4.5 years = $4927.50 ... and that's only at a pack a day) I could have bought a halfway decent car with that kind of money...

It's kind of tough when all of my friends, my girlfriend, and a vast majority of my co-workers all smoke... and I've already given in three times this last week.  I can never seem to get past that second day...

I'm not going to resort to the gum, or the patch:
1. I want ALL of the nicotene OUT of my system.  I remember hearing on the news a while back that nicotene was one of the things that caused cancer (by inhaling it), I don't really know if there's any truth in that, but...
2. I can't chew the gum, it tastes like pepper, and I f---in' HATE pepper!  It makes me gag!
3. They're both too expensive anyway, and the whole idea here was to quit so I can SAVE some money.

I've tried keeping myself busy so I don't think about it, working on my game, cleaning my apartment, napping (hoping I could sleep through my withdrawals), but like I said, I can never get past that second day.  Is it just a test of willpower?
#438
AGS Games in Production / Re: Occultas Veritas
Thu 21/04/2005 19:00:56
Nice. :) The interface looks good.  The graphics look great.
#439
I started making an RPG with RPG Toolkit, but there were a few setbacks:
1. Toolkit V. 3.0 seems like it's taking forever to be released (because the guy who originally created it decided to make it open source).
2. The story itself spanned across thousands of generations, and had hundreds of thousands of events, and character interactions to program. (overwhelming is an understatement)

I still plan on working on it one day, when I learn how to be patient with things again.

Kinoko, I've seen screen shots of your game, but I can't find any development threads for it, what are you creating it with?
#440
And you're not? (Sorry, I just HAD to throw that in there. :))

Feces occurs.
SMF spam blocked by CleanTalk