Metamorphosis

Metamorphosis

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Metamorphosis

Post by KDR_11k »

I'm not aware of such a function in Spring so I'll suggest it here:

Give units the ability to morph, i.e have the unit replaced with another unit.

The exact implementation could be something like this: The morphs are added to the build menu (should be possible to have both morphs and build options on the same unit so we can e.g. allow our factories to lift off the ground by turning them into planes), when the user clicks one of them the unit script will run the StartMorph() function, if it returns true the morph starts (unit consumes metal and energy for a set period of time, not sure how this would be handled, I'd say entry in the .fbi but that would require multiple entries if the unit has multiple morphs). Once the morph is finished, the unit runs the EndMorph function, once it returns the unit is replaced with the morph target. Should be possible to have a morph create multiple units so units could clone themselves like the aliens in Earth 2160 or spawn a swarm of smaller units.

Maybe the spawned unit(s) should get some sort of signal that it was created by morphing instead of building so it could have a different animation for that (and people won't have to create a build-only and a morph-only version of units that need such a differentiation).
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

maybe put the morph options in the sidedata like canmorph="", M%, E% maybe... with a cost multiplyer for it's standard metal and energy costs...
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

Uhh, zerg?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Command & Conquer MCV? That would also solve the "commander can't be a factory" problem and the issue of not being able to change your base starting point if the com is immobile in a mod. It would also allow for transformers and siege weapons that have to be installed before use. Perhaps it could also be used to allow upgrading mexes to mohos and getting L2 factories in some mods.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

KDR_11k wrote:commander can't be a factory.
Oh, it can. In Spring, the com can be any unit. Spring 1944 (For which I beta test) has factory coms, and they work perfectly
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

I was referring to the discussion about factory coms not levelling the ground and not removing nearby features.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Oh. True point
Post Reply

Return to “Feature Requests”