Help please, how can I add an airfield to the GLA?
I have my own model for it.
In the FactionBuilding.ini I copied the whole Object ChinaAirfield and changed the name to Object GLAAirfield.
Then, I changed every thing to the name of the model...
changed all the NBAirfield, NBAirfield_D, NBAirfield_E, NBAirfield_N, NBAirfield_DN, NBAirfield_ENS, NBAirfield_A9, NBAirfield_A10 etc. Model and Animation to GLAAirfield (that's the name of the model I have). All of this in the FactionBuilding.ini under Object GLAAirfield.
Then I changed
Prerequisites
Object = ChinaSupplyCenter
To
Prerequisites
Object = GLASupplyStash
And EnergyProduction = -1 to EnergyProduction = 0.
then I disabled...
; Behavior = GenerateMinefieldBehavior ModuleTag_15
; TriggeredBy = Upgrade_ChinaMines
; MineName = ChinaStandardMine
; SmartBorder = Yes
; AlwaysCircular = Yes
; End
and in
Behavior = ParkingPlaceBehavior ModuleTag_10
HealAmountPerSecond = 10
NumRows = 2
NumCols = 2
HasRunways = Yes
ApproachHeight = 50
ParkInHangars = Yes
End
I changed it to
NumRows = 1
NumCols = 1
Coz the model I have has only one row.
And I changed
ExtraPublicBone = Runway1Parking1
ExtraPublicBone = Runway1Parking2
ExtraPublicBone = Runway2Parking1
ExtraPublicBone = Runway2Parking2
ExtraPublicBone = Runway1Park1Han
ExtraPublicBone = Runway1Park2Han
ExtraPublicBone = Runway2Park1Han
ExtraPublicBone = Runway2Park2Han
ExtraPublicBone = Runway1Prep1
ExtraPublicBone = Runway1Prep2
ExtraPublicBone = Runway2Prep1
ExtraPublicBone = Runway2Prep2
ExtraPublicBone = RunwayStart1
ExtraPublicBone = RunwayStart2
ExtraPublicBone = RunwayEnd1
ExtraPublicBone = RunwayEnd2
To
ExtraPublicBone = Runway1Parking1
ExtraPublicBone = Runway1Parking2
;ExtraPublicBone = Runway2Parking1
;ExtraPublicBone = Runway2Parking2
ExtraPublicBone = Runway1Park1Han
ExtraPublicBone = Runway1Park2Han
;ExtraPublicBone = Runway2Park1Han
;ExtraPublicBone = Runway2Park2Han
ExtraPublicBone = Runway1Prep1
ExtraPublicBone = Runway1Prep2
;ExtraPublicBone = Runway2Prep1
;ExtraPublicBone = Runway2Prep2
ExtraPublicBone = RunwayStart1
;ExtraPublicBone = RunwayStart2
ExtraPublicBone = RunwayEnd1
;ExtraPublicBone = RunwayEnd2
Coz the model I have has only one row.
And that's all I changed I think...
Did I do something wrong here?
And the W3D file, GLAAirfield.W3D is in Art\W3D
oh and I added this to the worker to construct. ( 8 = Command_ConstructGLAAirfield)
and it says that there is something wrong in Object GLAAirfield
, FactionBuilding.ini.
Maybe it's because I changed all the NBAirfield, NBAirfield_D, NBAirfield_E, NBAirfield_N, NBAirfield_DN, NBAirfield_ENS, NBAirfield_A9, NBAirfield_A10 etc. Model and Animation to GLAAirfield!?
I mean even when damaged It will still look like the normal.. or in snow still will look like the normal and only one model file!?
Any ideas? please?
|