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 - Robert Eric

Pages: [1] 2 3 4
1
Mega Tokyo SCI Archive / Re:New instance to run event cases
« on: March 16, 2004, 04:01:08 PM »
It DOES work, but I was hoping to be able to use it in it's own instance.  I guess this will do for now, until I can figure it out on my own.  Thanks cloudee.

2
Mega Tokyo SCI Archive / Re:New instance to run event cases
« on: March 15, 2004, 04:02:12 PM »
I thought it was supposed to run the next case no matter if you have an actor move, animate, have a sound play, Print(), or Display() something?  I have those Print() functions to test that theory.  It works in the RoomScript instance, but if it can't do the same in a seperate Script instance, then that really bytes.  I mean, bites.

Edit: Actually, I put it in RoomScript, but it didn't work.  He moved to 50, 50, then stopped, and nothing happened.

3
Mega Tokyo SCI Archive / New instance to run event cases
« on: March 15, 2004, 07:14:53 AM »
I've been trying to use an instance of Script to run my cases instead of RoomScript, to keep things in order.  I have:

In RoomScript

(if(== (send gEgo:onControl()) ctlGREEN)
  (if(Said('talk'))
    (send gEgo:setMotion(MoveTo 50 50 moveScript))
  )
)

In it's own instance

(instance moveScript of Script
    (properties)
    (method (changeState newState)
        = state newState
        (switch (state)
            (case 0
                Print("He moved.")
                = cycles 10
            )
            (case 1
                Print("He's still there.")
                = cycles 10
            )
            (case 2
                Print("The view has moved to it's first position!")
                = cycles 10
            )
        )
    )
)

When I'm on the green control, and I type "talk", he walks to 50,50, but then nothing happens.  Any ideas?

4
Mega Tokyo SCI Archive / Re:Scaling
« on: March 08, 2004, 04:31:44 PM »
I think scaling is interpreter dependant.

5
Mega Tokyo SCI Archive / Re:FormatPrint Kernel
« on: January 15, 2004, 04:03:14 PM »
Code: [Select]
Format(strText "Grostesteing. Tu es cond*mne a %d ans de prison. La soif de la conquete de Grostesteing se termine ici." prison1 73 2 0)
Print(strText #title)

You have one %d and four variables after it.  That might be the problem.  Did you add your own title after #title?  It should read like '#title "sometext"',  sometext being your title.

6
Mega Tokyo SCI Archive / Re:FormatPrint Kernel
« on: January 14, 2004, 09:36:32 PM »
Code: [Select]
Format(strText "Grostesteing. Tu es cond*mne a %d ans de prison. La soif de la conquete de Grostesteing se termine ici." prison1 73 2 0)
Print(strText #title)

Something like that, I think.  Use format to create the string that will hold the string with variables, then use Print to display the string using the #title parameter.  Try that.  

7
Mega Tokyo SCI Archive / Re:BG for Critique...
« on: January 06, 2004, 07:54:35 PM »
The right house looks a bit off compared to the other one.  It seems a little absent of detail; is it just a temporary placeholder?

8
Mega Tokyo SCI Archive / Re:NEW RPG/Adventure GAME!!!
« on: January 05, 2004, 06:55:53 AM »
Sure, and then after a week or so of hype and excitement, you'll cancel the project.  I'm just glad to see you're wasting time here and not at the AGS forums.

9
Mega Tokyo SCI Archive / Re:Sound samples in SQ3?
« on: December 31, 2003, 03:25:31 PM »
Lars, I have a domain you can put them on.  It's at http://www.rain-day.com.  What's your email address?  I'll set you up an account to use.

10
Sorry, you were right.  I was only checking the angle after I pressed up, right, page up etc. and not with mouse clicks.

11
Oh, wait...are you Brian?  I didn't recognize you since you're not using your member name.  Sorry about that.  I now have my script checking for the in between values...why didn't you tell me you were...you?  I wouldn't have questioned you, but done anything to the script you wanted me to @_@

12
Why?  The heading/angle property is never set to anything between those values.  Add this to rm001.sc and see:

Code: [Select]
 (if(Said('run'))
    FormatPrint("%d" (send gEgo:heading))
  )

13
Hm, at the moment, if you click somewhere to move the Ego, it will not use the right loop.  I haven't the time at the moment, so if anyone can tidy that flaw up for me, please do.  Thanks.  If no one has by the time I get back, I'll do it.

14
Mega Tokyo SCI Archive / How to use multi-directional views in your games
« on: December 05, 2003, 12:30:15 AM »
In the cycle.sc file, go to (class Motion of Obj and you should find DirLoop there sitting all by itself.  Remove that, and add something like this:

Code: [Select]
           (if ((== (send client:heading) 0) or (== (send client:heading) 360))
                (send client:loop(3))
            )
            (if (== (send client:heading) 90)
                (send client:loop(0))
            )
            (if (== (send client:heading) 180)
                (send client:loop(2))
            )
            (if (== (send client:heading) 270)
                (send client:loop(1))
            )
            (if (== (send client:heading) 135)
                (send client:loop(4))
            )
            (if (== (send client:heading) 225)
                (send client:loop(5))
            )
            (if (== (send client:heading) 45)
                (send client:loop(6))
            )
            (if (== (send client:heading) 315)
                (send client:loop(7))
            )

What this does, is takes the heading property from the referred object and test it against the 8 angles, 45, 90, 135,180, 225, 270, 315, and 360.  0 and 360 will both equal up.  I used a view from Codename: Iceman to test this out, so use your own loop numbers, if they're different.

P.S. Excuse me if this has already been covered.

15
Mega Tokyo AGI Archive / Re:Visual AGI Picture Editor - Final Build 1407
« on: November 18, 2003, 03:29:38 PM »
Joakim, are you using C#, J#, C++, or BASIC in .NET for Visual AGI Picture Editor?

Pages: [1] 2 3 4

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

Page created in 0.045 seconds with 20 queries.