Zum Inhalt springen
Corsair21

Wie kann Ich die KI datu bringen abzuspringen? (vom Heli)

Empfohlene Beiträge

Hallo!

Ich habe in mein BF2142 den Blackhawk aus BF2 eingefügt. Funktionioeren tut er ganz gu, aber im SP springen die Soldaten darin nicht ab. Wenn Ich den "air_pod_launcher" als Object.Template einfüge und eine Map mit dem Blackhawk drauf lade stürzt das Spiel ab. Auch bei veränderten einstellungen an der Objects.ai springen die Soldaten immernoch nicht ab. Kann mir jemand helfen?

MfG

Corsair

Link zu diesem Kommentar
Auf anderen Seiten teilen

Okay, Ich habs jetzt geschafft den Airpod-launcher hinzuzufügen ohne das es abstürzt. Abspringen tun die von allein aber immer noch nicht. Kann mir denn wirklich niemand sagen wie ich der KI klarmachen kann das man von dem Heli abspringen kann?

Link zu diesem Kommentar
Auf anderen Seiten teilen

Wie meinst du das?

Ich meine, was nützt dir ein Bild wenn nix passiert?^^

Jedenfalls konnte Ich die KI inzwischen dazu bewegen abzuspringen. Die Air Pods funzen nicht, habe sie deswegen rausgemacht. Das Problem ist, dass sie in dem Moment wo sie eigentlich den Fallschirm aufmachen sollten grundlos sterben(ca. 1 Luftmeter vom Heli entfernt.

Ich poste hier mal meine ai-File:

rem *** Plugins ***

aiTemplatePlugIn.create Unit usahe_ah60Unit

aiTemplatePlugIn.equipmentTypeName TransportHelicopter

aiTemplatePlugIn.setStrategicStrength 0 3

aiTemplatePlugIn.setStrategicStrength 1 3



aiTemplatePlugIn.create Cover usahe_ah60Cover

aiTemplatePlugIn.coverValue 2.0



aiTemplatePlugIn.create Physical usahe_ah60Physical

aiTemplatePlugIn.setStrType Helicopter



aiTemplatePlugIn.create ControlInfo usahe_ah60Ctrl

aiTemplatePlugIn.driveTurnControl     PIYaw

aiTemplatePlugIn.driveThrottleControl PIThrottle

aiTemplatePlugIn.aimHorizontalControl PIYaw

aiTemplatePlugIn.aimVerticalControl   PIPitch

aiTemplatePlugIn.driveRollControl     PIRoll

aiTemplatePlugIn.drivePitchControl    PIPitch

aiTemplatePlugIn.aimRollControl       PIRoll

aiTemplatePlugIn.aimThrottleControl   PIThrottle

aiTemplatePlugIn.throttleSensitivity -3.0

rem aiTemplatePlugIn.pitchSensitivity -0.5

aiTemplatePlugIn.pitchSensitivity    -1.0

aiTemplatePlugIn.rollSensitivity     -1.3

aiTemplatePlugIn.yawSensitivity       0.3

aiTemplatePlugIn.throttleLookAhead    1.0

aiTemplatePlugIn.pitchLookAhead       1.2

aiTemplatePlugIn.rollLookAhead        1.5

aiTemplatePlugIn.yawLookAhead         0.3

aiTemplatePlugIn.throttleScale        1.0

rem *** Angle in radians ***

aiTemplatePlugIn.pitchScale           0.0010

aiTemplatePlugIn.rollScale            0.0020

aiTemplatePlugIn.yawScale             0.0175

aiTemplatePlugIn.maxRollAngle         0.9900

aiTemplatePlugIn.maxClimbAngle        0.3333



aiTemplatePlugIn.create Mobile usahe_ah60Mobile

aiTemplatePlugIn.vehicleNumber -1

aiTemplatePlugIn.maxSpeed 60.0

aiTemplatePlugIn.turnRadius 5.0

aiTemplatePlugIn.setSoundSphereRadius 0.0 75.0

aiTemplatePlugIn.setHearingProbability 0.01 0.3



aiTemplatePlugIn.create Armament usahe_ah60Arms

aiTemplatePlugIn.setIsAntiAircraft 1





rem *** AITemplate ***

aiTemplate.create usahe_ah60

aiTemplate.addType ITUnit

aiTemplate.addType ITMobile

aiTemplate.addType ITAir

aiTemplate.addType ITHelicopter

aiTemplate.addType ITHasWreck

rem aiTemplate.addType ITCover

aiTemplate.degeneration 5

aiTemplate.allowedTimeDiff 0.5

aiTemplate.basicTemp 15

aiTemplate.commonKnowledge 0

aiTemplate.addPlugIn usahe_ah60Unit

aiTemplate.addPlugIn usahe_ah60Cover

aiTemplate.addPlugIn usahe_ah60Physical

aiTemplate.addPlugIn usahe_ah60Ctrl

aiTemplate.addPlugIn usahe_ah60Mobile

aiTemplate.addPlugIn usahe_ah60Arms





rem  *** The turret mounted MG

rem *********************************************************************

rem *********************************************************************



rem *** Plugins ***

aiTemplatePlugIn.create Armament usahe_ah60_Gunner_Armament

aiTemplatePlugIn.setIsAntiAircraft 1



aiTemplatePlugIn.create Unit usahe_ah60_Gunner_Unit

aiTemplatePlugIn.equipmentTypeName ParatrooperFixed

aiTemplatePlugIn.setStrategicStrength 0 1

aiTemplatePlugIn.setStrategicStrength 1 1



aiTemplatePlugIn.create ControlInfo usahe_ah60_Gunner_ControlInfo

aiTemplatePlugIn.driveTurnControl           PIYaw

aiTemplatePlugIn.driveThrottleControl       PIThrottle

aiTemplatePlugIn.aimHorizontalControl       PIMouseLookX

aiTemplatePlugIn.aimVerticalControl         PIMouseLookY

aiTemplatePlugIn.lookHorizontalControl      PIMouseLookX

aiTemplatePlugIn.lookVerticalControl        PIMouseLookY

aiTemplatePlugIn.throttleSensitivity -3.0

aiTemplatePlugIn.pitchSensitivity    -1.0

aiTemplatePlugIn.rollSensitivity     -1.3

aiTemplatePlugIn.yawSensitivity       0.3

aiTemplatePlugIn.throttleLookAhead    1.0

aiTemplatePlugIn.pitchLookAhead       1.2

aiTemplatePlugIn.rollLookAhead        1.5

aiTemplatePlugIn.yawLookAhead         0.3

aiTemplatePlugIn.throttleScale        1.0

aiTemplatePlugIn.proportionalConstant -5

aiTemplatePlugIn.derivativeConstant   -1

rem *** Angle in radians ***

aiTemplatePlugIn.pitchScale           0.0010

aiTemplatePlugIn.rollScale            0.0750

aiTemplatePlugIn.yawScale             0.0750

rem *** CHECK NONAI OBJECT.CON FOR THESE VALUES

aiTemplatePlugIn.setCameraRelativeMinRotationDeg -100/-10/0

aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 100/60/0



rem *** AITemplate ***

aiTemplate.create usahe_ah60_Gunner

aiTemplate.addType ITUnit

aiTemplate.addType ITBiological

aiTemplate.addType ITAir

aiTemplate.addType ITHelicopter

aiTemplate.degeneration 5

aiTemplate.allowedTimeDiff 0.5

aiTemplate.basicTemp 7

aiTemplate.commonKnowledge 0

aiTemplate.secondary 1

aiTemplate.addPlugIn usahe_ah60_Gunner_Armament

aiTemplate.addPlugIn usahe_ah60_Gunner_Unit

aiTemplate.addPlugIn usahe_ah60_Gunner_ControlInfo



rem *** Plugins ***

aiTemplatePlugIn.create Armament usahe_ah60_Gunner_1_Armament

aiTemplatePlugIn.setIsAntiAircraft 1



aiTemplatePlugIn.create Unit usahe_ah60_Gunner_1_Unit

aiTemplatePlugIn.equipmentTypeName ParatrooperFixed

aiTemplatePlugIn.setStrategicStrength 0 1

aiTemplatePlugIn.setStrategicStrength 1 1



aiTemplatePlugIn.create ControlInfo usahe_ah60_Gunner_1_ControlInfo

aiTemplatePlugIn.driveTurnControl           PIYaw

aiTemplatePlugIn.driveThrottleControl       PIThrottle

aiTemplatePlugIn.aimHorizontalControl       PIMouseLookX

aiTemplatePlugIn.aimVerticalControl         PIMouseLookY

aiTemplatePlugIn.lookHorizontalControl      PIMouseLookX

aiTemplatePlugIn.lookVerticalControl        PIMouseLookY

aiTemplatePlugIn.throttleSensitivity -3.0

aiTemplatePlugIn.pitchSensitivity    -1.0

aiTemplatePlugIn.rollSensitivity     -1.3

aiTemplatePlugIn.yawSensitivity       0.3

aiTemplatePlugIn.throttleLookAhead    1.0

aiTemplatePlugIn.pitchLookAhead       1.2

aiTemplatePlugIn.rollLookAhead        1.5

aiTemplatePlugIn.yawLookAhead         0.3

aiTemplatePlugIn.throttleScale        1.0

aiTemplatePlugIn.proportionalConstant -7

aiTemplatePlugIn.derivativeConstant   -1

rem *** Angle in radians ***

aiTemplatePlugIn.pitchScale           0.0010

aiTemplatePlugIn.rollScale            0.0750

aiTemplatePlugIn.yawScale             0.0750

aiTemplatePlugIn.setCameraRelativeMinRotationDeg -45/-45/0

aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 45/30/0



rem *** AITemplate ***

aiTemplate.create usahe_ah60_Gunner_1

aiTemplate.addType ITUnit

aiTemplate.addType ITBiological

aiTemplate.addType ITAir

aiTemplate.addType ITHelicopter

aiTemplate.degeneration 5

aiTemplate.allowedTimeDiff 0.5

aiTemplate.basicTemp 7

aiTemplate.commonKnowledge 0

aiTemplate.secondary 1

aiTemplate.addPlugIn usahe_ah60_Gunner_1_Armament

aiTemplate.addPlugIn usahe_ah60_Gunner_1_Unit

aiTemplate.addPlugIn usahe_ah60_Gunner_1_ControlInfo



rem *** Plugins ***

aiTemplatePlugIn.create Armament usahe_ah60_Gunner_2_Armament

aiTemplatePlugIn.setIsAntiAircraft 1



aiTemplatePlugIn.create Unit usahe_ah60_Gunner_2_Unit

aiTemplatePlugIn.equipmentTypeName ParatrooperFixed

aiTemplatePlugIn.setStrategicStrength 0 1

aiTemplatePlugIn.setStrategicStrength 1 1



aiTemplatePlugIn.create ControlInfo usahe_ah60_Gunner_2_ControlInfo

aiTemplatePlugIn.driveTurnControl           PIYaw

aiTemplatePlugIn.driveThrottleControl       PIThrottle

aiTemplatePlugIn.aimHorizontalControl       PIMouseLookX

aiTemplatePlugIn.aimVerticalControl         PIMouseLookY

aiTemplatePlugIn.lookHorizontalControl      PIMouseLookX

aiTemplatePlugIn.lookVerticalControl        PIMouseLookY

aiTemplatePlugIn.throttleSensitivity -3.0

aiTemplatePlugIn.pitchSensitivity    -1.0

aiTemplatePlugIn.rollSensitivity     -1.3

aiTemplatePlugIn.yawSensitivity       0.3

aiTemplatePlugIn.throttleLookAhead    1.0

aiTemplatePlugIn.pitchLookAhead       1.2

aiTemplatePlugIn.rollLookAhead        1.5

aiTemplatePlugIn.yawLookAhead         0.3

aiTemplatePlugIn.throttleScale        1.0

aiTemplatePlugIn.proportionalConstant -7

aiTemplatePlugIn.derivativeConstant   -1

rem *** Angle in radians ***

aiTemplatePlugIn.pitchScale           0.0010

aiTemplatePlugIn.rollScale            0.0750

aiTemplatePlugIn.yawScale             0.0750

aiTemplatePlugIn.setCameraRelativeMinRotationDeg -45/-45/0

aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 45/30/0



rem *** AITemplate ***

aiTemplate.create usahe_ah60_Gunner_2

aiTemplate.addType ITUnit

aiTemplate.addType ITBiological

aiTemplate.addType ITAir

aiTemplate.addType ITHelicopter

aiTemplate.degeneration 5

aiTemplate.allowedTimeDiff 0.5

aiTemplate.basicTemp 7

aiTemplate.commonKnowledge 0

aiTemplate.secondary 1

aiTemplate.addPlugIn usahe_ah60_Gunner_2_Armament

aiTemplate.addPlugIn usahe_ah60_Gunner_2_Unit

aiTemplate.addPlugIn usahe_ah60_Gunner_2_ControlInfo





aiTemplatePlugIn.create Unit usahe_ah60_copilotUnit

aiTemplatePlugIn.equipmentTypeName ParatrooperFixed

aiTemplatePlugIn.setStrategicStrength 0 1

aiTemplatePlugIn.setStrategicStrength 1 1



aiTemplatePlugIn.create ControlInfo usahe_ah60_copilotCtrl

aiTemplatePlugIn.driveTurnControl           PIYaw

aiTemplatePlugIn.driveThrottleControl       PIThrottle

aiTemplatePlugIn.aimHorizontalControl       PIMouseLookX

aiTemplatePlugIn.aimVerticalControl         PIMouseLookY

aiTemplatePlugIn.lookHorizontalControl      PIMouseLookX

aiTemplatePlugIn.lookVerticalControl        PIMouseLookY

aiTemplatePlugIn.throttleSensitivity       -1.0

rem aiTemplatePlugIn.pitchSensitivity           0.021817

rem aiTemplatePlugIn.rollSensitivity           -0.021817

aiTemplatePlugIn.pitchSensitivity           0.21817

aiTemplatePlugIn.rollSensitivity           -0.21817

aiTemplatePlugIn.yawSensitivity            -2.5

rem aiTemplatePlugIn.lookVerticalSensitivity    0.021817

rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817

aiTemplatePlugIn.lookVerticalSensitivity    0.21817

aiTemplatePlugIn.lookHorizontalSensitivity -0.21817

aiTemplatePlugIn.proportionalConstant	   -7

aiTemplatePlugIn.derivativeConstant	   -1

aiTemplatePlugIn.throttleLookAhead          1.0

aiTemplatePlugIn.pitchLookAhead             1.0

aiTemplatePlugIn.rollLookAhead              1.0

aiTemplatePlugIn.yawLookAhead               1.0

aiTemplatePlugIn.lookVerticalLookAhead      1.0

aiTemplatePlugIn.lookHorizontalLookAhead    1.0

aiTemplatePlugIn.throttleScale              1.0

rem *** Angle in radians ***

aiTemplatePlugIn.pitchScale                 5.0

aiTemplatePlugIn.rollScale                  5.0

aiTemplatePlugIn.yawScale                   0.0020

aiTemplatePlugIn.lookVerticalScale          1.0

aiTemplatePlugIn.lookHorizontalScale        1.0

aiTemplatePlugIn.setCameraRelativeDofRotationOffsetDeg 90

aiTemplatePlugIn.setCameraRelativeMinRotationDeg -45/-80/0

aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 60/60/0



rem *** AITemplate ***

aiTemplate.create usahe_ah60_copilot

aiTemplate.addType ITUnit

aiTemplate.addType ITBiological

aiTemplate.addType ITAir

aiTemplate.addType ITHelicopter

aiTemplate.degeneration 10

aiTemplate.allowedTimeDiff 2

aiTemplate.basicTemp 5

aiTemplate.commonKnowledge 0

aiTemplate.secondary 1

aiTemplate.addPlugIn usahe_ah60_copilotUnit

aiTemplate.addPlugIn usahe_ah60_copilotCtrl



aiTemplatePlugIn.create Unit usahe_ah60_Passenger1Unit

aiTemplatePlugIn.equipmentTypeName ParatrooperFixed

aiTemplatePlugIn.setStrategicStrength 0 1

aiTemplatePlugIn.setStrategicStrength 1 1



aiTemplatePlugIn.create ControlInfo usahe_ah60_Passenger1Ctrl

aiTemplatePlugIn.driveTurnControl           PIYaw

aiTemplatePlugIn.driveThrottleControl       PIThrottle

aiTemplatePlugIn.aimHorizontalControl       PIMouseLookX

aiTemplatePlugIn.aimVerticalControl         PIMouseLookY

aiTemplatePlugIn.lookHorizontalControl      PIMouseLookX

aiTemplatePlugIn.lookVerticalControl        PIMouseLookY

aiTemplatePlugIn.throttleSensitivity       -1.0

rem aiTemplatePlugIn.pitchSensitivity           0.021817

rem aiTemplatePlugIn.rollSensitivity           -0.021817

aiTemplatePlugIn.pitchSensitivity           0.21817

aiTemplatePlugIn.rollSensitivity           -0.21817

aiTemplatePlugIn.yawSensitivity            -2.5

rem aiTemplatePlugIn.lookVerticalSensitivity    0.021817

rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817

aiTemplatePlugIn.lookVerticalSensitivity    0.21817

aiTemplatePlugIn.lookHorizontalSensitivity -0.21817

aiTemplatePlugIn.proportionalConstant	   -7

aiTemplatePlugIn.derivativeConstant	   -1

aiTemplatePlugIn.throttleLookAhead          1.0

aiTemplatePlugIn.pitchLookAhead             1.0

aiTemplatePlugIn.rollLookAhead              1.0

aiTemplatePlugIn.yawLookAhead               1.0

aiTemplatePlugIn.lookVerticalLookAhead      1.0

aiTemplatePlugIn.lookHorizontalLookAhead    1.0

aiTemplatePlugIn.throttleScale              1.0

rem *** Angle in radians ***

aiTemplatePlugIn.pitchScale                 5.0

aiTemplatePlugIn.rollScale                  5.0

aiTemplatePlugIn.yawScale                   0.0020

aiTemplatePlugIn.lookVerticalScale          1.0

aiTemplatePlugIn.lookHorizontalScale        1.0

aiTemplatePlugIn.setCameraRelativeMinRotationDeg -60/-80/0

aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 45/60/0



rem *** AITemplate ***

aiTemplate.create usahe_ah60_Passenger1

aiTemplate.addType ITUnit

aiTemplate.addType ITBiological

aiTemplate.addType ITAir

aiTemplate.addType ITHelicopter

aiTemplate.degeneration 10

aiTemplate.allowedTimeDiff 2

aiTemplate.basicTemp 5

aiTemplate.commonKnowledge 0

aiTemplate.secondary 1

aiTemplate.addPlugIn usahe_ah60_Passenger1Unit

aiTemplate.addPlugIn usahe_ah60_Passenger1Ctrl



aiTemplatePlugIn.create Unit usahe_ah60_Passenger2Unit

aiTemplatePlugIn.equipmentTypeName ParatrooperFixed

aiTemplatePlugIn.setStrategicStrength 0 1

aiTemplatePlugIn.setStrategicStrength 1 1



aiTemplatePlugIn.create ControlInfo usahe_ah60_Passenger2Ctrl

aiTemplatePlugIn.driveTurnControl           PIYaw

aiTemplatePlugIn.driveThrottleControl       PIThrottle

aiTemplatePlugIn.aimHorizontalControl       PIMouseLookX

aiTemplatePlugIn.aimVerticalControl         PIMouseLookY

aiTemplatePlugIn.lookHorizontalControl      PIMouseLookX

aiTemplatePlugIn.lookVerticalControl        PIMouseLookY

aiTemplatePlugIn.throttleSensitivity       -1.0

rem aiTemplatePlugIn.pitchSensitivity           0.021817

rem aiTemplatePlugIn.rollSensitivity           -0.021817

aiTemplatePlugIn.pitchSensitivity           0.21817

aiTemplatePlugIn.rollSensitivity           -0.21817

aiTemplatePlugIn.yawSensitivity            -2.5

rem aiTemplatePlugIn.lookVerticalSensitivity    0.021817

rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817

aiTemplatePlugIn.lookVerticalSensitivity    0.21817

aiTemplatePlugIn.lookHorizontalSensitivity -0.21817

aiTemplatePlugIn.proportionalConstant	   -7

aiTemplatePlugIn.derivativeConstant	   -1

aiTemplatePlugIn.throttleLookAhead          1.0

aiTemplatePlugIn.pitchLookAhead             1.0

aiTemplatePlugIn.rollLookAhead              1.0

aiTemplatePlugIn.yawLookAhead               1.0

aiTemplatePlugIn.lookVerticalLookAhead      1.0

aiTemplatePlugIn.lookHorizontalLookAhead    1.0

aiTemplatePlugIn.throttleScale              1.0

rem *** Angle in radians ***

aiTemplatePlugIn.pitchScale                 5.0

aiTemplatePlugIn.rollScale                  5.0

aiTemplatePlugIn.yawScale                   0.0020

aiTemplatePlugIn.lookVerticalScale          1.0

aiTemplatePlugIn.lookHorizontalScale        1.0

aiTemplatePlugIn.setCameraRelativeMinRotationDeg -45/-80/0

aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 60/60/0



rem *** AITemplate ***

aiTemplate.create usahe_ah60_Passenger2
aiTemplate.addType ITUnit
aiTemplate.addType ITBiological
aiTemplate.addType ITAir
aiTemplate.addType ITHelicopter
aiTemplate.degeneration 10
aiTemplate.allowedTimeDiff 2
aiTemplate.basicTemp 5
aiTemplate.commonKnowledge 0
aiTemplate.secondary 1
aiTemplate.addPlugIn usahe_ah60_Passenger2Unit
aiTemplate.addPlugIn usahe_ah60_Passenger2Ctrl[/codebox]

Link zu diesem Kommentar
Auf anderen Seiten teilen

Ich konnte das System jetzt weitestgehend Optimieren sodass die Bots abspringen, aber jedesmal wenn sie den Fallschirm öffnen sterben sie in der Luft. Ich habe es selbst mal ausprobiert und festgestellt das der Heli jeden tötet der zu früh den Fallschirm öffnet.

Kann mir jemand sagen wie ich die Öffnung des Fallschirma verzögern kann damit die Bots nicht auf der Stelle sterben? Eine andere Möglichkeit wäre den Heli mit Angriffskapseln auszustatten, aber das hat bei meinem Versuch nicht funktioniert. Kann mir bitte jemand sagen wie Ich das richtig machen muss damit es auch funktioniert?

Wäre echt nett, Ich verzweifle nämlich solangsam!

MfG,

Corsair

Link zu diesem Kommentar
Auf anderen Seiten teilen

Hi,

ich würde Dir fast dazu raten die Frage im Forum von BFSP zu stellen. Da hat es ausgezeichnete AI Coder :) BFSP kennst Du?

Link zu diesem Kommentar
Auf anderen Seiten teilen

Ist das nicht die Gruppe die den SP-Mod rausgebracht hat?

Gib mir bitte mal die Adresse für das Forum, mal sehen ob die mir weiterhelfen können.

MfG,

Corsair

Link zu diesem Kommentar
Auf anderen Seiten teilen

Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren

Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde Dich hier an.

Jetzt anmelden


  • Wer ist Online   0 Benutzer

    • Keine registrierten Benutzer online.
×
×
  • Neu erstellen...

Wichtige Information

Wir haben Cookies auf Deinem Gerät platziert. Das hilft uns diese Webseite zu verbessern. Du kannst die Cookie-Einstellungen anpassen, andernfalls gehen wir davon aus, dass Du damit einverstanden bist, weiterzumachen.