Author Topic: Newb  (Read 9909 times)

0 Members and 1 Guest are viewing this topic.

Offline Zagrijs

Newb
« on: May 12, 2004, 12:10:34 PM »
Where can I find Agi tutorials ?



Kon-Tiki

  • Guest
Re:Newb
« Reply #1 on: May 12, 2004, 12:15:57 PM »

Offline Zagrijs

Re:Newb
« Reply #2 on: May 13, 2004, 12:27:26 PM »
Thanks it realt helped

Can someone just tell me which colour represents which priority number.

Joey

  • Guest
Re:Newb
« Reply #3 on: May 13, 2004, 02:40:44 PM »
it should say in paint. when you click on a color, a number should come up not too far away, i forget where. but it will say there. i think its next to P. i dont remember.

Kon-Tiki

  • Guest
Re:Newb
« Reply #4 on: May 13, 2004, 04:53:05 PM »
For priorities:
Black = Unwalkable
Darkblue = Unwalkable, but can be turned off.
Darkgreen = Sets/resets Flag 3
Cyan = Sets/resets Flag 0

Offline Joel

Re:Newb
« Reply #5 on: May 14, 2004, 06:19:07 AM »
The priority colors correspond directly in number to the colors in the color palette. Starting with black as 0, if you can't find the display that tells you which color goes with which priority (it is, in fact, next to the P in PicEdit -- and the Visual AGI Picture Editor tells you beside the color when you select it), you could always count the colors to find out which color goes with which priority.

Offline Zagrijs

Re:Newb
« Reply #6 on: May 16, 2004, 11:04:42 AM »
Thanks

I want to let ego when he turns on a computer be able to view a number of files with info.

Offline Zagrijs

Re:Newb
« Reply #7 on: May 16, 2004, 01:20:51 PM »
Thanks for the tutorials

There aren't much on scripting. I got a tutorial on items and doors and the basic structure of a room but not much more. Most of the others weren't complete and didn't tell me much.

Offline Andrew_Baker

Re:Newb
« Reply #8 on: May 19, 2004, 11:58:47 PM »
The best way is to download source code and have a look at it.  You can get the code for Voodoo Girl:  Queen of the Darned from www.voodoogirl.cjb.net.  This includes the actual game, graphics, sound, etc.

I'm sure there are other examples out there, as well.  Everyone who posts on this board is intelligent and helpful.  Ask for code to look at, or where to find tutorial *code*, and you will probably receive.

BTW, if you have any difficulty deciphering my code (it's not the most well-written, although some of it is clever ::) ), you can message me through this site or my website or e-mail (failrate <at> hotmail <dot> com)
I hope you realize that one day I will devour the Earth.

Offline Zagrijs

Re:Newb
« Reply #9 on: May 20, 2004, 12:57:13 PM »
Thanks

Do I have to download source code or can I look at the code through Agistudio.

Look for learning not changing

Offline Zagrijs

Re:Newb
« Reply #10 on: May 22, 2004, 01:51:17 AM »
Okay how can I let a character sit?

I think I should first draw a view of ego sitting.

Then if ego is in the right position and enters sit. I want to hide the view of ego standing and display the view of ego sitting in the right position.

Basically how do I hide a view of ego and load another view of ego

Kon-Tiki

  • Guest
Re:Newb
« Reply #11 on: May 22, 2004, 06:09:27 AM »
Code: [Select]
load.view(1);
set.view(ego,1);
This's where 1 is the sitting view. Off course, you'll have to turn off walking around too, but leave parsing in, or he'll be walking like a freak ;D

Offline Zagrijs

Re:Newb
« Reply #12 on: May 26, 2004, 12:08:17 PM »
Thanks I don't understand the position.How do I get ego position right.

Kon-Tiki

  • Guest
Re:Newb
« Reply #13 on: May 26, 2004, 02:01:24 PM »
Hmmm... I'll have a look at the sourcecode of Little Pirate. Ego's doing the exact same thing there.
Code: [Select]
if (said("sit","rol")) {
  if (posn(o0,84,73,102,93)) {
    if (!isset(f100)) {
      print("You sit down.");
      erase(o0);
      set.loop(o2,1);
      end.of.loop(o2,f100);
    }
    else {
      print("You try to sit down twice, but just hurt yourself. You're not "
            "bendable enough.");
    }
  }
  else {
    print("Your tuchy's not THAT big.");
  }
}
if (isset(f100)) {
  stop.cycling(o2);
}
And man, is it weird seeing that old code again.

if (said("examine","a","sink")) {
  print("Dirty dishes are everywhere.");
}
What the hell's that "a", doing there? ???

Offline Zagrijs

Re:Newb
« Reply #14 on: May 27, 2004, 04:38:08 AM »
What I don't understand is how the posn(84,73,102,93)
works.
How do you know what do make it.


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

Page created in 0.076 seconds with 20 queries.