• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

How to spawn tanks driving to the frontline?

remcoc

Charter Member
Hello everbody,

Is there someone who succeeded in spawning vehicles?

I try to spawn tankformations that will travell direct towards the frontline.
So I can simulate the German Ground-offensive in 1940 without having to put all the vehicles down manually. This makes the proces of missionbuilding somewhat easier.

So far all my attempts have failed. The vehicles will apear in the game, but only following roads and rarely towards the frontline.:isadizzy:

Who can give me some directions?

Thanks in advance!
RemcoC
 
Hi remcoc,

you can try to edit the spawn files (just need to edit the xml, not the spawn table), or you can refer to other peoples' work. Charlie did some battle tank spawns, take a look at them if you have them - they work well.

The trick is to use GroundType="direct" in the Route section of the ground formation spawn. This means the vehicle formation will travel directly point to point. Your spawn will need to identify where the spawn starts from, and where it is ending up.

Here is an example sorry I do not know the author
<GroundFormation Country="#enemy" FormType="wedge" OffsetScaleFactor="7" Points="0">
<Unit Repeat="4" Type="#armor_tank_light"></Unit>
<Unit Repeat="6" Type="#armor_tank_heavy"></Unit>
<Unit Repeat="1" Type="#armor_aa_mobile"></Unit>
<Route>
<Waypoint Type="turn" PositionType="ground" Position="ground,nearFL,enemy" GroundType="direct"></Waypoint>
<Waypoint Type="turn" PositionType="ground" Position="ground,frontline,enemy"></Waypoint>
</Route>
</GroundFormation>

The explanation of the "Position" paramters is: ground - position is a random lat lon.
NearFl - position is within 2km of the frontline
Enemy - position is in enemy territory

Note that the second waypoint refers to frontline. So the spawned formation starts out "nearFL" and ends up "frontline". In this way you can get the tanks to attck the frontline.
You could even make the second waypoint position "friendly" which presumably means the tanks would actually cross the frontline and proceed into friendly territory.

This example is spawning enemy tanks for targets. If you wnat to spawn friendly tanks you need to switch the references to friendly and enemy.

HTH,
D
 
Thanks Daiwiletti,

I used the direct-type allready. But I can change the country from Germany to Friendly or enemy (depending on the mission I make).

I will try your example! Thanks!!!!:medals:

Can you tell me roughly where can I find the files of charlie??

Thanks 4 your help!

RemcoC
 
Tankbusting spawns

Hi Remcoc,
Charlie's addons are here at SOH.

I've had a look and it looks like its in DCDiary_finalupdate. This is in the campaigns and missions section of cfs3 addons.

Note he uses a slightly different technique. His battle tank spawns call for a facility (made up of tanks) rather than a vehicle formation. His spawns often call an aircraft formation at the same time.

His spawn file calls for a facility (tankbusting_1, 2 etc) which is in the finalupdate.

HTH,
D
 
Back
Top