Jump to content
Sign in to follow this  
ztz2019

How to ocl a pilot with inherited veterancy?

Recommended Posts

I've asked 2 years ago but forgot yet.

 

A pilot unit could just as engineer contain module, and make the vehicle a sp status. How to ocl with inherited veterancy?

I once searched out the veterancycratecollide.xsd, and I dont know if it is useful since no vehicle could be grabbed like before.

Share this post


Link to post

And another question, I found AssetTypeOCL.xsd's VeterancyLevel will give ocl unit grant level, so I once let parent unit could ocl_die 3 different types corresponded by 3 levels. But it seems that I can't give all vehicles in wrathed environment.

 

 

Well, it can't make 3 different die ocl by 3 upgrade level, it will ocl 3 unit at the same time.

 

Then I tried change to fireweaponwhendead module, and made 3 weaponocl, it worked.

 

Still, in wrathed it must change all vehicle i needed.

Edited by ztz2019

Share this post


Link to post

So, the problem is still,

How to die_ocl a unit with inherited veterancy?

Share this post


Link to post

Why wouldn't the createupgradedie module work?

It has a required and forbidden upgrade element. So you can use the veterancy upgrades to enable and disable which ocl you spawn.

Share this post


Link to post

Why wouldn't the createupgradedie module work?

It has a required and forbidden upgrade element. So you can use the veterancy upgrades to enable and disable which ocl you spawn.

No, I already tried in CreateObjDie, it also contains upgraderequired and upgradeFobidden, but no use.

Share this post


Link to post

Well, after I checked Avatar Husk's code, I found there is a tag named COPY_CREATORS_UPGRADES,and I add it in pilot ocl.

 

But no use!!!

 

So anyone could tell me why it couldn't also inherit parent unit's veterancy level upgrades?눈_눈

Edited by ztz2019

Share this post


Link to post

Did you add the

<LevelUpUpgrade>

</LevelUpUpgrade>

 

sections to your pilot unit aswell?

Share this post


Link to post

Did you add the

<LevelUpUpgrade>

</LevelUpUpgrade>

 

sections to your pilot unit aswell?

Of corse I have. All baseinfantry module I cared I added.

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×