I figured out hardpoints FINALLY

Post Reply
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8332
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా
Contact:

I figured out hardpoints FINALLY

Post by IskatuMesk »

After a lot of theorycrafting and thinking I was talking to TZ for a while in my effort to figure out just how the fuck the game was referencing hardpoints. The data editor is so fucking confusing and convoluted it's amazing anyone in their dev team got anywhere with it. I imagine they actually use an in-house XML parser to actually make the game and the editor is just tacked on with zero QA or testing. It'd make sense why everything is EVERYWHERE without any random sense of organization.

I had one half of the puzzle figured out - the model portion of a unit has an Attachment list that seems to be defining points to random arbitrary definitions that don't really get referred anywhere else. In fact they ARE getting referred somewhere else, the weapon actor's Attachment Launch Query. This has all sorts of confusing and what options, typically defaulting to the extremely vague AMFilterWeaponSetA1. This actually is referring to a set defined in the model. There's also Set B+C but no immediate way to refer them. As a result it seems a unit has a limit of 5 weapon "sets" in this manner, since the index limit is 5 according to the query list. Maybe it goes higher but that's all it lets you pick.

Of course to refer to hardpoints they have to be in your model.
Gameproc
Though we stand alone, stand we shall.
User avatar
RazorclawX
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 2101
Joined: Thu Aug 24, 2006 7:19 pm

Re: I figured out hardpoints FINALLY

Post by RazorclawX »

IskatuMesk wrote: I had one half of the puzzle figured out - the model portion of a unit has an Attachment list that seems to be defining points to random arbitrary definitions that don't really get referred anywhere else. In fact they ARE getting referred somewhere else, the weapon actor's Attachment Launch Query. This has all sorts of confusing and what options, typically defaulting to the extremely vague AMFilterWeaponSetA1. This actually is referring to a set defined in the model. There's also Set B+C but no immediate way to refer them. As a result it seems a unit has a limit of 5 weapon "sets" in this manner, since the index limit is 5 according to the query list. Maybe it goes higher but that's all it lets you pick.
It's defined in the Attachment Points portion of the Data Editor.
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8332
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా
Contact:

Re: I figured out hardpoints FINALLY

Post by IskatuMesk »

I see.

I need to figure out weapons now... non-frontal weapons. Ugh.
Gameproc
Though we stand alone, stand we shall.
Post Reply