0% found this document useful (0 votes)
10 views

Files Tran

Uploaded by

yawoy58154
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Files Tran

Uploaded by

yawoy58154
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

Mainly operate wc4

If there is a bug, please find 2683279317 feedback, make enough n will fix it

Does not plan to support events and other functions. Please analyze and add events
by using a parser.
In addition, add weather or use the Air Force support function with caution. After
testing, there is a chance to fall back.

Include the following files under the editor config folder


def_mapList.xml Register the world map file
def_stageList.xml register script file
def_countryList.xml set country template
def_legionLv.xml sets the national strength
def_armyList.xml score, edit number detection
def_buildList.xml score, building inspection

Please put the btl and bin files to be edited into the bin folder of the editor
bin should store stage files
The first button in map mode is saved, and the second button is generated.
Background image description and test btl
The first button to save in the script mode, if you intercept the map, etc., an
additional script file will be generated, look in the bin directory

Country can be added by extending countrymark under pixmap, need to add description
in pm_countrymark.xml
If you don't set the player for the script, it will automatically set the player
operation camp, etc. to prevent errors.
Will automatically clear super-edge buildings, etc.
When deploying provinces and regions, use the f key more often, but carefully press
the ocean.
Some map edges will not be clicked, no cause can be found
Maps that are too small to load can be ugly.
The loaded faction will automatically repair the region
Intercepted script will automatically clear extra information such as events
Unrelated factions are automatically set to neutral when saving

--------- 12.4 ----------

1 pre-configuration: put in the editor file and register

Extract the information in the config / def_map.xml of the apk


Go to the editor config folder to modify
def_mapList.xml id is the id in def_map, and name is the file in def_map (do not
have .bin suffix)
For example: <map id = "2" name = "world2" />
That is, the map number is 2.The read file is world2.bin under the editor bin. When
the second character map number in btl is not 0 (0 is a custom map), the map with
the corresponding number is loaded.

def_stageList.xml id is the script function to read the id, name is the .btl suffix
file in the editor's bin folder
Go to the apk and put the corresponding files under the stage folder into the bin
folder of the editor

Register in the editor config / def_stageList.xml, the id is a number and can be


repeated, and the name is the stage name (no suffix)
For example: <stage id = "1" name = "stage10101" />
Enter 1 in the script function, that is, load stage10101.btl in the bin directory
of the editor

2.Function:
Enter the wc4 directory under the main directory with two menus, map, script
The map is used to place the items configured in def_map.xml in the world.bin,
which is also the map used for conquest
To register it in def_mapList.xml in the editor config directory
At the same time place the corresponding file in the bin directory
The script is the same, register the relevant script in def_stage.xml in the config
directory, and then place the file in the bin directory
Enter the correct id, enter the map or script, the first button on the bottom left
is save, and the second button in the map is export test btl and test bin. After
exporting, you need to register and modify in the mod.

The bottom-to-last information is the click coordinate information


The bottom-to-last information is the input mode
There are two big modes: map / script mode
Only map mode in map function

In script mode
f1 shortcut key resets the current content, f2 loads and converts the map of
Rongrong f3 opens the other script in the editor, and loads the background image in
the map
F4 script loading Jiang Rong event (use with caution) f5 script loading background
image

Press z to switch between small modes and m to switch between large modes (m is
only available for scripts)

There are five small modes in the map mode:


terrain1: only the underlying terrain can be edited, this is the real terrain wasd
decoration 1 offset, c copy (copy geographic attributes), v paste, x clear uijk to
adjust the decoration style, h add / remove high-speed channels y cancel full-speed
high-speed channels t replacement The bottom pit decoration is replaced by a high-
speed passage g.The high-speed passage is replaced by a pit decoration (new in
1211).
terrain2: can only edit the first layer decoration wasd decoration 1 offset, c copy
(copy geographic attributes), v paste (batch), x clear, uijk adjust decoration
style
terrain3: can only edit the second layer decoration wasd decoration 1 offset, c
copy (copy geographic attributes), v paste (batch), x clear, uijk adjust decoration
style
region: where ff represents the vacant region, x is reset to the current regionId,
c is copied, v is pasted (batch), a replaces the block as the current plot, and f
replaces the wrapped blank or colored plot as stored in c, qEmpty region, r
Introduce preset provinces and regions (Additional 12.5, only conquer map is valid)
terrain all: some global edits, such as expanding the map, etc. x is cleared all r
is expanded in four directions according to the decoration of the random first
layer of the underlying terrain. o Insert the map below the specified coordinates
of the current mouse c Full map sea and land boundary detection correction f Random
all decoration (addition to 12.20) t Replace all the ground with ice decoration
(only the script is effective) y Replace all snow wood for the iceberg (Antarctica
only has the script effective )

There are three small modes in the script mode:


build: can only edit buildings, q: city type w: factory e: research institute r:
supply station t: air force y: missile u: nuclear bomb i: set air defense o: set /
cancel radar p: set mines (mines need guided input) Attribution) a: city name c:
copy city information (except for the name) v: paste city information x: clear city
information s: set key points / cancel key points b: auto city deployment l: auto
mine deployment n: auto torpedo deployment d: delete non-provincial cities f: set
rewards g: automatically detect the direction of all ports h automatically give air
defense weapons based on city level
army: can only edit arms, 1 army a: arms l: rank n: formation d: direction g:
generals h: health bonus c: copy arms v: paste arms x clear arms e: automatic
deployment army k: automatic deployment Navy b: batch delete s: set key points /
cancel key points r set or cancel transport ship o set ai p batch set ai
autoCreateBattle: automatic creation mode, hereinafter referred to as ac mode,
which can quickly generate the corresponding map, c: copy attribution v: paste
attribution x: delete all data of the plot b: delete all batches r: modify map
tasks, round p: modify player camp l: Enter and modify legion information del:
Clear information: Clear information such as mine / unit / building / legion /
event in turn i: Automatically correct attribution (if there is a region, the
attribution is changed to the attribution of the region) y: One-click
reinforcements f: one Key Air Force (use with caution, may retreat) s: Intercept
map o: Create legion based on template q: Set attribution g: Automatically deploy
generals e: Automatic error checking k: Set the strength of a country w: Scoring
system t: Print legion information n: Create target with one click: Occupation
reward, building red circle, general red circle u: Weather (use with caution, may
retreat)
unknow: When switching to script mode in region or terrain all in map mode, it will
appear, invalid, press z to switch

The following are recommended shortcut keys


region: f Quickly replace the region (need to c) a Quickly replace the province to
the pointed position
terrain all: c
build: d: delete non-provincial cities b: automatically deploy cities l:
automatically deploy mines
army: e: Auto deploy army n: Auto deploy navy g: General
ac: b: delete all in batches p: modify player camp i: automatically correct
attribution y: one-button reinforcement f: one-button air force s: intercept map g:
automatically deploy generals e: automatically check for errors k: set the strength
of a country w: Scoring system t: print legion information n: create goals with one
click

3.Other instructions:
Click the upper right corner of the map editing mode. If it is the first three
modes, if the decoration belongs to this type, the area will be red.
If loading conquers no boundaries (such as the original map), you can switch to
terrain all and press c to reset the sea and land boundaries
In ac mode, using the crop map function, a new battle will be generated after
saving. If the player serial number is not set, it will be set randomly to ensure
that the created battle is normal.
The loaded battles will automatically rank the legion number, starting from 0
instead of the original disorder.
Legion cannot modify technology, new legion has no battle
The contents of the top, bottom, left, and right sides of the map are automatically
cleared when saving
The maximum value configured by the generals configured in the one-click
configuration for its unit
The ac mode sets the national strength.If it is greater than 3, it will
automatically complete the arms in areas with buildings and no arms.

def_countryList is used to set the country template, corresponding to o in ac mode,


importing the country template function, and g to import general r, g, b represents
the color in the template, strategyId represents the strategy type, and is set in
the config / def_strategy.xml of the mod generalMark represents the avatar
displayed by its generals, armyMode1, armyMode2, and armyMode3 represent the army
arms it owns at various strengths, corresponding to generalIds and generalArmyType,
for generals and arms with one-click configuration
def_legionLv.xml is used to set the national strength, corresponding to k in ac
mode
----------- 12.5 ----------------
Added the shortcut r in the region mode of the script to introduce the preset
provinces (only valid for conquering the map)
Fix loading provinces and regions as preset provinces instead of provinces in stage
Added restrictions on conquering stage terrain modification in the script.If you
want to modify the terrain decoration of the conquering map, please go to the map
menu to modify
--------- 12.8 ------------------
Added filtering of erroneous data (army, buildings, mines) when reading data
(reduce flashback rate)
Ac mode One-click error check n Append if there is no ownership, modify the
ownership to the first legion
Fixed decorative offset (e company can only shift in a fixed direction and the
value is limited)
Correct the algorithm of saving provinces and regions, and solve some flashback
problems
Append Save Filter on Unattributed Data
Strengthen the preservation of Rongrong
--------- 12.9 ------------------
Fixed the bug that the lower border cannot be saved
Fixed a bug that caused units to be lost when units were loaded
National strength increase skill strength adjustment
Increase General's Transformation
Fixed bugs in anti-aircraft machine gun and anti-aircraft gun display
Add shortcut g to build to automatically detect the global port direction
Random naval probability changed to k
Open other scripts in the script editor Press f3
Added stagename at the bottom left of the script
Modify the map capture of the campaign
--------- 12.11 ------------------
New shortcuts under Terrain h Add / remove high-speed channels y Cancel full-
picture high-speed channels (new in 1211)
The actual principle of the high-speed channel is to add non-consumable decoration
to the bottom layer of terrain1. Please ensure that the decoration model 31-09 is
added and leave it empty. You can also use uijk in terrain1 to call up non-
consumable decorations such as pits, and then copy and paste to create A high-speed
channel
Added t to replace the bottom pit decoration for the high-speed channel g to
replace the high-speed channel for the pit decoration

-------- 12.23 ----------


Complete editor instructions

You might also like