![]() |
|
Senior Member
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,016
|
1. How do I remove/cancel a special ability granted by a type/subtype?
I have a Tannar'ri (Palrethee demon, MM2) which does not get the usual Tanar'ri resistance to cold attacks. Having added the Tanar'ri subtype, how do I remove or block the "Damage Resist Cold" from the Special Abilities list? I've searched the forum, but haven't turned up anything that will help. 2. I have two creatures coded (Harpoon Spider & Mezzoloth, MM3) where HL has calculated its main attack damage based on STR bonus x1.5, not x1. For the spider it makes sense (to me) that this is the right calculation, even though the MM3 differs. The Mezzoloth uses a trident one-handed with a shield, or can make 2 claw attacks. (No multi-attack) I have the claw attacks set as primary and the claw attack/damage works correctly when trident is selected/deselected as weapon, but I can't work out why the weapon damage is different. Any ideas? Thanks and regards! |
![]() |
![]() |
Senior Member
Join Date: Jul 2010
Posts: 3,075
|
Quote:
1) You can assign the tag Helper.SpecUp to the special through a script. ie: perform hero.childfound[xDamRsCold].assign[Helper.SpecUp]2) Or you can assign 0 to the Value field. ie: hero.childfound[xDamRsCold].field[Value].value = 0Both options will remove it from the specials tab. I don't have a personal preference. Quote:
Not sure what's happening with the Mezzoloth. I'd probably have to be able to see it. |
||
![]() |
![]() |
Senior Member
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,016
|
Thanks for that.
The remove/block detail is great (and much simpler than I expected) and may come in handy with other things. I'll look through the H-Spider - and change the fang to a natural weapon. That's probably the problem. I've already sent you the Mezzaloth - I'll look at that too, but you are more likely to work out what's happening. Thanks again! |
![]() |
![]() |
Senior Member
Join Date: Jul 2010
Posts: 3,075
|
You won't be able to do that in the HL editor. You'll have to edit the file in a text editor. If you are comfortable doing so, change the compset to "NaturalWep". There may be a few other necessary changes as well, but I forget what they are. If you prefer, just send me the file and I'll change it. I'll want to move the fang weapon to another file anyway.
Last edited by Sendric; September 21st, 2015 at 02:17 PM. |
![]() |
![]() |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
What does this do? -----> Helper.SpecUp
That would have been helpful for me in my early days of coding the types and subtypes for my game. Will it work for all specials? Or just a select few? |
![]() |
![]() |
Senior Member
Join Date: Jul 2010
Posts: 3,075
|
You know when you are creating a Class Special, and you have the option of selecting "Upgrade - hide from list?"? Well, this is the tag that gets assigned to the Class Special when you select that. It removes the item from the Specials tab without removing it from the character. It works for all class specials and specials.
|
![]() |
![]() |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
Ah, Special Upgrade, had no idea that would work with all Specials. Thanks!
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|