十字军之王3
ParaWikis
Notice
: Undefined index: HTTP_ACCEPT_LANGUAGE in
/data/wwwroot/www.parawikis.com/skins/Liberty/LibertyTemplate.php
on line
185
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
帮助
译名手册
字词转换
编辑指南
编辑规范
练手沙盒
资助我们
×
欢迎访问十字军之王3百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
FAQ
”(章节)
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
=== 事件脚本 === {{icon|ck3b}} ''If you would like to utilize one "minor inline trigger" for another seperate script. Would it be best to referense to that file, create an identical inline trigger or edit it out from the original and move the trigger to an shared file?'' :* Assuming the new use case is in a separate file, you'd move the trigger to a shared scripted trigger database (for maximum Script Hygiene). {{icon|ck3b}} ''Do we have variables in ck3 to work with?'' :* Yes! We have a set_variable function with a fairly broad amount of utility, which can act as an ordinary variable (taking value from a number of places), a boolean, a flag, or a few other sundry options. {{icon|ck3b}} ''These ordered_lists and the math will be quite nice. And the first_valid trigger is neat as well. Is there something similar for the scene background?'' :* There isn't currently a first_valid system for anything but triggered copy, as far as I know, I'm afraid. :* As for lists, certainly! We've got scripted lists (per the diary), temporary lists (existing for a single block of script), & global lists (as you're wanting here). {{icon|ck3b}} ''Is there an "overwrite/update" functionality for events? And speaking of all those fancy new triggers, commands and on_actions: What are your favourite new additions when compared to CK2?'' :* Currently, we do not have an overwrite/update function. :* As for which is my favourite, gosh, difficult. I didn't get a chance to show it off this dev diary, but I think I'd have to say random_in_list is the one that I personally get the most use out of! Filter through a load of appropriate characters for an event, add them to a list, then pick a random character from that list according to a set of weights I tweak to my preference for interest. Lots of flexibility, and let's you put in just so much drama tailored to your personal preference. :* Want to grab all your vassals, courtiers, close family, then pick out the one with the most and largest claims? Boom, simple, easy, robust. Want to do the same but instead find the one that has the best murder/attempted murder secret against someone important to you? Same list, different weights, only marginally more difficult. Want to find the character in that list with the most missing body-parts and infectious diseases? Easy, doable. :D {{icon|ck3b}} ''Does that mean that they can have more than 4 options (or that the "more" option to cycle through is automatically generated)?'' :* Although the "more" option is not automatically generated, we do not have a hard limit of four options, though the base title certainly prefers to remain at four options or less without a more cycle. {{icon|ck3b}} ''Do you use a GUI of some kind to manage all these, and visualize the relationships?'' :* Hand-crafted in the editor, m'friend. Which editor varies according to personal taste (as long as it works), but the most common ones by far are Sublime & Notepad++. {{icon|ck3b}} ''Are the ai_values the same ones as in CK2? And what's their value range?'' :* I believe we have a couple of new ones, though I think it's outside my purview to discuss which ones. The range is -100 to +100. {{icon|ck3b}} ''Is event_target still around and has there been any important changes to how it works?'' :* They are called saved scopes these days, mainly cause event target got conflated with what that means in code and script documentation, they function pretty much the same you do save_scope_as = name to save them and then scope:name to find them. {{icon|ck3b}} ''Are pre-triggers still in?'' :* No, they proved to be fairly unnecessary when you don't use mean time to happen for everything so aren't checking lots of things regularly all the time to the point that going into the script system to evaluate triggers becomes a noticeable overhead. {{icon|ck3b}} ''in CK2 a common scripting sleight of hand was to have the Pope trigger certain maintenance or narrative events since he's always around - will CK3 use a similar system or is there something in-built to take care of those kinds of situations?'' :* There is a yearly_global_pulse which is fired one on Jan 1st every year and has no scope set as root or any saved scopes, that can be used as a master caller to run maintenance effects and trigger events reliably instead of needing to use a character as a dummy stand in like the Pope. {{icon|ck3b}} ''Does the code for creating characters differ in CK3 from CK2 significantly, and/or has any new functionalities been added to it?'' :* There are a fair few more bells and whistles on it, mainly to make it generate better random characters in an entire culture group or inheriting a dynasty into a new house and being able to be given random traits from a list of valid ones. :* To make it a bit easier to generate nicer random characters more easily there is also a new database of scripted character templates so you can make something like new_warrior_character as a template and give them a list of things you want them to be able to get for example always giving them a martial education and a lifestyle trait that is military or fighting based as well as being able to specify some min-max bounds for martial skill and prowess. :* The rest of the character's info will be determined via defaulting to whoever employs them for things like faith or specified/overridden in the create_character invocation in script. {{icon|ck3b}} ''So if I understand it there won't be the CK2 system where it's create_character and then five different types of create_character for every attribute/education type (i.e. create priest, create soldier, etc.), and instead I can make a custom create_character like, for example, "new_hot_character" which will make a character that always as a minimum has traits to make them attractive?'' :* Exactly! There is a line in the effect where you would do template = new_hot_character and that will then be the base for them {{icon|ck3b}} ''When you say there's a database of scripted character templates, do you mean there's a unique file or folder that is focused purely on scripting new character creation templates, or this is more just a standard scripted effect?'' :* Its a unique database folder, common/scripted_character_templates, where the entries made in files there have a key and then all the various values you want and can use it in the effect like I mentioned above by doing template = key_of_entry. [[File:Steam event header.png|center]]
摘要:
请注意您对十字军之王3百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
十字军之王3百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
×
登录
密码
记住登录
加入十字军之王3百科
忘记密码?
其他方式登录