Multiattack question
So can someone inform me as to why field[rMultiatt] was not added to the compset for subraces? Seems like it would be useful to be there for some races like constructs where they are not all created equal, but are part of the same race.
Edit: Count this post as a request for addition of rMultiatt to subraces. |
rMultiatt is strictly for creatures, not for PC's.
|
Not sure why this should matter from a coding perspective
Quote:
|
If you are talking about using it for creature subraces, its simply a matter of adding the rMultiatt ability as a bootstrap, then configuing it. Just use a creature who has multiatt as an ability as an example.
|
The ability thingid is xMultiatt and I do have that bootstrapped. However the subrace will not let me add rMultiatt in the field values stating that this field is not within the compset. rMultiatt adds the text that xMultiatt grants to the hero. So I can only do this at the race level. Here is the problem I have a race on the official content file, I made a subrace that is a monster variant and has multiattack, unfortunately transferring this code that lacks field support and not using a base hero field to trigger boot strap conditions instead makes this quite tedious!
|
I'd need to see the coding you are woring with to assign the values you are trying to work with. Hard to say where you might be going wrong otherwise.
|
So here is the code I am working on:
Quote:
Quote:
At the end of the second box is me forcing multiattack off when The Shattered is not live. Sadly I had to add the shattered rMultiatt text into the race because the subrace doesn't allow this field. So I have to go (at least this is what I know) in an reversed order to get the results, but this requires me to modify the official source file to do so. In the first box I am using the races minweight field to trigger a bootstrap condition to make Humanoid type tag go away. Since this variant is a monstrous form of the race. There is a lore reason why I am not doing the monster form as a template. |
So, here's a method that may work for you.
Step 1. Open or create a Custom tags.1st file for yourself and add something like this between the <document> tags that are in those files (You can look at the Community .1st files and see where there is a tags file you can use to copy): Code:
<group id="A2ZMulti" name="Multiattack"> A2ZMulti.yes A2ZMulti.no Whenever you create a .1st file you need to completely exit HL and reload it before anything shows up. Step 2. On your base race or a copy of your base race that will be used instead of it bootstrap the xMultiatt ability. On the Conditions button for xMultiatt set the timing to First/150 and the tag expression to A2ZMulti.yes This means that xMultiatt will only bootstrap if you have the A2ZMulti.yes tag assigned. In my test example I have made a copy of the Elf race and given it an id of rA2ZElf. Step 3. On your subrace that will have multiattack put an Eval Script that runs before Step 2 (First/100). This can be your script: Code:
hero.childfound[rA2ZElf].field[rMultiatt].text = "I get more attacks." I use A2Z as an ID for my example, but you can substitute your personal ID in your files. This means that you need to replace almost all the races with copies of your own. It's not really that hard to copy/paste the bootstrap line into your .user files if you're willing. The eval scripting, not so much. But from a GM perspective I would only create PC versions of monsters on demand, not everything at once. |
xD I completely forgot about 1st files, been over a year since the last one I made. You are definitely right though that will work perfectly. Thank you Dungeonguru.
|
All times are GMT -8. The time now is 07:29 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.