Hi guys. I don't know if this is right place to post this, but i'm looking for mod - it was something like "Free for all" mod but on custom map. Thanks for help.
Can you clarify *what* you are doing, specifically, to remove the modifier?A-anyone?
Hi guys. I don't know if this is right place to post this, but i'm looking for mod - it was something like "Free for all" mod but on custom map. Thanks for help.
Use notepad++ to edit the defines.lua (and I'd recommend it for modding in general), for some reason notepad causes crashes.
Mercenary costs are determined by unit composition, and a multiplier in defines.lua.
I remove modifier=religious_unrest, with the values etc that are attached to it, in its entirety. I read in a different thread that that -should- do the trick.Can you clarify *what* you are doing, specifically, to remove the modifier?
You might want to consider an event, WAAAAAY less hassle than altering a savegame file (let alone the strenious debugging involved in savegame alterations compared with an event alteration).
Also, there is no validator for savegame files, there is for events ^_^
Is there a way to lower prices to just one mercenary company without making it just all light infantry, without lowering prices for all other ones too?
Oh, I misunderstood. I think that is part of the tooltip_info command.
Just an educative guess... But what happens when you actually put the tooltip_info into the hidden_tooltip section of the custom tooltip?
It may replace the tooltip with the custom one, but if we're lucky it will not remove the border.
Hi guys. I don't know if this is right place to post this, but i'm looking for mod - it was something like "Free for all" mod but on custom map. Thanks for help.
I think he means the latest version of A New World, since he mentions a custom map and the last versions had a new map. There was another guy mentioning there that he would update it, but it has been quiet for long.Not really the right place, no.
Found it in the Archive of the stickied "User Mod Index" thread (also in my sig.). Please have a look there first when you search for a mod and there's a search function you could use.....
http://forum.paradoxplaza.com/forum/showthread.php?684904-MOD-Free-For-All
The mod seems uncompatible with recent patches.
I remove modifier=religious_unrest, with the values etc that are attached to it, in its entirety. I read in a different thread that that -should- do the trick.
I don't know how to make a costum event, is there like a template I can work off of?
character_event = {
id = 1000187002
desc = EVTDESC1000187002
trigger = {
ai = yes
NOT = { has_global_flag = startup_done }
}
mean_time_to_happen = {
days = 1
modifier = {
factor = 0.01
always = yes
}
}
immediate = {
set_global_flag = startup_done
c_canarias = {
de_jure_liege = d_canarias
}
any_independent_ruler = {
any_demesne_title = {
location = {
add_province_modifier = {
name = no_liege
duration = -1
}
add_province_modifier = {
name = peace_0
# hidden = yes
duration = -1
}
}
}
}
ROOT = {
any_demesne_title = {
location = {
add_province_modifier = {
name = no_liege
duration = -1
}
add_province_modifier = {
name = peace_0
# hidden = yes
duration = -1
}
}
}
}
any_independent_ruler = {
limit = {
tier = duke
is_landed = yes
}
character_event = { id = 1000187003 }
}
IF = {
limit = {
ROOT = { tier = duke }
is_landed = yes
}
ROOT = { character_event = { id = 1000187003 } }
}
}
option = {
name = EVTOPTA1000187002
c_canarias = {
location = {
add_province_modifier = {
name = d_canarias_de_jure_liege
duration = -1
}
add_province_modifier = {
name = isolated
duration = 6000
}
remove_province_modifier = no_liege
}
}
d_canarias = {
de_jure_liege = k_europa
}
}
}
Was a good idea but it didn't work. If I put the tooltip_info into the custom_tooltip or the hidden_tooltip section the program doesn't recognize it anymore so it does nothing.
I think he means the latest version of A New World, since he mentions a custom map and the last versions had a new map. There was another guy mentioning there that he would update it, but it has been quiet for long.
My own mod has the same setup, but it's the europa map, so it may not be what he was looking for.
You can adapt this one. The part which mentions 'no_liege' is the part that adds the no_liege modifier to all provinces on the map. Simply change it to remove a modifier instead, that should work fine.
If you really have no idea how to do it, I can set it up tomorrow, not really have the time at the moment
Code:character_event = { id = 1000187002 desc = EVTDESC1000187002 trigger = { ai = yes NOT = { has_global_flag = startup_done } } mean_time_to_happen = { days = 1 modifier = { factor = 0.01 always = yes } } immediate = { set_global_flag = startup_done c_canarias = { de_jure_liege = d_canarias } any_independent_ruler = { any_demesne_title = { location = { add_province_modifier = { name = no_liege duration = -1 } add_province_modifier = { name = peace_0 # hidden = yes duration = -1 } } } } ROOT = { any_demesne_title = { location = { add_province_modifier = { name = no_liege duration = -1 } add_province_modifier = { name = peace_0 # hidden = yes duration = -1 } } } } any_independent_ruler = { limit = { tier = duke is_landed = yes } character_event = { id = 1000187003 } } IF = { limit = { ROOT = { tier = duke } is_landed = yes } ROOT = { character_event = { id = 1000187003 } } } } option = { name = EVTOPTA1000187002 c_canarias = { location = { add_province_modifier = { name = d_canarias_de_jure_liege duration = -1 } add_province_modifier = { name = isolated duration = 6000 } remove_province_modifier = no_liege } } d_canarias = { de_jure_liege = k_europa } } }
x_decision = {
is_high_prio = yes
potential = {
any_demesne_province = {
has_province_modifier = province_ready
num_of_settlements = 1
NOT = { num_of_settlements = 2 }
}
}
allow = {
wealth = 500
capable_only = yes
war = no
prisoner = no
}
effect = {
wealth = -500
any_demesne_province = {
limit = {
has_province_modifier = province_ready
num_of_settlements = 1
NOT = { num_of_settlements = 2 }
}
remove_province_modifier = province_ready
province_event = { id = HB.24 }
}
}
}
Is there a way to make it so that the localisation of an event will change depending upon which (minor) title someone has?
Not all any_ scopes work in effects, try random_demesne_province (which will only select one province)
If you remove the entire block that modifier=religious_unrest is in it should indeed work. You need to remove the surrounding syntax too, so all of this:I remove modifier=religious_unrest, with the values etc that are attached to it, in its entirety. I read in a different thread that that -should- do the trick.
modifier=
{
modifier="religious_unrest"
<other stuff>
}
Yeah I'm a complete retard when it comes to this so I have no idea what to do with this exactly. I'll wait for your version.
character_event = {
id = 1000187002
desc = EVTDESC1000187002
trigger = {
ai = yes
NOT = { has_global_flag = startup_done }
}
mean_time_to_happen = {
days = 1
modifier = {
factor = 0.01
always = yes
}
}
immediate = {
set_global_flag = startup_done
any_independent_ruler = {
any_realm_title = {
location = {
remove_province_modifier = religious_unrest
}
}
}
ROOT = {
any_realm_title = {
location = {
remove_province_modifier = religious_unrest
}
}
}
}
option = {
name = EVTOPTA1000187002
}
}