Bây giờ tôi gần đây đã có một cuộc nói chuyện với Flyby và ông cho biết kịch bản của ông đã không làm việc với màu sắc cơ bản làm cho nó vô dụng khi bạn muốn chuyển đổi mô hình 3D để định dạng vxl. Vì vậy, tôi đã làm một số thử nghiệm (không mất nhiều thời gian) và quyết định làm một tut về những phát hiện của tôi. Nếu bạn đăng bài này trên trang web bất kỳ, xin vui lòng cung cấp tín dụng mà nó là do, với tôi.
NoMaterials cần thiết:
1.Gmax hoặc phản bội gmax mở rộng Renx (mà bạn có thể aquire từ các trang web chính thức của kẻ phản bội)
2.Flybys Voxelizer kịch bản mà bạn có thể nhận được từ Tibiriumsun.com
3.Xcc máy trộn
4.Vxl biên tập
5.Microsoft Lời
Alright ở đây chúng tôi đi.
Đầu tiên thực hiện mô hình 3D của bạn trong gmax Renx.
Hãy chắc chắn rằng kích thước tốt, không nhỏ và không quá lớn.
Sau đó bấm vào kịch bản chạy. và mở Flybys voxelizer kịch bản.
Bạn sẽ muốn nhấp vào nút chọn đối tượng sau đó nhấp vào những gì bạn đang muốn voxelize.
Sau đó được thực hiện nó sẽ cho bạn coridinates và tính đa trên mô hình.
Tiếp theo bấm Voxelize. Phải mất một thời gian đôi khi để treo trong đó.
Sau khi nó được thực hiện bấm vào nút gmax. Nó sẽ nói renderer là không có sẵn và để sao chép và dán từ nghe MAXScript (F11).
Vì vậy, nhấn F11 và nó sẽ mang đến file txt bạn cần. Bây giờ bạn sẽ nhận thấy rằng có 5 chữ số trong mỗi hàng, và sau khi con số nó nói không xác định. Dưới đây là một ví dụ từ một mô hình đã được làm việc trên:
Ex.1
0,1,9,1,1,undefined
0,1,9,2,1,undefined
0,1,9,3,1,undefined
0,1,9,4,1,undefined
0,1,10,1,1,undefined
0,1,10,2,1,undefined
0,1,10,3,1,undefined
0,1,10,4,1,undefined
0,1,11,1,1,undefined
0,1,11,2,1,undefined
0,1,11,3,1,undefined
0,1,11,4,1,undefined
0,1,11,5,1,undefined
0,1,12,1,1,undefined
0,1,12,2,1,undefined
0,1,12,3,1,undefined
0,1,12,4,1,undefined
0,1,12,5,1,undefined
0,1,12,6,1,undefined
0,1,13,2,1,undefined
0,1,13,3,1,undefined
0,1,13,4,1,undefined
0,1,13,5,1,undefined
0,1,13,6,1,undefined
0,1,14,2,1,undefined
0,1,14,3,1,undefined
0,1,14,4,1,undefined
0,1,14,5,1,undefined
0,1,14,6,1,undefined
0,1,14,7,1,undefined
0,1,15,2,1,undefined
0,1,15,3,1,undefined
0,1,15,4,1,undefined
0,1,15,5,1,undefined
0,1,15,6,1,undefined
0,1,15,7,1,undefined
Etc......
That is where the problem is. The undefined should be a number representing the number from the unittem.pal. Like if you put 50 the you would get a dark grey colour on a section of the model. But since it says undefined, when you convert the txt to vxl it will only show a blue screen.
So here is what we do to fix that. Go to Microsoft word and open it. then click open file->then name of what you saved your txt too. Once that is opened click on edit->find->replace. In the Find What box type undefined But not with the underline I jsut underlined it so you could see it better. Then in the replace with box type in any number from 0 to 255. or from 16 to 191 cause some of the colours will be pink in game even though they arnt pink in vxl editor.
Now once you have entered the number you want click on REPLACE ALL. After it is done replacing the undefined with your number enterd click save. And it should look like this:
Ex.2
0,1,9,1,1,xx
0,1,9,2,1,xx
0,1,9,3,1,xx
0,1,9,4,1,xx
xx being what ever you entered.
Ok were almost there.
Now put your saved txt file in the RA2 directory if it isnt already. Open up xcc mixer then the RA2 directory. do the same in the middle panel. Click on your txt file and right click on it. then click on copy as vxl. And there you have it. You will see your vxl in one colour only but at least you will see it finally.
For finishing touches your gonna want to open it in Vxl editor and colour it the way you want.
I hope this has helped others that have the same problem that I did. updates will be done to this to make it alittle more clearer if it isnt already. Ill leave you by saying have fun. I know this looks long but It only takes a couple of minutes.
---------- Post added at 09:06 ---------- Previous post was at 09:01 ----------
ai tìm obj 2 3ds dùm!!!
█........█.............█
█........█.............█
█........█.............█
███████████
███████████
.....█.............█.....
.....█.............█.....
███████████