• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
I got the Power UP! event to fire, but the actual trait editing isn't working for me. I tried add_trait = genius, then add_trait = genius <charid>, but nothing happened. What am I doing wrong?

Add this to any file in the events directory and type "event 800148" in the game console to activate.

character_event = {
id = 800148
name = "Real Ultimate Power"
desc = "Be a ninja!"
picture = "GFX_evt_hunt"

is_triggered_only = yes
trigger = {
ai = no
}
option = {
name = "Power Up!"
}
add_trait = chaste
add_trait = temperate
add_trait = charitable
add_trait = diligent
add_trait = kind
add_trait = patient
add_trait = humble
add_trait = honest
add_trait = brave
add_trait = gregarious
add_trait = content
add_trait = just
add_trait = zealous
add_trait = trusting
add_trait = scholar
add_trait = gardener
add_trait = mystic
add_trait = fair
add_trait = genius
add_trait = strong
add_trait = grey_eminence
remove_trait = naive_appeaser
remove_trait = underhanded_rogue
remove_trait = charismatic_negotiator
add_trait = elusive_shadow
remove_trait = amateurish_plotter
remove_trait = flamboyant_schemer
remove_trait = intricate_webweaver
add_trait = midas_touched
remove_trait = indulgent_wastrel
remove_trait = thrifty_clerk
remove_trait = fortune_builder
add_trait = brilliant_strategist
remove_trait = misguided_warrior
remove_trait = tough_soldier
remove_trait = skilled_tactician
add_trait = mastermind_theologian
remove_trait = detached_priest
remove_trait = martial_cleric
remove_trait = scholarly_theologian
remove_trait = stressed
remove_trait = depressed
remove_trait = lunatic
remove_trait = possessed
remove_trait = ill
remove_trait = pneumonic
remove_trait = syphilitic
remove_trait = leper
remove_trait = wounded
remove_trait = maimed
remove_trait = infirm
remove_trait = incapable
remove_trait = drunkard
remove_trait = has_tuberculosis
remove_trait = has_typhoid_fever
remove_trait = has_typhus
remove_trait = has_bubonic_plague
remove_trait = has_measles
remove_trait = has_small_pox
remove_trait = lustful
remove_trait = gluttonous
remove_trait = greedy
remove_trait = slothful
remove_trait = envious
remove_trait = wroth
remove_trait = proud
}
}
 
I got the Power UP! event to fire, but the actual trait editing isn't working for me. I tried add_trait = genius, then add_trait = genius <charid>, but nothing happened. What am I doing wrong?

There are only three ways of editing traits, and they are all 'indirect':

1. firing a 'vanilla' event through the console (see first page for them)
2. creating an event that you trigger in game through the console
3. editing your savegame before loading.

I don't think there is any command to directly add a trait through the console, like there is to add skill points, for example.

... if that's what you're looking for, that is.
 
How can i get the debug info to be on and get the IDs of characters
 
I got the Power UP! event to fire, but the actual trait editing isn't working for me. I tried add_trait = genius, then add_trait = genius <charid>, but nothing happened. What am I doing wrong?

There´s a tiny error in the code.

Change this:

[...]
option = {
name = "Power Up!"
} <------- Needs to be removed!
[...]

and the event should work :rolleyes:
 
noob question: is there any way of forcing a character to accept surrender even if the warscore is low?
 
Thanks, that worked!
A new question: when I tried to remove some of the traits in the console it didn't work. For instance, I tried "remove_trait = chaste" to no effect. I also tried with the "event 800148" preceding the code, and with the charid after. No go. Any thoughts?
 
Thanks, that worked!
A new question: when I tried to remove some of the traits in the console it didn't work. For instance, I tried "remove_trait = chaste" to no effect. I also tried with the "event 800148" preceding the code, and with the charid after. No go. Any thoughts?
There´s a tiny error in the code.

Change this:



and the event should work :rolleyes:
 
The code is "event 800148", nothing after/before/different else it's not gonna work.
if you don't want the chaste trait which is part of that event, you can either remove the "add_trait = chaste" from the event or use the event 1015 afterwards, which gives you a choice between chaste and lustful (% so you may have to use it multiple times depending on luck)

Sadly you can't use directly the console to remove/add traits, you have to go through events :)