View Single Post
Old 07-06-09, 10:10 AM   #6
Fleet Command CC
Engineer
 
Join Date: Sep 2008
Location: UK
Posts: 219
Downloads: 15
Uploads: 3
Default

Here is Chapter 2: Credit must go to CrazyIvan for doing these tutorials.

Quote:
============== Chapter 2. ESTABLISHMENT OF ===================
Since we are dealing with the database, it must be remembered that there is some hierarchy in its structure.
Creating an object should always begin with a definition of it or belonging to a class.
In our case, to torpedo SAET-40 already exists a class torpedo (Id - 213) to which it relates.
We need to create a new class of ship - JULIETT.
Open the menu dialogue 'Ship Class Dialog' (In the editor, to the left of the flag amerskogo - the button drawn кажись ship 2 - blue and white).
On this tab in the left window with a list of classes to choose the lowest (Why is the lowest, will explain later).
Click the button 'New Ship Class'. In the box 'Name' will appear nadpis'My new ShipClass'.
Writing it - JULIETT, in the window 'Class' which is slightly lower, write abbreviation - SSG [diesel missile boat (it does not write essno only SSG!)]
In the box, with drop-down tab "Default Country", select - 0173 Russia RU, click 'Apply'.
Everything in this creation of a class and determine its belonging to the owner of the country over.
Leave this menu and go to the tab 'Object Dialog'.


================================================== ========================
Here I make a small but important digression.
Unnecessarily Editor DB compiles all the data on the specific algorithm, there is one small feature in his work, and I want to share with you these features.
Of course, every editor has a feature to search by name and filtration, you will undoubtedly use these funktsii.Tut is a nuisance - in this example poyasnimoe.
Suppose, in the creation of a torpedo SAET-40, the easiest option, it will be cloned from another torpedo. Ie you need to choose a torpedo, let SAET-60, and when it has data displayed on the working panel, click 'New Object', while a new facility is already filled with data windows. This will only give the name of the site and correct the data.
Here the question is, where it will create a new object. In short this feature - If you are in front of cloning, choose this very SAET-60 which is located under the ID number 375, using the name search, or using a filter (dropping unnecessary flags in a box «Filter») cloned your object will not be placed in the bottom of the list of objects, and will bury somewhere in the middle of the list of objects, as there is a free, blank lines. It is not that good - then you need to seek an object somewhere in the hundreds of lines. Handy when you created the objects will be located at the very end of the database, and will always be quickly available for adjustment.

We are on the tab 'Object Dialog'.
Kloniruem torpedo SAET-40 torpedoes SAET-60 as follows:

Click the button 'Search' (Search), enter SAET, click OK.
SAET-60 is found at number 0375. Memorize this number.
Again click the button 'Search', no typing in the box, click OK.
Now, all lines are free (unfolded) form.
In the left window, with a list of objects, missing the mouse scroll bar slider, and tyanem it down closer to the object 0375 - SAET-60. Because of this situation, a list of strings to choose this very SAET-60: click on it a good 2-fold.
Now click the button 'New Object', in a window instead of 'My New Item' write the title - SAET-40 Torpedo, click OK.

[You should remember one important rule - the object name should be the name of his 3D model, the letter in the letter!
If you are creating an object in the 'Link to 3DObject' no shows, no names, then come back in Menu 3D object, and rename it you need an object under a name that you recorded it in the 'Object Dialog'.]

Find drop-down menu box c "Object Type" - setting a Weapon
Below that is another window 'Sim Type' - is set Torp (These icons are mnemonics that appear on the nav map of the game, for this site)

================================================== =======================
Now, turn to the creation ENTITY (unit), ie, the specific unit that is displayed on the screen of 3D game. At the same tab ( 'Object Dialog'), in the upper right corner, find the box with the text 'Dbl. Click for NEW ENTITY 'and click on this caption 2 Raziq.
To jump tab in the 'Name' write SAET-40 Torpedo. (This is already the name can be any such simple SAET-40 - that is, you write, and then to see a 3D view of the unit in the game).
In the window 'Link to ShipClass' select the row number 213 class TORPEDO, for this class and took it. OK button is now available for selection, click it.

It remains to create a sensor for the torpedo, but it is in other materials.

Similar action is also to create Object Juliett SSG - at its creation, remember that the object name should be the same as a name of 3D models of the boats.

In the "Object Type" for "Juliet" set Sub, in the "Sim Type" as Sub.

When you create ENTITY (unit) - call it let K-156 and bind it to our previously established class JULIETT (will be placed at the bottom of the list of classes).
Then, here you can add units and other on-board numbers K-85, K-70, etc.
Once again I remind you that all these units, we add to the already existing facility JULIETT, in the box that says' Dbl. Click for NEW ENTITY '.
__________________
Britannia Rule Waves (Yet right not now ) and Who Dares Wins

ASrock 4Core1600P35-Wifi, Intel Core 2 Extreme X6800 2.93GHz, 4GB OCZ PC2-6400 ATI CrossFire Edition, Sapphire 2600XT 256MB GDDR4 PCI-E, 500GB Sansumg SATAII HDD 16MB Cache, XP

Last edited by Fleet Command CC; 07-06-09 at 10:24 AM.
Fleet Command CC is offline   Reply With Quote