PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Einige Fragen zum Modden



Alith Anar
24.02.06, 09:33
Hallo

Ich schreibe garde mein Spiel ein bischen um und hab noch ein paar fragen :)
Ich habe eine neue Schiffsklasse eingefügt.

In welcher Datei finde ich den die Länderspezifischen Einheitenbezeichnungen für die Marineeinheiten, Also Hood-Klasse, Bismark-klasse etc? Die Datei mit den Schiffsnamen (Bismark, Tirpitz etc habe ich gefunden) Auch die Datei mit den Generellen Bezeichnungen (Vorkriegskreuzer, Verbesserter leichter Kreuzer etc hab ich gefunden).

Und die Zweite Frage, das ich per Event Einheiten erschaffen kann habe ich schon mitbekommen, aber kann ich auch Einheiten löschen ?

Und 3te Frage:
Wo kann ich festlegen welches Bild für die jeweilige Einheit geladen wird.
Zur Zeit wird bei den neuen Schiff das Bilder der Aurora angezeigt. Ich würde es wenigstens durch ein passendes / neues ersetzen.

Danke
Alith

Alith Anar
24.02.06, 11:41
Oki Frage 2 hat sich dank Wiki geklärt.
Bleiben noch die anderen beiden. Da finde ich leider nix zu.

Alith

Spocky
24.02.06, 12:18
Hallo

Ich schreibe garde mein Spiel ein bischen um und hab noch ein paar fragen :)
Ich habe eine neue Schiffsklasse eingefügt.

In welcher Datei finde ich den die Länderspezifischen Einheitenbezeichnungen für die Marineeinheiten, Also Hood-Klasse, Bismark-klasse etc? Die Datei mit den Schiffsnamen (Bismark, Tirpitz etc habe ich gefunden) Auch die Datei mit den Generellen Bezeichnungen (Vorkriegskreuzer, Verbesserter leichter Kreuzer etc hab ich gefunden).

Ich vermute , du meinst die Datei \config\models.csv ? Da stehe so sachen wie Bismark Klasse drin ?
Wenn es die nicht ist kannst du noch wahlweise in der unit_names.csv schauen ob du da noch was ändern musst



Und 3te Frage:
Wo kann ich festlegen welches Bild für die jeweilige Einheit geladen wird.
Zur Zeit wird bei den neuen Schiff das Bilder der Aurora angezeigt. Ich würde es wenigstens durch ein passendes / neues ersetzen.
Danke
Alith

Die Bilder sind unter GFX\Interface\models zu finden. Die syntax ist relativ einfach
Name:
ill_<bri|div>_<Landerkürzel>_<modelnummer>_<Modelltypnummer>

Die Modeltypnummer fägt übrigens immer bei 0 an !

Spocky

Alith Anar
24.02.06, 13:38
Danke.

Genau die Dateien habe ich gesucht :)

Alith

Alith Anar
25.02.06, 13:08
Hallo

HOI2 + 1.3b + HSR 2.05

der erste Teil meines events ist "fertig".
Nur triggert er nicht. Warum ? :)
Die einheiten dümpeln alle lustig vor sich hin auf dem Wasser, und werden nicht gelöscht.



#########################################################################
# Build AA Cruisers
#########################################################################
event =
{
id = 40549
country = ENG
random = no

trigger = {
division_exists = { type = 12700 id = 96 } #HMS Cairo
division_exists = { type = 12700 id = 165 } #HMS Coventry
division_exists = { type = 12700 id = 166 } #HMS Curlew
division_exists = { type = 12700 id = 185 } #HMS Carlisle
division_exists = { type = 12700 id = 201 } #HMS Capetown
division_exists = { type = 12700 id = 216 } #HMS Calcutta
division_exists = { type = 12700 id = 217 } #HMS Colombo
division_exists = { type = 12700 id = 220 } #HMS Curacao
}
name = "Building AA Cruisers"
desc = "The Royal Navy decommisioned some of the old C-Class Light Cruisers to equip them with new AA-weapons. The eqipment took place in Glasgow."
style = 0
picture = american_naval_reinforcments3 #by Mosquito

date = { day = 10 month = january year = 1936 }
offset = 100
deathdate = { day = 30 month = december year = 1947 }

action_a = {
name = "Let equip the old vessels"
ai_chance = 60
command = { type = remove_division which = "HMS Coventry" value = ENG }
command = { type = remove_division which = "HMS Curlew" value = ENG }
command = { type = remove_division which = "HMS Cairo" value = ENG }
command = { type = remove_division which = "HMS Carlisle" value = ENG }
command = { type = remove_division which = "HMS Capetown" value = ENG }
command = { type = remove_division which = "HMS Calcutta" value = ENG }
command = { type = remove_division which = "HMS Colombo" value = ENG }
command = { type = remove_division which = "HMS Curacao" value = ENG }
command = { type = construct which = ic where = 9 value = -6 } #Glasgow
}
action_b = {
name = "We need our industry for more important things."
ai_chance = 40
command = { }
}
}


Die oben aufgeführten Schiffe müssen alle exitieren, damit das Event triggert. Sie sollen erst aus dem Spiel entfernt werden. Nach einem Jahr sollen Sie als die neue Schiffsklasse wieder auftauchen (das Events ist noch nicht fertig).

Bin für jede Hilfe dankbar :)

Alith

Schneeman
26.02.06, 17:35
Ich habe auch ein Problem. Italien soll Milizen (in Afrika) und Uboote bekommen. Aber das event wird weder ausgelöst noch passiert etwas wenn ich es über di konsole auslöse :???:
Fehlermeldungen bekomme ich keine.




event = {
id = 111666
country = ITA
random = no

trigger = {
atwar = no

}

name = "Italien wird stärker"
desc = "Italien wird stärker"
style = 0
picture = "lend_lease"

date = { day = 1 month = august year = 1938 }


action_a = {
name = "wir brauchen mehr"
command = { type = add_corps which = "Division 1" value = land where = 919 }
command = { type = add_division which = "1a Milicia Falangista" value = militia when = 0 }
command = { type = add_division which = "1a Milicia Falangista" value = militia when = 0 }
command = { type = add_division which = "1a Milicia Falangista" value = militia when = 0 }
command = { type = add_division which = "1a Milicia Falangista" value = militia when = 0 }
command = { type = add_division which = "1a Milicia Falangista" value = militia when = 0 }
command = { type = add_division which = "1a Milicia Falangista" value = militia when = 0 }
command = { type = add_division which = "1a Milicia Falangista" value = militia when = 0 }
command = { type = add_division which = "1a Milicia Falangista" value = militia when = 0 }
command = { type = add_division which = "1a Milicia Falangista" value = militia when = 0 }
command = { type = add_corps which = "Transport Force" value = naval when = 384 where = 378 }
command = { type = add_division which = "Transporter 1" value = transport when = 0 }
command = { type = add_division which = "Transporter 2" value = transport when = 0 }
command = { type = add_division which = "Transporter 3" value = transport when = 0 }
command = { type = add_division which = "Transporter 1" value = transport when = 0 }
command = { type = add_division which = "Transporter 2" value = transport when = 0 }
command = { type = add_division which = "Transporter 3" value = transport when = 0 }
command = { type = add_division which = "Transporter 1" value = transport when = 0 }
command = { type = add_division which = "Transporter 2" value = transport when = 0 }
command = { type = add_division which = "Transporter 2" value = transport when = 0 }
command = { type = add_division which = "Transporter 3" value = transport when = 0 }
command = { type = add_division which = "Transporter 1" value = transport when = 0 }
command = { type = add_division which = "Transporter 2" value = transport when = 0 }
command = { type = add_division which = "Transporter 3" value = transport when = 0 }
command = { type = add_division which = "Transporter 3" value = transport when = 0 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_division which = "Little Italy" value = 23 when = 1 }
command = { type = add_division which = "Potenza" value = 26 when = 1 }
command = { type = add_division which = "Turino" value = 26 when = 1 }
command = { type = add_corps which = Uboot Force" value = naval when = 384 where = 378 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
command = { type = add_division which = "U-boot" value = 28 when = 3 }
}
}