View Single Post
Old 02-24-10, 03:12 AM   #6
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by clayp View Post
I'm as far as placeing the new compartment in the Gato UPC file,I cant find where it goes in the Gato file and I dont really think I have done anything right to this point..Maybe so....
Clay,
The tutorial is mainly for new subs/ships made from scratch that don't have any guns yet. The Gato already has the compartments and crewmen and slots necessary to add a gun. So some of the steps you don't need to do. But, so you will know if you need to do it in the future, the compartments just goes next in line for the compartments.

If you take a few minutes to go through the subs.upc file you will see a pattern to it. At first it just look like a mess. But this is the way it is layed out.
1. Compartments
2. Crewmembers for the compartments
3. Equipment and Weapons for the compartments
4. Upgrades for the Equipment and weapons.
5. Functional subsystems..These entries just define what all that stuff it so the game wil know.

So once you see how things go in order, you can follow the tutorial to see how it got there.
If it was the Gato it would be put on like this:

[UserPlayerUnit 1. Compartment 7]
That creates the compartment. A gun is considered a compartment, just like the engine room is considered a compartment.

[UserPlayerUnit 1. Compartment 7. CrewmemberSlot 1]
And
[UserPlayerUnit 1. Compartment 7. CrewmemberSlot 2]
This creates a place to put the men on the gun

[UserPlayerUnit 1. Compartment 7. WeaponSlot 1]
That creates a place to put the gun

Then he show how to put upgrades if you want the gun to change or be able to buy a different one during the war.

Then he shows the funtionalsubsystems.

So I think maybe the reason you got confused as to where to put it is because it is already there on a stock sub, and most of the mod subs. The only difference is in the tutorial he is using compartment 6 and on the gato it is compartments 7 and 8. So if you follow through reading the tutorial but look at the gato compartment 7 it will make sense.

So if you go to part 2 of the tutorial you can put a gun on the sub that isn't normally available for a sub. Etr3 is going to take one out of the GunsRadars.dat which are normally on ships and put it on a sub, and on the Gato you already have a place to put it.

Hope that makes sense.

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