Jump to content


Photo

AoE Weapon for Angmar Wolves (and CP randomly dropping)

aoe weapon upgrade weapon upgrade

Best Answer JUS_SAURON, 01 April 2020 - 08:15 PM

Referring to the CP issue ,

I noticed this when I made a unit give extra CP on build , like a building (farm or statue )

ensure your do not use the code to increase CP on anything other than buildings , it messes with the game whenever the unit dies .

If this still happens , search your code and revert to vanilla CP settings , just to be safe 

 

Referring to Weapon 

 

  ;RadiusDamageAffects        = ENEMIES ALLIES NOT_SIMILAR -  add this back in , remove the ;

  MeleeWeapon           = Yes  - try No , or remove all-together 

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 malvack

malvack
  • Members
  • 36 posts

Posted 01 March 2020 - 07:09 AM

Hi everyone! Currently I'm struggling with two issues, hope someone can give me some directions here.

 

First problem relates to the Angmar Wolves. I wanted to give them a heavier punch than usual, so I figured to give them a radial weapon (to each wolf in the pack). However, I also wanted that this radius also affected the allies, that is to say, each wolf attack would damage both allies and enemies, except from wolves within the pack. Then, I wanted to upgrade the weapon of the wolves via the spiked collars upgrade so that they could only damage enemies once upgraded. I thought this would be easy, but somehow my code isn't working, I don't know what I'm missing, but when I first tested it it worked, but the following playthroughs it didn't. It does have the AoE damage on enemies, but it won't hurt allies.

 

Here's the  weapon code:

Spoiler

 

The other problem I have is something I don't have high hopes to know the answer of, but might as well ask. Sometimes when I'm playing the CP drops until it hit zero and then, the limit dissapears (i.e., I may have 250/1000 then 250/800 then 250/300 then 250/0 and finally just 250. Suffice to say that, when this happens I can't build more units. Even worse, if I build farms, the CP won't be affected, it stays gone. Definitely the worst part is that is near impossible to track what triggers this issue, as it as random as it gets. The most I can figure out is that this happens after I buy one hero I made, however, his abilities does not affect CPs in any way, shape, or form. So I restrain to build him, but then again, I'm not sure if he is the one that makes this issue happen or if it is just a coincidence.

 

If anyone can help me with either of these issues, I'll appreciate it.

 

 



#2 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,581 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

Posted 01 April 2020 - 08:15 PM   Best Answer

Referring to the CP issue ,

I noticed this when I made a unit give extra CP on build , like a building (farm or statue )

ensure your do not use the code to increase CP on anything other than buildings , it messes with the game whenever the unit dies .

If this still happens , search your code and revert to vanilla CP settings , just to be safe 

 

Referring to Weapon 

 

  ;RadiusDamageAffects        = ENEMIES ALLIES NOT_SIMILAR -  add this back in , remove the ;

  MeleeWeapon           = Yes  - try No , or remove all-together 



#3 malvack

malvack
  • Members
  • 36 posts

Posted 06 April 2020 - 06:27 AM

Referring to the CP issue ,

I noticed this when I made a unit give extra CP on build , like a building (farm or statue )

ensure your do not use the code to increase CP on anything other than buildings , it messes with the game whenever the unit dies .

If this still happens , search your code and revert to vanilla CP settings , just to be safe 

 

Referring to Weapon 

 

  ;RadiusDamageAffects        = ENEMIES ALLIES NOT_SIMILAR -  add this back in , remove the ;

  MeleeWeapon           = Yes  - try No , or remove all-together 

Thank you! That did the trick. Oddly enough, it was the MeleeWeapon=Yes the part of code that was causing the bug.

 

I don't have a unit that gives more CP, however, I do think there's a bugged ping that I use that may cause the CP to drop. I'll check it asap. Once more, thank you for your input, and I do want to say that I'm a fan of your work so it's a thrill to have you answering one of my silly questions :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users