Crusader Kings II

Crusader Kings II

Dynastic Damascus swords [DIY]
Velar  [developer] Dec 31, 2018 @ 11:05am
Bug reports
Please only post bugs here, all other bug posts will be deleted and moved here
This mod is very lightweight and only adds 16 artifacts, it should not conflict with any mods or cause any crashes. This mod can be removed at any time, the artifacts will just disappear.
< >
Showing 1-11 of 11 comments
IpuntTurtlezz Jan 4, 2019 @ 7:41pm 
My hellenic roman emperor doesn't have the decision avaliable.
Velar  [developer] Jan 5, 2019 @ 5:06am 
It’s not culture related. Do you meet the requirements a listed on the front page?
pst999 Jan 25, 2019 @ 7:22pm 
Can't seem to be able to rename the swords I create.
Velar  [developer] Jan 26, 2019 @ 1:20pm 
You will need the customizer DLC to rename them.
The Leopard Jul 8, 2019 @ 2:56am 
sword doesnt appear in treasury after i customize it
Velar  [developer] Jul 8, 2019 @ 1:10pm 
Can you try again and tell me the options you’ve selected? I will go double check that combination.

Do other swords appear if you do another combination?

Do swords appear when you select random?

Other than a particular combination issue all of the above works for my testing. If it isn’t combination related then there may be an issue with your install / mod combination.
Hydrochoo Feb 2, 2020 @ 5:27am 
I needed 1000 gold and 4500 prestige for the decision to even appear; I would ask that it is always visible as I thought the mod just wasn't working. Also, the sword glimmer doesn't spawn, possibly since I think the personal combat skill setting is wrong. When choosing pc, you get 10 in game, but in the steam desc it says 5 I think.
Velar  [developer] Feb 8, 2020 @ 1:33pm 
@Kit, interesting. it is extremely possible that I messed up the description on a sword. I'll take a look at Glimmer and it's decision.

As for the forge sword option is generally left hidden until you have enough to purchase it. I did this to avoid clutter. Hasn't been an issue in the past.
Drax70 Apr 20, 2020 @ 6:13am 
Hello!
I get a random CTD with this error in my "text.log" file:
[event.cpp:778]: Reference to undefined loc key 'Follow the prompts to build a customized sword for your dynasty.' file: events/diy_artifacts_events.txt line: 7
[event.cpp:757]: Reference to undefined loc key 'Create your own sword.' file: events/diy_artifacts_events.txt line: 8
[eventoption.cpp:186]: Reference to undefined loc key 'Continue' file: events/diy_artifacts_events.txt line: 12
[eventoption.cpp:186]: Reference to undefined loc key 'Choose a random sword' file: events/diy_artifacts_events.txt line: 21
[eventoption.cpp:186]: Reference to undefined loc key 'Cancel' file: events/diy_artifacts_events.txt line: 45
[event.cpp:778]: Reference to undefined loc key 'Martial +3 or Stewardship +3?' file: events/diy_artifacts_events.txt line: 54
[event.cpp:757]: Reference to undefined loc key 'Choose your stats' file: events/diy_artifacts_events.txt line: 55
[eventoption.cpp:186]: Reference to undefined loc key 'Martial +3' file: events/diy_artifacts_events.txt line: 59
[eventoption.cpp:186]: Reference to undefined loc key 'Stewardship +3' file: events/diy_artifacts_events.txt line: 66
[event.cpp:778]: Reference to undefined loc key 'Personal Combat +15 (+20 is max bonus) or Unit Buff +5% attack and moral attack?' file: events/diy_artifacts_events.txt line: 77
[event.cpp:757]: Reference to undefined loc key 'Choose your stats' file: events/diy_artifacts_events.txt line: 78
[eventoption.cpp:186]: Reference to undefined loc key 'Personal Combat +15' file: events/diy_artifacts_events.txt line: 82
[eventoption.cpp:186]: Reference to undefined loc key 'Unit Buff' file: events/diy_artifacts_events.txt line: 89
[event.cpp:778]: Reference to undefined loc key 'Prestige or Piety? Both add 0.75 per month.' file: events/diy_artifacts_events.txt line: 100
[event.cpp:757]: Reference to undefined loc key 'Choose your stats' file: events/diy_artifacts_events.txt line: 101
[eventoption.cpp:186]: Reference to undefined loc key 'Prestige' file: events/diy_artifacts_events.txt line: 105
[eventoption.cpp:186]: Reference to undefined loc key 'Piety' file: events/diy_artifacts_events.txt line: 112
[event.cpp:778]: Reference to undefined loc key 'Personal Combat or Vassal Opinion +5?' file: events/diy_artifacts_events.txt line: 123
[event.cpp:757]: Reference to undefined loc key 'Choose your stats' file: events/diy_artifacts_events.txt line: 124
[eventoption.cpp:186]: Reference to undefined loc key 'Personal Combat +10(+5 if prev. PC chosen, +20 max value)' file: events/diy_artifacts_events.txt line: 128
[eventoption.cpp:186]: Reference to undefined loc key 'Opinion +5' file: events/diy_artifacts_events.txt line: 135
[event.cpp:778]: Reference to undefined loc key 'Your personalized sword has been added to your treasury.' file: events/diy_artifacts_events.txt line: 144
[event.cpp:757]: Reference to undefined loc key 'Sword added' file: events/diy_artifacts_events.txt line: 145
[eventoption.cpp:186]: Reference to undefined loc key 'Okay' file: events/diy_artifacts_events.txt line: 149

I tried to modify/fix it but my modding skills are limited, would you mind checking...?
But, I think, you haven't given the proper localisation to your events. Please check this:
https://ck2.paradoxwikis.com/Event_modding

Thanks!
Last edited by Drax70; Apr 20, 2020 @ 6:19am
Velar  [developer] Apr 20, 2020 @ 8:27am 
This has never been an issue in the past on other mods. But none the less should be an easy fix but tedious. You essentially, need to add a localization key in the localization csv file and link it to the name of the text within each event option instead of referencing a string directly. If you would like to make these fixes and send them to me, I will credit you in the description and update the mod. Otherwise, I won't have time to address this for a while.

Example of what I mean:
diy_artifacts_events.txt

desc = "Your personalized sword has been added to your treasury."
title = "Sword added"
is_triggered_only = yes

option = {
name = "Okay"
set_character_flag = has_created_diy_sword


Change to

desc = diy_sword_event_xyz_desc
title = diy_sword_event_xyz_title
is_triggered_only = yes

option = {
name = diy_sword_event_okay
set_character_flag = has_created_diy_sword

Then within the localization csv you need to have this for each of them;

diy_sword_event_xyz_desc;"Your personalized sword has been added to your treasury.";;;;;;;;;;;;;x

This is an extremely low chance of causing issues and after hundreds of hours of play testing this I has never caused a crash or any game play issues for me. It is fairly common practice to not link localization to repetitive events in mods. If you would like to make the changes I would gladly update the mod with them.
Velar  [developer] May 20, 2020 @ 9:53pm 
Hello @Velarion!
Thanks for the update!
I get this about pictures...
[eventmanager.cpp:255]: Event #4800001 has no picture scripted in events/diy_artifacts_events.txt
[eventmanager.cpp:255]: Event #4800002 has no picture scripted in events/diy_artifacts_events.txt
[eventmanager.cpp:255]: Event #4800003 has no picture scripted in events/diy_artifacts_events.txt
[eventmanager.cpp:255]: Event #4800004 has no picture scripted in events/diy_artifacts_events.txt
[eventmanager.cpp:255]: Event #4800005 has no picture scripted in events/diy_artifacts_events.txt
[eventmanager.cpp:255]: Event #4800006 has no picture scripted in events/diy_artifacts_events.txt

I think you have added the events, without adding any event pictures in the "gfx/event_pictures" folder!
If you want, I can help you with that!!! ;-)

Thanks!

From Drax70

(Drax, will work on for the next update, though this will not cause any crashes its just typical CK2 warnings)
< >
Showing 1-11 of 11 comments
Per page: 1530 50