Talk about Guncho
From GunchoWiki
Contents |
[edit] Questions
[edit] Guncho Mockup
I've downloaded the Guncho Mockup and unzipped it, but I'm fairly new to Inform 7 and don't know what to do next.
Can someone provide a step-by-step guide to developing and testing realms offline using the mockup please?
Many thanks, Paul.
- See the page on Using the Guncho Mockup extension.
[edit] How to prompt the player for input?
I really want to be able to ask the player some questions - particularly if it's their first game in my realm - about what sex they want to be, etc.
Is there a way to do this within Guncho? If so, could some kind soul please post the necessary I7 code as an example?
Thanks, Paul.
- One way might be to write an "after reading a command" rule: see chapter 5.2 in the Inform Recipe Book, which cites the examples "Identity Theft", "Pink or Blue", and "Baritone, Bass". I haven't tried this on Guncho, though: Guncho defines its own similar rules to handle communication with the server, so this might interfere, but I think it'll probably work. If not, another way would be to let the player make these choices by performing game actions: going through a door, picking up an object, etc. See my response to Isle below about character classes. --Vaporware 04:56, 29 April 2009 (UTC)
[edit] Changing the Player Perspective
I would like to give different player characters very different attributes, or even make them different types (for creating very large characters, or characters that can understand, but not be understood by, others). At first I thought giving each PC an 'avatar' would work nicely, but the simple solution seems to have some problems in Guncho. The command change the player to Bob (Described in Writing With Inform section 8.9) seems to work for a moment under Guncho, but the player's perspective is reset at the beginning of each turn.
Is there a known workaround to this? Or do I just need to make my changes to the 'PC' kind? It seems that creating a new kind from PC (A giant is a kind of PC) won't do any good, unless there's a way to remap a player's PC object.
Thank you, Isle
-
change the playeris only temporary on Guncho: the player viewpoint is actually changed several times during each command anyway. Guncho uses a couple properties to match up a network connection on the server with a PC object in the game world: the phrasetransfer consciousness from the player to Bobwill move them around so that the player is now connected to Bob's body, and the player's old body is disconnected. (Make sure Bob is a PC and someone isn't already using his body!) But there are some caveats:
- The old body won't go away on its own; you'll need to change the player to the new body and then hide the old one somewhere.
- You'll probably need to add a player leaving rule to prevent your custom PCs from going back into the PC-corral when they disconnect, because any body left in there may be randomly assigned to new players who connect. Something like this:
The custom PC cleanup rule is listed after the low-level PC cleanup rule in the player leaving rules. This is the custom PC cleanup rule: if the current PC is Bob [or any of your other custom PCs], move the current PC to the custom PC storage room. [or wherever you keep them]
- Another way to do it would be to leave them in the same body, but use a global variable or property to indicate their class... for DragonSmasher, I use objects to indicate player classes (the mage carries a staff, the warrior carries a battle axe, etc.), so when someone picks up the staff, I set the variable "the mage", and then all the rules are written like "Instead of examining the mage".
- I'm open to suggestions on improving this: choosing a particular body for new players who connect, easier transfer between bodies, etc. --Vaporware 04:56, 29 April 2009 (UTC)
- That's wonderfully helpful, thank you. The second method sounds simpler for a game with a set number of distinct roles (like the Teenage Mutant Ninja Turtles?), but I'd like to play around with the first and try creating kinds of PCs. For example, it'd be nice to be able to write rules for Pac-Man thus:
A ghost is a kind of PC. Blinky, Pinky, Inky and Clyde are ghosts in the custom PC storage room. Report eating: If the current PC is a ghost, say "You devour [the noun]." instead. Report a ghost eating: Say "[The actor] devours [a noun]." instead.
- Thanks again! --Isle 05:40, 29 April 2009 (UTC)
[edit] Easy Linking to Spanish Stuff
Which way could be good to show other-language-version of any wiki article? I think a similar way like Wikipedia: in the left side-bar. What do you think?
