Posts: 122
Threads: 0
Joined: 2 Feb 2005
Reputation:
PaD Wrote:Well, I didn't change anything on the logic itself when editing the mutation routine, so nothing like that should be damaged. More specifically, NotHuman= is designed to force the use of the unit's Die1= infantry sequence, no matter the InfDeath= of the warhead that kills it.
This is why dogs don't do the infantry melt thing in radiation, or do the electro-die thing when tesla'd, etc. Where this is very relevant here is, it also thwarts the game's stock, single AnimToInfantry InfDeath. Like, you can't mutate a dog, you know? It just dies.
So it's important to not break the [Mutate] effect where NotHuman= is concerned.
I dunno what you should do about new AnimToInfantry-type infantry deaths... should they respect NotHuman or ignore it? I can envision modders wanting both types available...
C-GEN: The site with the 'log the f*ck in' forum. And now we make you validate your f*cking e-mail address too.
CannisRules: It's a YR mod.
Posts: 17
Threads: 0
Joined: 4 Feb 2005
Reputation:
Did you play RA1? Well, nevermind, but I wonder if possible to make specific shock and fire (and other) deaths for animals? For example a working shocked dog...
Posts: 1 571
Threads: 16
Joined: 12 Feb 2005
Reputation:
Marshall Wrote:Cheek. There's nothing in the tutorial about the consequences of not adding the tag. Given that I made the research into MakeInfantry for the purposes of the only fully explained tutorial on the subject, to me the implication was that MakeInfantry was required for MakeInfantry purposes, nothing more [especially given that MakeInfantry works without InfDeaths]. Others could quite easily make that mistake. Just because you knew that not including the tag would cause an error doesn't mean that everyone else knows.
There is also no mention in PD's tutorial about the use of Next= in conjunction with MakeInfantry.
I'll have to say sorry here. because you are right. it does tell you that you need to add the anim to the MakeInfantry= tag, but it doesn't say what will go wrong if you don't...
and no it doesn't say anything about the Next= tag either.
Posts: 122
Threads: 0
Joined: 2 Feb 2005
Reputation:
17.02.2005, 18:58:48
(This post was last modified: 17.02.2005, 19:01:17 by CannisRabidus.)
Big Jah Wrote:Did you play RA1? Well, nevermind, but I wonder if possible to make specific shock and fire (and other) deaths for animals? For example a working shocked dog... Theoretically this could be done by having an InfDeath= point to a new Die*= sequence. But every infantry animation would require a new sequence then.
Wait a minute. If the code for all InfDeaths was modified so that when it encountered NotHuman=, instead of playing Die1=, it played a Die*= sequence where "*" was equal to the value of the InfDeath=...
example -
If InfDeath=5, then play the electro die anim, unless unit is NotHuman=yes, in which case play that unit's Die5= sequence. Since there is no Die5=, the modder would have to add the code for this and all other Die*= sequences (and only for the NotHuman units). These need only be copies of Die1= if he has no new graphics. If things were really slick, then the game would automatically use Die1= if Die5= was not present
C-GEN: The site with the 'log the f*ck in' forum. And now we make you validate your f*cking e-mail address too.
CannisRules: It's a YR mod.
Posts: 1 033
Threads: 38
Joined: 23 Jan 2005
Reputation:
17.02.2005, 19:13:10
(This post was last modified: 17.02.2005, 19:14:17 by Marshall.)
My thoughts on NotHuman:
1. compatibility
A mod should not be required for the patch to work unless absolutely necessary for a super-cool piece of new functionality (in which case the future YRCP will be mandatory for the exe patch).
2. Moddability
Should be simple and easy to modify. Ideally, that would mean that instead of pointing to a DieX= sequence, it would point to an alternative animation entry (besides, Human infantry don't get a unique anim for each individual soldier, do they?).
3. Use
If it's not going to get used, PD doesn't want the extra work. IMHO InfDeaths for NotHuman infantry will get very little use.
A possible alternative is a way to say "This particular InfDeath ignores NotHuman=yes". However, I think that wouldn't get much use either.
In conclusion, there are many things that are both simpler to implement and more useful than animal InfDeaths.
@Bobingabout, no problem
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: 87
Threads: 1
Joined: 5 Feb 2005
Reputation:
Is it possible for you to take scripts from TS and out them in your hack? I ask this becuse if it was resonable then you could put alot of the TS back in if the logic isnt in the yr .exe. It seems to hard to bother with and as you can tell im no programmer.
Posts: 1 921
Threads: 273
Joined: 21 Nov 2004
Reputation:
Perhaps Cannis' idea, but with another InfDeath rather than a Die*-sequence?
i.e. "If something gets Tesla'd, use InfDeath=5, except if it's NotHuman=yes, then use InfDeath=11.", with InfDeath=11 being a dog being fried, or a generic "animal" look-alike.
This way, you'd only have to add one standalone anim instead of new sequences to all infantry...
Forum Rules
(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!
(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Posts: 453
Threads: 11
Joined: 26 Jan 2005
Reputation:
17.02.2005, 21:26:15
(This post was last modified: 17.02.2005, 21:31:08 by Blade.)
Perhaps an AltInfDeath=# tag on weapons for animation to play when target has NotHuman=yes. If not set default is AltInfDeath=1 for the target, maintaining compatibility with what is the status quo. This, in conjunction with additional Infantry deaths which are now possible gives the optimum solution IMO.
Edit: It also means that the Genetic Mutator could generate an alternate unit depending on if its target was human or animal.
Posts: 1 033
Threads: 38
Joined: 23 Jan 2005
Reputation:
IF it were implemented, I would concur with Blade.
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: 122
Threads: 0
Joined: 2 Feb 2005
Reputation:
Blade Wrote:Perhaps an AltInfDeath=# tag on weapons for animation to play when target has NotHuman=yes. If not set default is AltInfDeath=1 for the target, maintaining compatibility with what is the status quo. This, in conjunction with additional Infantry deaths which are now possible gives the optimum solution IMO.
Edit: It also means that the Genetic Mutator could generate an alternate unit depending on if its target was human or animal. This would be better as a unit property rather than a weapon property.
Do nothing, and the use of NotHuman= is the same.
Add AltInfDeath= to the dog, and this tells the game to ignore NotHuman=, and play the AltInfDeath=.
Add AltInfDeath= to a unit with NotHuman= no, and that particular unit plays a custom death anim.
Even more optimum
C-GEN: The site with the 'log the f*ck in' forum. And now we make you validate your f*cking e-mail address too.
CannisRules: It's a YR mod.
Posts: 1 571
Threads: 16
Joined: 12 Feb 2005
Reputation:
18.02.2005, 00:13:27
(This post was last modified: 18.02.2005, 02:54:51 by Bobingabout.)
sorry to go off topic here a bit. But I've been playing with this latest version of the patch with my(and hunts7's) mod. works like a dream!
first point to note, is the fact that for the first time, both CDA, and the other countries on the same sode both built tech centres. theres got to be more than just adding new countries abilities that he's added.
that means that when i complete the AI.ini for CDA, i will have an almost fully working 4th side emulation. dowside is short game explotion, which i'm sure he'll work on pretty soon. (from what he's told me, next on his list is 100 units, 74 units"whiteboy", and baseunits bugs.) when he gets baseunits working, thats 4 sides working to the mods original plan.
all i've got to say is:
Go PD!
EDIT: 1 more thing. you never mentioned taunts for the new countries. did you add any compatibility for new country taunts?
i started an unholy alliance network game to test it out. the new country never had any taunts(as was to be expected). atleast it never crashed.
this should be thought about for a future patch. since it doesn't crash, and its only a multiplayer game feature, i supose its not required. but it would be nice.
now continue your debate about this NonHuman= stuff, its worth adding to the wishlist if you ask me.
Posts: 1 033
Threads: 38
Joined: 23 Jan 2005
Reputation:
18.02.2005, 00:48:14
(This post was last modified: 18.02.2005, 00:52:22 by Marshall.)
@Cannis:
Eh? Blade was saying AltInfDeath=[Integer] on the warhead to indicate the infdeath to use if the warhead killed a unit with NotHuman=yes.
This would allow a different infdeath to be used for animals than humans for specific weapons which would also enable genetic mutation possibilities against animals.
You're saying AltInfDeath=[Animation] on the unit so that it always dies using the same animation? What's the point of that? Besides, we can already do that using DeathAnims=[List of Animations]
Even if you meant AltInfDeath=[Integer] on the unit we can already do that using DeathAnims= (by stating the anim of course, not the infdeath number).
Or am I misunderstanding something?
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 921
Threads: 273
Joined: 21 Nov 2004
Reputation:
Blade's AltInfDeath-concept sounds great (and solid).
I'm totally supporting that. pd? Opinion?
Forum Rules
(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!
(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Posts: 87
Threads: 1
Joined: 5 Feb 2005
Reputation:
I thinik haveing it on the art entry is better becuse you may have a perfect electo dog animation, but it doesnt fit an bear or alligator. If it was on the art entry then you would have a fitting one for each.
Why not supply the infdeath anims for the nonhumans in the unit's section and the infdeath tag to point to whichever infdeath to use for the nonhuman.
If the weapon says to use infdeath 5, it should look in the unit for altinfdeath5=anim.
|