Page 1 of 1

Simple for GuideMe

Posted: Wed Apr 14, 2021 10:22 pm
by computergeek
Download Simple
https://workupload.com/file/adJhypjrwFz

This is more of an experiment on the use of dynamic coding within the GuidMe scripting structure. I invite any and all coders for GuideMe to use / modify / exploit / include the coding in global.js to their hearts content. The tease itself is not very detailed but completely randomized in 5 phases. Note that this tease does not include any picture library at all, zero none nada! You have to add your own. But wait! There is more! No additional coding is required! No modding any scripts! Just read the rules for how to structure the directories of the picture galleries, copy pasta and done! The code automatically scans the directories and pictures on starting the tease.

Re: Simple for GuideMe

Posted: Thu Apr 15, 2021 12:00 am
by kong
HEAT INDEX jumped from 100 to 200, from Phase I to Phase IV

Re: Simple for GuideMe

Posted: Thu Apr 15, 2021 5:27 am
by computergeek
Ooops, broke it when trying to re balance the game play. Hot fix:

Replace Next_Hostess.xml with the following

Code: Select all

<Pages>
	<Page id="Next_Hostess_001">
		<Text>
			<p class="rest">
				<span>Header</span>
			</p>
			<p class="story">
				SIMPLE
			</p>
			<p class="story">
				<span>Model_List_Count</span>
			</p>
			<p class="story">
				<span>Random_Count</span>
			</p>
			<p class="story">
				<span>Model_List</span>
			</p>
			<p class="story">
				<span>Model_Hostess</span>
			</p>
			<p class="story">
				<span>Hostess_Path</span>
			</p>
			<p class="story">
				<span>Hostess_Gallery_List</span>
			</p>
			<p class="story">
				<span>Hostess_Gallery_Count</span>
			</p>
			<p class="story">
				<span>Hostess_Gallery</span>
			</p>
			<p class="story">
				<span>Gallery_Image_List</span>
			</p>
			<p class="story">
				<span>Gallery_Image_Count</span>
			</p>
		</Text>
		<Image id="black01.jpg" />
		<javascript>
			<![CDATA[
				function pageLoad() {
					var Header_Command = "INITIALISING NEXT HOSTESS.";
					scriptVars.put("Header_Command", Header_Command);
					gjs_Header();
					var Header = scriptVars.get("Header");

					var Heat = scriptVars.get("Heat");
					var Complex = scriptVars.get("Complex");
					if ( Heat >= 100 &&  Complex == 3 ) {
						var Complex = 4;
						scriptVars.put("Complex", Complex);
					}
					if ( Heat >= 75 &&  Complex == 2 ) {
						var Complex = 3;
						scriptVars.put("Complex", Complex);
					}
					if ( Heat >= 50 &&  Complex == 1 ) {
						var Complex = 2;
						scriptVars.put("Complex", Complex);
					}
					if ( Heat >= 25 &&  Complex == 0 ) {
						var Complex = 1;
						scriptVars.put("Complex", Complex);
					}

					var Heat = ( Heat / 2 ) + ( Complex * 10 );
					var Heat = gjs_Whole_Number(Heat);
					scriptVars.put("Heat", Heat);

					gjs_Next_Model();

					var Model_Picture_ID = 0;
					scriptVars.put("Model_Picture_ID", Model_Picture_ID);

					overRide.image = "inc\\Simple.jpg";
					overRide.addButton("Phase_000", "CONTINUE", "", "", "", "");
					overRide.setDelay( "Phase_000", 0, 0, "normal",  "", "", "");
				}
			]]>
		</javascript>
	</Page>
</Pages>

Re: Simple for GuideMe

Posted: Fri Apr 23, 2021 9:28 pm
by PlayfulGuy
computergeek wrote: Wed Apr 14, 2021 10:22 pm Download Simple
https://workupload.com/file/adJhypjrwFz

This is more of an experiment on the use of dynamic coding within the GuidMe scripting structure. I invite any and all coders for GuideMe to use / modify / exploit / include the coding in global.js to their hearts content. The tease itself is not very detailed but completely randomized in 5 phases. Note that this tease does not include any picture library at all, zero none nada! You have to add your own. But wait! There is more! No additional coding is required! No modding any scripts! Just read the rules for how to structure the directories of the picture galleries, copy pasta and done! The code automatically scans the directories and pictures on starting the tease.
Ran across this a few days ago and got a chance to check it out today. Very cool!
I'm looking forward to play testing it once I get a couple more galleries set up.

And I'll definitely be looking through the code and using some of your ideas.

Do you have any suggestion on what's a good size for a gallery. The instructions and notes only really say at least 4 or 5 pictures, but not too many.

Thanks!

Re: Simple for GuideMe

Posted: Sat Apr 24, 2021 9:07 pm
by computergeek
PlayfulGuy wrote: Fri Apr 23, 2021 9:28 pm
computergeek wrote: Wed Apr 14, 2021 10:22 pm Download Simple
https://workupload.com/file/adJhypjrwFz

This is more of an experiment on the use of dynamic coding within the GuidMe scripting structure. I invite any and all coders for GuideMe to use / modify / exploit / include the coding in global.js to their hearts content. The tease itself is not very detailed but completely randomized in 5 phases. Note that this tease does not include any picture library at all, zero none nada! You have to add your own. But wait! There is more! No additional coding is required! No modding any scripts! Just read the rules for how to structure the directories of the picture galleries, copy pasta and done! The code automatically scans the directories and pictures on starting the tease.
Ran across this a few days ago and got a chance to check it out today. Very cool!
I'm looking forward to play testing it once I get a couple more galleries set up.

And I'll definitely be looking through the code and using some of your ideas.

Do you have any suggestion on what's a good size for a gallery. The instructions and notes only really say at least 4 or 5 pictures, but not too many.

Thanks!
I tried to balance it to what is most common to free galleries, so around 12 to 18 per gallery should be good. The tease itself is not all that great and did not spend a whole lot of time detailing it. This was mainly an example of how to use dynamic coding in hopes that others find it useful.