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

#2401
The Rumpus Room / Re: Livestock Laughs
Sat 13/10/2012 14:51:01
Quote from: Onker on Sat 13/10/2012 06:00:32
Code: AGS
function Is_Cow_joke_told()
if (player == cCowjoke) Display("Laugh");
else cDon't_bother.SetAsPlayer();
}


This code would throw an error on line 3:  there is no circumstance where a cow joke would be told and the laughing would be conditional.

NERD EDIT: Er, and you forgot your opening bracket.  (*Baron makes FRINK NOISE*)
#2402
Quote from: AnalogGuy on Fri 12/10/2012 20:59:33
Even with the email I have got, still no responds.

Did you enter his e-mail using a keyboard or a ouija board?
#2403
Nice graphic!  Who's working the sock puppet behind WHAM?  Or is that just some sort of weird neck growth?
#2404
Ahhhh.....
     I'm reluctant to build the type of function where I have to type in a variable that I would rarely actually use, but I like your work around idea of just formatting another string when I need it and calling that instead of raw text.  It's the kind of quick and dirty fix that appeals to me -thanks!

     On a similar note, though, the thought had crossed my mind that I might want to add voice acting, but I don't think I'll be able to use the same commands.  i.e.

Code: ags
 cVillain.Talk ("&12 You'll never get your kittens back.  Never!"); 


     wouldn't work for the same reasons (I haven't tested it, but it seems &12 functions kind of like %d in that it isn't actually part of the string).  So I'm assuming from what you say, these symbols and their functionality were hard coded into the character.Say function with C++ and there is no way within AGS to adapt similar coding into a custom function?  I can work around a couple of instances where I might need variables, but manually entering hundreds or even thousands of voice files is not something I'd like to undertake.
#2405
Hi.  I've been banging my head against the wall for a while now on this one without any progress, so maybe you guys can help me out.

I've written my own character.Talk extender function to replace character.Say in order to create speech bubbles.  I created a custom text window GUI, hijacked one of the Sierra speech-styles and relay the relevant string through a ghost character (called cGhost) who can be dynamically placed around the talking character's head.  So far so good.  But I can't wrap my head around how to adapt that function to incorporate variables.  I can't, for example, do something like this:

Code: ags
 cVillain.Talk ("I'm going to take all %d of your precious kittens.", kitten_count); 


because character.Talk only has two parameters (I hope I'm using that term correctly): function Talk (this Character*, String charsays).  So of course it doesn't understand the extra integer variable, because all I am giving it is a string.  Later on, after a lot of height, width, text length, character location variables, etc. etc., this line shows the speech in a nicely fitted bubble:

Code: ags
  cGhost.SayAt (this.x +sideoffset -GetViewportX (), charheight +bottomoffset -GetViewportY (), width, charsays); 


...but I can't put in dynamic variables like I could with character.Say.  My question is, how can I add an optional variable to a function, like in character.Says, so that I can build dynamic strings? 

Thanks in advance for any suggestions.
#2406
The Rumpus Room / Re: Livestock Laughs
Fri 12/10/2012 23:01:45


Ha.  Still, if the straw was long enough I'm sure just about anyone'd find their own trouble eventually.....
#2407
I for one have come to reject my former "Get Lamp" dogma, and I just wanted to communicate my reasons so that no one else falls into this strategic pitfall and accidentally gets this action accomplished.  For starters, the lamp would be useless without the means to light it (although there is an outside chance we might create a spark by banging our spork on the mess tin).  It would therefore present dead-weight, and the marginal surplus exertion required to lug it around may well spell our doom out under the blazing desert sun.  Secondly, in the event of an attack by those tutu wearing pansies in the eighth army, a lighted lamp would not only provide a distinct target, but also present a serious hazard should it be struck by a bullet: those glass shards would certainly make for some wicked slivers, to say nothing of the combustive fury of the lamp oil.  Finally, there is a danger, admittedly remote but conceptually feasible, that there might be an evil genie trapped inside the lamp.  You know the type: mischievous, chaffing, and intent on twisting the intent of the wisher through some feigned allegiance to literalism in order to give said wisher -his supposed master- his "just" comeuppance.  Therefore friends, I think it undesirable to undertake possession of the lamp at this juncture, and do hereby strenuously advise and counsel that it be given a wide berth.

> avoid lamp       
#2408
The Rumpus Room / Re: Livestock Laughs
Fri 12/10/2012 02:03:04
Who better to appreciate mixing cow jokes with Star Trek humour than my fellow AGSers:

#2409
The Rumpus Room / Livestock Laughs
Thu 11/10/2012 13:55:02
Quote from: Baron on Sun 07/10/2012 02:21:27
What do you call a cow with no legs?

Ground Beef.

Quote from: ThreeOhFour on Thu 11/10/2012 13:29:55
What do you call a cow with no legs?

Ground beef.

So that's where you've been getting all those great game ideas....  Stay out of my head, man!

Also, I'm changing the name of the thread again, just to keep things fresh.
#2410
Quote from: Ponch on Tue 09/10/2012 02:26:27
Not all of us are vaguely Germanic semi-royalty, Mr. Baron. Some of us have jobs, you know.  ;)
Quote from: Ponch on Wed 10/10/2012 04:35:43
Code: AGS

                 |------========|
                 | **** |=======|
           (__)  | **** |=======|              vv    vv
           (oo)  |==============|              ||----||  *
    /-------\/   |==============|              ||     | /
   / |     ||----<                            /\-------/
  *  ||----|     |                           (oo)
     ^^    ^     |                           (~~)
 
 American Cow                               Australian Cow


Allow me to raise a vaguely Germanic semi-royal eyebrow in your direction, sir.
#2412
I love Gary Larson, and yet curse him at the same time.  Who retires at 45?  Bastard.  Here's my favourite cow one:



I think it's the cow's posture more than the situation that I find humorous.... but I'll have to wait for the cow humour analysis thread to flesh that line of thinking out fully....
#2413
Huh.  No more cow jokes from Ponch....  C'mon man!  Just a bit of Google and a scroll wheel: that's all I ask.  Or perhaps we can resort to good old fashioned shooting from the hip....

What do you call the alpha bull at an abattoir?

Burger King.
#2414
I also support the barrage of jacket related commands.  But after that's all said and done, might it be possible to

>Get Lamp?  Pretty Please?

And is that a canteen hanging from the hammock's edge?  That'd be useful in the desert....
#2415
What do you get from a pampered cow?

Spoiled milk.
#2416
I'm going to get all cliché on you guys:

>Get Lamp
#2417
What do you call a cow with no legs?

Ground Beef.
#2418
Beating a really challenging home-made Jetpack level -like this one

Quote from: Crimson Wizard on Sat 06/10/2012 21:20:03

Finding a long-living bug and finally getting my program to work :D

Oh yeah!  That's the same feeling too!  Also coming up with that missing plot device/inventory item/game mechanic that will make a puzzle idea with potential into something truly inspired.
#2419
The Rumpus Room / Re: More Rumpus, PUH-lease!
Sat 06/10/2012 02:26:40
What do you call the variety of cow that has just given birth?

Decalfinated. 

Buddum-bum, chi!  I'll be here all week.  Try the shrimp.
#2420
Quote from: Mouth for war on Fri 05/10/2012 17:57:51
I have no direction in life. Nothing is fun, not even AGS (crazy huh?) :)

You clearly have not been playing enough Snakes of Avalon.

Somewhat more helpfully, I find my mindset is much improved by ignorance of the present, especially as it is portrayed in the media.  I don't own a TV, rarely listen to the radio, and don't often read news online.  I get most of my news from hand-me-down newspapers and magazines that would otherwise be thrown out by family members or sometimes work.  It's still current enough to be topical, but not fresh enough to be menacing.  I read a very interesting article today on the topic of Israel about to imminently strike at Iran and start WW3; except it couldn't have been that imminent since it was published almost three months ago.  Negativity in perspective is almost quaint, like the pile of clothes under your bed that you were scared of as a kid in the dark.
    I agree with the other posters about just getting out there: it's good for one's mindset.  In the city I used to live in there was a great volunteer centre where you could show up whenever you wanted to do your part.  They trained me to fix bicycles, but the best part was the weird and wonderful people you'd meet.
SMF spam blocked by CleanTalk