ETS filter guide.

18 Wheels of Steel series forum

Moderators: _RicH_, Oleg

ETS filter guide.

Postby Oleg » Tue Oct 28, 2008 10:58 am

This post relates to filter prior to version 2.2.3 Build 162 (supplied with ZModeler 2.2.3 Build 970). If you are using the latest filter, please refer this thread.


ETS filter user gude.

PMG filter was upgraded to support ETS. Other titles (export) might not work correctly. If you don't need ETS support, keep an older version of the filter instead of the newer one.
http://updates.zmodeler2.com/files/conv ... 1.1.119.gz (old version). unzip to "Filters\ConvoyPMG.zmf" file.

I've made dozen of changes in the filter and not sure whether previouse versions are handled properly now. I don't have 18wos games (except ETS) at the moment, so test only older versions.

Please refer to PMG filter guides from previouse titles (Convoy/Haulin) for detailed description. Only changes or new features will be described below.

Features and limitations.
1. Object names has changed slightly. "Variations" are now available. So, if (AB) or (C) or similar stuff appears in a tail of an object name, this means that object will be available in "variant A and B", or "variant C" and so on. Thus, for example, you can create "collision (AC)" node and place collision data for variants A and C; create a node "collision (B)" and place different collision data for variant B of the truck. This feature applies to visual objects too: place variations letters in top-level group-nodes.

2. Certain objects will stay prompted as "unknown object" and will appear as "obj:0x****, x***" in objects browser.

3. Material names has changed. exact shader name is written in brackets while full path to main texture is written in the beginning. E.g.:
/vehicle/truck/renault_magnum/bodypaint(dif_spec.add.env)
Thus, you can specify that certain texture is "common" or "shared":
/vehicle/truck/share/metall(dif_spec.add.env) (of cause filter will expect "metall.dds" texture to be used in such a material)

4. Texture mapping:addressing mode is now exported in .tobj file. You can use Clamp, Wrap and Mirror texture addressing modes.

5. Texture filtering (Linear or Point) is now exported in .tobj file. Preferably to set MIN, MAG and MIP filtering to the same values at a time.

6. Reflection level of environment can be adjusted with "Const Color" slider.

7. ETS trailers export is NOT SUPPORTED.

Remarks regarding ETS support.
Please, copy all "truck" files (PMG, PMD and PMC) into proper truck name files. e.g.
renault_magnum folder should contain renault_magnum.pmg instead of "truck.pmg" when importing.
Second, export to proper truck name file too. E.g. export to renault_magnum.pmg and then rename renault_magnum files (PMG, PMD, PMC) to truck.

Have a nice day!
Last edited by Oleg on Thu Feb 25, 2010 1:29 pm, edited 8 times in total.
User avatar
Oleg
Site Admin
 
Posts: 2142
Joined: Fri Feb 06, 2004 3:54 am

Re: PMG: Euro Truck Simulator

Postby RoadTrain » Tue Oct 28, 2008 2:36 pm

Oleg wrote:I don't have 18wos games (except ETS) at the moment, so test only older versions.

some ALH and Haulin models are loaded correctly. But i don't tested this with ETS, sorry.
User avatar
RoadTrain
 
Posts: 27
Joined: Sat Nov 10, 2007 12:55 pm
Location: Russia

Postby Oleg » Tue Oct 28, 2008 8:32 pm

I would be glad is someone could test ALH/Hauling/Convoy import and export. Note, that imported and saved scenes (from older version of the filter) might be incorrectly exported with new version. So, I'm interesting whether "import and then export" goes correctly.
User avatar
Oleg
Site Admin
 
Posts: 2142
Joined: Fri Feb 06, 2004 3:54 am

Postby Matrix3D » Wed Oct 29, 2008 5:31 am

I have tested Export to 18 WoS: Haulin. And it works. I would to test the other games. But i can't Import the pmg because I haven't a registered version :wink:
Matrix3D
 
Posts: 2
Joined: Sun Oct 19, 2008 8:30 am

Postby nevesu » Sat Nov 01, 2008 10:06 am

Wow ! Big thx Oleg! I`ve already learned how to convert for ets with ALH filter but that one will be really usefull ;) Thank you!
nevesu
 

Postby jianxun » Sat Nov 01, 2008 1:29 pm

Convert Truck Haulin -->ETS

07:26:14 : [Ode] Starting physics server: Open Dynamics Engine (svn revision 1119)
07:26:14 : Loading city data ....
07:26:23 : [model] Unknown variant name 'a' on model '/vehicle/truck/actros1844/truck.pmd'
07:26:23 : .\vehicle\physics_vehicle.cpp(1027): ?load_visual_model@physics_vehicle_u@prism@@IAEXXZ: Wrong vehicle model!

Anybody tell me WHY?

Thanks a lot
jianxun
 
Posts: 5
Joined: Thu Aug 07, 2008 12:58 pm

Postby Oleg » Sat Nov 01, 2008 9:26 pm

.sii refers to variants of the truck (A, B, C etc.) while the model is exported without variations. You can fix this by renaming "collision" node to "collision (ABC)". Of cause, all variants will be the same then.
User avatar
Oleg
Site Admin
 
Posts: 2142
Joined: Fri Feb 06, 2004 3:54 am

Postby jianxun » Sat Nov 01, 2008 10:58 pm

Thanks a lot
jianxun
 
Posts: 5
Joined: Thu Aug 07, 2008 12:58 pm

HELP BOSS

Postby Cejkys » Sun Nov 02, 2008 4:16 am

Sorry but what I write ( A, B, C etc. ).


[model] Unknown name options' c 'on model' vehicle/truck/scania500/scania500.pmd '
15:00:07:. \ Vehicle \ physics_vehicle.cpp (1027):? Load_visual_model @ physics_vehicle_u PRISM @ @ @ IAEXXZ: Wrong vehicle model! Thanks for the advice BOSS
Cejkys
 

Postby Oleg » Sun Nov 02, 2008 11:15 am

export with "ETS" version selected; make sure collision node is named "collision (ABC)" so filter exports 3 variations.
User avatar
Oleg
Site Admin
 
Posts: 2142
Joined: Fri Feb 06, 2004 3:54 am

Postby jianxun » Mon Nov 03, 2008 7:38 pm

13:33:48 : [model] Unknown variant name 'a' on model '/vehicle/truck/actros1844/truck.pmd'
13:33:48 : .\vehicle\physics_vehicle.cpp(1027): ?load_visual_model@physics_vehicle_u@prism@@IAEXXZ: Wrong vehicle model!

What's wrong?
Attachments
未标题-1 拷贝.jpg
jianxun
 
Posts: 5
Joined: Thu Aug 07, 2008 12:58 pm

Postby jianxun » Mon Nov 03, 2008 7:40 pm

Can you give me a Examples?
jianxun
 
Posts: 5
Joined: Thu Aug 07, 2008 12:58 pm

Postby Oleg » Mon Nov 03, 2008 9:27 pm

I'll give you a hint first. Start ZMAutoUpdate and get a proper version of filter. You are using an old one. At least, object names like "obj:{0x250853C4, 0x7057}" should be "lights.left" and so on.

Second,
Remarks regarding ETS support.
Please, copy all "truck" files (PMG, PMD and PMC) into proper truck name files. e.g.
renault_magnum folder should contain renault_magnum.pmg instead of "truck.pmg" when importing.
Second, export to proper truck name file too. E.g. export to renault_magnum.pmg and then rename renault_magnum files (PMG, PMD, PMC) to truck.

User avatar
Oleg
Site Admin
 
Posts: 2142
Joined: Fri Feb 06, 2004 3:54 am

Postby V8Jäger » Sat Nov 08, 2008 11:18 am

This Filter isn't good its shit
V8Jäger
 
Posts: 1
Joined: Thu Sep 25, 2008 5:29 am

Postby whiteliner » Mon Nov 10, 2008 9:37 pm

V8Jäger wrote:This Filter isn't good its shit


Hmmmmm ... very intelligent.
whiteliner
 
Posts: 1
Joined: Fri Oct 03, 2008 6:12 pm

Examples

Postby Sash » Tue Nov 11, 2008 8:30 pm

I will glad if anyone import any model from ETS to Zmodeler format. I very interesting structure to export my models to ETS.
Sash
 

Lights

Postby Actros » Fri Nov 14, 2008 8:38 am

Hello, is there anyone who can help. If you've downloaded a truck (Scania Tuning) Why does not the light (ETS ).???? ANSWERS PLEASE
Actros
 

Postby batje » Sun Nov 16, 2008 10:50 am

you must have a csc file, whit the name "flarepack by samson".
If you download that your lights works good
batje
 

ETS convert

Postby Tycoon » Fri Nov 21, 2008 4:30 am

Hello @ all

I have download this ets Filter Update but i don't see anything.

Nobody can tell me the right way if i can convert a haulin etc. Truck to ETS.

always the same answer in the ETS Boards: this is my private secret, try your self.... :roll:

okay you can see a picture after the download Update ETS, what can I do now:

thank you very much for help and sorry for my bad English.. :wink:
Attachments
filter.jpg
Tycoon
 

Reflections

Postby Sh4rky » Sun Nov 23, 2008 8:17 am

Can someone tell me how to get correct reflection in ETS? I have editet the .mat files but without luck. Please Oleg, tell me what you mean with:

4. Texture mapping:addressing mode is now exported in .tobj file. You can use Clamp, Wrap and Mirror texture addressing modes.

5. Texture filtering (Linear or Point) is now exported in .tobj file. Preferably to set MIN, MAG and MIP filtering to the same values at a time.

6. Reflection level of environment can be adjusted with "Const Color" slider.

Const Slider? Where do i find that?


Cheers.
Sh4rky
 

Postby Oleg » Sun Nov 23, 2008 9:00 am

.mat file should contain
texture[1] : "/material/environment/vehicle_reflection.tobj"
env_factor : { 0.6 , 0.6 , 0.6 }

where env_factor is reflection level. Shader chould be eut.dif_spec.add.env_nofresnel.fx for example.
User avatar
Oleg
Site Admin
 
Posts: 2142
Joined: Fri Feb 06, 2004 3:54 am

Postby Sh4rky » Sun Nov 23, 2008 2:51 pm

Yes I know Oleg.

But it's not the inviroment reflection i want. It's that white shine that comes when the sun hits the truck.

What can i do in zMod in the Material editor to make it shine? You're talking about a Const Color Slider. I found it now, but what shall i set the different parameters for? E.g. "Select Arg2" or "Modulate" and so on..
Sh4rky
 

Postby Oleg » Sun Nov 23, 2008 10:40 pm

ohh. it's a specular. Shander should contain ****_spec***.fx. And shiness (or how does it spell?) should be =50..80. Make sure to enable Extensions\Specular Highlight on material in ZModeler.
User avatar
Oleg
Site Admin
 
Posts: 2142
Joined: Fri Feb 06, 2004 3:54 am

Re: ETS convert

Postby Guest » Mon Nov 24, 2008 4:38 am

Tycoon wrote:Hello @ all

I have download this ets Filter Update but i don't see anything.

Nobody can tell me the right way if i can convert a haulin etc. Truck to ETS.

always the same answer in the ETS Boards: this is my private secret, try your self.... :roll:

okay you can see a picture after the download Update ETS, what can I do now:

thank you very much for help and sorry for my bad English.. :wink:



it was very nice when someone can help me, thank you very much!
Guest
 

Postby Oleg » Mon Nov 24, 2008 9:39 am

you need a latest version and this filter to work with ETS. You need a registered copy of ZModeler to be able to import .PMG files.
User avatar
Oleg
Site Admin
 
Posts: 2142
Joined: Fri Feb 06, 2004 3:54 am

Next

Return to 18 Wheels Of Steel

Who is online

Users browsing this forum: Google [Bot] and 1 guest