NoAmmoAlt= (or even NoAmmoClass= !?)

Bug #894998 reported by Bug Importer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ares
Incomplete
Wishlist
Unassigned

Bug Description

Could you please include a function to display an alternate graphic to display for units or buildings without ammo? Or maybe even transform the unit or building in question into another type when out of ammo, and transform it again when reloaded?

If you do the latter, please make it so that a unit or building can be produced with for example: Ammo=1 and InitialAmmo=0, so that it is produced in its NoAmmoClass state, then switches back to its parent class when having reloaded. I'm not entirely sure however wether the parent class should kick in if there's any ammo reloaded or only if the ammo has been reloaded to max.

Revision history for this message
Marshall (m-edward) wrote :

Sounds rather confusing. Not sure why you would want this other than to change the image of the unit - something like the V3WO logic perhaps?
Image=MYUNIT
OutOfAmmoImage=MYUNITWO

Revision history for this message
Professor_Tesla (professor-tesla) wrote :

I would think it would be more like NoAmmoAlt=yes, and it would look for MYUNITWO if the unit's shp/vxl name was MYUNIT. It would be interesting logic if it was done.

Revision history for this message
Bug Importer (bug-importer) wrote :

The NoSpawnAlt feature expanded onto all non-vehicle classes would be just as useful...

Revision history for this message
Professor_Tesla (professor-tesla) wrote :

This logic could be useful, though. For example, you could have a laser tank that changes from a charged-state image to an uncharged-state image when it uses up its ammo, and changes back to the charged state image when its ammo is reloaded.

Revision history for this message
Bug Importer (bug-importer) wrote :

@Professor_Tesla
That's already possible as long as the unit has a turret.
Just loook at the Prism tank.

~ZeroMD

Revision history for this message
Professor_Tesla (professor-tesla) wrote :

I was using that as an example.

Revision history for this message
Nighthawk (nighthawk) wrote :

Sounds similar to something I posted in a note here:
http://bugs.renegadeprojects.com/view.php?id=208

Revision history for this message
Bug Importer (bug-importer) wrote :

Charge-transformation from FS is 'bout what I'm asking for by 'NoAmmoClass='...

Revision history for this message
Renegade (renegade) wrote :

Severity -> feature. RTFM.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.