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

#161
Back to the weekend/sunday thing, in Chinese the days are called:

Zhou yi  (lit. Week One) = Monday
Zhou er (lit. Week Two) = Tuesday
Zhou san (lit. Week Three) = Wednesday
Zhou si (lit. Week Four) = Thursday
Zhou wu (lit. Week Five) = Friday
Zhou liu (lit. Week Six) = Saturday
Zhou tian (lit. Week Heaven) = Sunday

So you can be sure that Chinese calendars will ALWAYS start on Mondays. Its also way more logical than naming your days after Celestial bodies, Norse Gods and Roman Gods.

Any months are easy too: yi yue, er yue, san yue, etc. English's month name etymology is totally screwy.
#162
This would be great as it would allow more "all your base" jokes in AGS code.
#163
So, we've planned what todo and we're going to hire a campervan and drive down slowly from Sydney to Melbourne and up the Great Ocean Road a bit then take a flight back from Melbourne to Sydney. So no Brisbane, sorry, Yahtzee.

However, it looks like there's  choice coming back from Mel to Syd of Jetstar or Tiger airways. Any Aussies offer any advice? My guess is like they are like Easyjet and Ryanair equivalents, but which is WORSE?
#164
Code: ags

function cFred_Talk () {
  if (player == cFred) {
     player.Say("I wish I had made the player character unclickable when switching, as click on oneself are annoying");
  } else if (player==cBetty) {
     player.Say("Hey, Fred, while Barney's not around lets get it on.");
  } else if (player==cBarney) {
     player.Say("Fred, old pal, if you hit on Betty, I'll kill you");
  }
}


#165
General Discussion / Re: AI for AGS
Fri 09/07/2010 08:26:43
I'm sorry Dave, I'm afraid AGS can't do that...
#166
You've made me realise how much of TLJ I  have forgotten! And that I wasn't paying attention at the end becuase I thought:

Spoiler

April DID become the guardian of the balance
[close]
#167
General Discussion / Re: What are you reading?
Wed 07/07/2010 03:47:31
Since its expensive getting English books here in China, I'm reading lots of stuff from Project Gutenberg/Feedbooks. See http://sugarlandren.blogspot.com/search/label/eBooks for some more on that.

I'd definately recommend Cory Doctorow for sci-fi fans and Rafael Sabatini for Pirate fans.
#168
On looking at the code, the speech view should include each frame delay (Portrait_Counter=Portrait_AnimSpeed+Portrait_vf.Speed+1;) but I probably didn't test that so there may be a problem (e.g. it uses the previous or next frame's speed is one I could imagine)

Another issue is, though, that it perhaps ignores the speed for blink frames.

#169
Didn't take the time to realise that these already exist, either.
#170
DOes this have perspective distortion on the shadowm, too?
#171
I currently live in Beijing, so "Asian food" isn't really a selling point  :=
#172
Do it and I'll sue  ;D

Sure, go ahead. Do you think that this should be changed in my version, too?
#173
General Discussion / Visiting Oz in October
Sat 19/06/2010 11:52:12
Hey, you aussie AGSers, I will be doing a camper-van tour of Aus starting and ending in Sydney come October, so any suggestions as to must-see and must-do things are welcome. Bear in mind, though that my  wife and daughters will be coming too.
#174
You're confusing constant with static. static means it retains is value between function calls, constant means it is unchanging. And quite often constants aren't, in actual implementation. I think Monkey or Khris wrote up once how to work around this problem with the dynamic array stuff.
#175
General Discussion / Re: Exams & Internet
Sun 13/06/2010 03:53:56
But who is going to update the blog now?  :=
#176
As I've never done any serious projects (with AGS or even Windows) ;) I've not actually got any experience of setting up the revision control, though. If anyone has done this, it might be useful to give a HOWTO for setting up CVS or Subversion or something for AGS use, from scratch.
#177
Any serious projets should use AGS's revision control integration.
#178
GSay doesn't have the styring formatting capability of Say and can't, due to restrictions in the way that user-defined functions can take arguments. If you want to do what  you're trying to do:

Code: ags

player.GSay(String.Format("I am saying this code: %s", sSayCode));


#179
rather than this...

Quote from: AdamM on Wed 09/06/2010 16:53:22
Code: ags

    Portrait_vls = Portrait_Workspace.Truncate(1);   //Not two-letter syllable
    if ((Portrait_vls.CompareTo(".")==0) || //M sound
    (Portrait_vls.CompareTo("?")==0) || 
    (Portrait_vls.CompareTo("!")==0) || 
    (Portrait_vls.CompareTo(",")==0) || 
    (Portrait_vls.CompareTo("B")==0) || 
    (Portrait_vls.CompareTo("K")==0) || 
    (Portrait_vls.CompareTo("Q")==0) || 
    (Portrait_vls.CompareTo("D")==0) || 
    (Portrait_vls.CompareTo("P")==0) || 
    (Portrait_vls.CompareTo("M")==0))
    {Portrait_LSFrame=0;}
    else ...


why not...

Code: ags

    Portrait_vls = Portrait_Workspace.Truncate(1);   //Not two-letter syllable
    String mmatch=".?!,BKQDPM";
    if ((mmatch.IndexOf(Portrait_vls)>=0) Portrait_LSFrame=0;
    else ...


Or you could even set up mmatch as a static String array and iterate over it, with the frame number matching the array index.  ;)
#180
In linux you could create a symbolic link from the game directory to somewhere more user-permission-accessible for the acsetup.cfg file. Dunno if symlinks like that exist on NTFS. I'm pretty sure they don't in FAT32. Are there likely to be any Win7 or Vista installs on FAT32?

Aaah, apparently not in XP (which doesnt have the problem anyway) but from Vista onwards:

http://msdn.microsoft.com/en-us/library/aa363878%28v=VS.85%29.aspx
SMF spam blocked by CleanTalk