No Hastati in Roman Produce List FIXED
- Aral_Yaren
- Posts: 342
- Joined: Fri Nov 06, 2020 12:45 am
No Hastati in Roman Produce List FIXED
In the Roman produce list there isn't Hastati icon eventhough it's produceable.
There shall be times... when people across the world shall live in peace and harmony through their various diversities. I shall wait for it, even though it costs my life...
Re: No Hastati in Roman Produce List
That is very weird.
@Stratego (dev) Do you have any idea what could make a unit not appear in propsheet Produces list of the budilding, that unit can be trained from?
This is the definition:
"trnBuilders":{"categories":["AND(","HIDDEN_TRAINING_CULTURAL","U_ROMAN",")"]},
@Stratego (dev) Do you have any idea what could make a unit not appear in propsheet Produces list of the budilding, that unit can be trained from?
This is the definition:
"trnBuilders":{"categories":["AND(","HIDDEN_TRAINING_CULTURAL","U_ROMAN",")"]},
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: No Hastati in Roman Produce List
ithink these are the things needed to be able to produce a unit:
1. shopitem owned by player
2. listed in buildables as trainable unit
3. races set properly (except in AOS)
4. the unit terrain walkability fits to building (and surrounding tiles)
5. the builders list is set properly on unit.
1. shopitem owned by player
2. listed in buildables as trainable unit
3. races set properly (except in AOS)
4. the unit terrain walkability fits to building (and surrounding tiles)
5. the builders list is set properly on unit.
Re: No Hastati in Roman Produce List
All are true (except 3.).Stratego (dev) wrote: ↑Mon Oct 18, 2021 10:50 am ithink these are the things needed to be able to produce a unit:
1. shopitem owned by player
2. listed in buildables as trainable unit
3. races set properly (except in AOS)
4. the unit terrain walkability fits to building (and surrounding tiles)
5. the builders list is set properly on unit.
But there is no problem with unit being trainable.
It is OK.
When I click on unit help - prosheet shows Roman Garrison in builders section. Which is OK.
The problem is in propsheet section "Produces" of Roman Garrison. There is no Hastati shown there. Just as well as no Velites.
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: No Hastati in Roman Produce List
i have no idea, atm, i need to check, if u can narrow the problem would be awesome (eg. figuring out what is the difference bets an appearing an non appearing unit and trying if set that way it shows.)
Re: No Hastati in Roman Produce List
Both of those not appearing units were on the list - "listNotBuild" before update to version 1.145.
Maybe there some old remaining code somewhere?
That's the only big difference I can think of.
Maybe there some old remaining code somewhere?
That's the only big difference I can think of.
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: No Hastati in Roman Produce List
i dont understand, why we want there be listed a non buildable unit?
it is not a bug but proper working.
(the earlier similar problem was about the mapeditor not listed the ones in "listNotToBuild" - so that was to be fixed and i fixed already)
it is not a bug but proper working.
(the earlier similar problem was about the mapeditor not listed the ones in "listNotToBuild" - so that was to be fixed and i fixed already)
- makazuwr32
- Posts: 7830
- Joined: Tue Oct 17, 2017 9:29 am
- Location: Moscow, Russia
Re: No Hastati in Roman Produce List
But it is now available for players in normal games. It is not anymore map editor unit...
AoF Dev Co-Leadermakazuwr32 wrote: ↑Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: No Hastati in Roman Produce List
Endru just said they are in non buildable list - or i misunderstood?
if so than i still need help what is the difference compared to other units.
if so than i still need help what is the difference compared to other units.
Re: No Hastati in Roman Produce List
Stratego (dev) wrote: ↑Thu Oct 28, 2021 7:40 pm Endru just said they are in non buildable list - or i misunderstood?
if so than i still need help what is the difference compared to other units.
Right now they are in listBuild, otherwise it wouldn't be possible to train them.
I don't see anything in json, that could cause such weird behaviour.
E.g. exactly the same trnBuilders line exists in Senator, but it appears without problems. E.g. They both have urlImage with self image reference, but I checked removing it.
I wrote it because both units are quite old (ids 174 and 175) and existed well before jsonisation, so maybe, just maybe - if I don't see a difference in json it's not in json at all, but in the code.
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: No Hastati in Roman Produce List
in code there is not thing left about units.
ok i will debug it then -thanks!
so again: problem is "hastati" and "Velites" not appearing in roman garrison buildlist section of its statsheet (the html based one) - right?
ok i will debug it then -thanks!
so again: problem is "hastati" and "Velites" not appearing in roman garrison buildlist section of its statsheet (the html based one) - right?
Re: No Hastati in Roman Produce List
Exactly.Stratego (dev) wrote: ↑Fri Oct 29, 2021 6:29 am in code there is not thing left about units.
ok i will debug it then -thanks!
so again: problem is "hastati" and "Velites" not appearing in roman garrison buildlist section of its statsheet (the html based one) - right?
Everything else seems to be OK.
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: No Hastati in Roman Produce List
good news: you were to totally right, i found traces of hastati set to non buildable in code (was nto removed when we removed all units from code) now i have removed all! (may were there listed in the in-code lists of buildable-nonbuildable-techs lists!)
Re: No Hastati in Roman Produce List IMPLEMENTED
So they were in completely different place, than unit definitions.
Understandable that this small line of code could be skipped.
Well, it's good you managed to find it.
Thanks.
Understandable that this small line of code could be skipped.
Well, it's good you managed to find it.
Thanks.
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: No Hastati in Roman Produce List IMPLEMENTED
yes, thanks! daniel