Modderecke > Coding

Schwere Rüstung und geschmiedete Klingen

<< < (5/7) > >>

No1Gamer:
Ja er ist drinne. Hier mal ein Auszug:

Behavior = ProductionUpdate ProductionUpdateModuleTa g
        GiveNoXP = Yes
    End
         
    Behavior = StatusBitsUpgrade ModuleTag_ProductionLega lity
        TriggeredBy = Upgrade_IsengardForgedBl ades Upgrade_TechnologyIsenga rdForgedBlades
        RequiresAllTriggers = Yes
    End

    Behavior = StatusBitsUpgrade ModuleTag_ProductionLega lity2
        TriggeredBy = Upgrade_IsengardHeavyArm or Upgrade_TechnologyIsenga rdHeavyArmor
        RequiresAllTriggers = Yes
    End

    Behavior = LevelUpUpgrade ModuleTag_BasicTraining
        TriggeredBy = Upgrade_MordorBasicTrain ing Upgrade_TechnologyMordor BasicTraining
        RequiresAllTriggers = Yes
        LevelsToGain = 1
        LevelCap = 2
    End

Mir gehts halt darum, dass diese Einheit wieder geschmiedete Klingen und schw. Rüstung kaufen kann.
Alles andere was benötigt wird (also in der ini der einheit, upgrade, button usw.) ist alles vorhanden. Und deshalb versteh ich auch nich, warum das nich geht.

Ealendril der Dunkle:
Auszug aus der Horde der Einheit oder Auszug einer einzelnen Einheit?
Wenn ich dich jetzt also richtig verstanden habe, kann deine Einheit/Einheiten die Upgrades nicht kaufen, ist das richtig?

Elessar Telcontar:
Poste doch bitte alle Einträge.
Also aus der Horde, der einzelnen Unit, dann die Buttons und die Commandsets, weil dort irgendwo ein Fehler liegen muss.

No1Gamer:
Horde:
Behavior = ProductionUpdate ProductionUpdateModuleTa g
        GiveNoXP = Yes
    End
         
    Behavior = StatusBitsUpgrade ModuleTag_ProductionLega lity
        TriggeredBy = Upgrade_IsengardForgedBl ades Upgrade_TechnologyIsenga rdForgedBlades
        RequiresAllTriggers = Yes
    End

    Behavior = StatusBitsUpgrade ModuleTag_ProductionLega lity2
        TriggeredBy = Upgrade_IsengardHeavyArm or Upgrade_TechnologyIsenga rdHeavyArmor
        RequiresAllTriggers = Yes
    End

    Behavior = LevelUpUpgrade ModuleTag_BasicTraining
        TriggeredBy = Upgrade_MordorBasicTrain ing Upgrade_TechnologyMordor BasicTraining
        RequiresAllTriggers = Yes
        LevelsToGain = 1
        LevelCap = 2
    End

Unit:
 ;Sword Upgrade
   Behavior = WeaponSetUpgrade WeaponSetUpgradeModuleTa g
      TriggeredBy         = Upgrade_IsengardForgedBl ades
   End

    ;Heavy Armor
   Behavior = ArmorUpgrade ArmorUpgradeModuleTag
      TriggeredBy         = Upgrade_IsengardHeavyArm or
      ArmorSetFlag         = PLAYER_UPGRADE
   End

   Behavior = SubObjectsUpgrade Armor_Upgrade
      TriggeredBy      = Upgrade_IsengardHeavyArm or
      UpgradeTexture      = muorcwarr.tga 0 muorcwarr_ha.tga
      UpgradeTexture      = muorcwarr_f.tga 0 muorcwarr_fha.tga
      UpgradeTexture      = muorcwarr_d.tga 0 muorcwarr_dha.tga
      UpgradeTexture      = muorcbrute.tga 0 muorcbrute_ha.tga
      RecolorHouse      = Yes
      ExcludeSubobjects   = Forged_Blade
   End

   Behavior = AttributeModifierUpgrade ModuleTag_MordorForgedBl ade
      TriggeredBy = Upgrade_IsengardForgedBl ades
      AttributeModifier = MordorForgedBlade
   End

commandset:
CommandSet MordorFighterHordeComman dSet
    1 = Command_Guard
    2 = Command_BloodThirstySacr ifice
    ;3 = Command_MordorOrkPower
    3 = Command_PurchaseUpgradeM ordorBasicTraining
    4 = Command_PurchaseUpgradeM ordorForgedBlades
    5 = Command_PurchaseUpgradeM ordorHeavyArmor
    13 = Command_AttackMove
    14 = Command_Stop
        15 = Command_Guard
End

Button:
CommandButton Command_PurchaseTechnolo gyMordorForgedBlades
    Command                = PLAYER_UPGRADE
    Upgrade                = Upgrade_TechnologyIsenga rdForgedBlades
    Options                = CANCELABLE
    TextLabel            = CONTROLBAR:PurchaseTechnologyIsenga rdForgedBlades
    ButtonImage            = BIArmory_ForgedBlades
    ButtonBorderType        = UPGRADE
    DescriptLabel            = CONTROLBAR:ToolTipPurchaseTechnolog yIsengardForgedBlades
    Radial                = Yes
    InPalantir            = Yes
End

CommandButton Command_PurchaseUpgradeM ordorForgedBlades
    Command                = OBJECT_UPGRADE
    Options                = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE
    Upgrade                = Upgrade_MordorForgedBlad es
    NeededUpgrade            = Upgrade_TechnologyIsenga rdForgedBlades
    TextLabel            = CONTROLBAR:PurchaseUpgradeIsengardF orgedBlades
    ButtonImage            = BIArmory_ForgedBlades
    ButtonBorderType        = UPGRADE
    DescriptLabel            = CONTROLBAR:ToolTipPurchaseUpgradeIs engardForgedBlades
    InPalantir            = Yes
    LacksPrerequisiteLabel        = tooltip:lackMordorforgedblades
End

CommandButton Command_PurchaseTechnolo gyMordorHeavyArmor
    Command                = PLAYER_UPGRADE
    Upgrade                = Upgrade_TechnologyIsenga rdHeavyArmor
    Options                = CANCELABLE
    TextLabel            = CONTROLBAR:PurchaseTechnologyIsenga rdHeavyArmor
    ButtonImage            = BIArmory_HeavyArmor
    ButtonBorderType        = UPGRADE
    DescriptLabel            = CONTROLBAR:ToolTipPurchaseTechnolog yIsengardHeavyArmor
    Radial                = Yes
    InPalantir               = Yes
End

CommandButton Command_PurchaseUpgradeM ordorHeavyArmor
    Command                = OBJECT_UPGRADE
    Options                = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE
    Upgrade                = Upgrade_MordorHeavyArmor
    NeededUpgrade            = Upgrade_TechnologyIsenga rdHeavyArmor
    TextLabel            = CONTROLBAR:PurchaseUpgradeIsengardH eavyArmor
    ButtonImage            = BIArmory_HeavyArmor
    ButtonBorderType        = UPGRADE
    DescriptLabel            = CONTROLBAR:ToolTipPurchaseUpgradeIs engardHeavyArmor
    InPalantir               = Yes
    LacksPrerequisiteLabel        = tooltip:lackMordorheavyarmor
End

So ich glaub das war alles.

Ealendril der Dunkle:
Kurz:
   Behavior = AttributeModifierUpgrade ModuleTag_MordorForgedBl ade
      TriggeredBy = Upgrade_IsengardForgedBl ades
      AttributeModifier = MordorForgedBlade
   End

Gibts das wirklich Original in SUM1? Wenn ja: Das muss ich damals irgendwie immer übersehen haben  :D

Also zu deinen Anführungen: Ich kann keinen Fehler erkennen, deshalb poste doch bitte mal die Upgrade-Einträge.

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln