These are chat archives for BSData/wh40k

21st
May 2016
Amadeusz Sadowski
@amis92
May 21 2016 13:46
Hi I don't want to read through everything but there was some talk to re-do flyer profiles on the bs2prep branch like I did on master @cartag right?
Maybe I can fix the xslt to also fix modifiers this time :)
cartag
@cartag
May 21 2016 14:55
This may be much easier this time. I already created the new profile and matched IDs with the old one for each part. So only the replacement part needs done.
I had an idea I need to look into when I get a chance. For the switch over to 2.0, I was thinking I could make a xslt that will find a list of certain profiles and replace the ID in the links. It would need a saved list of ones that are in GST, and will find the UID in the data file and replace them.
Like finding the profile for the Boltgun in the C:SM book and instead pointing it to the same profile in the GST. Authors can then just delete their individual rules if they want since everything will be linked globally
Amadeusz Sadowski
@amis92
May 21 2016 14:57
wait
Am I missing something?
cartag
@cartag
May 21 2016 14:58
in the 2.0 gst we can create profiles in it, not just profile types. In the branch, the GST for it has all the basic profiles listed in the BRB in it
Amadeusz Sadowski
@amis92
May 21 2016 14:58
You've created the new profile with matching ids, so now the Flyer profiles on master and bs2prep are completely different?
cartag
@cartag
May 21 2016 14:58
along with special rules
I manually brought the GST in bs2prep up to to the state it's in for the main branch
Amadeusz Sadowski
@amis92
May 21 2016 14:59
I'm confused
cartag
@cartag
May 21 2016 14:59
the reason for that is all teh shared rules that area already in it, vs just reconverting it over
Amadeusz Sadowski
@amis92
May 21 2016 14:59
uh-huh
we have shared Flyer things in gst?
cartag
@cartag
May 21 2016 15:00
the profiles I created have the same UID for each section, so in terms of options and UID for profiles it is identical to the current version on master
Amadeusz Sadowski
@amis92
May 21 2016 15:00
all right
cartag
@cartag
May 21 2016 15:00
Ooops, that was two sepearte thoughts up there
separate
the matching ids and replacement was one thought
Starting with "I had an idea..." was a separate train of thought, not affecting the flyers in the slightest
I did a really poor job of translating my thought process to words there, that was my bad
Ok, starting over, forget everything I've said this morning
Amadeusz Sadowski
@amis92
May 21 2016 15:02
xD
I'm all ears
cartag
@cartag
May 21 2016 15:03
For everything in BS2Prep right now, we can do the creation of flyer profiles like you did on master. I don't remember if the flyer profile was created before hand, or if you made it as part of the script
I manually created it with the same UIDs for the flyer profile template has the same UID for each section
Amadeusz Sadowski
@amis92
May 21 2016 15:04
That's ok, script only works on cats
I mean catalogues xD
cartag
@cartag
May 21 2016 15:04
and that's all it needs to do
I was just letting you know the prep work of modifying the GST has already been done, and the uids match
so the numbers for the new profile should match how they were in master branch
am I making any sense at all yet? I've not had coffee
Amadeusz Sadowski
@amis92
May 21 2016 15:05
Ok so let me ask: regarding bs2prep, are you changing only gst, or catalogues too
?
Because as far as I can see, BS 2.0 has still some time till release, and we continuously update catalogues on master branch.
cartag
@cartag
May 21 2016 15:16
The GST is up and in progress, I'm also doing work on the chaos ones just to make sure they I encounter any issues others might. Actually, you know what? Don't worry about it, whenever anybody switches theirs over it'll be good.
Forget I said anything. As you were :)
Amadeusz Sadowski
@amis92
May 21 2016 15:17
All right. If you'll have some questions for xslt/bsxmlresharper for your idea of relinking local to shared things, hit me up.
I'm currently working on GodMode, custom catalogue editor. I may implement anything you can imagine :D
Actually, suggestions are welcome here: https://gitter.im/WarHub/GodMode, let's not spam this room any longer.
Jordan Millikan
@Millicant
May 21 2016 19:48
@cartag thanks for responding! I'm dealing with the Horus Heresy catalogues, so my example is from there. A Rite of War requires EITHER a Veteran Tactical squad OR a Terminator squad when selected. So far, my only answer has been to give them both a shared entry link (Legion Veterans for instance) and make that shared entry required. However, another Rite of War also requires Veteran Tactical squads but not Terminator squads, so I'd have to give the Vets another separate shared entry to handle that. It gets ugly rather quickly, so I'm wondering if there's a smarter way to handle it.
cartag
@cartag
May 21 2016 19:59
Send it to me in a pm, I'm in the middle of a tourney