Jump to content
Sign in to follow this  
dzeri

Bots wollen nicht die Boote fahren

Recommended Posts

Ich habe zwar diesen Thread paar mal (obwohl ich kein englisch kann!) durchgelesen und trotzdem kann ich nicht verstehen warum die Bots meine Boote nicht fahren wollen. Es soll eine Paziphic Map fuer BFV-WW2 Mod sein. Die Map ist 2048x2048 gross und das hier ist die LandingKraftPathMap:

volcanosa.jpg

SA - StrategieArea (orangene Quadrate)

LZ - LandingZone (blaue Quadrate)

In der SAs Axis und Allied Village Landing sind 3 Boote (keine Schiffe!) und je 1 LCVP. In der SA Radar Landing sind 2 LCVPs. Das hier ist der Inhalt der StrategieAreas.con:

rem *** Create vehicle groups ***



aiSettings.createVehicleGroup land

aiSettings.createVehicleGroup infantry

aiSettings.createVehicleGroup any

aiSettings.createVehicleGroup sea



rem * add vehicles to the groups *



aiSettings.addVehicleToVehicleGroup 0  land

aiSettings.addVehicleToVehicleGroup 1  any

aiSettings.addVehicleToVehicleGroup 2  sea

aiSettings.addVehicleToVehicleGroup 3  infantry

aiSettings.addVehicleToVehicleGroup 4  any

aiSettings.addVehicleToVehicleGroup 5  land

aiSettings.addVehicleToVehicleGroup 6  land

aiSettings.addVehicleToVehicleGroup 7  any

aiSettings.addVehicleToVehicleGroup 8  any

aiSettings.addVehicleToVehicleGroup 9  any

aiSettings.addVehicleToVehicleGroup 10 any

aiSettings.addVehicleToVehicleGroup 11 any

aiSettings.addVehicleToVehicleGroup 12 sea

aiSettings.addVehicleToVehicleGroup 13 any

aiSettings.addVehicleToVehicleGroup 14 land



rem *** Create categories ***

aiStrategicArea.createNewCategory land

aiStrategicArea.createNewCategory sea



rem *** AREAS ***

aiStrategicArea.create US_Base 513/1807 540/1840 30 land

aiStrategicArea.create Vietnamese_Base 1180/285 1200/325 30 land

aiStrategicArea.create Radar 1316/1156 1344/1172 400 land

aiStrategicArea.create Axis_Village 1388/380 1411/408 200 land

aiStrategicArea.create Axis_Village_Landing 1372/480 1424/524 100 land

aiStrategicArea.create Allied_Village 640/1570 652/1600 200 land

aiStrategicArea.create Allied_Village_Landing 732/1484 764/1536 100 land

aiStrategicArea.create Vor_Radar 1080/1130 1105/1165 150 sea



rem *** LANDING ***

AILandingZone.createLandingZone Axis_Landing 1284/452 1356/600 LZZMin

AILandingZone.createLandingZone Allied_Landing 736/1550 872/1720 LZZMax

AILandingZone.createLandingZone Radar_Landing 1156/1080 1212/1260 LZXMax





aiStrategicArea.setActive US_Base

aiStrategicArea.addObjectTypeFlag Base

AIStrategicArea.addNeighbour Allied_Village

AIStrategicArea.addAllowedVehicleGroup infantry

AIStrategicArea.addAllowedVehicleGroup land

AIStrategicArea.addAllowedVehicleGroup any

AIStrategicArea.setOrderPosition Infantery 513/1820

AIStrategicArea.setOrderPosition Tank 513/1820

aiStrategicArea.setSide 2

aiStrategicArea.setTakeable 1 0



aiStrategicArea.setActive Allied_Village

AIStrategicArea.addAllowedVehicleGroup infantry

AIStrategicArea.addAllowedVehicleGroup land

AIStrategicArea.addAllowedVehicleGroup any

aiStrategicArea.addObjectTypeFlag Flank

aiStrategicArea.addObjectTypeFlag ControlPoint

AIStrategicArea.addNeighbour US_Base

AIStrategicArea.addNeighbour Allied_Village_Landing

AIStrategicArea.setOrderPosition Infantery 657/1603

AIStrategicArea.setOrderPosition Tank 657/1603



aiStrategicArea.setActive Allied_Village_Landing

AIStrategicArea.addAllowedVehicleGroup infantry

AIStrategicArea.addAllowedVehicleGroup land

AIStrategicArea.addAllowedVehicleGroup any

AIStrategicArea.addAllowedVehicleGroup sea

AIStrategicArea.addExpelledUnit LandingCraft

AIStrategicArea.addLandingZoneUnit LandingCraft

AIStrategicArea.addLandingZoneUnit Boat

AIStrategicArea.attachLandingZone Allied_Landing

aiStrategicArea.addObjectTypeFlag Centre

aiStrategicArea.addObjectTypeFlag ChokePoint

AIStrategicArea.addNeighbour Allied_Village

AIStrategicArea.addNeighbour Vor_Radar

AIStrategicArea.setOrderPosition Infantery 657/1603

AIStrategicArea.setOrderPosition Tank 657/1603

AIStrategicArea.setOrderPosition LandingCraft 744/1495

AIStrategicArea.setOrderPosition Boat 744/1495





aiStrategicArea.setActive Vietnamese_Base

AIStrategicArea.addAllowedVehicleGroup infantry

AIStrategicArea.addAllowedVehicleGroup land

AIStrategicArea.addAllowedVehicleGroup any

aiStrategicArea.addObjectTypeFlag Base

AIStrategicArea.addNeighbour Axis_Village

AIStrategicArea.setOrderPosition Infantery 1190/248

AIStrategicArea.setOrderPosition Tank 1190/248

aiStrategicArea.setSide 1

aiStrategicArea.setTakeable 2 0



aiStrategicArea.setActive Axis_Village

AIStrategicArea.addAllowedVehicleGroup infantry

AIStrategicArea.addAllowedVehicleGroup land

AIStrategicArea.addAllowedVehicleGroup any

aiStrategicArea.addObjectTypeFlag Flank

aiStrategicArea.addObjectTypeFlag ControlPoint

AIStrategicArea.addNeighbour Vietnamese_Base

AIStrategicArea.addNeighbour Axis_Village_Landing

AIStrategicArea.setOrderPosition Infantery 1399/405

AIStrategicArea.setOrderPosition Tank 1399/405



aiStrategicArea.setActive Axis_Village_Landing

AIStrategicArea.addAllowedVehicleGroup infantry

AIStrategicArea.addAllowedVehicleGroup land

AIStrategicArea.addAllowedVehicleGroup any

AIStrategicArea.addAllowedVehicleGroup sea

AIStrategicArea.addExpelledUnit LandingCraft

AIStrategicArea.addLandingZoneUnit LandingCraft

AIStrategicArea.addLandingZoneUnit Boat

AIStrategicArea.attachLandingZone Axis_Landing

aiStrategicArea.addObjectTypeFlag Centre

aiStrategicArea.addObjectTypeFlag ChokePoint

AIStrategicArea.addNeighbour Axis_Village

AIStrategicArea.addNeighbour Vor_Radar

AIStrategicArea.setOrderPosition Infantery 1399/512

AIStrategicArea.setOrderPosition Tank 1399/512

AIStrategicArea.setOrderPosition LandingCraft 1399/512

AIStrategicArea.setOrderPosition Boat 1399/512





aiStrategicArea.setActive Vor_Radar

AIStrategicArea.addAllowedVehicleGroup any

AIStrategicArea.addAllowedVehicleGroup sea

AIStrategicArea.addNeighbour Axis_Village_Landing

AIStrategicArea.addNeighbour Allied_Village_Landing

AIStrategicArea.addNeighbour Radar

aiStrategicArea.addObjectTypeFlag Centre

aiStrategicArea.addObjectTypeFlag StrongPoint

AIStrategicArea.setOrderPosition Infantery 1331/1124

AIStrategicArea.setOrderPosition LandingCraft 1331/1124

AIStrategicArea.setOrderPosition Boat 1331/1124



aiStrategicArea.setActive Radar

AIStrategicArea.addAllowedVehicleGroup infantry

AIStrategicArea.addAllowedVehicleGroup any

AIStrategicArea.addAllowedVehicleGroup sea

AIStrategicArea.addExpelledUnit LandingCraft

AIStrategicArea.addLandingZoneUnit LandingCraft

AIStrategicArea.addLandingZoneUnit Boat

AIStrategicArea.attachLandingZone Radar_Landing

AIStrategicArea.addNeighbour Axis_Village_Landing

AIStrategicArea.addNeighbour Allied_Village_Landing

AIStrategicArea.addNeighbour Vor_Radar

aiStrategicArea.addObjectTypeFlag Centre

aiStrategicArea.addObjectTypeFlag StrongPoint

aiStrategicArea.addObjectTypeFlag ControlPoint

AIStrategicArea.setOrderPosition Infantery 1331/1124

AIStrategicArea.setOrderPosition LandingCraft 1331/1124

AIStrategicArea.setOrderPosition Boat 1331/1124
Das hier ist AI.con:
rem ************** LEVEL SPECIFIC AI SETTINGS ***************************



aiSettings.setWorldMapSize 2048 2048

aiSettings.setViewDistance 300

aiSettings.setInformationGridDimension 32



rem ********************** START THE AI *********************************



rem *** Init AI using current settings ****

ai.init 2



rem *** init Botmanager ***

AIBotManager.setLodLevelTicks 6 6 6

AIBotManager.setLodLevelPriority 3 3 3

AIBotManager.setPlannedDecisionMakingThreshold 0.5 0.5 0.5

AIBotManager.setUnplannedDecisionMakingThreshold 0.3 0.4 0.4

AIBotManager.setDecisionMakingInterleave 2 2

AIBotManager.setSensingQuotient 1 1

AIBotManager.setSystemQuotient 40 40 20





rem *** Strategic map dimension, MUST BE DONE BEFORE CREATING SAI! ***

ai.saiMapXDimension 64

ai.saiMapYDimension 64



rem *** Create Strategic AI ***

ai.createSAI



game.showAiStats 1

ai.showBotStats 1

ai.showStrategicAreas 1

ai.showStrategies 1



rem *** Enabled or disabled as default ***

ai.saiEnable 1



rem *** Bot statistic ***

ai.botStatisticUpdateSpeed 3





run AIPathFinding.con v_arg1



rem *** Create strategically important areas ***

run ai/StrategicAreas v_arg1



rem *** Load and set strategies for each side ***

run ai/conditions v_arg1

run ai/prerequisites v_arg1

run ai/Strategies v_arg1





ai.addSAIStrategy 1 assaultEnemyNVA

ai.addSAIStrategy 2 assaultEnemy



run singleplayer/bots v_arg1
AIPathfinding.con:
rem *** pathfinding debug mode

rem game.aiPathfindingDebuggingActive 1



rem *** Set number of maps ***

rem ai.setNSearchMaps 2 *** DEPRICATED ***

rem ai.setNSearchTypes 2 *** DEPRICATED ***



rem *** Set number of AStar resources ***

rem ai.numAStarResources 12

rem *** Setup map parameters ***

rem *** Tank ***

rem *** searchMap name/ waterHeight/ waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/ 

rem considerAITypes/createSecondLayerMap/ firstLevel-secondlevel-thirdlevel (for second layer map)

rem *** searchType name/mapNum/minSearchLevel

rem *** Tank ***

ai.addSearchMap Tank0 0 0 30 3.0 0.3 2.5 0 0 1.0/3.0/7.0

ai.addSearchType Tank 0 0

ai.setMapSpawnPoints 0 1200/304,1190/248,1177/248,5042/1806,503/1819,514/1844

ai.setSmoothing 0 20

rem *** Infantry ***

ai.addSearchMap Infantry1 0 1.5 40 1.0 0.4 2.0 1 0 1.0/3.0/7.0

ai.addSearchType Infantry 1 0

ai.setMapSpawnPoints 1 1199/279,502/1791

ai.setSmoothing 1 10

rem *** Boat ***

ai.addSearchMap Boat2 1 1.4 30 4.0 0.3 2.5 0 0 0/0/0

ai.addSearchType Boat 2 2

ai.setMapSpawnPoints 2 1379/513,1400/512,1372/504,744/1495,755/1525,754/1536

ai.setSmoothing 2 20

rem *** Landingcraft ***

ai.addSearchMap LandingCraft3 1 1.4 30 4.0 0.3 2.5 0 0 0/0/0

ai.addSearchType LandingCraft 3 2

ai.setMapSpawnPoints 3 1412/504,747/1484,1190/1188,1201/1124

ai.setSmoothing 3 20

rem *** Car ***

ai.addSearchMap Car4  0 0 35 3.0 0.3 2.5 0 0 0/0/0 

ai.addSearchType Car 4 0

ai.setMapSpawnPoints 4 1422/405,657/1603

ai.setSmoothing 4 6

rem *** Heli ***

ai.addSearchMap Heli5 0 0 20 4.0 2.0 4.5 0 0 0/0/0 

ai.addSearchType Heli 5 0

ai.setMapSpawnPoints 5 1139/263,1116/263,541/1829,559/1831,592/1854,488/1851,638/1473,1216/1171,1467/471,1075/242,1237/234,587/1716,1073/381

ai.setSmoothing 5 20

rem *** Amphibius ***

ai.addSearchMap Amphibius6 0 5000 30 3.0 0.3 2.5 0 0 2

ai.addSearchType Amphibius 6 0

ai.setMapSpawnPoints 6 1426/736,946/842,1059/1218

ai.setSmoothing 6 20

rem *** Load maps ***

rem run StaticObjects.con

rem ai.createAllMaps

ai.loadMaps

Ich wuerde ja gerne din in SinglePlayer Forum fragen doch bevor ich dort mit meinem englisch komme, dachte ich, ich frage mal hier nach. Ich wuerde gerne die Map fertig stellen damit ich endlich mit anderen Projekten anfangen kann. Wird mir hier jemand helfen koennen?

Share this post


Link to post
Share on other sites

bei mir Fahren sie rum, aber gehen nicht an Land !

wenn ich Landingzones mach kackt die Map ab...

Mit welchem Programm machst du die Bots ?

Edited by The_Snake

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.