Jump to content

Actor Upgrading


wowgetoffyourcellphone
 Share

Recommended Posts

Hi guy. So, I read somewhere a few month ago on the forum (maybe?) that actors can now show upgrades with techs. Like, if I have GOLD SHILED tech researched, the actor can know this and display the Gold Shield variation. I looked on the forum but couldn't find it with search function.

 

My qyuestion is, is this true? And if it is true, is there a example of this in the game right now? If true and no example yet, can someone show me (and everyone else) how to do it?

 

Thanks.

Edited by wowgetoffyourcellphone
Link to comment
Share on other sites

Thanks fatherbushido, but I already knew that one. That is actor switching on tech/json side. I thought maybe there was code in the actors themself that recognize techs are being research, inside the actor xml as a variation. Was this implemented or just maybe I saw it was a Trac ticket and my memory got confused.

Edited by wowgetoffyourcellphone
  • Like 1
Link to comment
Share on other sites

Oh I thought the re was something like this possible in the actors:

 

    <variant frequency="1" name="tech-hellenes/gold_shields">
      <textures>
        <texture file="props/shield/gold.png" name="baseTex"/>
        <texture file="props/shield/gold_norm.png" name="normTex"/>
        <texture file="props/shield/gold_spec.png" name="specTex"/>
      </textures>
    </variant>


It detects that the technology hellenes/gold_shields.json has been researched and then changes the texture. I thought this was implemented but maybe I am misremember.
 

Edited by wowgetoffyourcellphone
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...