Modderecke > Coding

Helden werden nicht angezeigt

<< < (2/7) > >>

Rabi:
Pfff, ich bin kein noob bei mir werden se wenigstens angezeigt.
-ne sry für spam-

Persus:

--- Zitat von: Ealendril der Dunkle am  5. Jun 2008, 20:32 ---Ich nehme mal an es handelt sich hierbei um eine neue Faction und das Festungsgebäude dabei soll die goldene Halle sein. Hierbei ist es natürlich zu aller erst wichtig, das die Playertemplate.ini komplett richtig ist. Des weiteren muss natürlich die Grundbasis der Fraktion stimmen, ansonsten kommt dieser besagte Fehler. Wundert mich, das die Fraktion überhaupt funktioniert, wenn die Helden nicht angezeigt werden. Das kann vielerlei Fehler haben, zum einen Castle_unpack ist falsch, zum anderen die TAGs sind falsch etc etc. Hierbei heißt es: Tutorial lesen und alles kontrollieren. Ich würde dir raten die Festung nochmal komplett neu zu schreiben.

--- Ende Zitat ---

Was meinst du mit Grundbasis? *Zieht eine Augebraue hoch*
Und hier, falls es hilfs, meine Daten:


--- Zitat ---PlayerTemplate FactionRohan 
    Side                          = Rohan
    PlayableSide                  = Yes
    Evil                          = No
    StartMoney                    = 0
    MaxLevelMP                    = #DIVIDE( PLAYER_MAX_PURCHASE_POIN TS_DEFAULT PLAYER_PURCHASE_POINTS_G RANTED )
    MaxLevelSP                    = #DIVIDE( PLAYER_MAX_PURCHASE_POIN TS_GOOD PLAYER_PURCHASE_POINTS_G RANTED )
    PreferredColor                = R:43 G:150 B:179 ;kp was das heißt
    StartingBuilding            =  RohanGoldenHall
    ;------------- NO STARTING UNITS FOR YOU -------
    ;StartingUnit0 = GondorFighterHorde
    ;StartingUnitOffset0 = X:-60 Y:185 Z:0
   
   
    StartingUnit1 = RohanPorter 
    StartingUnitOffset1 = X:30 Y:200 Z:0
    StartingUnit0 = RohanPorter
    StartingUnitOffset0 = X:1 Y:130 Z:0
   
    StartingUnitTacticalWOTR        = RohanPorter            ;// This unit is placed in tactical mode when playing WOTR. Add multiple lines for multiple units.
    StartingUnitTacticalWOTR        = RohanPorter
    IntrinsicSciencesMP         = SCIENCE_ROHAN
    SpellBook                    = GoodSpellBook
    SpellBookMp                    = RohanSpellBook
    PurchaseScienceCommandSe t    = GoodSpellStoreCommandSet     
    PurchaseScienceCommandSe tMP    = RohanSpellStoreCommandSe t
    DisplayName                    = INI:FactionRohan
    DefaultPlayerAIType            = MenSkirmishAI
    BeaconName                    = MultiplayerBeacon
    LightPointsUpSound            = GondorLightPointsUp
    ObjectiveAddedSound            = Gui_MissionObjectiveNew
    ObjectiveCompletedSound        = Gui_MissionObjectiveComp leted
    InitialUpgrades                = Upgrade_MenFaction    ;Any upgrades this player template is born with.
    // NOTE: It is very important that the create-a-hero be the first buildable hero, to ensure that the create-a-hero and the ring hero are always
    // attached to the first two buttons in the command set.
    BuildableHeroesMP            = CreateAHero RohanEowyn RohanEomer RohanTheoden  RohanMerry
    BuildableRingHeroesMP        = ElvenGaladriel_RingHero
    SpellStoreCurrentPowerLa bel = APT:SpellStoreCurrentEvensta rPower
    SpellStoreMaximumPowerLa bel = APT:SpellStoreMaximumEvensta rPower
    ResourceModifierObjectFi lter = RESOURCE_MODIFIER_OBJECT _FILTER
    ResourceModifierValues        = 100 100 100 95 90 85 80 75 71 68 66
    MultiSelectionPortrait        = UPGondor_Army
    LoadScreenMusic                = Shell2MusicForLoadScreen
End

--- Ende Zitat ---


--- Zitat ---  CommandSet GoldenHallCommandSet
    1    = Command_RingHeroReviveSl ot   
    2    = Command_CreateAHeroReviv eSlot        // Note we also need an extra slot for the Create A Hero
    3   = Command_GenericReviveSlo t1        ;Revives any hero. Use Slot1-Slot8 and keep them UNIQUE within the same commandset!
    4    = Command_GenericReviveSlo t2        ;Revives any hero. Use Slot1-Slot8 and keep them UNIQUE within the same commandset!
    5    = Command_GenericReviveSlo t3        ;Revives any hero. Use Slot1-Slot8 and keep them UNIQUE within the same commandset!
    6    = Command_GenericReviveSlo t4        ;Revives any hero. Use Slot1-Slot8 and keep them UNIQUE within the same commandset!
    7    = Command_GenericReviveSlo t5        ;Revives any hero. Use Slot1-Slot8 and keep them UNIQUE within the same commandset!
    8    = Command_GenericReviveSlo t6        ;Revives any hero. Use Slot1-Slot8 and keep them UNIQUE within the same commandset!
    9    = Command_GenericReviveSlo t7        ;Revives any hero. Use Slot1-Slot8 and keep them UNIQUE within the same commandset!
    10    = Command_GenericReviveSlo t8        ;Revives any hero. Use Slot1-Slot8 and keep them UNIQUE within the same commands
    11   = Command_ConstructRohanPo rter
   End

--- Ende Zitat ---


--- Zitat ---Behavior = CastleBehavior ModuleTag_castle
        CastleToUnpackForFaction    = Men Fortress_Men
        CastleToUnpackForFaction    = Rohan Fortress_Men
        CastleToUnpackForFaction    = Elves Fortress_Men
        CastleToUnpackForFaction    = Dwarves Fortress_Men       
        CastleToUnpackForFaction    = Wild Fortress_Men
        CastleToUnpackForFaction    = Isengard Fortress_Men
        CastleToUnpackForFaction    = Mordor Fortress_Men

--- Ende Zitat ---

Ealendril der Dunkle:
Diese Codes helfen überhaupt nicht weiter.
Die Grundbasis ist, wie es schon aus dem Wort heruasgeht, die Basis deiner Faction. Wenn diese falsch ist, dann kannst du das Ganze System vergessen. Ich hab dir gesagt du sollst in der ini deiner Festung ansetzen. Die Playertemplate.ini ist soweit richtig, aber ich gehe mal stark davon aus, das deine festungs.ini falsch ist ;)

Persus:
Hmm... Also die Festung ist ein EA Gebäude, mit dem alles schon vorher geklappt hat...
Da habe ich auch nichts verändert.
Und komischerweise kann ich den Baumeister bauen^^

Turin Turumbar:
Neue Fraktionen brauchen bei SuM 2 immer neue bse Files, wie Ealendril schon gesagt, sonst kaum dein Fehler auf und es werden die Baumeißter der Basisfraktion gebaut, anstatt deiner eigenen.

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln