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)
1 user is browsing this thread:
1 guest
Livestreams
1 | |||||
15 | |||||
9 | |||||
8 | |||||
4 | |||||
4 | |||||
2 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.655231.739+15
- 2.842223.791+5
- 3.35258.859+1
- 4.939410.696+5
- 5.599234.719+7
- 6.278108.720+29
- 7.307114.729+3
- 8.645.928+5
- 9.10629.785+7
- 10.527.881+18
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
11
Download
1265
Board Info
842 users are online:
842 guests
0 post in the last 24h
12 posts in the last week
26 posts in the last month
12 posts in the last week
26 posts in the last month
Registered members: 49989
Welcome our newest member, LegalMetrologyConsul
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, LegalMetrologyConsul
Most online: 2043 users on 29 Oct 2023, 01:04 AM