Another two questions Doug. I need this to evade Avlis spellhooking (it may not even be added to Avlis, but it would be nice) as it is supposed to change the person into a Red Dragon, and only a Red Dragon (I won't go into all the details, as it is very long, and very complicated).

Second, I have modified the 2da file, but now the script wont let me use my modified thing, i.e. I have made a young with the name "POLYMORPH_TYPE_RED_DRAGON_Y" but the script won't let me put that as the creature to polymorph into. What do I need to do there?

Serineth Swiftpaw wrote:hmm, that gets me a Young Dragon, but I'd need to use the Adult Dragon as a base model (as the Ancient's abilities that it's hide gives aren't mentioned in there, it says it uses the same hide as the adult, but that is impossible) so I still have the problem of the Adult not being able to breathe fire... and the Young one wouldn't be able to either.

Any ideas how I can implement the fire breathing? That is the main concern right now...

Fire breathing is implemented in polymorph.2da. The only other way to do it is the way we did races, or use an inventory item with a special ability. You could probably make a plot potion that would do this.

I'm trying this now, but I can't ever get it to have more than one use. also, regardless of if I use Unique Power, or Unique Power Self Only, it never gives me a targetter... Any ideas?

Serineth Swiftpaw wrote:I'm using the 2da from the HotU dat, is there a COPAP one?

No. Avlis has it's own, which is where the Tlincalli, Lupin and Avlis dragon entries are.

Serineth Swiftpaw wrote:Another two questions Doug. I need this to evade Avlis spellhooking (it may not even be added to Avlis, but it would be nice) as it is supposed to change the person into a Red Dragon, and only a Red Dragon (I won't go into all the details, as it is very long, and very complicated).

If you mean you want it to avoid the avlis-specific forms, then you will have to add completely new entries. I overwrote all the chromatic dragon entries for Avlis.

Serineth Swiftpaw wrote:Second, I have modified the 2da file, but now the script wont let me use my modified thing, i.e. I have made a young with the name "POLYMORPH_TYPE_RED_DRAGON_Y" but the script won't let me put that as the creature to polymorph into. What do I need to do there?

You need to create a constant value for it.const int POLYMORPH_TYPE_RED_DRAGON_Y = 344;Where 344 is the line number that POLYMORPH_TYPE_RED_DRAGON_Y occupies.The const should be delcared ideally in an include file. Alternately you can put it before your main() statement in the file - or just use the number instead of POLYMORPH_TYPE_RED_DRAGON_Y.

Serineth Swiftpaw wrote:I'm trying this now, but I can't ever get it to have more than one use. also, regardless of if I use Unique Power, or Unique Power Self Only, it never gives me a targetter... Any ideas?

I would take a look at the fire breath code for wyrmlings and dragons. Basically, you get the direction the character is facing and spew the breath out in that direction. No need to target at all.

Right, but if I go modifying the 2da, and would like it to be implemented universaly, what is the best thing to do? I couldn't use the Avlis one because then other worlds would end up with their people changing into the wrong things, and I cant use a standard one as that would mean the Avlis one would stop changing people to rocks and such. Thoughts? Anyway, I may as well scrap the idea of a young one, so I just need to figure out how to get our Adult Red to breathe fire

Serineth Swiftpaw wrote:Right, but if I go modifying the 2da, and would like it to be implemented universaly, what is the best thing to do? I couldn't use the Avlis one because then other worlds would end up with their people changing into the wrong things, and I cant use a standard one as that would mean the Avlis one would stop changing people to rocks and such. Thoughts? Anyway, I may as well scrap the idea of a young one, so I just need to figure out how to get our Adult Red to breathe fire

Just make a post on the CoPaP dev board stating your intent to add a few lines to the 2da and why. Themi is the gatekeeper there. We can discuss the issue there. Then you can just add in your breath weapon to the 2da and be done. It's Avlis' responsibility to update our modified 2das. You don't have to worry about it. We may nerf or change the lines you add for Avlis, but again that's completely Avlis-sepcific. As long as you're clear on your intentions you don't have to worry about it.

We haven't added any new lines. You should however, go to Bioware's site and make sure that you pad the 2da file accroding to their guidelines. I believe that info can also be found in the CEP docs somewhere.

Ok, hit a wall Doug, the Fire Breath doesn't seem to work properly on either form. The DC seems stuck at 11 and the fire itself seemed to max out at 20. Now according to the Bioware script, it should scale...

Now I haven't done anything, the Ancient is still using the default code, so any idea why Firebreath would not be picking up the characters HD properly? ( tried leveling the character, is was doing a max of 4 damage at level 1 and around 20 at level 40...)

Gah, ignore me Doug, forgot it only took Shifter and Druid levels into account. Works fine, I was using random classes in the test module. Seems like it is done and dusted. 2 scripts; 1 line each and two lines in the 2da file, not bad