Page 1 of 1

How to change the class of the unit?

Posted: Sat Jul 25, 2015 18:36 pm
by Zidell
How to change the class of the unit? That the animal was considered infantry

Re: How to change the class of the unit?

Posted: Sun Jul 26, 2015 7:56 am
by Scrat
at the unit's techtree entry, there's a line that says class = 'ANML' and if you change ANML to CHTR it counts as infantry. it won't display as infantry in its description though, for that you also need to alter the line ANML at its description entry to CHTR

Re: How to change the class of the unit?

Posted: Sun Jul 26, 2015 11:20 am
by Zidell
Scrat wrote:at the unit's techtree entry, there's a line that says class = 'ANML' and if you change ANML to CHTR it counts as infantry. it won't display as infantry in its description though, for that you also need to alter the line ANML at its description entry to CHTR
What should be done to rhino transporter could transport animals?

Re: How to change the class of the unit?

Posted: Sun Jul 26, 2015 18:11 pm
by MrMorgana
DryFun wrote:How to change the class of the unit? That the animal was considered infantry
DryFun wrote:What should be done to rhino transporter could transport animals?
both of those requires serious usl scripting
to begin with even if you 'convert' any animal into an infantry unit the unit would have serious bugs (e.g. because of common links and animations infantry units use)
for the rhino transporter to transport animal units too would need both client and server sided scripting (hell lot of it...)

Re: How to change the class of the unit?

Posted: Sun Jul 26, 2015 18:30 pm
by Zidell
MrMorgana wrote:
DryFun wrote:How to change the class of the unit? That the animal was considered infantry
DryFun wrote:What should be done to rhino transporter could transport animals?
both of those requires serious usl scripting
to begin with even if you 'convert' any animal into an infantry unit the unit would have serious bugs (e.g. because of common links and animations infantry units use)
for the rhino transporter to transport animal units too would need both client and server sided scripting (hell lot of it...)
So it will be possible do?

Re: How to change the class of the unit?

Posted: Mon Jul 27, 2015 11:11 am
by MrMorgana
DryFun wrote:So it will be possible do?
in theory yes

Re: How to change the class of the unit?

Posted: Mon Jul 27, 2015 12:26 pm
by Zidell
MrMorgana wrote:
DryFun wrote:So it will be possible do?
in theory yes
Why not try?

Re: How to change the class of the unit?

Posted: Mon Jul 27, 2015 12:28 pm
by Zidell
But I do not understand how to do it (

Re: How to change the class of the unit?

Posted: Mon Jul 27, 2015 12:52 pm
by MrMorgana
DryFun wrote:Why not try?
i won't do it because:
1) ton of work
2) lots of possible bugs (errors)
3) i don't like the idea to be honest (whats the point in having animals in open transporters? imagine having a wild boar or mammth on a rhino basket...)

Re: How to change the class of the unit?

Posted: Mon Jul 27, 2015 13:45 pm
by MrMorgana
DryFun wrote:But I do not understand how to do it (
i don't know all the details either, but i can assure you: its complicated

Re: How to change the class of the unit?

Posted: Tue Jul 28, 2015 19:41 pm
by Zidell
MrMorgana wrote:
DryFun wrote:But I do not understand how to do it (
i don't know all the details either, but i can assure you: its complicated
I almost did what I wanted.It was not as hard as you said,It was only necessary to replace classname = 'CWoolly_Rhino' to classname = 'CHu'

Re: How to change the class of the unit?

Posted: Tue Jul 28, 2015 21:25 pm
by Scrat
hmm.. basically if you mount a rhino transporter onto another one, and that one into another one, it will look like a staircase of rhinos

Re: How to change the class of the unit?

Posted: Tue Jul 28, 2015 21:28 pm
by MrMorgana
DryFun wrote:I almost did what I wanted.It was not as hard as you said,It was only necessary to replace classname = 'CWoolly_Rhino' to classname = 'CHu'
this is a bad workaround if i may add. with replacing simply its classname to CHu (norsemen infantry base class) is taking away everything from it that made the battle rhino special (the defense bonus aura, the shake ability, etc)
the endproduct looks funny though, i must admit :)

Re: How to change the class of the unit?

Posted: Wed Jul 29, 2015 8:30 am
by Scrat
please make this with the rhino transporters, then transport a rhino transporter with another rhino transporter, then mount the transporting transporter onto another transporter and so on, and make a screenshot, I really wanna see that

Re: How to change the class of the unit?

Posted: Wed Jul 29, 2015 8:42 am
by AnthonyCole
Will that work? Doesn't work with transport ships. Apart from that, I belive the transporter is a special class. Making it a CHu will likely break the transporter-behaviour. Could be wrong though.

Re: How to change the class of the unit?

Posted: Wed Jul 29, 2015 9:19 am
by Zidell
When replacing classname,rhino transporter becoming rhino

Re: How to change the class of the unit?

Posted: Wed Jul 29, 2015 13:52 pm
by MrMorgana
AnthonyCole wrote:Will that work? Doesn't work with transport ships. Apart from that, I belive the transporter is a special class. Making it a CHu will likely break the transporter-behaviour. Could be wrong though.
you are correct, with CHu all the transporter things are lost, like base rider. which also means it won't have any basket on its back to begin with

Re: How to change the class of the unit?

Posted: Thu Jul 30, 2015 9:59 am
by Scrat
Pity, it would have looked awesome for sure

Re: How to change the class of the unit?

Posted: Sat Aug 01, 2015 12:46 pm
by Zidell
Scrat wrote:Pity, it would have looked awesome for sure
Especially when you consider that it is working in multiplayer