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

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...