May I ask how you coded the Iron Curtain? Because you can apply the same basic logic to it for invulnerability.
For the unit inside to be unable fire, use a STATUS weapon with the status type NO_ATTACK attached to it. You can also use another weapon with the status type of MASKED to prevent enemy units from firing it, but will do nothing for invulnerability.
Additionally, you can make every weapon use a projectile and have the shield bubble have a (or even multiple) PDL-like weapon that fires very fast to zap every single projectile.
The unable to move bit is trickier. Of all the status bits listed in the module list, I think you can go for one of the STATUS_RIDER types, and have every unit use a locomotor with 0 speed for that rider type.
Maybe the DESTROYED is promising, you can even omit the MASKED status as units don't shoot at dead things. Well, you should try every one of the status bits listed there and see which works best.
Set the bubble as a structure that doesn't allow collision, and other units should not be allowed to pass through it anymore. QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Mon Jun 14, 2010 3:13 pm Post subject:
We haven't coded it yet. TBH, I think we shouldn't use any of the secondary SW, as most of them are very hard to code, or not codable at all, or won't really work like the originals... QUICK_EDIT
Looks like it has a TV for a head. Looks great nevertheless but doesn't seem to be able to pierce the heavens _________________ The future belongs to The Forgotten! QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum