PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Erstes eigenes Event, so korrekt?



Silece
06.06.06, 11:33
Also, nachdem ich bereits die deutsch alte Garde gekillt habe (danke nochmal) habe ich es geschafft die Türkei in die Achse zu holen.

Ich würde nun diese nun gerne dabei Unterstützen das Osmanische Reich wiederzuerrichten. dazu brauche ich zwei Dinge: Ich muß alle entsprechenden Provinzen zu Cores machen und ich brauche einen Hafen in Istanbul (in DD hat die Stadt keinen)

Der erste teil war einfach, gibt es doch AEIOU. Beim zweiten teil musste ich selber basteln. Eigentlich sollte alles klappen und das Event am 1. August für die Türkei zünden. Kann sich das trotzdem schnell mal jemand anschauen?



#########################################################################
# Großmachtsanspruch - Türkei
#########################################################################
event = {
id = 90001001
random = no
country = TUR
}
}

name = "EVT_804000_NAME" # Reassert the claims of 1914
desc = "EVT_804000_DESC" # We entered the Great War to attain territories that were rightfully ours. Our rights have not diminished with time.
style = 0
picture = "law"
date = { day = 1 month = august year = 1939 }
offset = 5
deathdate = { day = 30 month = august year = 1939 }

action_a = {
name = "EVT_804000_ACTA" # We must do what history demands.
command = { type = addcore which = 1799 }
command = { type = addcore which = 1797 }
command = { type = addcore which = 1796 }
command = { type = addcore which = 404 }
command = { type = addcore which = 1802 }
command = { type = addcore which = 1803 }
command = { type = addcore which = 406 }
command = { type = addcore which = 407 }
command = { type = addcore which = 1813 }
command = { type = addcore which = 1814 }
command = { type = addcore which = 1820 }
command = { type = addcore which = 1822 }
command = { type = addcore which = 1504 }
command = { type = addcore which = 1798 }
command = { type = addcore which = 444 }
command = { type = addcore which = 1861 }
command = { type = addcore which = 1862 }
command = { type = addcore which = 1793 }
command = { type = addcore which = 1794 }
command = { type = addcore which = 1792 }
command = { type = addcore which = 1863 }
command = { type = addcore which = 1795 }
command = { type = addcore which = 1804 }
command = { type = addcore which = 1805 }
command = { type = addcore which = 1821 }
command = { type = addcore which = 1807 }
command = { type = addcore which = 1808 }
command = { type = addcore which = 1809 }
command = { type = addcore which = 1812 }
command = { type = addcore which = 1819 }
command = { type = addcore which = 1818 }
command = { type = addcore which = 1800 }
command = { type = addcore which = 1801 }
command = { type = addcore which = 900 }
command = { type = addcore which = 399 }
command = { type = addcore which = 398 }
command = { type = addcore which = 400 }
command = { type = addcore which = 405 }
command = { type = addcore which = 411 }
command = { type = addcore which = 410 }
command = { type = addcore which = 396 }
command = { type = addcore which = 1860 }
command = { type = addcore which = 1864 }
command = { type = addcore which = 1865 }
command = { type = addcore which = 1866 }
command = { type = addcore which = 1790 }
command = { type = addcore which = 1824 }
command = { type = addcore which = 1823 }
command = { type = addcore which = 1806 }
command = { type = addcore which = 1791 }
command = { type = addcore which = 1825 }
command = { type = addcore which = 1856 }
command = { type = addcore which = 1857 }
command = { type = addcore which = 1907 }
command = { type = addcore which = 1859 }
command = { type = addcore which = 1858 }
command = { type = addcore which = 1848 }
command = { type = addcore which = 1850 }
command = { type = addcore which = 1845 }
command = { type = addcore which = 1844 }
command = { type = addcore which = 1849 }
command = { type = setflag which = ankara }
command = { type = construct which = naval_base where = 409}
}
action_b = {
name = "EVT_804000_ACTB" # Do not jeopardise what we have for what we want.
command = { type = dissent value = 5 }
}
}


Abo, ich hoffe du hast nichs dagegen, daß ich mir den oberen teil ausgeliehen habe. Was macht eigentlich
command = { type = setflag which = ankara } ?

Preussenhusar
06.06.06, 11:35
Eine Klammer weg !
Die 2. nach der ID ist falsch gesetzt.

Trigger fehlt ?
Dann kein Offset und kein deathdate

Nimm eine kleinere eventnummer.
Es kommt zuweilen zu Probleme mit Millionenzahlen.

PH

Silece
06.06.06, 12:33
Ich wollte es eigentlich sowieso per commandline trigern (also "event 90001001 TUR").
Wenn die klammer weg ist passts?

Preussenhusar
06.06.06, 12:34
sollte, ja!

Aber achtet darauf: hinter der Provinz-ID IMMER eine Leerstelle zur Klammer !

PH

Silece
06.06.06, 12:40
Alo beim laden sagt er was von "unkonwn date". Kann es ausserdem sein, daß die letzte }-Klammer ganz unten zuviel ist?

Preussenhusar
06.06.06, 12:41
month = vor august fehlt **gg*

PH

Silece
06.06.06, 12:43
Also entweder bin ich blind, oder du :)

Bei mir steht da:


date = { day = 1 month = august year = 1939 }
offset = 5
deathdate = { day = 30 month = august year = 1939 }


Mehr month braucht man doch nicht?

Preussenhusar
06.06.06, 12:45
uups - ICH

ist irgendwo anders ein event neu/geändert ?

edit

Setflag setzt einen Globalen Parameter für spätere trigger

PH

Silece
06.06.06, 12:47
Als Zeile zeigt er mir 7601 an. Da das Event in der hoi2.txt steht nicht ganz hilfreich.

Kann ich einfach eine "turkey.txt" erstellen und das event da reintun? Wie mache ich dem spiel bekannt, daß alle events für TUR da drin sind?

Preussenhusar
06.06.06, 12:49
in der events.txt in DB\ einfach eine bestehende "verlinkung" kopieren und einsetzen.

Dann die File "turkey" in db\events stellen

PH

Silece
06.06.06, 12:51
Also einfach einen turkey.txt ordner machen hilft nicht.

Preussenhusar
06.06.06, 12:53
nicht ordner !

in der event.txt im Ordner db sind alle eventfiles "verlinkt"

Such mal !
Oder komm in den SI-chat

PH

[B@W] Abominus
06.06.06, 12:54
Kein Problem, kannst Du gern nehmen.

"Flag" siehe Eventbuilding Guide: http://abo.baw-clan.de/forum/viewtopic.php?t=7

Preussenhusar
06.06.06, 12:56
zum Chat erst vom "blauen" Style auf "new style" unten links umstellen.

PH

Silece
06.06.06, 13:02
Also es war eine Textdatei :-) Hatte mich nur vertippt.
In der events.txt gibt es jetzt einen neue zeile:


event = "db\events\turkey.txt"


in meinem events-Ordner habe ich jetzt einen Datei mit Namen turkey.txt

So, ich habe die Nummer mal auf 800101 geändert.
Wenn ich jetzt lade läd er normal, aber wenn ich dann event 800101 eigebe, dann sagt er "unknown command error"

Preussenhusar
06.06.06, 13:05
hmpft - also aus der Ferne kann ich das so nicht sagen.

irgendwas an den Commands ist falsch oder die ID gibt es schon

OH

Silece
06.06.06, 13:06
korrektur, das Leerzeichen war an der falschen stelle. jetzt macht er wieder nix, nach eingabe der (neuen ID)