Thought I'd share a small utility that I wrote and used when making my surrender events mod. Something to stay in my signature as a link for someone to use one day. It can be used when writing/editing events.
The utility reads province.csv and province_names.csv and then lets you choose what areas/regions/provinces you would like to secede and upon a final click generates (copies to clipboard) an elegant batch of "secedeprovince" commands.
Example:
Generates:
Download:Code:command = { type = secedeprovince which = GER value = 62 } #Auxerre command = { type = secedeprovince which = GER value = 380 } #Ljubljana command = { type = secedeprovince which = GER value = 381 } #Rijeka command = { type = secedeprovince which = GER value = 382 } #Zagreb command = { type = secedeprovince which = GER value = 383 } #Banja Luka command = { type = secedeprovince which = GER value = 384 } #Split command = { type = secedeprovince which = GER value = 385 } #Zenica command = { type = secedeprovince which = GER value = 386 } #Sarajevo command = { type = secedeprovince which = GER value = 387 } #Mostar command = { type = secedeprovince which = GER value = 388 } #Dubrovnik command = { type = secedeprovince which = GER value = 389 } #Podgorica command = { type = secedeprovince which = GER value = 390 } #Tirana command = { type = secedeprovince which = GER value = 391 } #Vlor? command = { type = secedeprovince which = GER value = 392 } #Ioannina command = { type = secedeprovince which = GER value = 393 } #Kefalonia command = { type = secedeprovince which = GER value = 394 } #Patras command = { type = secedeprovince which = GER value = 395 } #Corinthe command = { type = secedeprovince which = GER value = 396 } #Crete command = { type = secedeprovince which = GER value = 398 } #Dodecanese command = { type = secedeprovince which = GER value = 399 } #Rhodes command = { type = secedeprovince which = GER value = 400 } #The Cyclades command = { type = secedeprovince which = GER value = 401 } #Athens command = { type = secedeprovince which = GER value = 402 } #Agrinio command = { type = secedeprovince which = GER value = 403 } #Larisa command = { type = secedeprovince which = GER value = 405 } #The Dardanelles command = { type = secedeprovince which = GER value = 410 } #Kavala command = { type = secedeprovince which = GER value = 411 } #Salonika command = { type = secedeprovince which = GER value = 412 } #Edessa command = { type = secedeprovince which = GER value = 413 } #Skopje command = { type = secedeprovince which = GER value = 414 } #Stip command = { type = secedeprovince which = GER value = 415 } #Pristina command = { type = secedeprovince which = GER value = 416 } #Gorna Dzhumaya command = { type = secedeprovince which = GER value = 417 } #Sofia command = { type = secedeprovince which = GER value = 418 } #Nis command = { type = secedeprovince which = GER value = 419 } #Vraca command = { type = secedeprovince which = GER value = 420 } #Pleven command = { type = secedeprovince which = GER value = 421 } #Plovdiv command = { type = secedeprovince which = GER value = 422 } #Varna command = { type = secedeprovince which = GER value = 451 } #Novi Pazar command = { type = secedeprovince which = GER value = 452 } #Uzice command = { type = secedeprovince which = GER value = 453 } #Belgrade command = { type = secedeprovince which = GER value = 454 } #Osijek command = { type = secedeprovince which = GER value = 455 } #Bjelovar command = { type = secedeprovince which = GER value = 459 } #Maribor command = { type = secedeprovince which = GER value = 493 } #Novi Sad command = { type = secedeprovince which = GER value = 494 } #Zrenjanin
http://codeofwar.tk/index.php/compon...apps/5-seceder
It's a single EXE file, no installation, if you have AoD installed outside default location it asks you to specify locations of files every time. .NET Framework is needed for this to work.










Reply With Quote




. I wnat to know this:









