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

Pages: [1]
1
Mega Tokyo AGI Archive / Re:does no one know how to control speed?
« on: August 20, 2004, 07:22:27 AM »
Thanks Alot man i've been trying to get that for ages, i'm forever indebted to you, if theres anything i can help you with i'll be happy too. I'd like to help with Half - Death but i couldnt do very much at the moment, but if theres anything you'd like me to do, like ideas & doing the english explannation again i'd very happy to just ask

Thanks again  ;D

2
Mega Tokyo AGI Archive / Re:does no one know how to control speed?
« on: August 18, 2004, 05:45:54 AM »
Come on someone? how the hell does anyone do animations without knowing how to control their speed, you must of all done animations before?

3
Mega Tokyo AGI Archive / does no one know how to control speed?
« on: August 14, 2004, 10:37:54 AM »
how the hell do you make an animation run a different speed to the cycle delay of the interpretor? someone must of done it at some point, but no one seems to know how to do it.

the step.time command doesnt work the only way to slow down an animation is to change the cycle delay but then everything slows down.

Surly someone out there must know how to change speed ?

4
Mega Tokyo AGI Archive / Re:AGI Studio walking-area help
« on: August 09, 2004, 05:26:56 PM »
Hey thanks man its helpful when people actually explain stuff like that, i did wonder if water just meant that you had to be in the outlined area as i tried the green line & i did find you had to be standing exacting on it whilst saying the command.

yeah theres more to my game than it just printing a line back to you when your in that space & you throw the thing & the object so i think i can figure all the animation & resetting of flags, I've done it before so shouldn't be too hard, i don't mind the actual flags its just doing animations, all the resetting of flags gives me a headache, well especially if your logic is complicated.

Anyway thanks again Mysterious Chicken

5
Mega Tokyo AGI Archive / Re:AGI Studio walking-area help
« on: August 09, 2004, 03:24:48 PM »
Hi what i want to do is have an animation happen to different ways if your in different positions.

For example you have to throw something at an object but if your standing too close it bounces back & hits you.

So i've draw a GREEN priority line around the object, so does this mean that if the character is standing within that line it will set a trigger automatically ? is that what the green priority line does ? & what would be the flag for that ?

because i see is :

flag 0 = ego_on_water
flag 1 = ego_hidden
flag 2 = input_received
flag 3 = ego_touching_signal_line

but none of those are the green trigger priority line are they?

f235 would have to be set for this action to happen in my game so how wud i go about writing the logic?

would it be something like :-

if(isset(f235)) {
if(isset(f???)) {  // ego walked over green priority line
print("oww my eye");
}
}

Thanks

6
Mega Tokyo AGI Archive / Re:Need help making a game
« on: August 06, 2004, 02:25:14 AM »
Hi yes i've read all about step time but i dont know how to use it, what do you do when you need an animation to run slower?

7
Mega Tokyo AGI Archive / Re:Need help making a game
« on: August 04, 2004, 01:41:20 PM »
Hey thanks for digging all that info out for me but unfortunately I've already read it all  :P

I'm using cycle delay which works fine but it slows down the speed of the interpreter as well as the animation & I'm wondering if that is a bad thing?

Theonly other way I can get the animation to go slower is to create duplicate cells so it appears to run slower without having to change the interpreter speed, but theres a limit to how many cells you can use in a loop  :-\

Another thing I'm aware of is this step time command, I've been told to use that but have no idea how to  :'(

Can you help with this? Thanks again for getting back to me

8
Mega Tokyo AGI Archive / Re:Need help making a game
« on: July 27, 2004, 04:09:08 PM »
Hey Kon Tiki i dont know wether this is any relevance to what you explained about the triggers but i want to know how to set the speed of an animation.

i've been trying to use step.time(o2,v245); then v245 = 6;

but i've had no sucess, should i be using this if so how exactly?


heres an example of the code i'm using at the moment :-

  if(isset(f253)) {  
  get.posn(o0,v253,v254);
  erase (o0);
  load.view(41);
  set.view(o11,41);
  position(o11,39,99);
  cycle_delay = 6;
  animate.obj(o11);
  draw(o11);
  end.of.loop(o11,f254);
  reset(f253);
  }


i'm using cycle_delay which works but i dont think its the right thing to be using can you help ?

Thanks

9
Mega Tokyo AGI Archive / Re:Half-Death: terror at White-Mesa
« on: July 25, 2004, 09:31:31 AM »
Hi Half death is cool as a fan of half life myself i'm really impressed by this demo. I have a suggestion if you dont mind i re-wrote some of the english for half death & made some explannations that you might not know how to put across to help english people understand how to use the interface. You can download the zip at http://binky-what-the-f-ck.ihatemimes.com/AGI/half death.zip, i added a little something just for a laugh i hope you enjoy it. Please get back to me & tell me wether you like it or have I just insulted your english  :-\ ? if you like it i would be happy to do more  ;D

10
Mega Tokyo AGI Archive / Re:Need help making a game
« on: July 10, 2004, 03:26:33 PM »
Hi thanks for the help so far i almost got that working but i think i need to study flags alot more, I've just started re-writing all my logic & i still have no idea how to use flags without them interferring with other flags.

For example if I simply want to make a command to say a different thing when you look at the chest depending on wether it is open/closed/ has been opened then closed or the box is on top of it:

if (isset(f250)) {
  erase(o1);
  load.view(2);
  set.view(o2,2);
  position(o2,32,99);
  animate.obj(o2);
  draw(o2);  //  remove box/load chest command
  }

if (said("remove","box")) {
set(f250);
print("o.k");
}

if (said("open","chest")) {
erase(o2);
set(f249);
}

if (said("look","chest")) {
  if (posn(o0,27,77,57,104)) {
    if (isset(f250)) {  // box removed/chestloaded
      show.obj(50);  // close up of chest
      }
      else {
        if (isset(f249)) {  // chest open
        print("There is a small box inside the chest");
        }
      else {
        if (isset(f28)) { // chest has been opened & then closed
        print("you reclosed the chest, for some reason");
        }
    else {
    print ("There is a box on top of the chest");
    }
    }
    }
  else {
  print("Your not close enough to see it cleary");
  }
}


So basically what is happening is that when you remove the box from the chest & then try to open the chest it will not delete the chest view & load the open chest view, this is because (f250) is set when you remove the box. Removing the box command has to come before opening the chest because you cant get to the chest if the box is there, so if this flag is always set then how can you open the chest.

Hope you understand what i'm talking about I'm sure you will can you explan flags more simplistically, Thanks

11
Mega Tokyo AGI Archive / Re:Need help making a game
« on: July 05, 2004, 04:29:56 PM »
Hi Thanks I'm really starting to get this now, I think the one thing I can't get to work is something I forgot to mention. If the animation has taken place already & you type 'use key chest' again straight after like twice in a row then I want to get the reply "you've already done that" but I can't seem to successful put it into the code I think it may be something with reseting F151 - the running of the animation but I'm not sure, can you see where it would go?

12
Mega Tokyo AGI Archive / Re:Need help making a game
« on: July 04, 2004, 02:44:16 PM »
Hey thanks a lot that was really helpful, i understood most of what you said but its always hard to understand on a forum lol. I think that what your saying about the variables is that you can only have one active at a time is that what you mean? I understand that a flag is either set or not set but for some reason i have never got any to work un till now

So if you can use flags for the sort of thing i am doing what would you use a variable for? would you use if for something like if the player says 'look at object' then show a close up of it ? i suppose you could set a flag for that though which gives a different reply if they don't have the object.

Anyway thanks again you've really helped me, but I'm stuck on one thing now, the actual animation. Before i had v253 == 6 & a flag to go with it which were :-

  if (v253 == 6) {
  get.posn(o0,v253,v254);
  erase (o0);
  load.view(40);
  set.view(o10,40);
  position(o10,38,81);
  cycle_delay = 6;
  animate.obj(o10);
  draw(o10);
  end.of.loop(o10,f50);  // chest animation
  }

  if (isset(f50)) {  // chest animation flag
  erase(o10);
  load.view(0);
  set.view(o0,0);
  position.v(o0,v253,v254);
  animate.obj(o0);
  draw(o0);
  erase(o1);
  load.view(2);
  set.view(o2,2);
  position(o2,32,99);
  animate.obj(o2);
  draw(o2);
  cycle_delay = 1;
  stop.motion(o0);
  player.control();
  reset(f50);
  }

I think i have to change v253 == 6 to if (isset(f50), but i cant make this all into one flag can i, because if i put anything after end.of.loop it doesn't seem to work well it didn't before. The animation isn't working at all now though it just skips to the end of the animation where the chest has been opened with the key & then if you input ' use key chest ' nothing happens, but it should say ' you've already done that '

Have you got any idea what i could have missed or why it wont work?

Thanks

13
Mega Tokyo AGI Archive / Re:Need help making a game
« on: July 04, 2004, 03:35:35 AM »
When I put the ' ! ' in all off the isset logic happens in the game. o10 gets deleted another ego gets loaded & youcant move properly.

Could you copy & paste my logic & show me where exactly to put the commands because i'm not sure i understand. I dont know a great deal about programming, i know how to do basic things but i'm not confident how they work

Thanks

14
Mega Tokyo AGI Archive / Re:Need help making a game
« on: July 03, 2004, 07:05:33 PM »
Hi thanks for the quick reply I tryed a few things but I still dont get what you mean, or where to change the code mainly.

How would i use v253 == 6; & v253 == 7; at the same time i dont understand where to put the code  :-\

& what do you mean by putting if(!isset(f55); ? what does the ' ! ' do?

Thanks for your help

15
Mega Tokyo AGI Archive / Need help making a game
« on: July 03, 2004, 01:44:36 PM »
Hi I haven't been making a game for very long, most problems I've had I've worked out on my own but there are some that I cant work out because I don't know enough about the interpreter yet.

What I'm stuck with at the moment is the use of animations, my logic seems to be fine but as soon as i apply the logic for the animation, the normal logic doesn't work properly.

For example I'm trying to make an animation for the ego to use a key to open a chest, but the ego has to be in a certain position with possession of the key & has already done the action of moving a box from the top of the chest so it can be opened. Heres what I've done so far :-


if (said("use","key","chest")) {
  if (posn(o0,27,77,57,104)) {
    if (v253 == 4) {  // boxes removed from top of chest
      if (has("key")) {
        v253 = 6;  // ego opening chest animation
        }
        else {
        print("You don't have a key");
        }
        }
        else {
          if (v253 == 1) {  // chest already open
          print("You already opened the chest");
          }
          else {
          if (v253 == 5) {  // chest has been closed before & is currently closed
          print("You open the chest again");
          v253 = 1; //  open's the chest without using the animation
          }
    else {
    print("There is a box on top of the chest, you must move it first");
    }
    }
    }
    }
  else {
  print("Your not close enough");
  }
}


The above code works fine, but as soon as I add the animation logic below :-


  if (v253 == 6) {
  get.posn(o0,v253,v254);
  erase (o0);
  load.view(40);
  set.view(o10,40);
  position(o10,38,81);
  cycle_delay = 6;
  animate.obj(o10);
  draw(o10);
  end.of.loop(o10,f50);  // animation of ego opening chest
  }


  if (isset(f50)) {  // animation of ego opening chest
  erase(o10);
  load.view(0);
  set.view(o0,0);
  position.v(o0,v253,v254);
  animate.obj(o0);
  draw(o0);
  erase(o1);
  load.view(2);
  set.view(o2,2);
  position(o2,32,99);
  animate.obj(o2);
  draw(o2);
  cycle_delay = 1;
  stop.motion(o0);
  player.control();
  reset(f50);
  }

When you use the command 'use key chest' after you have opened the chest with the key, instead of saying getting the reply "you've already opened the chest", you get "There is a box on top of the chest, you must move it first". Has anyone any idea why this is happening?

Pages: [1]

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

Page created in 0.019 seconds with 14 queries.