Hello everyone! I'm pretty much new to COH2 modding, so this is maybe a frequent question to your community (sorry):
Is there any way to extract unit stats into external files (.json or .xml) from game archives?
Which archive actually store this values?
I installed COH2 Tools and Data, used Attribute Editor and Archive Viewer, but can't find any button or menu item to export them. It looks like they're stored in .xml somewhere.
Extracting unit stats
27 May 2018, 12:11 PM
#1
Posts: 40
27 May 2018, 14:07 PM
#2
1
Posts: 2885
The file you are looking for is <gamedir>/CoH2/Archives/AttribArchive.sga
27 May 2018, 16:48 PM
#3
1
Posts: 94
The tools store their XML files in <Steam common directory>/Company of Heroes 2 Tools/assets/data/attributes/instances
28 May 2018, 05:39 AM
#4
Posts: 632 | Subs: 1
To extract stats automatically, you'd probably have to write a script yourself - unless you find somebody who's already done that. Maybe send a PM to Mr.Smith, he might have something.
28 May 2018, 13:06 PM
#5
Posts: 40
Thanks everyone for help, found it.
I will write simple xml-to-sql parser, now i have everything i need
I will write simple xml-to-sql parser, now i have everything i need
28 May 2018, 13:42 PM
#6
Posts: 632 | Subs: 1
Feel free to share it here if you want - we're always interested in that kind of stuff!
PAGES (1)
0 user is browsing this thread:
Livestreams
100 | |||||
5 | |||||
142 | |||||
105 | |||||
18 | |||||
17 | |||||
12 | |||||
6 | |||||
3 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.653231.739+13
- 2.840223.790+3
- 3.35057.860+15
- 4.599234.719+7
- 5.278108.720+29
- 6.927408.694+1
- 7.645.928+5
- 8.306114.729+2
- 9.1123623.643+4
- 10.266140.655+1
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
11
Download
1257
Board Info
743 users are online:
743 guests
0 post in the last 24h
5 posts in the last week
20 posts in the last month
5 posts in the last week
20 posts in the last month
Registered members: 49667
Welcome our newest member, Chmura
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Chmura
Most online: 2043 users on 29 Oct 2023, 01:04 AM