Posted: Wed Oct 27, 2021 8:11 pm Post subject:
Rocketeers From Conyards ?
I know in Generals you had a code to specify the amount and unit types from destroyed buildings but not in YR.
I read up on survivor rate but I have no understanding of building with Cost=1000 is sold, SurvivorRate=0.1, and SurvivorDivisor=100. 1000 * 0.1 / 100 = 1 since this involves some sort of math division or geomertry of which knowledge is limited to simple add, subtract and multiple.
So how do I get the conyard to spawn 10 Rocketeers when destroyed and can I have various units spawned from different buildings when they are destroyed like in Generals ? QUICK_EDIT
But that is stupid and did not make sense. Why bother with damn mathematics when you could just specify yourself...
Survivors=INFX,INFX,INFX,INFX,INFX,INFX meaning you got 6 infantry types named INFX. Or Surviror=INFX SurvivorNum=6 And that is all. Much better than formulas and maths. _________________ PPM Halloween Season 2021 QUICK_EDIT
Because of how survivors work. Imagine getting 6 - 200 cost, survivors from conyard worth 3000 is ok, but getting 6 - 200 cost survivors from an 800 cost power plant is not. Just buying and selling a power plant will net you more troops than buying them 1 at a time from the barracks.
They could have set it individually per building, but they thought they had no need to at the time and thought it easier to just use a little math to balance it for every building in the game. Which it is easier. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
Because of how survivors work. Imagine getting 6 - 200 cost, survivors from conyard worth 3000 is ok, but getting 6 - 200 cost survivors from an 800 cost power plant is not. Just buying and selling a power plant will net you more troops than buying them 1 at a time from the barracks.
No, no, those 6 infantry I gave as an example! It should be set depending of the building's needs individually of course.
4StarGeneral wrote:
They could have set it individually per building, but they thought they had no need to at the time and thought it easier to just use a little math to balance it for every building in the game. Which it is easier.
Yeah, and in turn they made it more complicated. They did not intend modders to use that _________________ PPM Halloween Season 2021 QUICK_EDIT
What I wanted was like in Generals where you could create a specific powerful unit or units to spawn from the conyard as a last ditch effort QUICK_EDIT
If you want the building to spawn a unit instead of infantry you can use Phobos to make a unit spawn from a death anim. _________________ Last edited by Mig Eater on Tue Nov 02, 2021 5:13 pm; edited 1 time in total QUICK_EDIT
A worse? way is to add InitialPayload to the building. The downside is this will give you a Enter cursor on the building (or no enter if you do it right).
If you want the building to spawn a unit instead of infantry you can use Phobo's to make a unit spawn from a death anim.
Mig Eater, that is true, but I think that they specifically noted that Unit, in this case, means just vehicle type. I will find link if you want.
4StarGeneral wrote:
A worse? way is to add InitialPayload to the building. The downside is this will give you a Enter cursor on the building (or no enter if you do it right).
Hmmm..... I think that Ares has some tags to prevent manual enter cursors, but here we need specifically to not show anything if possible.
Also, regarding that initial payload. I had many issues with that when I tried to put it for some buildings, and base defenses. AI builds it and sells immediatelly, while payloads being neutral infantry! And start shooting AI once building is sold. _________________ PPM Halloween Season 2021 QUICK_EDIT
Mig Eater, that is true, but I think that they specifically noted that Unit, in this case, means just vehicle type. I will find link if you want.
He's talking about a spawning a vehicletype, read the posts above.
Quote:
I had many issues with that when I tried to put it for some buildings, and base defenses. AI builds it and sells immediatelly, while payloads being neutral infantry! And start shooting AI once building is sold
Works absolutely fine for me in my mod, dunno what you did to get issues but that's not one of Ares' many bugs. QUICK_EDIT
Could also probably have Debris min/max set to how many you want and create a debris animation that has MakeInfantry. _________________ "Don't beg for things; Do it yourself or you'll never get anything." 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