Thread: Weird tags in C&C XML
-
April 15th, 2019, 00:29 #1
Weird tags in C&C XML
Working on the PG2HH this weekend getting spells squared away, races and class are all done, the reference manual is complete. While double checking with some of Talyn's recent updates to makes sure I was on the same sheet of paper, I came across some XML tags and lines i wasn't expecting. Nor do I remember them, I have been unable find anything in the FG wiki. The lines of interest are hi-lighted. The code below is a portion of a sample character edit.
Code:<id-00001> [<addlevel type="number">1</addlevel> <level type="number">0</level> <locked type="number">1</locked> <name type="string">Deepvision</name> <shortcut type="windowreference"> <class>ability</class> <recordname></recordname> </shortcut> <siege type="number">0</siege> <siegemodifier type="number">0</siegemodifier> <text type="formattedtext"> <p></p> </text> <type type="string">Racial Trait</type> </id-00001>
I have vague ideas on the next two: <siege type="number">0</siege>
<siegemodifier type="number">0</siegemodifier>
They are both somehow connected to the SIEGE aspect of C&C, but I have been unable to find a whole lot. Are these tags new, old, deprecated?Last edited by Mortar; April 15th, 2019 at 01:31. Reason: had the wrong post up
-
April 15th, 2019, 15:07 #2
Assuming this is an ability record?
A quick find-in-files shows that its main use is in scripts\manager_action_ability.lua in the getSkillRoll function - if set to 1, it will add the level to the skill roll modifier.
You can see this in a character sheet in the GUI - on the abilities tab there is a "+Lvl" checkbox for each ability.
siegemodifier - this is added to the roll modifier. It’s set through the GUI temporary modifier (CTRL+mousewheel).
siege is the actual GUI control that triggers a siege roll - find details of the "siege" control in campaign\record_char_abilities.xml for which data values are combined.
From the above siege is central to a siege check.
addlevel is only used in abilities.
siegemodifier is coded for, is changed through the temp modifier in the GUI or could be added into the XML by hand.
They were all in the C&C v3.3.0 ruleset, so not that new.
Hope the above helps.Last edited by Trenloe; April 19th, 2019 at 02:37. Reason: Clarified siegemodifier
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
April 19th, 2019, 02:09 #3
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,563
The temporary modifier circles that you can add to a rollable field use “<name>modifier” to store the temporary modifier value.
Regards,
JPG
-
April 19th, 2019, 02:35 #4Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
April 28th, 2019, 11:58 #5
Sorry for the slow reply. Thanks for that, my search-fu is much improved now and that mud is a bit clearer now.
Ultimate License Holder
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks