Total War: THREE KINGDOMS

Total War: THREE KINGDOMS

Not enough ratings
Script Database
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
135.914 KB
24 Nov, 2021 @ 9:08am
29 Nov, 2021 @ 7:25pm
2 Change Notes ( view )

Subscribe to download
Script Database

Description
Confused about how scripts work? Need a little help, well here is a database I setup. Basically I simplified it so you only need to input only one to four keys to do certain functions. You can take a look through RPFM for some examples.

IF you do use any of the functions here, please make this mod a requirement, unless I give you direct permission.

If you need any help please do check out the newly created modding discord:

3k Modding Discord [discord.gg]

I should be around to help with scripting issue. I can somewhat help with other things and if not one of the other members should be able to help you out.
13 Comments
Ironic  [author] 8 Feb, 2022 @ 10:39am 
Ironic  [author] 8 Feb, 2022 @ 9:58am 
@gregory.monahan it should be
Gman9090 8 Feb, 2022 @ 9:56am 
@ Ironctw2st, will the mod be easily compatible? And I assume compatible with your TUP Family Events?
Gman9090 5 Feb, 2022 @ 6:03pm 
You rock thank you very much! I can't wait to use the mod!
Ironic  [author] 1 Feb, 2022 @ 7:36pm 
@gregory.monahan90 there is if you can give me a bit I will make a mod for it.
Gman9090 1 Feb, 2022 @ 6:23pm 
Is there a command to make characters family members? Sandbox doesn't work for certain characters I.e. Liu Bei and the 3 brothers!
我有一个学妹 19 Dec, 2021 @ 6:08am 
--my modify_faction
player_own_modify_faction = nil;


core:add_listener(
"playerStore_api_byHy_listener",
"FirstTickAfterWorldCreated",
function(context)
return true
end,

function(context)
local player_query_faction = cm:query_local_faction();
if(player_query_faction) then
local m_faction = cm:modify_faction(player_query_faction)
player_own_modify_faction = m_faction
end
end,
true
)
我有一个学妹 19 Dec, 2021 @ 6:07am 
@Ironictw2st
Okay, I have solved it now !I used "FirstTickAfterWorldCreated" add_listener,Successfully got modify_faction .
Ironic  [author] 18 Dec, 2021 @ 7:09am 
@我有一个学妹 So, I saw your script in MTU, but I think you need to grab the context of the faction first, so instead grabbing it everytime.

local faction_key = context:faction();

and using this as your modify key.

local modify_faction = cm:modify_faction( faction_key )

hope this helps. If you need more in depth help, do join the discord.
我有一个学妹 17 Dec, 2021 @ 11:52pm 
I uploaded the error log !
If you have free time, I hope you can take a look ,Thank you :steambored: