JSONs for old units IMPLEMENTED
JSONs for old units IMPLEMENTED
Anyone who would like bonus points from me and Daniel -
Would someone please do the jsons for the old knight and pikemen units? We need them in json format so that we can fix the bonus bugs for the new units. Message me if you have questions or need help!
Would someone please do the jsons for the old knight and pikemen units? We need them in json format so that we can fix the bonus bugs for the new units. Message me if you have questions or need help!
Thanks!
Josh
Josh
Re: JSONs for old units
I didn't want to start new topic.
I am right that this units still doesn't have it's jsons?
worker
wagon
healer
ornithopter
assassin
scout bird
transport
galley (warship)
trireme (fireship)
spartan hoplite
tie fighter
missionary
catapult ship
money courier
axe thrower
great transport
roman legionary
And this ones lack stat sheet in jsons:
catapult
wall
outpost
heavy catapult
gate
tanegashima ashigaru
galleas(adv_warship)
canoneer
priest
cannon tower
centurion
cannon ship
?
I am right that this units still doesn't have it's jsons?
worker
wagon
healer
ornithopter
assassin
scout bird
transport
galley (warship)
trireme (fireship)
spartan hoplite
tie fighter
missionary
catapult ship
money courier
axe thrower
great transport
roman legionary
And this ones lack stat sheet in jsons:
catapult
wall
outpost
heavy catapult
gate
tanegashima ashigaru
galleas(adv_warship)
canoneer
priest
cannon tower
centurion
cannon ship
?
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: JSONs for old units
mostly!
if u are about to help jsoning them i can send u the whole code and json base we have so u can work on it - would be awesome!
daniel
if u are about to help jsoning them i can send u the whole code and json base we have so u can work on it - would be awesome!
daniel
Re: JSONs for old units
Sure. I can try for how many files my patience will stand.
But I would have few questions, which could be then added to https://www.androidutils.com/forum/view ... ed332b04ba
1. Complete list of used unit categories (if you have one) and if it is only text based or coded (is adding new category possible without code change)
2. Is there any relation between categories (like class inheritance) and what kind? (For example if U_ARCHERS_FOOT is treated as U_ARCHERS)
3. Do damage modifiers only choose highest bonus or sum up if targeted unit is placed with few categories which attacker have bonuses against?
4. Which effects need to be placed in trnModifiers to affect unit - is it only those which doesn't have jsons?
But I would have few questions, which could be then added to https://www.androidutils.com/forum/view ... ed332b04ba
1. Complete list of used unit categories (if you have one) and if it is only text based or coded (is adding new category possible without code change)
2. Is there any relation between categories (like class inheritance) and what kind? (For example if U_ARCHERS_FOOT is treated as U_ARCHERS)
3. Do damage modifiers only choose highest bonus or sum up if targeted unit is placed with few categories which attacker have bonuses against?
4. Which effects need to be placed in trnModifiers to affect unit - is it only those which doesn't have jsons?
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: JSONs for old units
email me please and i send u everything. thanks!
answers_
1. Complete list of used unit categories - always changes, i send u current
2. Is there any relation between categories yes, there is ancapsulation, you will see
3. Do damage modifiers only choose highest bonus or sum up if targeted unit is placed with few categories which attacker have bonuses against? - i think the last value will be calsulated (last int he order of bonus lines)
4. Which effects need to be placed in trnModifiers to affect unit - on jsoning you need to put there the same as were in the in code version.
answers_
1. Complete list of used unit categories - always changes, i send u current
2. Is there any relation between categories yes, there is ancapsulation, you will see
3. Do damage modifiers only choose highest bonus or sum up if targeted unit is placed with few categories which attacker have bonuses against? - i think the last value will be calsulated (last int he order of bonus lines)
4. Which effects need to be placed in trnModifiers to affect unit - on jsoning you need to put there the same as were in the in code version.
Re: JSONs for old units
Made jsons for first non-combat units. I anyone can see any mistakes - please tell.
I probably will be posting here next ones.
I probably will be posting here next ones.
- Attachments
-
- unit_wagon.json
- (4.92 KiB) Downloaded 82 times
-
- unit_moneyman.json
- (3.37 KiB) Downloaded 90 times
-
- unit_worker.json
- (3.45 KiB) Downloaded 87 times
Age of Strategy design leader
Re: JSONs for old units
New and complemented jsons + money courier correction.
- Attachments
-
- unit_roman_legionare.json
- (3.61 KiB) Downloaded 74 times
-
- unit_moneyman.json
- (3.34 KiB) Downloaded 76 times
-
- unit_hoplite.json
- (3.46 KiB) Downloaded 92 times
-
- unit_centurion.json
- (3.25 KiB) Downloaded 87 times
-
- unit_axe_thrower.json
- (3.42 KiB) Downloaded 72 times
-
- unit_assasin.json
- (3.22 KiB) Downloaded 76 times
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: JSONs for old units
Please someone help us checking the json settings!
Endru makes the jsons
i myself will check the format and implement,
but we need someone checking the values to be sure not changing any unit accidentally - thanks!
Endru makes the jsons
i myself will check the format and implement,
but we need someone checking the values to be sure not changing any unit accidentally - thanks!
Re: JSONs for old units
And here are next 3 jsons.
- Attachments
-
- unit_heavy_catapult.json
- (4.91 KiB) Downloaded 70 times
-
- unit_catapult.json
- (4.89 KiB) Downloaded 77 times
-
- unit_cannoneer.json
- (4.27 KiB) Downloaded 69 times
Age of Strategy design leader
Re: JSONs for old units
Centurion correction
- Attachments
-
- unit_centurion.json
- (3.35 KiB) Downloaded 73 times
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: JSONs for old units
i have started checking the first as i see no one has time to help now.
in wagon i see:
1. convertresistance is a float value you put 100 instead of 1 or 1.0
2. there is no such category as U_MOUNTED_KNIGTS instead always chhose category name from category list this one is good: U_MOUNTED_KNIGTHS (the in-code categories are not category names only "listnames" that was assigned to categories in consts json - but more or less they are names similarly but not always). On the other hand U_SHIP_ATTACK was a lucky same naming on both places. so all category names should be checked in consts_in_game file
2. unit type instead if category reference on builders:
wrong:
correct:
Other than these it looks good! thanks! it is in!
Endru: can u check the ready jsons based on the findings i wrote here?
in wagon i see:
1. convertresistance is a float value you put 100 instead of 1 or 1.0
2. there is no such category as U_MOUNTED_KNIGTS instead always chhose category name from category list this one is good: U_MOUNTED_KNIGTHS (the in-code categories are not category names only "listnames" that was assigned to categories in consts json - but more or less they are names similarly but not always). On the other hand U_SHIP_ATTACK was a lucky same naming on both places. so all category names should be checked in consts_in_game file
2. unit type instead if category reference on builders:
wrong:
Code: Select all
"trnBuilders": {
"unitTypes": [
"U_WORKERS",
"UNIT_TC"
]
},
Code: Select all
"trnBuilders": {
"categories": [
"U_WORKERS"
],
"unitTypes": [
"UNIT_TC"
]
},
Other than these it looks good! thanks! it is in!
Endru: can u check the ready jsons based on the findings i wrote here?
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: JSONs for old units
ok! tell me if i can check the nextone - thanks!
also came to me that it would be easier if u set up modding on your device so you will be able to check your json in work - would u try?
also came to me that it would be easier if u set up modding on your device so you will be able to check your json in work - would u try?
Re: JSONs for old units
I can try.
These are corrected ones (actually not sure if all of them were changed). Could You look at centurion trnEffectAffectTurnsLeft and cannoneer bonuses consolidation.
Gonna delete older files to avoid confusion.
These are corrected ones (actually not sure if all of them were changed). Could You look at centurion trnEffectAffectTurnsLeft and cannoneer bonuses consolidation.
Gonna delete older files to avoid confusion.
- Attachments
-
- unit_wagon.json
- (4.92 KiB) Downloaded 77 times
-
- unit_cannoneer.json
- (4.21 KiB) Downloaded 73 times
-
- unit_moneyman.json
- (3.34 KiB) Downloaded 67 times
-
- unit_assasin.json
- (3.22 KiB) Downloaded 67 times
-
- unit_centurion.json
- (3.35 KiB) Downloaded 65 times
-
- unit_hoplite.json
- (3.46 KiB) Downloaded 60 times
-
- unit_roman_legionare.json
- (3.61 KiB) Downloaded 60 times
-
- unit_catapult.json
- (4.94 KiB) Downloaded 68 times
-
- unit_heavy_catapult.json
- (4.95 KiB) Downloaded 66 times
Age of Strategy design leader
Re: JSONs for old units
Plus new ones.
- Attachments
-
- unit_high_priest.json
- (3.78 KiB) Downloaded 67 times
-
- unit_priest.json
- (3.66 KiB) Downloaded 65 times
-
- unit_fregatt.json
- (3.3 KiB) Downloaded 60 times
-
- unit_adv_fregatt.json
- (3.39 KiB) Downloaded 62 times
-
- unit_missionary.json
- (3.66 KiB) Downloaded 58 times
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: JSONs for old units
also came to me that it would be easier if u set up modding on your device so you will be able to check your json in work - would u try?
Re: JSONs for old units
few corrections:
- Attachments
-
- unit_catapult.json
- (4.94 KiB) Downloaded 62 times
-
- unit_heavy_catapult.json
- (4.95 KiB) Downloaded 64 times
-
- unit_missionary.json
- (3.67 KiB) Downloaded 57 times
Age of Strategy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: JSONs for old units
all of these are in ! thanks!