PDA

View Full Version : [REL] "Empty Car" template for zmodeler


IvanThaDriver
22 September 05, 01:04
http://www.nogripracing.com/details.php?filenr=746

quote from readme :

"This is a template of striped down Impreza model from RBR. It is designed for
quick inserting new meshes into the game. It has removed car's body, internals,
doors and windows. e_body and i_body is a box now - you can do whatever
you want - just attach new body to e_body element and delete box's polygons then.
Some parts are missing - bumper, wing etc - if you want to use them and their
physic properties have a look into original Impreza's car
( http://www.bhmotorsports.com/download/11108 ) - don't forget
to tick "Rewrite ini file" box in export window then. I suggest
creating totally new impreza03_external.dds and impreza03_internal.dds files
and mapping your new model accordingly.

These elements :

e_sparewheelstrap_snow
e_sparewheelstrap_gravel
e_sparewheelstrap_tarmac
e_sparewheel_tarmac
e_sparewheel_gravel
e_sparewheel_snow

are boxes now too. They can be used for designing switchable elements :
that means by modifying impreza03.ini file you can turn them visible/invisible
(think of cabrio/non-cabrio (roof on/off), additional cages for jeeps,
rocket launchers etc) - this way with one car's mesh you can have many versions
of the same car. This is how it's done (first attach your new part to
e_sparewheel_tarmac for example and delete box) -

impreza03.ini

...

[e_sparewheel_tarmac]
Predicate=NotUsed
Switch=false
SwitchBox=light
FaceBlock0_Material=Default Material
FaceBlock0_Shader=CarTextureNoDirt

Now the part is visible. Change Switch line to true that means :

Switch=true

Now it's invisible. Play with it !!!



Exporting with rewriting ini file causes some problems with shaders sometimes -
zmodeler generates some weird impreza03_shaders.ini file (forgets about these lines
for instance :


[TSDefault]
impreza03_external.dds = cars\impreza03\textures\impreza03_external.dds
impreza03_external_dynamic.dds = cars\impreza03\textures\impreza03_external_dynamic .dds
impreza03_external_dynamic_mud.dds = cars\impreza03\textures\impreza03_external_dynamic _mud.dds
impreza03_external_mud.dds = cars\impreza03\textures\impreza03_external_mud.dds
impreza03_external_scrape.dds = cars\impreza03\textures\impreza03_external_scrape. dds
impreza03_external_transparent.dds = cars\impreza03\textures\impreza03_external_transpa rent.dds
impreza03_internal.dds = cars\impreza03\textures\impreza03_internal.dds
impreza03_internal_kwindscreen.dds = cars\impreza03\textures\impreza03_internal_kwindsc reen.dds
impreza03_internal_scrape.dds = cars\impreza03\textures\impreza03_internal_scrape. dds
impreza03_internal_transparent.dds = cars\impreza03\textures\impreza03_internal_transpa rent.dds


I do like this - I export a car to a copy of Impreza's directory (lets say
IMPREZA03-smashme ) and then I copy two files from there into original Impreza's
directory - impreza03.ini and impreza03.sgc. The rest isn't touched.

Don't forget to backup everything you work on and original game's files.

Wheels and exhaust placement is defined by physics file - so moving it
inside zmodeler won't do much.


Full Impreza 03 z3d file : http://www.bhmotorsports.com/download/11108

Wheels pivot thing : http://www.bhmotorsports.com/board/viewtopic.php?p=189592#189592

Glowing disc brakes : http://www.bhmotorsports.com/board/viewtopic.php?t=30853

Shining car topic : http://www.bhmotorsports.com/board/viewtopic.php?t=28632
http://forum.rscnet.org/showthread.php?t=185163

Zmodeler : http://zmodeler2.com/

Zmodeler tutorials : http://zmodeler2.com/?mode=docs

Original RBR cars in case : http://www.bhmotorsports.com/RBR/downloads/3731

Nvidia tweak for PhotoShop for generating DDS texture files : http://www.nvidia.com/object/photoshop_dds_plugins.html "

MudSnow
22 September 05, 14:37
Exporting with rewriting ini file causes some problems with shaders sometimes -
zmodeler generates some weird impreza03_shaders.ini file ............

I do like this - I export a car to a copy of Impreza's directory (lets say
IMPREZA03-smashme ) and then I copy two files from there into original Impreza's
directory - impreza03.ini and impreza03.sgc. The rest isn't touched.

Don't forget to backup everything you work on and original game's files.

Great idea. Using max, I always make sure the check box for new ini's is UNCHECKED, and edit manually, but this is also a good idea.