4ds files hacked
Re: 4ds files hacked
@Mator:
1. Could you also post the other filenames where the error occurs please? These files contain data I need in order to improve the texture import/export
2. Fixed the problem. I'll upload a newer version soon. Actually, the problem was that the export script just picked the material of the first node in the scene which was a dummy in your case (main_menu.4ds) that has no material property, so you got that error. In multiplayer_menu the first node is an editable mesh, so it works. But i've now added some functions that handle all that texture stuff correctly.
1. Could you also post the other filenames where the error occurs please? These files contain data I need in order to improve the texture import/export
2. Fixed the problem. I'll upload a newer version soon. Actually, the problem was that the export script just picked the material of the first node in the scene which was a dummy in your case (main_menu.4ds) that has no material property, so you got that error. In multiplayer_menu the first node is an editable mesh, so it works. But i've now added some functions that handle all that texture stuff correctly.
Last edited by hdmaster on Mon Jun 27, 2011 8:01 pm, edited 1 time in total.
Re: 4ds files hacked
I'll post it today.But i need time for verify ALL files.ok? =)
Some filenames:
w_LeesFPV
W_cknifefpv
vodopad1
vodopad2
us04
us03
us02
us01
RU01
RU02
ohen1
ohen2
NPC_Ge10b
NPC_Ge05b
NA01
mp_en01-12
mp_ge01a-31b
mp_it01-03
mp_ru01,02
mp_us01-04
IT01
IT02
IT03
GE01a-GE31b
k_majak1
It's not all files.I'll add new filenames later.
Some filenames:
w_LeesFPV
W_cknifefpv
vodopad1
vodopad2
us04
us03
us02
us01
RU01
RU02
ohen1
ohen2
NPC_Ge10b
NPC_Ge05b
NA01
mp_en01-12
mp_ge01a-31b
mp_it01-03
mp_ru01,02
mp_us01-04
IT01
IT02
IT03
GE01a-GE31b
k_majak1
It's not all files.I'll add new filenames later.
Last edited by Mator on Tue Jun 28, 2011 3:21 pm, edited 1 time in total.
Re: 4ds files hacked
Just addition to the "error-file-list".
In general, I had problems with importing first person weapon models (those weapon models that have "fpv" at the end of their filename).
In general, I had problems with importing first person weapon models (those weapon models that have "fpv" at the end of their filename).
- JonnySniper
- Lieutenant
- Posts: 101
- Joined: Thu Dec 24, 2009 11:33 am
- Location: Germany
- Contact:
Re: 4ds files hacked
me tooMCh2207Cz wrote: Just addition to the "error-file-list".
In general, I had problems with importing first person weapon models (those weapon models that have "fpv" at the end of their filename).
and the player models makes problems.
www.object-arts.de.tl
Idee := Brain.Activate(self);
Idee := Brain.Activate(self);
- betteryouthanme
- Lieutenant
- Posts: 116
- Joined: Thu Jun 12, 2008 1:37 pm
- Location: Germany
- Contact:
- Marvin (hun)
- Sergeant
- Posts: 59
- Joined: Sat Mar 19, 2011 3:01 pm
- Location: Hungary
Re: 4ds files hacked
Sometimes I'm watching the actual games, but there is no better game than HD2! I hope we can make new levels in the near future, so please don't give up hdmaster! I separated the texture files into separated folders, for example: Arctic, Africa, Czech....etc. The Arctic and Africa has sub-folders, for ex.. Walls, Grounds, Doors, Furnitures....etc.
So if you need the filelist I'll send it on mail to you hdmaster!
So if you need the filelist I'll send it on mail to you hdmaster!
Last edited by Marvin (hun) on Sat Jul 30, 2011 11:10 am, edited 1 time in total.
Re: 4ds files hacked
Hey.Somebody knows how to edit collision data in tree.klz files?I didn't see any editor for it.And without editor for tree.klz can not make new levels
- betteryouthanme
- Lieutenant
- Posts: 116
- Joined: Thu Jun 12, 2008 1:37 pm
- Location: Germany
- Contact:
Re: 4ds files hacked
Now there's one for Mafia but it is not working for HD2.
http://www.moddb.com/games/mafia/downloads/treere-4-v12
But maybe you can make something out of it? *fingers crossed*
http://www.moddb.com/games/mafia/downloads/treere-4-v12
But maybe you can make something out of it? *fingers crossed*
Re: 4ds files hacked
First we need to decipher tree.klz.And later create program like TreeRE.This work may do scripter better than me.
Re: 4ds files hacked
Sorry for the long wait time on updates but I was very busy.
I'll definetly upload a new version within the next week with a few more features like export for imported sectors and occluder, which means you'll be able to export a complete map back to .4ds :).
I've also tested importing most of the FPV weapons with a newer version and it worked. But importing soldiers (us01.4ds, ge01.4ds and so on) is still not going to work.
I'll definetly upload a new version within the next week with a few more features like export for imported sectors and occluder, which means you'll be able to export a complete map back to .4ds :).
I've also tested importing most of the FPV weapons with a newer version and it worked. But importing soldiers (us01.4ds, ge01.4ds and so on) is still not going to work.
- Marvin (hun)
- Sergeant
- Posts: 59
- Joined: Sat Mar 19, 2011 3:01 pm
- Location: Hungary
Re: 4ds files hacked
Thanks for the great news hdmaster! Does it means also that the map collisions will work?
Re: 4ds files hacked
I'm trying the new version of the plugin with 3ds max 9.0 and get this error:
-- Type Error: Call needs function or class, got: undefined
and is highlighted this line:
header_time = ReadDouble f
Does anybody know how to fix it?
I've also installed the FBX 2009.3 Plug-in for 3ds Max 9.0
but seems it had no effect.
Edit:
I've replaced "header_time = ReadDouble f" with "fseek f 8 #seek_cur" and it worked.
Seems that "ReadDouble" function is not supported by my version.
Luckyly, it's used just once for a useless value :)
-- Type Error: Call needs function or class, got: undefined
and is highlighted this line:
header_time = ReadDouble f
Does anybody know how to fix it?
I've also installed the FBX 2009.3 Plug-in for 3ds Max 9.0
but seems it had no effect.
Edit:
I've replaced "header_time = ReadDouble f" with "fseek f 8 #seek_cur" and it worked.
Seems that "ReadDouble" function is not supported by my version.
Luckyly, it's used just once for a useless value :)
Last edited by Ikaros on Sun Aug 07, 2011 10:07 am, edited 1 time in total.
http://malgolan.altervista.org/
Italian politicians - Not in my name!
Italian politicians - Not in my name!
Re: 4ds files hacked
@Marvin:
It's still not possible to build new collisions, but have a look at the 'tree.klz think tank' thread here for new information about collisions.
@Ikaros:
The function ReadDouble is supported by versions prior to 3ds Max 2008 only through the Avguard DLX Extension (download here). This package extends MaxScript in older 3ds Max versions with some nice functions that were later directly included in 3ds Max (2008+).
But as you already mentioned, you don't really need that function. I guess this is also the only function I'm using in my scripts that's not supported by 9.0 :)
// Edit:
Screenshot of Africa1_mp exported from 3ds Max. I don't know why that turquoise color appears..
Uploaded with ImageShack.us
It's still not possible to build new collisions, but have a look at the 'tree.klz think tank' thread here for new information about collisions.
@Ikaros:
The function ReadDouble is supported by versions prior to 3ds Max 2008 only through the Avguard DLX Extension (download here). This package extends MaxScript in older 3ds Max versions with some nice functions that were later directly included in 3ds Max (2008+).
But as you already mentioned, you don't really need that function. I guess this is also the only function I'm using in my scripts that's not supported by 9.0 :)
// Edit:
Screenshot of Africa1_mp exported from 3ds Max. I don't know why that turquoise color appears..
Uploaded with ImageShack.us
Last edited by hdmaster on Mon Aug 08, 2011 2:04 pm, edited 1 time in total.
- -ViTaMiHnM203-
- SAS Soldier
- Posts: 1347
- Joined: Wed May 11, 2005 7:52 am
- Location: Classified
- Contact:
Re: 4ds files hacked
Don't worry about it too much, the developers of HD2 had the same problem as well.
Eight, 8, the burning eight; between Sunday and Monday exists a day so great, it will devastate.
Re: 4ds files hacked
Mafia renders objects with incorrect lightmaps this way. Your export probably changed that mesh object somehow so it's not consistent with the data stored for the associated lightmap anymore. Try to find the lightmap for that object in the scene2.bin and delete it.hdmaster wrote: Screenshot of Africa1_mp exported from 3ds Max. I don't know why that turquoise color appears..
Who is online
Users browsing this forum: No registered users and 64 guests