IDEAS: To describe the props in a scene, you need two kinds of files:-
"bit map" files (with name extensions .bmp), just like characters have; and-
"prop" files (with extension .prp) for each scene that has props in it.
The bit-map files are stored in the OBJECTS directory, along with the characters you studied in the last lesson. The prop files are stored in the SCENES directory, along with the scenes they start out in.
OUTCOMES: At the end of this lesson, you will have created a collection of eggs for your dino, and a prop file to install some of your eggs in your world. You will also experiment with the behavior of the Arrow, and maybe use its behavior as a starting point for a new dinosaur behavior.
WHAT YOU NEED: Dino4.wld. Copy it from your WORLDMAS folder if necessary.
Read the instructions, then do each instruction.
For props, it is important that you draw them with the right kind of background and size.
If you're using Paint Shop Pro (PSP):
Go to the FILE menu of Paint Shop Pro and select NEW.
Set your new drawing's size to 60 x 60.
Each scene in a world that has props, must have a "prop file". This is a list of the stuff in that scene. We're going to put our eggs into the scene in the dinosaur world, which is called Prairie.
1 - It has only one "pose" or shape. Thus, it can't be animated.
775 - It is located 775 units from the left side of the screen (the whole screen is 1000 units wide.) This is called the X Coordinate.
750 - It is located 750 units down from the top of the screen; this is called the Y Coordinate.
Change the word "kettle" to the word "eggs".
(Why did we name our eggs-picture, "EGGS1.BMP"?)
(The '1' means that this is the first (and only) pose for the eggs. And the .BMP means that it's a "bit-map" - that is, the kind of picture ExploreNet understands.)
Uh, oh. They can't be picked up. Something's wrong? Indeed there is.
Behavior Files for Props
The eggs don't yet have a "behavior file." They are just sitting there, and cannot even be picked up. We need to go find the kettle.beh file, and change it to eggs.beh.
We wouldn't want to put all our eggs in one basket, would we? That is, we want to plant our eggs in several places, to help prevent raptor capture (that's hard to say...) So, let's go back to the PRAIRIE.PRP file.
If you have time today, you need to design eggs and a background scene in which they can be carefully camouflaged. Think about birds' eggs: some are brown, with spots- to blend into twiggy nests. Some are blue (I wonder why?)
How are you going to hide your eggs? Don't let the raptors know your techniques!
Use the Arrow to find the (X, Y) location you would like to use for the eggs. Then make a .prp file for that scene, and locate the copies of the eggs at the places you want them to appear.
Extra Eggsperiences
If you have some eggstra time, investigate these mysteries.
1) Try to pick up the pine trees in the Mountain scene. One of them can be possessed, the others can't. How can you make them ALL able to be picked up?
2) Move the arrow close to the smallest pine tree, then Pick Up the tree. Now move to the desert scene and click on the arrow to get its action menu. Try "Copy my Possessions". What happened? Does this give you ideas about how to make dinosaurs lay eggs? Think about it first! The answer is printed in
Student Name:_____________________ Date:____________
1. Please list any problems you had with our lesson worksheets? Did we ask you to do anything that didn't work out as planned? (What page number? What action?)
Coral Springs Middle School - Spring 1996
2. Did the ExploreNet software work correctly? If not, tell us as exactly as possible what you were doing when things went wrong.
3. What did you like best about this lesson?
4. What did you like least about this lesson?
5. What should we add to this lesson to make it better?
Answer for Eggstra Experience #2:
If you examine the Arrow.beh ("behavior") file you will see how we make it possible to Copy my Possessions. Try copying the Arrow.beh file and making a Bronto.beh file (if you're the Bronto.) Change "possessions.clone" to "eggs.clone"; change "Copy my Possessions" to "Lay an Egg" . Save the file, reload the script from ExploreNet, and see what happens. We'll do more of this kind of magic in later lessons.