인벤토리/스태쉬/큐브 공간 늘리기
가능 버전: 모든 버전
난이도: 중
I. 필요한 것들
DC6Maker(애니매이션 DC6파일 만들기)
이미지 에디터(포토샵 등, 그림 편집 용도)
txt파일 편집기(D2 엑셀 등)
II. 파일 추출하기
D2exp.mpq에서 inventory.txt파일을 추출한다.
DATA\GLOBAL\UI\PANEL 경로에서 invchar6.dc6를 추출하고 확장자를 pcx로 변경한다.
III. 그림 편집하기
invchar6.pcx파일을 이미지 편집기에서 불러온다.
320x864픽셀 사이즈의 그림을 보게 될텐데, DC6치고는 약간 큰 사이즈이다.
이는 320x432픽셀 사이즈의 두 애니매이션이 붙어있다는 소리다.
원본 invchar6.pcx파일에서 320x432씩 두 파일로 나눠 따로 저장한다.
나눴다면 그림파일을 원하는대로 수정한다.
Now now, this is all up to your image editing skills, but make yourself a small chart
write down:
CELLGRIND:
LeftArm:
RightArm:
Neck:
Head:
Torso:
Boot:
Gloves:
Belt:
(this is only so later on you wont have to guess the coordinates!)
Now lets say you increase the inventory by 1 row (29px)
and move up the Torso by 10px to make room so you write down:
CELLGRIND up=-29(you will get why later)
Torso: up=-10 down=-10
ok now to explain it:
if you move up 29px and your current coordinates are 300 then you dont type 329 but you type 271 since you move updates (towards 0)
Repeat these steps for every bodycell you move.
After this you will open INVENTROY.txt in excel (dont worry about all the numbers, it is one of the easyest txt files!)
Now: dont change the following columns!
InvLeft, InvRight, InvTop, InvBottom (these represent the graphics alignment on the screen!)
Now after i warned you what not to change we can talk about what to change (duh):
The rows for the inventory are:
Amazon
Sorceress
Necromancer
Paladin
Barbarian
Druid
Assassin
Amazon2
Sorceress2
Necromancer2
Paladin2
Barbarian2
Druid2
Assassin2
A note: Amazon = for low resolution mode (for the Amazon) wile Amazon2 is for hight resolution mode.
The columns to adjust are:
Gridrows/Gridcols (Inventory Gridrows/Columns)
if we added a single row then we will change Gridcols(not gridrows strangly) from 4 to 5:
After you have done that for all of the rows mentioned above
We will move on to the next columns: GridLeft/GridRight (dont need changing, we didnt move them horizontally)
GridTop & GridBottom thought do need to be changed:
As you remember we added 1 cells row on top so the size grew by 29px:
now we will change GridTop from 255 to 226 (since we only added 1 row on top and dident move the grid downwards we dont need to modify GridBottom) for high resolution rows change this column from 315 to 286!
Well now lets move on:
Since we said before we only moved the torso (in reality thought you would have moved more!)
Now go over to TorsoLeft/TorsoRight, as you remember, we didnt move it left ot right so we dont need to change these but now:
TorsoTop and TorsoBottom need to be changed:
I supposed you moved it upwards by 10px in this example so we will
Change torso top from 77 to 67 and TorsoBottom from 159 to 149 (hey why dident bottom GROW? to answer that imagin you move something upwards, and above that thing is a red cube and below a blue cube, now the red one would stand for 0 and the blue one for 1000, if you move the object upwards the value will shrink in both sides since you move away from 1000 and come near to 0, pretty simple)
Now after you did this this example is nearly complete:
Just for a note:
For the stash we modify Big Bank Page 1 and Big Bank Page 2 rows
for the cube we modify Transmogrify Box 1 and 2.
But now back to the tutorial:
Now after we modified Inventory.txt we need to convert the inventory graphic to a multiframe dc6 that DOSENT animate.
How will we do this? simple, dc6 files CANNOT animate themselves if they exceed 256x256px in size (our two frames are 320x432px)
Open up your dc6 editor and add the two frames to a new animation (make sure the charstats image is the first!) after you did it save it as invchar6.dc6 and move it into the correct dir (thats why you need knowledge on -direct command) do the same with inventory.txt and start the game, if you did all the way i represented it here for only a few of the columns then you should now have a large inventory!
댓글
댓글 리스트-
작성자rpgkdh 작성자 본인 여부 작성자 작성시간 06.01.08 data\global\ui\panel\supertransmogrifier.dc6
-
작성자rpgkdh 작성자 본인 여부 작성자 작성시간 06.01.08 data\global\excel\inventory.txt
-
작성자rpgkdh 작성자 본인 여부 작성자 작성시간 06.01.08 용병 인벤토리 data\global\UI\Panel\NpcInv.dc6
-
작성자rpgkdh 작성자 본인 여부 작성자 작성시간 06.01.08 inventory.txt에서 hireling과 hireling2를 수정
-
작성자rpgkdh 작성자 본인 여부 작성자 작성시간 06.01.08 -direct -txt 로 실행하면 txt에 bin파일이 추가된다고 한다.