Posted: Wed Jan 01, 2025 5:52 am Post subject:
[Ares/Phobos] Help with Janky "Anim-to-Unit" Unit
Subject description: A unit that is a bit irritating to use currently. But I like the idea very much
I have a unit with the description: (You can skip this part, but this is to give an idea on what I'm trying to create and could possibly help you give me a better implementation of the unit)
"This unit is used for celebration and parades in Cuba. It is a unit primarily used as a prop for the people to boost morale.
Soldiers know that this unit isn't a proper tank so it does not help them.
After the war against the US from Russia broke out, this tank was not only abundant, but is expected by the people to go to the battlefield.
Equipped with proper armaments, but still keeping the janky design due to the people's familiarity.
This unit now goes through the battle being the "bravest tank of them all" due to fighting forward even though it's being torn apart piece by piece.
The soldiers operating inside already knew this vehicle weren't going to survive the beatings but they don't really have a choice
but to operate knowing it can't put as much power in the battlefield, thus pushing forward regardless"
ISSUES
Anim-to-Unit
"CreateUnit=" has a delay before spawning the unit. The unit is spawned using this:
Image=SMKPUFF was originally Image=NON. NON is a general shp that I use for every animation with effects.
I don't remember if it has 0 or 1 frame but whatever is the minimum frame for an anim, this has it.
The unit appears after 1 second (or longer? Main point is it's enough to be very noticible) and this isn't just the problem.
In the "DestroyAnim=", I wanted to use DestroyAnim=NONCBRSTFX2,SMKPUFF, but the problem with this is that it uses
SMKPUFF but it doesn't spawn the unit, presumably because NONCBRSTFX2 didn't play or was used.
ReselectIfLimboed=yes
"CreateUnit=" along with "DestroyAnim=" collects data of the old unit and transfer it to the new unit like Facings, etc.
I don't know if Ares/Phobos has a way to keep the unit being selected. I know "GroupAs=" is a thing and I am already using it,
but I wanted the unit to be more convinient to use as this is a "Monster Tank"/Tier 3 Unit.
Experience.Gain/Give=
This doesn't exist in Phobos but you get the idea. The unit has "Cost=1400".
Of course this unit can gain exp in the battlefield and possibly become elite and this promotion is kept up until the unit reaches it last "damaged state",
but considering that this unit gets destroyed then reappears again, I want to know your ideas on how to distribute/implement this unit
in a way that the unit and the enemy would have equivalent value for gaining/giving experience.
And I want to know If you guys know If someone is working on this or this idea was already told to the Phobos developers.
(On one note, also add the allowance for the VeterancyCap= to be changed higher and allow units to have their specific VeterancyCap=,
but this is beside the point already. And I know about Convert.Promotion= but that has it's own issues like having
more codes and the unit losing its script if the AI is using it and it gets promoted)
It would be more like this:
Code:
[UNIT]
Cost=1400
Experience.Gain=25% ;Calculated from Cost=
Experience.Give=25% ;Calculated from Cost=
That is all. Please give me ideas on how to implement this if the current version of my unit is a bit unusable/irritating to play.
I am primarily working on campaigns and this unit would look good to use or fight against. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum