46
SCI Syntax Help / Re: SCI0: Implementing bike riding system
« on: December 14, 2025, 02:27:18 PM »
You can use a Region for the bike-specific code.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
(gCurRoom setInset: inDial)with(Animate gCast 0)
(gCurRoom setInset: inDial)(maybe change the 0 to 1 here if that doesn't work)Could it be certain versions of makevols.exe only work with SCI0 resources?I don't think so. After all, makevols is agnostic of the types of resources that the interpreter uses. As we've seen, the programmer specifies that in resource.txt. On the other hand, the interpreter might well barf at the resulting files (because SCI0 and SCI01 are different in that respect). How did the conversion to SCI01 go?
Regards,
makevols LL3%1 -F..\floppy.src -st >> ..\%1.err
The idea was that you would specify either 360 or 720 on the command line and MAKEVOLS would execute either section LL3360 or LL3720 (MAKEVOLS is not case sensitive, as I have just confirmed by inspection of resource.txt). I don't know what MAKEVOLS does in the absence of that first argument, but selecting the first one would be a good guess. And if that is your setpaths section, that would lead to an empty output file (and hence a divide-by-zero exception).
(setpaths
resource view 0x80 ../../view/view
resource pic 0x81 ../../pic/pic
resource script 0x82 ../../script/script
resource text 0x83 ../../script/text
resource sound 0x84 ../../sound/sound
; resource memory 0x85 ; (can not be loaded from disk)
resource vocab 0x86 ../../script/vocab
resource font 0x87 s:font
resource cursor 0x88 s:cursor
resource patch 0x89 ../../sound/patch
)
Then you reference that in your main section before actually building any volumes.
Talking Bear.scoI find that rather hard to believe. Talking_Bear.sco contains only one object, and it's an instance, not a class. It doesn't have a class number of its own. Similar for some of the other talkers.
SMF 2.0.19 |
SMF © 2021, Simple Machines
Simple Audio Video Embedder
Page created in 0.042 seconds with 19 queries.