initialzing campaign error: unknown stationary unit type

For bug reports and fixes, installation issues, and new ideas for technical features.

Moderator: SEOW Developers

Post Reply
II/JG54_Emil
Posts: 272
Joined: Thu 07 May 2009 10:45 am

initialzing campaign error: unknown stationary unit type

Post by II/JG54_Emil »

I want to initialize a campaign and get the following error:
unknown stationary unit type: vehicles stationary Stationary$Tractor_US
Check template comaptebility with your HistorySFX Modsetting in the
"Campaign Modes" tab.
The database will be flushed now.
Enable HistorySFX Mod Objects is enabled.

Any idea why it wont accept the tractor?
IV/JG7_4Shades
Posts: 2203
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Hi Emil,

I will give this error if the "Tractor_US" type is not defined in the Object_Specifications table, in the Object_Type field. If it is there, make sure the associated "Stationary" and "Inactive" fields contain "vehicles stationary Stationary$Tractor_US".

It is probably a missing/bad definition for an HSFX4 object.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
II/JG54_Emil
Posts: 272
Joined: Thu 07 May 2009 10:45 am

Post by II/JG54_Emil »

I add it this way, I hope it is correct for the campaign:

Code: Select all

Tractor_US	3.0555555820465	VTR	0	0	1	0	1	0	0	0	0	0	1	AI	Vehicles.Tractor_US	vehicles.stationary.Stationary$Tractor_US	vehicles.stationary.Stationary$Tractor_US	18000	320	0	0	0	0	80	0	0	0	0	0	0	r	Tractor_US	Tractor_US	19390901	1	0
The next error is:
Army generation error encountered loading Alliws army platoons - insufficient infantery divisions.
CHeck the Army units table to make sure ther are enough infantery (V) divisions defined for the allied forces in the France Sector. The France Sector database will now be flushed. Please edit the Army_units table and try again.
I guess I´m just going to add a few more troop-names. :D

4Shades, when I´m done with this would it make sense to send it to you to incorporate the tables into the next update?
IV/JG7_4Shades
Posts: 2203
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Hi Emil,

Yes please, send me your Army_Units table records for France when you are done. I'll add the Tractor_US to my Object_Specifications table as well.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
IV/JG7_4Shades
Posts: 2203
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Oh, Emil, don't forget to add a line for Tractor_US to your Object_Costs table!
IV/JG7_4Shades
SEOW Developer

Image
II/JG54_Emil
Posts: 272
Joined: Thu 07 May 2009 10:45 am

Post by II/JG54_Emil »

188.40.123.132/downloads/Battle-of-France.sql.zip

I took the complete thing campaign not yet initialized.
II/JG54_Emil
Posts: 272
Joined: Thu 07 May 2009 10:45 am

Post by II/JG54_Emil »

By the way if I want to tow aynthing Flak or At do I need to put trucks next to it? (that´s what I needed the Tractors for)
IV/JG7_4Shades
Posts: 2203
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Hi Emil,

By default, most units can move by themselves. To make some units immovable, just set their Range value to zero in the Object_Specifications table, e..g flak and artillery. This means they will have to be transported (towed) by other units, like trucks etc.

Any freight/transport unit with sufficient capacity can tow any other unit. You just need to get the transporter within the Control Radius of the flak gun, then load the gun as freight onto the transporter, and move off.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
IV/JG7_4Shades
Posts: 2203
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Hi Emil,

I can't see the Tractor_US in the list of HSFX vehicles (only in Stationary Objects). Therefore your Mobile directive will probably fail. It might be best if you used the Bulldozer_US as the mobile form of the tractor, and copied the Number_Name and Speed from the bulldozer as well.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
Post Reply