View Single Post
Old 07-21-09, 02:16 PM   #5
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by rsvette12 View Post
Tried it got lost in the last part the 3 zoom changes and the last parent id copy and paste got an error mesage is it possible you could post a good one sorry.

Regards, Rich
Ok, we will redo the part you got lost on. I had to change some node numbers to make it match what I was doing since I deleted the "Terrain Collider" my numbers were different.


Here is a photo to refer to with it done.




This shows the zoom levels, one thing I may have said wrong, I don't know if you can use 0 for a zoom level, I never tried it, so here I use 1,4, and 8.

These values are set in a little box at the bottom of the page called "Value"
1. Select MinZoom and set the 'value box' to 1
2. Select MaxZoom and set to 8

Zoom Levels:
1. When you first get here it will say Zoomlevels [0]
2. Right-click and select "Add Array Item". Do this three times. You should have 3 listings now [0], [1] and [2]. Notice it starts numbering at 0 like a lot of computer files do.
3. Select [0]=0.0 and in the "value" box at the bottom of the window, type 1
4. Select [1]=0.0 and set to 4
5. Select [2]=0.0 and set to 8

It should look like it does in the picture.

Now the other part you had problems with, the IDs.

1. Select node "24: Optical" copy the ID
2. Select node "25: Optical" paste into the "Parent ID" box. If there is already a number for Parent ID, you can change it by holding down the Ctrl key and click on the number and the box will return and you can paste into it..
3. At this point 25 should be indented under 24 like in the picture.

4. Now go to node "12: Node-_Dummy_Cam_FreeCamera" and copy the ID.
5. Select "24: Optical" and paste into the "Parent ID" box.

Easiest way is to start over until you learn how these work, rather than try to fix a mistake.
************************************************** ****

The following is just some explaination, it is already done if you did the steps above, so you don't need to do anything below:

The ID and Parent ID can be a bit comfusing to start with. But you need to tell the game what the Optical controller is connected to otherwise it won't know. The more you do it the more it makes sense.
In this case the Free Camera is the parent so you have to tell the program that, but instead of using names, it uses IDs and Parent IDs so if later you change the name of an object it will stay connected. So by putting the Free Camera ID into the Optical "Parent ID" you are telling the game that the 'Parent of Optical' is the FreeCamera.

What makes this a bit confusing is that you have two nodes called "Optical". But if you remember when you added them, #24 is the controller, and #25 is the Properties of that controller. So that means that 24 controller needs to be the "Parent" of the 25 Properties. Then 12 the FreeCamera is the "Parent" of the 24 controller.
So, the Properties or settings (25) are linked to the Controller (24) and the whole thing is linked to the FreeCamera (12).

Now if you go down the list to the Binoculars and click the + sign, you will see there is an Optical in there too. That gives a magnification to the Binoculars. And if you check the Optical "Parent ID" it will be the ID of the Binoculars. That is how you tell a controller what it controls. (The Optical is a controller) And it also lets the game know that this Optical is not for the FreeCamera it is for the Binoculars, by telling the program who the 'Parent" is.

And you can thank Skwasjer for making this fantastic program that shows this. When you make an item the "Parent" the "child" indents under it to show the relationship of one to the other.
And also a thank you to Nisgeis who showed my how to do the optical.

Once you get this done and enabled you should be able to use the mouse wheel for some magnigication on the Free Camera. Not really very realistic, but it's a nice touch for a beginner.

Good luck, I hope you understand, I don't seem to explain things very will sometimes.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote