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 - AndyPanda

Pages: [1] 2
1
Mega Tokyo SCI Archive / Re:A little problem
« on: July 02, 2004, 06:09:02 PM »
I found out the solution to this one yesterday (or something similar at least). A friend of mine tried to play an early version of my game, and it just freezed right after the title screen. Same happened with other games made in SCI studio. It turned out that the problem was that he used a USB mouse and keyboard. When he switched over to ps/2 (using converters), it was OK. I don't know if this is covered somewhere else on the forum, I couldn't find it at least.

Andreas

2
Mega Tokyo SCI Archive / Re:Automatic doors
« on: June 27, 2004, 06:13:22 PM »
Just a little misunderstanding from my part. It worked at last. Thanks guys!

3
Mega Tokyo SCI Archive / Automatic doors
« on: June 27, 2004, 02:51:29 PM »
Hi again...
Is there anyone who have a smart way to make automatic sliding doors? I have this:

 (method (doit)
 (super:doit())
    (if(== (send gEgo:onControl()) ctlNAVY)
        (aDoor:(open))
    )(else
    (aDoor:(close))
    )
)

...which obviously doesn't work, since the doors will open constantly while ego is on the Navy control color, and because of that goes into a loop  :P


4
Mega Tokyo SCI Archive / Re:Vocab.000
« on: June 24, 2004, 03:53:21 AM »
Yay, it worked. It seems like there was some sort of bracket misplacement somewhere. I put the code further up in the script, and voila. I still haven't figured out what caused it though  ;)

5
Mega Tokyo SCI Archive / Re:Vocab.000
« on: June 24, 2004, 02:22:50 AM »
I tried that, but it didn't work. I've tried putting it in it's own group as Imperative verb, indicative verb, and both. If I put it along with "use" it worked (indicative verb), but then "use" equals "call"  :D That doesn't work so well, hehe.

6
Mega Tokyo SCI Archive / Vocab.000
« on: June 24, 2004, 01:46:03 AM »
Hey!
I can't find a way to get the word "Call" understandable by the game (I.E. "Call man"). I set is as indicative verb. But when I use it, in this case with a telephone, the game doesn't understand it. "Use" works, and that is indicative verb too, so I don't understand why this doesn't work. What did I miss?

7
Mega Tokyo SCI Archive / Re:Quotation marks
« on: June 23, 2004, 02:49:09 AM »
Thanks a bunch Chris, it worked. I feel a little stupid for asking so much, but then again I'm sure someone else will have use for it sometime  :)

8
Mega Tokyo SCI Archive / Quotation marks
« on: June 23, 2004, 02:19:51 AM »
Again, sorry for flooding the board here. But this is the last way out after hours of trying. Is there any way to have use the character " in a sentence in my game? For instance: Print("This is an "ironic" sentence"). Of course this will not work, since that character is used in the print-command. But the character is in the font, so it's gotta be possible to use it, right?

9
Mega Tokyo SCI Archive / Re:States
« on: June 23, 2004, 12:52:35 AM »
I finally came up with something that worked (thanks, cloudee). I used the changestate in the roomscript, and used some variables. Much harder, but it works  ;D  But something tells me I'll have to find a better way to do it later on, since this example is a fairly simple one.  

10
Mega Tokyo SCI Archive / States
« on: June 22, 2004, 07:40:27 PM »
I read through the help file and the tutorial, and I still don't fully understand how to use states. Sorry if I'm asking too much on the board, but I really tried hard on this. Here's the script that I'm struggling with. I can't get it past case 1. I have the cycle property set on case 1, so I don't understand why it won't go any further:

/*
TV-SEQUENCE
*/
(instance TVSEQ of Script
 (properties)
 (method (changeState newState) = state newState
 (switch(state)
 
(case 0
Print("Let's see if I'm lucky tonight." #title "You say:")
(send gEgo:
    setMotion(MoveTo 250 98 TVSEQ))
= cycles 10
)
(case 1
SetUpEgo(1 20)
(TV:
        init()
        setCycle(Fwd)
        cycleSpeed(5))
= cycles 20
)
(case 2
Print("...and tonight one lucky person will win the first price in the <clever name here>-lottery.)")
Print("If you have number 291839 on the back of your lottery ticket, please call 1-800-3518 now!")
Print("Your reach inside your pocket, and pick up the lottery ticket.")
= cycles 15
)
(case 3
Print("I WON!!!"#font LARGE_FONT #title "You say:")

    )
   )
  )
 )

By the way, I use this to get there:

(if(Said('watch/tv'))
(if(send gEgo:has(INV_TICKET))
(TVSEQ:cue(state))
)(else
Print("There's nothing but soap operas on right now, so you decide not to.")
)

Andreas

11
Mega Tokyo SCI Archive / Re:A little problem
« on: June 21, 2004, 03:18:19 PM »
Ok, I know this thread is half a year old, but anyway...MSN messenger causes SCI games to minimize (on message or reconnect), and even quit sometimes, without a error message. It's only happened with fan made games this far (though I use my 486 for older games, so it would probably happen with Sierra games too). I don't know if it's just here, or if it is a general problem.

12
Mega Tokyo SCI Archive / Re:Variables and such...
« on: June 17, 2004, 01:49:49 PM »
Still nothing  :-\ I get so frustrated, cause this is really important for the game. Here's the roomscript, I stripped it down just to test that thing:

/******************************************************************************/
(include "sci.sh")
(include "game.sh")
/******************************************************************************/
(script 6)
/******************************************************************************/
(use "controls")
(use "cycle")
(use "door")
(use "feature")
(use "game")
(use "inv")
(use "main")
(use "obj")
/******************************************************************************/


(instance public rm006 of Rm

13
Mega Tokyo SCI Archive / Re:Variables and such...
« on: June 17, 2004, 11:58:08 AM »
That didn't seem to work either, I'm afraid. Where in the main.sc should I put = FIRST_TIME_IN_SHOP TRUE? It's like the variable refuses to become false  :-\

14
Mega Tokyo SCI Archive / Re:Variables and such...
« on: June 16, 2004, 11:34:49 PM »
Ah, I actually saw that from an older post in the forum  :P But anyway, I can't get it to work. I have a variable called FIRST_TIME_IN_SHOP set in the main script. Then I have set it to true in the room script. When the dialogue I put in is finished, I have a =FIRST_TIME_IN_SHOP FALSE. Anyway, when I enter the room again, it still processes the whole dialogue again. I don't understand this. Could you give me an example? Sorry if I ask stupid questions here, but I can't seem to get the grip of this  :)

15
Mega Tokyo SCI Archive / Variables and such...
« on: June 16, 2004, 09:21:39 PM »
I just wanted to know if any of you have any advice on the following:
I want a certain thing to happen only the first time I enter a room, and never again. I've made a state-method with all the action in, and so far so good. I also made a variable that becomes false once the animation is over. My problem is that whenever I exit the room and return, the variable of course is set to true again. How can I do this, anyone?

Pages: [1] 2

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

Page created in 0.055 seconds with 20 queries.