These are chat archives for BSData/wh40k

21st
Jul 2017
Price Van-Saint
@sk_Father_Price_twitter
Jul 21 2017 10:14
Necrons ready here, to rid the galaxy of their fears and woes by way of ripping their souls out through their anus
M4uler
@M4uler
Jul 21 2017 11:11
Guys
I need to know if I'm wasting my life due to a known issue or if I'm juuuuuust missing the mechanics of Terminator weapon setups
Changing how Deathwing armaments are assigned in my own CAT, I cannot for the life of me get a condition for the min/max Ranged weapons Entry Group interact with the selections in the Melee weapons Entry Group at the same level
Is anyone about to advise?
Simon Porter
@FarseerVeraenthis
Jul 21 2017 11:16
What are you trying to do differently to the cat on the main repo?
M4uler
@M4uler
Jul 21 2017 11:16
Lo :] Let me check
Simon Porter
@FarseerVeraenthis
Jul 21 2017 11:17
Assuming the main one works properly, that'll probably answer your questions :wink:
M4uler
@M4uler
Jul 21 2017 11:18
The original DA CAT has set loadouts so melee & ranged are matched up in single selections like "SB & chainfist", "SB & power fist" etc
I wanted to split them out into Ranged & Melee groups so they can be chosen separately but one isn't interacting with the other
Will Pattison
@GenWilhelm
Jul 21 2017 11:21
i think what you're describing is how the current DA cat works
Simon Porter
@FarseerVeraenthis
Jul 21 2017 11:22
How would that be better? (what's the reason for making the changes?)
I. E. How would individual selections be better than pre-matched?
M4uler
@M4uler
Jul 21 2017 11:22
So my Ranged Group has a MIN=1 & MAX=1 so there has to be a choice, I've set modifiers so that if Claws or TH/SS is selected in Melee, the MIN & MAX sets to 0 so it errors if any Ranged options are present
I just think it's a lot more elegant; instead of swapping out both weapons you just change the melee from power to chain, or whatever
It's not a massive thing, more the principle - the weapons aren't linked together on the model's sheet so I want the CAT to reflect that
Will Pattison
@GenWilhelm
Jul 21 2017 11:24
deathwing.png
Simon Porter
@FarseerVeraenthis
Jul 21 2017 11:24
From a user perspective, at present you pick the option you want, and that's it, otherwise you end up with a more complicated weapon selection, which will be a pain for mobile users...
In that case, if that screenshot is from the current DA CAT, I don't know what's wrong with the cat you're looking at @M4uler...
M4uler
@M4uler
Jul 21 2017 11:26
That is pretty much exactly what I'm doing now, I think I have the earliest DA CAT with different options
Interestingly, I don't know what's changed between now and yesterday when I started this, but now I can select DW Terminator -> LCs/TH whereas yesterday when I selected DW Terminator all I got were Force Selections to choose from which was useless
Has to use Parent -> LC/TH which is probably why it wasn't working
Interesting
This should work now
Will Pattison
@GenWilhelm
Jul 21 2017 11:30
yeah, that's from the latest DA cat. was changed to work that way ~3 weeks ago
Simon Porter
@FarseerVeraenthis
Jul 21 2017 11:32
Well I'm glad that's fixed then :+1:
M4uler
@M4uler
Jul 21 2017 11:33
Still no change
Annoying
Simon Porter
@FarseerVeraenthis
Jul 21 2017 11:34
:worried:
M4uler
@M4uler
Jul 21 2017 11:35
Capture.JPG
Will Pattison
@GenWilhelm
Jul 21 2017 11:36
you dont have an OR group
so it'll only trigger when both conditions are met
M4uler
@M4uler
Jul 21 2017 11:36
Ahhhhhhhh
Cunning
Righty
AH HA
Yesterday I was using "Instance of" which is what was restricting me to Category Entries and not Shared Selection
Lesson.
Gen, you utte rboss
Nice one, thank you :D
Will Pattison
@GenWilhelm
Jul 21 2017 11:43
no worries :P
Joe Beddoe
@CrusherJoe
Jul 21 2017 12:29
This week has been one of utter hellish nightmare. Hopefully this will be the last day of misery.
Will Pattison
@GenWilhelm
Jul 21 2017 12:30
woah, did i miss something, whats up?
MrRta1910
@MrRta1910
Jul 21 2017 12:35
Can we get the
ACHILLES-ALPHA PATTERN LAND RAIDER Added please
Will Pattison
@GenWilhelm
Jul 21 2017 12:37
which book is that from?
MrRta1910
@MrRta1910
Jul 21 2017 12:38
Index imperium from forge world
Will Pattison
@GenWilhelm
Jul 21 2017 12:38
astartes?
MrRta1910
@MrRta1910
Jul 21 2017 12:39
Yes
Will Pattison
@GenWilhelm
Jul 21 2017 12:41
hmm, i cant find it. i see the regular achilles, but not the alpha pattern
That's the link
Will Pattison
@GenWilhelm
Jul 21 2017 12:55
i've sent an email to forgeworld, hopefully we'll get rules for it in a few days
Austin C.
@capitaladot
Jul 21 2017 13:51
Achilles Alpha is an HH unit.
Austin C.
@capitaladot
Jul 21 2017 14:03
Did it have 40k rules, other than experimental, in 7th?
M4uler
@M4uler
Jul 21 2017 14:10
Some 30k armour doesn't get rules for 40k like the Fellglaive...usually a fluff reason for it
Jon Kissinger
@alphalas
Jul 21 2017 14:10
It didn't because volkite
Most tanks that haven't gotten 40K rules are because volkite
M4uler
@M4uler
Jul 21 2017 14:11
Ayup - not a lot of it left!
Jon Kissinger
@alphalas
Jul 21 2017 14:12
Probably won't see it until fires of cryaxis comes out
M4uler
@M4uler
Jul 21 2017 14:31
Eventually :'(
FW Weekender I expect
Will Pattison
@GenWilhelm
Jul 21 2017 14:54
the store page for the achilles alpha says it's supposed to have rules in the IA indexes
for adeptus astartes and chaos
M4uler
@M4uler
Jul 21 2017 15:03
It does not
Jon Kissinger
@alphalas
Jul 21 2017 15:05
They're probably meaning you use the bog-standard Achilles since it has HF or MM options
The Alpha can have MM or Volkite
Heh that's funny in IA Index:Astartes it doesn't even get the HF option lol
M4uler
@M4uler
Jul 21 2017 15:13
It doesn't in the old IA2#2 either
lol
Jon Kissinger
@alphalas
Jul 21 2017 15:14
I didn't realize
Another instance of 30k master race at FW I guess
M4uler
@M4uler
Jul 21 2017 15:17
Younger dudes = more toys lol
Austin C.
@capitaladot
Jul 21 2017 15:25
Anybody got a good script for de-duping link IDs and regenerating new UUIDs for them (or whatever Jon uses)?
I am trying to sort out a problem that involves turning the contents of a shared entry into 19 distinct links on most units in the HH LA cat.
So, I made the list of links once in the data editor, then duped that list where relevant in a text editor.
Now, I have hundreds of dupe ID constraint violations in the editor.
Is there anyway to get the dupes handled automatically, such as blanking out the IDs or something?
Austin C.
@capitaladot
Jul 21 2017 15:31
Clicking and regenerating the IDs in the data editor is literally like 10,000 clicks.
Simon Porter
@FarseerVeraenthis
Jul 21 2017 15:31
best get started sharpish then... :worried:
Austin C.
@capitaladot
Jul 21 2017 15:32
My RSI can't do 10,000 clicks. Surely someone has a script or something?
Or some XML editor that can do this?
Will Pattison
@GenWilhelm
Jul 21 2017 15:32
are all the link identical, other than what they link to?
Austin C.
@capitaladot
Jul 21 2017 15:33
All links are totally identical, only the parent of the link is different.
These are "entry links".
That is, there are 19 links, that are added to most units in the list.
They were under a parent container. Because of the parent, the "automatically selected" behavior did not work.
Austin C.
@capitaladot
Jul 21 2017 15:44
What would happen if I just deleted the id attributes from these links? Anyway to trick the data editor into auto-generating these?
Will Pattison
@GenWilhelm
Jul 21 2017 15:50
i have no idea, i've never done anything on that scale
but if you find a way, i would be most interested :)
M4uler
@M4uler
Jul 21 2017 15:51
You could try the trial version of XMLSpy?
It looks awesome and has a ton of features...given that it costs about £1k if you want to buy it I should hope that it can help you out
Austin C.
@capitaladot
Jul 21 2017 15:53
PhpStorm appears to have XML and UUID plugins... Seeing if they mate.
Austin C.
@capitaladot
Jul 21 2017 16:16
Not so much.
Anyone know what will happen if I blank out those IDs?
Will Pattison
@GenWilhelm
Jul 21 2017 16:21
it gives a bunch of errors saying they must have IDs
Austin C.
@capitaladot
Jul 21 2017 16:23
Presumably the same with illegal values, e.g. -1?
Will Pattison
@GenWilhelm
Jul 21 2017 16:25
i dont think there's many restrictions on what a UID can be, other than it must be unique
so id="-1" would probably be legal
Austin C.
@capitaladot
Jul 21 2017 17:53
So, I wrote a little PHP CLI script... and it works fine... but it sadly exposed an incorrect assumption I had made, that setting an entry link that is required min1 would be autochecked upon adding the unit that contains it to a roster.
depupe_ids.php

$file = file_get_contents($argv[1]);
$patternFileArray = file($argv[2], FILE_IGNORE_NEW_LINES);
$quotedPatterns = [];
foreach($patternFileArray as $eachPattern){
    $quotedPatterns[] = preg_quote($eachPattern, '/');
}
$pattern = implode('|', $quotedPatterns);
fwrite(STDOUT, 'Pattern: '. $pattern);
$replacedFile = preg_replace_callback('/'.$pattern.'/', function(array $matches){
    $replacedMatches = [];
    foreach($matches as $eachMatch){
        $replacement = uniqid('', true);
        $replacedMatches[] = $replacement;
        fwrite(STDOUT, PHP_EOL . 'Replaced: '. $eachMatch . ' with ' . $replacement);
    }

    return implode('\n', $replacedMatches);
},$file);
file_put_contents($argv[1], $replacedFile);
Austin C.
@capitaladot
Jul 21 2017 18:00
If these were sharedSelectionEntry groups with only one option, and set to the default, would they automatically make the selection on adding the unit if the condition that unhides them was already present in the Force?
Is there anyway to autoselect a selection that is conditional upon something else in a Force?
Will Pattison
@GenWilhelm
Jul 21 2017 18:09
i dont think so, otherwise we could have used it in the original implementation of castellans
Austin C.
@capitaladot
Jul 21 2017 18:19
So, I found a way to do that, but it shows a bogus validation error due to having selected a hidden entry.
No way around validation errors on hidden entries?
It seems that hidden status sets min to 0?
Austin C.
@capitaladot
Jul 21 2017 18:24
I'm talking about the validation message "cannot have any selections of "thing" (hidden)"
Where thing is the selection entry in question.
Will Pattison
@GenWilhelm
Jul 21 2017 18:25
no way around that as far as i know
Austin C.
@capitaladot
Jul 21 2017 18:28
How can that be anything but a bug? Why should hidden entries process constraints?
Will Pattison
@GenWilhelm
Jul 21 2017 18:30
because if something is hidden it's not supposed to be selected?
Austin C.
@capitaladot
Jul 21 2017 18:31
It is supposed to be selected, and automatically, but only when not hidden.
Can you make an argument in favor of processing constraints on hidden entries?
Is not the intent of hiding a selection/unit/whatever to prevent its inclusion in a Force?
Austin C.
@capitaladot
Jul 21 2017 18:49
It would also appear that modifiers setting the min constraint to 0 does not process if the selection is hidden, and hide modifiers seem to process first.
However, the only way to produce auto-selection is to set min1, max1.
Jon Kissinger
@alphalas
Jul 21 2017 19:09
alright i'm getting ready to add in the last of the IA stuff for AM.
Iain Launchbury
@Mad-Spy
Jul 21 2017 20:29
So, #906. Is "I'm sorry that my entirely unpaid work undertaken in my free time is not to your satisfaction." an acceptable reply?
Will Pattison
@GenWilhelm
Jul 21 2017 20:31
i saw that earlier. if all of these errors and issues aren't worth noting, why are you complaining about them not being fixed?
if you want to give him a sarcy reply, i wouldnt blame you. if it was me i would just mark is as "vague report" and ignore it for a couple of weeks
Jon Kissinger
@alphalas
Jul 21 2017 20:47
Damn FW added lots of randomization de-randomization to their units - lots of roll +1 D6 and discard lowest
Joe Beddoe
@CrusherJoe
Jul 21 2017 21:05
HUH
Where are you seeing this @alphalas ?
Jon Kissinger
@alphalas
Jul 21 2017 21:06
artemia HH, armageddon Basi/medusa, etc
lots of holl 2d6 and discard lowests for D6 weapons
roll*
Will Pattison
@GenWilhelm
Jul 21 2017 21:11
codex basilisk has that doesnt it?
Austin C.
@capitaladot
Jul 21 2017 21:19
The Ordnance special rule replacement?
Jon Kissinger
@alphalas
Jul 21 2017 21:20
ok basi does but Hellhound doesn't.
there's a couple others too - don't remember off the top of my head
James
@skonk
Jul 21 2017 22:32
shame they're a little low res
Earl Bishop
@DrTobogganMD
Jul 21 2017 22:35
Top Comment.
James
@skonk
Jul 21 2017 22:38
aye just reading it :)
not watched it yet but its over an hour long