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

Topics - renn_inoue

#1
Completed Game Announcements / The WD Intern
Fri 12/09/2003 19:07:26
This is my first AGS game (sorry GinnyW, I never did get around to building a new inventory GUI :-[).   I'll warn you ahead of time, it's not a great piece of work.  Despite the 2000 lines of script, my interface is just way too simple compared to the gems being produced lately.  I may jazz it up at some point, but after 2 months I just wanted to get my project done and take a break.  Yeah, yeah.  I know.  Many of you spend years working on a game without a break! ;D    ANYWAY, hopefully my game will make a nice little break between playing Buccaneer, Conspiracy of Sango, FLASHBAX, and everyone's 5th trip through Apprentice! ;)

The story is that you are trying to become an intern for this game company Working Designs (which is, in fact, a real game company).   Don't worry.  I've already posted it over there and they didn't have any problems.   The game is more of a tribute to them anyway.   In the midst of trying to become an intern, you will have to stop a rival company from putting them out of business (the rival company is fake).

Here's the link:

http://www.lunar-net.com/wdintern.zip

I may not be around much to answer game questions, but I don't expect there will be many people playing the game anyway. ;)  Just in case, though, I've written a game FAQ, which you can read here if you get stuck:

http://www.geocities.com/lunarlegacy2/wdinternfaq.html

EDIT:  I forgot.  In the midst of the FLASHBAX controversy, I should warn people there is one slightly bloody scene and a few curse words here and there.  Nothing too extreme, though.

EDIT 2: I also forgot I had screenshots, so I'm posting them up as well.   Although, I think the peeps have spoken and the game is doomed to die.   Glad I didn't spend any more time on this. :P




#2
I'm having some trouble combining 2 objects in the inventory interactions menu.   According to the manual, you should be able to use a conditional to combine the items.  Here's what I scripted:

// script for inventory7: Use inventory on this item
if (character[GetPlayerCharacter()].activeinv == 10) {
DisplayMessage(506);
LoseInventory(10);
LoseInventory(7);
AddInventory(8);
}
else if (character[GetPlayerCharacter()].activeinv != 10) {
DisplayMessage(507);
}

But it doesn't recognize the item numbers in the inventory window.  When I try using item 10 to combine, it gives me the != message.  And sometimes it will only combine the item with another wrong item.  For example, item 10 won't combine as it should, but item 9 will.  

Am I doing something wrong?  The items numbers are listed correctly in the inventory items menu in ags.
#3
I was interested in incorporating a system where dialog options were removed as you read them (like in the recent stellar Apprentice).  But I can't find anything in the manual about how script functions change in the dialog script.  

For example, while you normally set a global int as such:  SetGlobalInt(10,1);

in dialog script you call the function as: set-globalint 10 1

So, I figured the SetDialogOption would look similiar in dialog script, but it gives an error.  

Can someone give me the correct script for SetDialogOption when called in a dialog script?  Or better yet could someone point to the part in someone's previous tutorial (or manual) where it discusses how calling functions change in dialog script?  I tried the manual first.  I couldn't find it.  Thanks in advance.
#4
I have a wierd bug that pops up since I started creating my adventure game.   About every 4 or 5 test runs, my computer freezes with a black screen, and the only way I can get control back is to restart my computer.  The Control and Alt escapes don't work.  I am currently using high-res backgrounds and high res sprites, but this problem started occuring even before I made the sprites.  I've had this problem since my first imported background.  Could it be my backgrounds?  They are 640x400.  

I suppose since it loads every 4rth of 5th time without any problems, its not a serious issue.  But it does get annoying having to restart my computer on test runs.  Anyone have this problem before?
SMF spam blocked by CleanTalk