Jump to content

Warnings, Visible Classes.


Emacz
 Share

Recommended Posts

I am getting the below warning - I realize the unit is still playable, but it is a little annoying :)

<p class="warning">WARNING: [ParamNode] Could not remove token 'Citizen' from node 'VisibleClasses'; not present in list nor inherited (possible typo?)</p>

But for the player template we added "Citizen" to <UnitClasses datatype="tokens">

and for the standard infantry template it shows: <VisibleClasses datatype="tokens">Citizen Worker Soldier Infantry</VisibleClasses>

The idea being we don't want Mercenaries to be citizens.  They were paid help from the outside.  Any suggestions on how to clean it up, so the warning doesnt pop up all the time?!

Thanks!

@Atrik@real_tabasco_sauce@wowgetoffyourcellphone@Stan` or anyone else!

Link to comment
Share on other sites

The problem would be a template doing -Citizen (notice the '-') that's what it's complaining about. Adding is fine, removing non existent is not hence the warning

  • Like 1
Link to comment
Share on other sites

12 minutes ago, Stan&#x60; said:

The problem would be a template doing -Citizen (notice the '-') that's what it's complaining about. Adding is fine, removing non existent is not hence the warning

Thanks, I thought send it all trickled back to the infantry template, and they include Citizen, i could just -Citizen.  I did find the "issue" I think.  The merc I were playing around with were specialized either as a mix in or their own unit, so not based off the infantry template.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...