Show Posts

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.

Messages - Doan Sephim

Pages: [1] 2 3 ... 43
SCI Syntax Help / Re: Is there no cond in Studio Script?
« on: July 15, 2023, 12:23:19 AM »
Did you use the conversion built into Companion? Probably a lot of work to fix what gets broken by it, but it might do a lot of the work for you.
Yes, I had tried that in the past but it was quite a lot of headache...too much for me at the time... probably too much work still. But now I'm feeling like I'm missing out on something important not being able to use cond to make this simple and elegant code for looking at inv items

SCI Syntax Help / Re: Is there no cond in Studio Script?
« on: July 14, 2023, 02:04:46 PM »
Ah, how regrettable...serves me right for never converting to Sierra Script!

SCI Syntax Help / Is there no cond in Studio Script?
« on: July 13, 2023, 07:22:27 PM »
Don't crucify me here! Yes, I'm coding Betrayed Alliance Book 1 is Studio Script, but only because the project is older than Sierra Script and the migration process would be more burdensome than it's worth. Don't worry, Book 2 is in Sierra Script!

All that said. I was trying to migrate the "look/item" from Book 2 into book 1 and hit a snag...apparently there is no "cond" conditional in Studio Script! Does anyone know if there is a functional alternative? I'm trying to migrate the following code over:
Code: [Select]
(if (Said 'look>')
((= i (gInv saidMe:))
(if (i ownedBy: gEgo)
(i showSelf:)

SCI Syntax Help / Re: [SOLVED] SCI0 - Autosave
« on: July 12, 2023, 07:49:51 PM »
Does the change directory button in the restore dialog cause the same crash?
Yes it does...well, it did until I removed it

SCI Syntax Help / Re: [SOLVED] SCI0 - Autosave
« on: July 12, 2023, 07:07:00 PM »
Yeah, it sounds like removing that button is really just papering over a latent problem.
I agree, but it's the best available solution for now, and it's one that is easy to reverse if/when the time comes. It's also a very low cost to pay seeing as how I think it is very few people who even use that availability. Plus it does save ever so slightly on heap  ;D

SCI Syntax Help / Re: [SOLVED] SCI0 - Autosave
« on: July 12, 2023, 10:48:34 AM »
Thanks Kawa! With you pointing me to the correct script, I was able to remove the change directory stuff. Loses a touch of old school authenticity but I don't think anyone will mind. Also, can't crash the game if you can't push the button  ;D

SCI Syntax Help / Re: [SOLVED] SCI0 - Autosave
« on: July 12, 2023, 10:09:17 AM »
I have not tested with ScummVM, which I think uses it's own save system (but I'm no expert).

I want to make sure this is ironed out for people who want to play on era hardware, too. I think just removing the change directory will be my go to answer, which I thought would be easy enough, but I cannot even find WHERE that logic is!

SCI Syntax Help / Re: [SOLVED] SCI0 - Autosave
« on: July 11, 2023, 11:26:03 PM »
While the autosave feature does work as intended, it does have a side effect that I'm not sure how to best handle.

With the autosave code in, it has led to the "change directory" button in the "save game" window to cause a "oops! You tried something" error and crashes. Not sure how to fix that. If worse comes to worst, I could just delete the "change directory" button from the game. I think that would bother less than 1% of people.

Any ideas?

« on: October 23, 2004, 04:32:15 PM »
Brian has made it quite clear - if we made more games with the current studio, he'd have much more motivation to work on in reality if it is delayed in coming, we have to blame ourselves for not taking advantage of whats been given to us already!
if we make games, Brian will give us more to work with. if we dont, we cant just sit here waiting. if you want to make a game, make a game!!

Mega Tokyo SCI Archive / Re:Kings Quest IV
« on: September 27, 2004, 08:35:11 AM »
robin is right. right now, it's not possible to edit scripts for KQ4 QfG1 SQ3 etc...but i think there are open source versions of pretty much all the fan-made sci i right? brian's lockergnome quest has an open source download...i think that my quest for the cheat is open source...i think that you can get al pond 2 in open source also.
find lockergnome here:
quest for the cheat:
al pond 2: - al pond 2 - source
hope that helps

Mega Tokyo SCI Archive / Re:Undefined Symbol "var"
« on: September 26, 2004, 10:24:46 AM »
i put this into a game and it didnt keep popping up: what code did you use and does it image what ive got here?
Code: [Select]
(method (handleEvent pEvent)
        (var dyingScript, button)
            = button Print(
            "Do you want to click Yes or No?"
            #title "Click What?"
            #font LARGE_FONT
            #button " Yes " 1
            #button " No " 0
            (if(== button 1)
                Print("You clicked YES")
                Print("You clicked NO")

Mega Tokyo SCI Archive / Re:Undefined Symbol "var"
« on: September 26, 2004, 09:45:03 AM »
yeah...thats the problem - define the variable like this:
(method (handleEvent pEvent)
        (var button)
then put the (if(Said('blah'))
                  = button Print("Blah")

Mega Tokyo SCI Archive / Re:Undefined Symbol "var"
« on: September 25, 2004, 03:42:51 PM »
where did you put (var button)?

Mega Tokyo SCI Archive / Re:A little sound advice
« on: September 24, 2004, 11:27:17 AM »
i wonder, you said that the changestate cycles went by too quickly after the switch...instead of cycles could you use seconds? just a thought...
and i only offered that idea because i dont know the answers to your real questions :P

Mega Tokyo SCI Archive / Re:Script Depository
« on: September 19, 2004, 10:11:35 AM »
i think if you download my game "quest for the cheat" that you can open up the scripts and look at them - i think...can anyone verify that...i think that its open source, but im not completely sure...but my scripts are pretty basic and not very advanced - i use the same old "tricks" you might say.
also, you could download an open source version on brian's short game "lockergnome quest" and you could look at some of the scripts there too.
hope that these help.

Pages: [1] 2 3 ... 43

SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.04 seconds with 20 queries.