|
Post by The Conqueror on May 3, 2018 10:45:16 GMT
Really guys ? No one of the modders,not even the engineering group hasn't made a tutorial on how to add a country or a city in wc4 If someone made a tutorial please send me a link to it I want to start working on my mod again
|
|
|
Post by Erebus on May 3, 2018 12:37:47 GMT
Coordinate Equations for World Conquest 4
hex up -94 down +94 left -1 Right +1
Each city has 296 bytes of area space
Unit and city ownership is 148 bytes per line
32 bytes per line of city
Units are 48 bytes per line
The setting to makes it easier to see it in a row.
wc4 An example is Seoul.
75 0C A6 00 0F 01 00 08 00 00 00 00 00 00 00 00
00 00 00 00 00 00 0D 00 02 00 02 01 00 00 00 00
75 0C is the coordinate value.
A6 is the name of the city.
The 0F 01 is a city level.
02 Windmill 03 Village 0b City 1 0c City 2 0d City 3 0e City 4 0f City 5 10 City 6 11 City 7 12 City 8 13 City 9 15 Plant 16 Grand Stadium 17 Nuclear Power 1f Port 1 20 Port 2 21 Port 3 22 Port 4
0B daegong Article machine gun 1 0C daegong Anti-Air machine gun 2 0d daegong gigwanchong 3 0e daegong gigwanchong 4 15 anti-aircraft guns 1 16 anti-aircraft guns 2 17 Anti-Air Force 3 18 anti-aircraft guns 4 1F daegong Anti-Air Missile 1 20 Anti-Air Missile 2 21 Anti-Air Missile 3 22 Anti-Air Missile 4
For more information, see 02 00 02 01 00 00 00 Factory, science, distribution, airport, missile, nuclear hearse
I do not know the last 00 00.
If you want to add a city, add 32 bytes.
If you change the coordinates, it becomes a new city.
+1 city is completed with the number of cities previously notified.
In addition, cities must have both local and private ownership.
This is an explanation from 3, but it is useful for reference. This is a detailed description of the city's ownership, area rights, and the addition of countries. tieba.baidu.com/p/4965610394?pn=1
|
|
minhaz
First Lieutenant
Posts: 37
|
Post by minhaz on May 20, 2018 19:17:57 GMT
Erebus, can you explain with image details and how to put units in there and generals in them?
|
|
|
Post by Deleted on May 21, 2018 4:18:54 GMT
The Conqueror, I have a video but i need to upload it. I return from vacation tomorrow so i will be posting more WC4 Guides
|
|
minhaz
First Lieutenant
Posts: 37
|
Post by minhaz on May 21, 2018 10:45:01 GMT
@communist, can you tell me how to add generals in units i want to have a conquest with all nation generals in. i guess unit number will increase cause of that
|
|
|
Post by The Conqueror on May 21, 2018 13:59:02 GMT
@communist, can you tell me how to add generals in units i want to have a conquest with all nation generals in. i guess unit number will increase cause of that Do you know how to add a general ?
|
|
minhaz
First Lieutenant
Posts: 37
|
Post by minhaz on May 21, 2018 14:15:31 GMT
|
|
|
Post by Deleted on May 21, 2018 20:11:07 GMT
I trying to see why mine is crashing. I added a general onto a unit but it crashes. Maybe i missed the unit count.
|
|
|
Post by Erebus on May 22, 2018 10:52:52 GMT
@communist , The Conqueror ,
여러 지표 숫자 분석
예시 : 1939년(정복 1 파일)
94 00 00 00 32(맵 가로 세로 길이) 00 00 00 2C(국가 숫자) 00 00 00 2A 01(도시 숫자) 00 00 01(유닛 숫자) 00 00 BD(이벤트 숫자?) 00 00 00 07(?) 00 00 00 00 00 00 00 01(?) 00 00 00 2C 01 00 00 2C 01(?) 00 00 68(자동 등장 유닛 숫자) 00 00 00 00 00 00 00 14 00 00 00 14(?) 00 00 00 35(깃발 숫자) 00 00 00 00 00 00 00 01(?) 00 00 00 E8 1C(?) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 62(62 둘중 하나는 지뢰의 숫자) 00 00 00 01(?) 00 00 00 03(?) 00 00 00 96(?) 00 00 00 28(?) 00 00 00 05(?) 00 00 00
유닛 분석
예시 : 1939년 로코솝스키
7A 02(좌표) 09(병종) 03(레벨) 01(스텍) 00 0D(?) 00 00 00 64 00 AF 01 AF 01(?) 5D 71(장군 번호) 0A(장군 계급) 01(장군 등급) 07 00 00(훈장) 03 01 02 00 00(스킬 레벨) 00 03(이동락) 00 32(이동락이 풀리는턴?) FF FF 77(이동락이 풀리는턴?) 00 00 00 00 00 00 00 00 01 00(이동락이 중간에 풀리는것과 관계가 있는듯하다?) 00 00 00
자동 등장하는 유닛 분석
예시 : 1939년 롬멜
97 07(좌표) 00 00 09 (병종)00 00 00 02(레벨) 00 00 00 01(스텍) 00 00 00 01(이동락) 00 00 00 00 00 00 00 00 00 00 00 7B 71(장군 번호) 00 00 09(장군 계급) 00 00 00 01(장군 등급) 00 00 00 01(스킬 레벨) 00 00 00 01(스킬 레벨) 00 00 00 02(스킬 레벨) 00 00 00 00(스킬 레벨) 00 00 00 00(스킬 레벨) 00 00 00 F8 03(?) 00 00 00 00 00 00 00 00 00 00 01(소속 세력) 00 00 00 03(등장 턴) 00 00 00
Multiple indicator number analysis
Example : 1939 (Conquest 1 File)
94 00 00 00 32 (map length) 00 00 00 00 2 C (country number) 00 00 00 2 A01 (city number) 00 sujja01 (unit number) 00 BD (event number?00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (00) 00 00 00 00
Unit Analysis
Example : 1939 Rokosovsky
702 (Coordinate) 099 (Level) 03 (Level) 00 0 D (Stek) 00 00 00 64 0001 (?) (1 (General Number) janggun1 (General Number)) 00 00 00 00
Automatic unit analysis
Example : 1939 Lommel
97 07 (Coordinate) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (Mobile Rock) 00 7 B
I wrote it in my native language Korean. Translator is in very bad condition, but it will helpful.
|
|
minhaz
First Lieutenant
Posts: 37
|
Post by minhaz on May 22, 2018 15:35:29 GMT
Erebus, i got all others tell me which one is the generals number and when i add a new city it shows in the map but when i want to build something with that i was unable to build anything and when i press button for next turn game crushed. How to solve it?
|
|
minhaz
First Lieutenant
Posts: 37
|
Post by minhaz on May 22, 2018 20:41:08 GMT
Erebus, 01 00 00 00 01 00 00 00 00 00 00 00 02 00 00 00 94 00 00 00 32 00 00 00 6E 00 00 00 7C 01 00 00 CD 00 00 00 A1 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 E8 03 00 00 E8 03 00 00 35 00 00 00 00 00 00 00 14 00 00 00 14 00 00 00 72 00 00 00 01 00 00 00 01 00 00 00 E8 1C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 72 00 00 00 00 00 00 00 here which one is total general number. Do you know?
|
|
|
Post by Erebus on May 22, 2018 21:46:15 GMT
minhaz, The general is treated as a sub-categories of the unit, so there is no need to change the figure.
|
|
minhaz
First Lieutenant
Posts: 37
|
Post by minhaz on May 23, 2018 20:49:23 GMT
Erebus, but when i added a general as sub-categories of the unit. It crushed. Can you help me out there with some image?. Lenin DB 01 0E 04 01 00 0E 00 00 00 64 00 4D 02 4D 02 5A 71 0B 03 06 10 00 02 01 01 01 02 00 03 00 00 DB 01 = codinates 0E 04 = Army type 5A 71 = General Id 0B = Rank (Marsel) 03 = general quality 06 = 1st Medal 10 = 2nd medal 00 = 3rd medal 02 01 01 01 02 = Skills levels
|
|
|
Post by Erebus on May 23, 2018 23:12:20 GMT
minhaz ,
I don't think there's anything wrong with this. You need to count the number of units.
First, adjust to 48 bytes and decimal, then count
Decimal calculation 17472/48 = 364
Unit Number 364 in hex = 16c
Check that 16c = 6c 01 and unit part number match
Summary Count the number of units and make sure that the unit numbers match.
|
|
minhaz
First Lieutenant
Posts: 37
|
Post by minhaz on May 25, 2018 16:45:51 GMT
Erebus, how you found 17472 from that image? i got all others stuff. 48 for 48 bytes.
|
|