Posts:
156
Threads:
17
Joined:
9 Jun 2007
Reputation:
10.05.2008, 01:04:29
(This post was last modified: 10.05.2008, 08:45:43 by Professor_Tesla.)
I would like to ask if I could add a tutorial to ModEnc for making a self mutating infantry, and also how I would do it. The code for it was given me by someone named rc22fires on the CnC Den Forums.
"The present is theirs. The future, for which I really worked, is mine."
- Nikola Tesla
"My -
y - my -
your - my vision has permutated. My -
y - my -
your - my plans have followed a path unpredicted by the union of Nod and GDI.
Your - my - our -
our directives must be reassessed." - Kane/
CABAL
Posts:
1 033
Threads:
38
Joined:
23 Jan 2005
Reputation:
By all means go ahead, I just can't imagine that it's anything more than 'infantry deploys to fire 0.1 cellspread weapon that kills itself in order to mutate' - doesn't really need a whole tutorial to say that. I'd suggest adding the relevant details to the existing MakeInfantry tutorial.
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR -
http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Posts:
1 033
Threads:
38
Joined:
23 Jan 2005
Reputation:
11.05.2008, 01:59:10
(This post was last modified: 11.05.2008, 01:59:53 by Marshall.)
Suicide weapon invokes DeathWeapon without actually firing the suicide weapon so that is expected.
0.1 cellspread should work without having to go to the trouble of using a particle. Would have to set AffectsAllies=yes too.
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR -
http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Posts:
1 033
Threads:
38
Joined:
23 Jan 2005
Reputation:
11.05.2008, 11:33:41
(This post was last modified: 11.05.2008, 12:35:17 by Marshall.)
It does work using just cellspread, but indeed you have to set CellSpread=1. I think CellSpread < 1 just reverts to zero.
And you have to set DamageSelf=yes on the unit.
Obviously with such a large cellspread you could easily kill other units, so you would have to use a unique armor type or an immunity.
However, you also need a unique armor type/immunity with the particle method because you could deploy the unit when there are other units occupying the same point.
By the way, I don't think CellSpread works on particles.
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR -
http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.