Jump to content
Sign in to follow this  
ptd163

No Visual Unit

Recommended Posts

I created a custom unit using tibed and used RA2StrEdit to give it a proper name. Then used SHP Builder to create it's cameo.

 

When I built the unit no picture came out. I make a box around where it was supposed to be and select it that way, but it didn't show up on the map like all the other units.

Share this post


Link to post

The unit obviously doesn't have its belonging SHP (infantry) or voxel (vehicles). I only know how to place one with XCC Utilities, but in the meantime you can set the unit's IMAGE parameter to the code name of an existing unit (like GGI to make it look like an undeployed Guardian GI)

Share this post


Link to post

OK. How do I set something's Voxel/SHP? Also when using the IMAGE parameters it's overrides my custom cameo.

Share this post


Link to post

You can't have a custom cameo on a unit with a copied Image unless you change the original unit's cameo too, rather, you will need to create a duplicate unit.

 

If your base unit is a GI, you have to copy gi.shp and rename the clone for your new unit, such as rngr.shp. Then you can clone the GI's art entry and switch [GI] to [RNGR]. Then use your new cameo with your new unit.

Share this post


Link to post

How exactly would I find these .shp files? There are none in my program directory. I'm using TFD, not the standalone.

Share this post


Link to post

SHPs are found in a MIX archive (conquer.mix) found inside a MIX (ra2.mix or ra2md.mix) archive you can only open with XCC Utilities.

Share this post


Link to post

You guys have been awesome with your help so far. I have another question. Is there any way you can clone a unit but have it use a different cameo and sprite, but still have it's functionality.

 

Basically can I clone a Guardian GI, use the SEAL sprite and cameo, but still have it deploy? Because I'm trying to make a SEAL with a secondary weapon.

Share this post


Link to post

The frames of the Guardian GI deploying and being deployed only exist for his sprite, you would have to edit the SEAL's spite and add new frames to allow him to deploy, and then you would have to write a new infantry sequence (code that tells which frames correspond to which actions) for him because your new unit would have different frames from either the GGI or the SEAL.

 

In other words, possible, but a lot of work.

Share this post


Link to post

The SEAL has prone frames. I would use those as the deploy frames. However, if you change the SEAL's secondary weapon, he won't be able to target naval ships with his C4 and will fire at them with his gun. Also, he would need to have his LandTargeting/NavalTargeting frames modified.

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.

×