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

Pages: [1] 2 3 ... 23
1
Mega Tokyo AGI Archive / Re:NPC
« on: October 11, 2004, 11:45:19 AM »
I suppose you know how to load a view and set it to a object. Then just use:

start.cycling(object); //will start the animation (walking)
move.obj(object, x, y, step, flag);  

x & y are the positions to walk to. When char. reaches that point the glaf is set. The step is a number that shows how many pixels it will move in one cycle. Usually it's 1.

to check if player reached the x & y, use:

if(isset(flag)){
reset(flag)
stop.cycling(object);
print("You have reached your destination.");
}


-Eigen


2
Mega Tokyo AGI Archive / Re:Need a little help..
« on: October 08, 2004, 09:11:15 AM »
Replace the 128 and 125. It should be:

if(posn(o0, left edge x, top line y, right edge x, bottom line y)


-Eigen

3
Mega Tokyo AGI Archive / Re:AGI Contest 2
« on: October 03, 2004, 07:09:31 AM »
I'm in! Although school makes me quite busy, I'll try to work harder than last time.



-Eigen

4
Mega Tokyo SCI Archive / Re:Script Depository
« on: September 19, 2004, 10:58:57 AM »
Yes, there should be new tutorials. I could write one, but what should be covered in it?



-Eigen

5
Mega Tokyo SCI Archive / Re:Creating Game Help
« on: September 06, 2004, 11:23:36 AM »
That would be quite easy to make. Open up main.sc  and scroll down to

(instance statusCode  of Code
   (properties)
....

Then just replace the Format with:

Format(param1 " Health: %d   Food: %d   Weight: %d  " healthVar foodVar weightVar)

or something like that. The healthVar, foodVar and weightVar are global variables contain the values you need to show. Is this what you mean?


-Eigen

6
Mega Tokyo SCI Archive / Re:Moving the ego without intervention
« on: August 14, 2004, 05:24:29 AM »
Put

ProgramControl() before the (send gEgo:setMotiion... to prevent player from walking on it's own. And after it has reached the point, use PlayerControl()


-Eigen

7
Mega Tokyo AGI Archive / Re:Problem Starting New Game From Template
« on: August 05, 2004, 01:31:32 AM »
I get this error too, but just go to your AGI Studio folder and copy the Template folder where you want to put your game. And thne just open it in that location.



-Eigen

8
Mega Tokyo AGI Archive / Re:Upcoming AGI Contest Rules
« on: July 30, 2004, 10:48:02 AM »
So drawing the intro screen with the name of the game on is not allowed? Plain text?


-Eigen

9
Mega Tokyo SCI Archive / Re:errors galore and frustration high
« on: July 22, 2004, 07:38:21 AM »
The USB keyboard and mouse may only cause problems in-game, not in SCI Studio itself.

I used to have win98 too, and it crashed in the editors after about 30 minutes. But since I switched to XP, all the problems are gone. I was one of the ugh-XP,-that-like-totally-sucks-I'm-never-going-to-use-that-stuff-ugh guys, but it's actually very good.

Have you tried older versions of SCI Studio to see if it crashes less. There may be an version that works for you.


-Eigen

10
Mega Tokyo SCI Archive / Re:LOOK
« on: July 20, 2004, 07:38:31 AM »
  (if(Said('look>'))
  (if(Said('/door'))
  Print("It's a door.")
  )
  (if(Said('/man'))
  Print("It's a man.")
  )
  (if(Said('/anyword'))
  Print("It's not here.")
  )
  (if(Said('[ /* , !* ]'))
  Print("You're in the blue room.")
  )
  )


-Eigen

11
Mega Tokyo AGI Archive / Re:Some logic problems....
« on: July 20, 2004, 06:05:00 AM »
Hey!


v11 = 0; //will equal seconds to 0
load.view(x);
set.view(o1, x);

//other view set up stuff here //

stop.cycling(o1);

if(v11 == 2){ // if 2 seconds have passed
end.of.loop(o1,f100); // sets flag 100 on when loop has ended
v11 = 3; //will equal seconds to 3, because otherwise it would jerk until 1 second has passed (it causes a loop until seconds is not 3)
}

if(isset(f100)){
reset(f100);
set.loop(o1, 1); // the second loop
end.of.loop(o1,f101);
}

if(isset(f101)){
reset(f101);
set.loop(o1,2); // the third loop
end.of.loop(o1,f102);
}

if(isset(f102)){
reset(f102);
set.loop(o1,3); // the last loop
start.cycling(o1); // will loop over and over
}


Don't have time to write the code for poopoo at the moment. ;)


-Eigen

12
Mega Tokyo SCI Archive / Re:LOOK
« on: July 20, 2004, 05:49:20 AM »
 ;)

 (if(Said('/door')) << ".. but if I write "look dog" ...  "


-Eigen

13
Mega Tokyo SCI Archive / Re:legality of selling games
« on: July 20, 2004, 05:47:49 AM »
But the question is, would anyone buy it?

Why would they buy your game when there are a lot of adventure games with better graphics and sounds and stuff that SCI can produce, and all for free.

Unless your game has something unforseen, something so revolutionary that people just have to buy it.



-Eigen

14
Mega Tokyo SCI Archive / Re:Ego properties
« on: July 14, 2004, 01:46:07 AM »
Hi!

You can user xStep and yStep

(send gEgo: xStep(4) yStep(4))  //now it moves 4 pixels at time


-Eigen

15
Mega Tokyo AGI Archive / Re:Need help making a game
« on: July 03, 2004, 02:04:27 PM »
Hi!

Maybe try replacing v253 = 6; with some other variable, example, v252 = 6;, because it seems that if it's not equal to 1 (already open) or 5 (being opened), then all that's left is to print  "There is a box ..."

And I'm quite sure that  

if (v253 == 6) {
get.posn(o0,v253,v254);
..
}
would cause an infinite (never ending) loop. It should be

if (v253 == 6) {
v253 = 7;
...

or

if (v253 == 6) {
if(!isset(f55)){
set(f55);

..
}
}

Hope this helps in any way.

-Eigen

Pages: [1] 2 3 ... 23

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

Page created in 0.032 seconds with 20 queries.