These are chat archives for BSData/wh40k

5th
May 2016
penguin20000
@penguin20000
May 05 2016 08:10
ooo xslt magic, i like
For anybody who wants to see your faction's new flyer rules
OftKilted
@OftKilted
May 05 2016 16:16
Eldar/Dark Eldar are the fastest and most agile ....
We need the Hell Blade, Hell Talon, Dreadclaw and khrybdis
cartag
@cartag
May 05 2016 16:21
and Fire Raptor, Storm Eagle, Thunderhawk Gunship
OftKilted
@OftKilted
May 05 2016 16:22
I assume that they'll have similar to their non CSM brethren
cartag
@cartag
May 05 2016 16:25
Yes, and we don't have stats for the loyalist versions either :P
OftKilted
@OftKilted
May 05 2016 16:26
Loyalists don't need the stats. :-p
cartag
@cartag
May 05 2016 16:40
We also need stats for the Arvus Lighter and the Valkyrie
Troy Graber
@tag8833
May 05 2016 20:16
What is the plan to handle the Flyer Wing? Is it treated like a unit of fliers?
cartag
@cartag
May 05 2016 20:17
If that's the detachment, it will be added as such once the rules are out for it
like actual screenshots, not just text on a site
Troy Graber
@tag8833
May 05 2016 20:18
I don't think it is a detachment, but I don't have the full rules in front of me yet.
cartag
@cartag
May 05 2016 20:18
There is a new flyer detachment in the Death from Above book
along with other formations
Troy Graber
@tag8833
May 05 2016 20:20
blob
I know, but this thing:
It shows up on all of the new datasheets.
cartag
@cartag
May 05 2016 20:20
I understand that that is in there too
It can be handled the same way C:SM handles squadrons of Vindicators
Or we can set up a special formation called Flyer Wing and have it include at minimum 2 of the unit
cartag
@cartag
May 05 2016 21:17
Ok, messing around with a few things with what @amis92 linked for adding profiles, and I've not gotten any luck on actually adding the field into the CAT files yet, but here's how it'll look for ALL vehicles if we do it this way
blob
With the Pursuit and Agility next to it of course
three empty columns for non-flyers, or a small table for flyer stats. Survey says?
Austin C.
@capitaladot
May 05 2016 21:25
Why not create a new Flyer profile?
cartag
@cartag
May 05 2016 21:26
That is already done, @OftKilted wanted it all on one line.
screenshot ^
Or were you meaning a new profile for Flyers with everything on it?
OftKilted
@OftKilted
May 05 2016 21:30
That actually might make more sense for a flyer profile.
cartag
@cartag
May 05 2016 21:31
Everything will have to be recreated then, @OftKilted
If we're doing it that way for flyers, why not do an all inclusive one for Transports too?
Austin C.
@capitaladot
May 05 2016 21:39
Exactly as you say, @OftKilted ; a distinct profile.
Austin C.
@capitaladot
May 05 2016 21:51
Could you not hand-edit the XML and just replace those that match the string "(Flyer)" in unit type?
cartag
@cartag
May 05 2016 22:01
Are all of our data authors capable of hand editing an XML file to 1) convert a profile to another type if given the UID, 2) able to then add the three new stats, and 3) be 100% accurate to avoid a corrupt data file and having their CAT file deleted?
OftKilted
@OftKilted
May 05 2016 22:09
@cartag probably not
Austin C.
@capitaladot
May 05 2016 22:10
As this is a system wide-change, why not just have one person do it?
cartag
@cartag
May 05 2016 22:10
Do you volunteer?
Amadeusz Sadowski
@amis92
May 05 2016 23:25
Well I might produce the XSLT for that change, I just need you to tell me exactly what it should do.
OftKilted
@OftKilted
May 05 2016 23:33
The problem that I could see is that items would need to be labeled "flyer" somewhere in the profile. And then change the type to type flyer and update the guid. But not get items that are he same guid that aren't flyers.
cartag
@cartag
May 05 2016 23:33
It would need to identify anything with the unit type of vehicle (flyer), some are (flyer, hover) though, and set them to a different profile id. Is there a way to set the xslt to find strings instead of id's?
Amadeusz Sadowski
@amis92
May 05 2016 23:35
The XSLT is almost almighty, so to say. I'd just probably need a little time to get re-used to it. :D
cartag
@cartag
May 05 2016 23:36
I've been trying to get it figured out but haven't had much success yet I'm sad to say
Amadeusz Sadowski
@amis92
May 05 2016 23:37

So, what the transform would have to do is:

  1. find profile of profileType 'Vehicle' which have UnitType attribute containing word 'Flyer'

  2. Rewrite them with different profileTypeId for new gst profile type "Flyer" adding to them new fields of that profile type.

Is that correct?
OftKilted
@OftKilted
May 05 2016 23:38
That sounds right to me. However we might have stuff with the type of transport?
(Did we update the gst with that type?)
So vehicle or transport with type flyer
Attribute contains flyer
(Sorry, it's beer o'clock here)
Amadeusz Sadowski
@amis92
May 05 2016 23:40
Is that so? I'm damn lazy, but I don't have the repo on disk: I thought the transport profile only added fields not already present on other vehicles?
OftKilted
@OftKilted
May 05 2016 23:42
I don't remember.
🙁
Amadeusz Sadowski
@amis92
May 05 2016 23:42
Well me neither ;D
OftKilted
@OftKilted
May 05 2016 23:43
And I'm running mobile ... And the cool programmer working on the editor for iOS hasn't gotten me a beta to test yet. ;-)
Amadeusz Sadowski
@amis92
May 05 2016 23:43
This week, I promise. I don't have choice really xD I have to present the app next week as finished project. So... ;)
cartag
@cartag
May 05 2016 23:44
Transport profile is something just for ease of reference, not listed
OftKilted
@OftKilted
May 05 2016 23:45
@amis92 if you need beta testers for test flight let me know. I'm available :-)
@cartag well ... That's positive
Amadeusz Sadowski
@amis92
May 05 2016 23:45
@OftKilted Will do :)
So, transports are neutral to the transform to be done?
cartag
@cartag
May 05 2016 23:48
Sorry, didn't mean to post mid sentence. Stupid phone
Correct, transport is neutral. We are just needing to look for vehicle profile
Amadeusz Sadowski
@amis92
May 05 2016 23:49
Good
cartag
@cartag
May 05 2016 23:50
And the gst needs a new profile for flyers, a clone of vehicle profile with three new fields
Combat Role, Pursuit, and Agility
Amadeusz Sadowski
@amis92
May 05 2016 23:53
Okay, I'll start tomorrow. Now, I wish you all good night or a nice day, depending on your time zone ;D
OftKilted
@OftKilted
May 05 2016 23:59
Cheers!