The Dink Network

Reply to Re: Dink's World

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 29th 2004, 04:34 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Hmmm, I think your biggest problem is the variable limit (at least with the current version of the engine). As tracking quests is usually done with global variables.

Seeing as how there is a limit on the total number of variables (248 I think) per screen and all active scripts for that screen - you could try using the concept of "supervariables" - so that you only need one variable for each 3 quests... working along the lines of each quest has maximum of 100 possible plot points:

&quest = ...

Quest 1 uses values 0 to 99
Quest 2 uses values 1000 to 99000
Quest 3 uses values 100000 to 9900000
etc

And I'd recommned using redink.exe ver 0.04 as it supports extra math functios which make tracking these numbers a little easier.

So plot points for Quest 1 are
0, 1, 2, 3, 4, 5, 6, 7.... up to 99

Plot points for Quest 2 are (units of 100)
100, 200, 300, 400, 500 up to 9,900

Plot points for Quest 3 are (units of 10,000)
10,000; 20,000; 30,000; 40,000; up to 990,000

So if &quest equals:

49,856

Then
Quest 1 is at plot point 56
Quest 2 is at plot point 98
Quest 3 is at plot point 4

Quest 3 advances one story plot point and &quest becomes

59,856

Quest 1 advances one story plot point and &quest becomes

59,857

Quest 2 then advances one story plot point and finishes so &quest becomes

59,957

Of course you don't need to use all 0-99 plot points, but I think having only 10 (which would mean more quests per supervariable) may be too restrictive.