hero's name

MRP Hey everybody!!

I have been playin around with AGI for a few years now, and I think it's time for me to start working on a game now.

The hero needs a name though. Any ideas?
MagickPoultry It depends on the type of game and the type of character.  That being said, I think it's hard to go wrong with "Ace" as his first name.  Or maybe naming it after an historical figure, like John Locke or Charles Martel.  Not actually making them be the historical figure, mind you, just having the same name; i.e. a policeman named Vasco de Gama.  Ooh!  I just thought of a good name, "Oliver Sherlock Holmes."  Hee hee.  That's funny to me on so many levels. ???
sonneveld You could always do what they did for the first couple of Space Quests.  They asked the user what name they would like at the beginning of the game.

- Nick
smartguy240 How is it possible to make a
[glow=red,2,300]ENTER YOUR NAME>_____[/glow]
feature on an AGI game. I tried looking at SQ2's
logic, but everything is in varibles and flags! I dont know how to find the defines.txt for seirra made AGI games.

Is that possible?
Joel no, it's not possible to get the defines.txt for Sierra games. I think the enter your name stuff is done using the get.string() command. You can look it up in the AGI Studio help file and ask questions if you don't understand it.
Robin_Gravel
smartguy240 wrote:

How is it possible to make a
[glow=red,2,300]ENTER YOUR NAME>_____[/glow]
feature on an AGI game. I tried looking at SQ2's
logic, but everything is in varibles and flags! I dont know how to find the defines.txt for seirra made AGI games.

Is that possible?


Hi smartguy240

defines.txt is used when you begin a new game from template.

defines.txt is usefull for the newbies like you.

If I dowload your game on the net and I want to see it
using agi studio, defines.txt will be gone and the flags like "(new.room)" can be changed in f5 unless the defines.txt is enclosed in the zip file.

To know how the flags and the variables work, take a
look at the defines.txt file.

Robin Gravel

Note: (enter your name's) quest can be an original title
game.
gpm I know that the fanmade game Residence 44 Quest (which should have a link on Nick's Link page) used strings that you put in before starting the game. From the code that I remember, the information you put in was stored in strings and was recalled when needed throughout the game.

For instance, you're prompted for your name, degree, and favorite beer type. Depending on what type of beer you put in (it must be Heineken) the lazy tall guy would compliment you on your choice of beer, otherwise he would just say "Heineken rules!".

You could go further with this, and possibly develop whole subplots based on what strings you put in. Of course I'm talking about a ridiculous amount of work in your coding, but just imagine what kind of a game that would be!

Adam
AGI1122 I did sort of the same thing in a easter egg of mine. It would ask you for your name and then a conversation between myself and the player would follow...

I used s5 and s6 and it looked like this:

get.string(s5,"What's your name? ",22,0,18);
set.string(s6,"");

if (compare.strings(s5,s6)) {
set.string(s5,"Player");
} This made it so if the player didn't type a name it would default to player.

print("Chris: Hi whats up %s5?");
print("%s5: Not much just playing your game.");
print("Chris: Well if your playing this game you obviously have extremely "
"good taste.");
print("%s5: Thanks.");
print("Chris: So what do you think of the game so far? Was it worth the $50 "
"bucks.");
print("%s5: Yes it's the best fan game I have ever played. What do you mean "
"$50 bucks I got it for free?");
print("Chris: Oh so you have an illegal copy huh? I guess I have to report "
"you to the proper authorities.");
print("%s5: No please don't tell the authorities I will go out and buy this "
"game. So where can I purchase it?");
print("Chris: Just kidding this is a fan game which means it's a FREE game.");
print("Chris: %s5 I am your Fathers Mothers Second Cousins Aunts Uncles "
"Sisters Neices Brothers Nefews twice removed former room mate.");
print("%s5: So what does that make us?");
print("Chris: Absolutely nothing!");


As you can see every where that %s5 was used it would print the name of the player. Hope this bit of info helps. :)