Jump to content


Photo

Spell Book Powers Do Not Deactivate

spells

Best Answer Miraak5, 22 June 2019 - 12:33 PM

one of the building you use with your new faction (or any object) have COMMANDCENTER in it's kindof (should be only in the fortress code)

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 OneV

OneV
  • Members
  • 53 posts

Posted 22 June 2019 - 01:14 AM

I am trying to debug a new faction for a mod based on RotWK.
When the fortress is destroyed, the spells do not deactivate; that is players can still cast those spells without having to rebuild their fortress.
Can somebody point me in the right direction as to what code I need to fix/add and possibly in which .ini to look for it?

Edited by OneV, 22 June 2019 - 03:08 AM.


#2 Miraak5

Miraak5

    title available

  • Members
  • 389 posts
  • Location:France
  • Projects:ROTWK Patch 2.02, Wars of the North, BFME1 1.08 Complete Edition
  •  BIG coding, Map scripting and AI coding

Posted 22 June 2019 - 12:33 PM   Best Answer

one of the building you use with your new faction (or any object) have COMMANDCENTER in it's kindof (should be only in the fortress code)


Edited by Miraak5, 22 June 2019 - 03:45 PM.

He was the first...


#3 OneV

OneV
  • Members
  • 53 posts

Posted 22 June 2019 - 03:35 PM

one of the building you use with your new faction (or any object) have COMMANDCENTER in it's kindof

 

That indeed was the problem. The code looked like this 

    KindOf = IMMOBILE BASE_FOUNDATION CASTLE_CENTER CAN_CAST_REFLECTIONS

Now it looks like this and it has solve the issue.

    KindOf = IMMOBILE BASE_FOUNDATION CASTLE_CENTER CAN_CAST_REFLECTIONS CAN_CAST_REFLECTIONS

Thank you so much once again!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users