Non-threaded

Forums » The Parlor Room » Read Thread

Questions about a storygame? Thoughts on Eternal? Any other IF you're playing out there?

Someone test my text combo please!

9 years ago

Hello! Me again. I was wondering if anyone would be willing to play and test out my "text code combo" in which I create a combination of different sentences using text code and variables. Here is the code:

%%AGL%=%5%You know you're not very fast, and the chances of escaping without tripping over everything are slim. This tiny trail is hard to maneuver in...%%%%AGL%=%10%You're pretty swift, and you think you might be able to escape even through the creepers and thorns.%% %%STR%=%5%At the same time, you're not very strong, but you think you might be able to stand a chance against the snake%%%%STR%=%10%You're pretty strong and you know you can take the snake down%%%%AGL%=%5%. It's your speed you're worried about...%%%%AGL%=%10% because you're also fast on your feet!%%

I want to be sure that the code is in working order and that the "choose your skills" option corresponds to the code as it is supposed to. (i.e Choosing Mental twice and Strength and Agility once will give one sentence, Choosing Strength twice and Agility and Mental once will give another etc.)

The link to my storygame is right here: http://chooseyourstory.com/story/rpg-island

Thanks for helping me out to make sure everything is in working order. ^w^

Someone test my text combo please!

9 years ago

BTW: To get to the text combo you need to choose "water" on the "Awakening" page and "go to jungle" on the "Water" page and finally "take the right path" on the next page after that. Thanks!

Someone test my text combo please!

9 years ago

Here-s what I got

---

You decide to take the path to the right.

"This is probably just a game trail for rabbits or geese. No danger there!"

You step onto the path, lifting your legs high to avoid the crawling creepers that threaten to tangle your feet and drag you down. The sides of the path are riddled with thorns, and you carefully pick your way through, though not without some scrapes.

Suddenly, you hear a hissing noise and turn on the spot. You can't see any gators, but the hissing is pitched differently from a gator warning. You back up slowly, sweeping the trail for any sign of danger. Suddenly the culprit presents itself...

SNAP

You have a split second to move your arm out of the way before a deadly cottonmouth lunges at you. With a scream of surprise you back up a few paces, and you and the snake are now locked in a deadly stare down. The snake's forked tongue flicks out of its mouth, tasting the air, tasting you. Your heart hammers in your chest as you watch the snake's muscular body ripple and the deep brown scales flash in the sunlight. You have two choices: fight or flee.


Hunger:100 Health:100

---

I don't see any of your on-page code there.

I just maxed agility in this example.

You probably just need to account for more Stat combo possibilities.

Someone test my text combo please!

9 years ago

did you read the rest of it? There's more after this. THAT'S where the on-page code is. Try to get to the part where it describes your physical ability and sort of clues you in to the likelyhood of your option working.

Someone test my text combo please!

9 years ago

There was no rest of it to read. He pasted the full page presented based on the variables he chose.

Someone test my text combo please!

9 years ago

This seems to be in mostly working order. I like what you're doing here and I want to see more. The chief issue with your script is that if you don't meet expected perameters, nothing gets put there at all. For example, this is the text if we have maxed mental with nothing in AGL or STR:

"...Your heart hammers in your chest as you watch the snake's muscular body ripple and the deep brown scales flash in the sunlight. You have two choices: fight or flee."

And this is what you get with maximum strength:

"...Your heart hammers in your chest as you watch the snake's muscular body ripple and the deep brown scales flash in the sunlight. You have two choices: fight or flee."

Berka seems to have already demonstrated max agility.

However 10 Str (instead of 20) and 10 Agl (instead of 20) gives us this:

"...Your heart hammers in your chest as you watch the snake's muscular body ripple and the deep brown scales flash in the sunlight. You have two choices: fight or flee. You're pretty swift, and you think you might be able to escape even through the creepers and thorns. You're pretty strong and you know you can take the snake down because you're also fast on your feet!"

You may want to use greater than/less than signs in your scripts or prepare a different message incase of higher or lower than expected stat choices. The script isn't prepared to deal with any stat less than 5 or greater than 10.

Someone test my text combo please!

9 years ago

Well the point was to really show the text if Strength equaled 10 or 5 but not 20, and the same for agility, assuming that the player put at least 5 points into each category. I think I can change the choose your skills so you can only have a max of 10 points in each section, and a minimum of 5. If someone could give me the basic skeleton of the code, I can figure out the rest.

Someone test my text combo please!

9 years ago

In that case, aren't there only three possible combinations? Instead of more complex scripting and allowing the player to freely add to and subtract from each stat, it might be better just to offer three links—one for each combination.

Someone test my text combo please!

9 years ago

hmmm. That could be a possibility....... but I'd really like the player to be able to manipulate the stats so they can have a set of different stats that can enhance the game style. I'll probably just use restrictions to keep them from going over 10 and add a code to display text if the stat is 0, instead of using scripts to make the minimum 5.

Someone test my text combo please!

9 years ago

ahhh, that's the problem. It wasn't meant to deal with those other stats, assuming that the player would want to have at least 5 in each stat, to sort of balance it out. I should've known better. Thanks!

Someone test my text combo please!

9 years ago

Ok, I added coding to deal with if Strength or Agility is 0, and restricted the stats so you can't have more than 10 in any particular one. I just need someone to test out the new coding. Here's the link again:

http://chooseyourstory.com/story/rpg-island

Thanks for the help and advice guys!

Someone test my text combo please!

9 years ago
Works well for me, I like it.

Side note: if you don't want anyone to comment on your work in progress, you can just leave the link to End Game off and people simply won't be able to end the game, rate the game, or make comments.

Someone test my text combo please!

9 years ago

thanks I'll remember that. I'm also working on another game called The Violet City. When I'm done with the character creation, I'll put the link in the forums for people to test it. And Im glad you like it, I tried to make it flow smoothly. Glad to know it worked! ^w^