IPB

Welcome Guest ( Log In | Register )


> All-in-one Helipad + Service Depot, UnitRepair=yes + UnitReload=yes + Helipad=yes gets me nowhere
KajiTetsushi
post Nov 16 2010, 05:59 PM
Post #1


Flamethrower Infantry
Group Icon

Group: Members
Posts: 141
Joined: 22-October 06
Member No.: 92



AGENDA
I've thought about going convenient by letting aircraft be able to dock, reload and repair at a Service Depot... or Helipad... or whatever.
In effect, I'll hopefully be able to RTB a damaged, empty helicopter and Oscar Mike it back with full ammo and full health, and by using just one repair bay, gameplay imbalance notwithstanding.


APPROACH
1. I took [GADEPT], then shoved one Helipad=yes up the code.
2. I took [GAHPAD], then threw UnitRepair=yes into the code.
3. I took [ORCA], then changed Dock=GAHPAD,NAHPAD to Dock=GAHPAD,GADEPT.


ANSWER
Effect seems the same whatever I do.
Orca Fighter
100% health + 0% ammo >> Land + Reload + Takeoff.
0% health + 0% ammo >> Land + Repair + Reload + Takeoff.
Stealth Tank
Executable crash
It would've been kinda nice if I could somewhat emulate the RA2 Allied Airforce HQ all-in-one Repair + Reload somewhat for the fun of it, but I'm not getting any.

Is this already proven to not work?

This post has been edited by Chris Ichikawa: Dec 13 2010, 04:52 PM


--------------------
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
KajiTetsushi
post Jan 20 2011, 11:12 AM
Post #2


Flamethrower Infantry
Group Icon

Group: Members
Posts: 141
Joined: 22-October 06
Member No.: 92



QUOTE (Lin Kuei Ominae @ Jan 17 2011, 10:23 PM) *
That's because Particles with BehavesLike=Spark, Smoke, Web or WeakGas can't do any damage. You have to use BehavesLike=Gas or Fire on the Particle.

Yup. The code works. Thanks, LKO. =)
I think it's an interesting feature when it's used on mechanical units. It makes SelfHealing=yes on ground units less boring to watch.
BehavesLike=Fire doesn't work based on my observations, though. Apparently, it only works on weapons.

---------

Also, I still don't understand this part.
QUOTE (Lin Kuei Ominae @ Nov 18 2010, 06:22 PM) *
I don't think there's a way to do this with anims or PSs, because both would also repair/damage the building.

Using an art.ini anim with negative damage doesn't works. So you're forced to use art.ini debris spawned by the activeanim. However, even if the art.ini debris allow to use a certain warhead (like repair WH with neg verses), the debris still damage the building. Regardless if they have negative damage or positive damage with negative warhead verses and they need at least +1 or -1 damage to use the warhead (with Damage=0 the warhead is ignored).
Thus the building would slowly get destroyed.
You can of course assign a repair particlesystem to the warhead to counter the damage effect of the debris, but this would heal the building also when it got damaged by the enemy.

So, does that mean that whatever weapons the enemy uses will not damage, but instead, repair the building?

This post has been edited by Chris Ichikawa: Jan 20 2011, 12:05 PM


--------------------
Go to the top of the page
 
: | +Quote Post

Posts in this topic


Reply to this topicStart new topic
4 User(s) are reading this topic (4 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 12th May 2025 - 08:14 PM


XGhozt.com