MODSonline
  Welcome Guest to MODSonline Home | Forums | Register | Login
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Wiki *
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoDWW Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
Returner [Banne]
nigh7rid3r [Downl]
a.mk [Downl]
PsycoFalc [Forum]
batistablr [Forum]

5 Members and 13 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Monday, Dec. 1st
A message from foyleman
Sunday, Nov. 30th
MODSonair 156 Live
Friday, Nov. 28th
MODSonair Episode 155
Wednesday, Nov. 26th
MODSonair Forum Buttons
Monday, Nov. 24th
Holiday Gift Guide 2008 - PC
Latest Poll
Single or Multiplayer maps for World at War?
Single-Player 30.12%
Multiplayer 61.45%
WHAT!? The tools are out? 8.43%
Read More...
10 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
FX help
CoD:WW Scripting.. Posts: (9) Views: (126) by COLMAC
A message from foyleman
In The News.. Posts: (8) Views: (80) by COLMAC
Weird texture problem
HL2 Level Design.. Posts: (5) Views: (30) by cz_squishy
Elevator Help
CoD 2 Level Desi.. Posts: (2) Views: (19) by luke0777
Art of War Central Half-Life 2 Mods for Dummies
CoDWW Download
Tutorials: LightRay3D
LightRay3D
Add your tutorial (registered users)

Rating:
Awful Rating Poor Rating Average Rating Good Rating Excellent Rating
Versions: You must be logged in to view history.
Exporting a file from LR3D and Importing in COD
2004-12-20 22:09:09
Prometheus shows you how to export a file from LightRay3D and import it into COD

Exporting a file from LR3D and Importing in COD
-------------------------------------------------------------------------------
You'll need the LR3D plugin and COD tools installed before you can create models for COD.

1. Create your model's folder in callofduty/tools/model_export/(eg callofduty/tools/model_export/mym1carbine)
(Textures and *.xmodel_export file should be saved in there).
NOTE: files that will be created in xmodelsurfs and xmodelparts folders will be named after this folder.
If you don't store your "*.xmodel_export" file in a descriptive folder the converted files will have a numeric filename(eg 1 or 2)

2. Export the model in "*.xmodel_export" format and save it in your model's folder(eg callofduty/tools/model_export/mym1carbine/mycarbine.xmodel_export)

3. Run the asset manager and create a game data file( *.gdt) or open an existing one.
NOTE: Each gdt file can hold information about a lot of different types of assets (eg models, animations, weapons)
but you should generally keep one type of asset in each gdt.

Run the asset manager.
Type the name you want(eg "mym1carbine").This is gonna be the name of your xmodel file(found in xmodel folder).
Select "xmodel" from the list below.
Press "new entry".
Some options will be shown on the right side of the window.
In the field select "rigid" for static weapons, "viewmodel" for player-ai weapons, "viewhands" for player arms/hands.

IMPORTANT:
Do NOT include the player arms when exporting a weapon and vice versa.
You can check xmodel/ folder and see the different files for arms and weapons named(respectively):
viewmodel_???weaponname and viewmodel_hands_???.
Unless feature versions of the plugin takes care of files that contain both arms and weapon you should delete either the arms or weapon when exporting.

Press the "browse" button(...) and se
lect your "*.xmodel_export" file.
You don't have to fill any other fields, the model will work fine at this point.
NOTE: LOD(level of detail) meshes are low-poly versions of the normal model.They are used when model is too far away(given distance you specify) in order to increase

performance(less polygons drawn).You can use PolyChop modifier to create and export medium,low versions of the model.
Save the gdt file in callofduty/tools/model_export as "xmodel_mycarbine.gdt" or something.

4. Next run the converter.exe found in callofduty/tools/bin/ folder.This tool will create files for the in game readable format.
The files will be stored in callofduty/tools/game/main/ xmodel,xmodelsurfs,xmodelparts folders.
NOTE: the textures will be copied in callofduty/tools/game/main/skins/ folder.

5. Create your pk3 and add folders/files.
skins/ copy texture file(s)
xmodel/ copy the file created in callofduty/tools/game/main/xmodel/ (eg viewmodel_myweapon)
xmodelsurfs/ copy the file created in callofduty/tools/game/main/xmodelsurfs/ NOTE: the file will be named after the folder it exists in
xmodelparts/ copy the file created in callofduty/tools/game/main/xmodelparts/ NOTE: the file will be named after the folder it exists in

6. Put the pak in callofduty/main/ folder and test in game.

Try editing and replacing the m1carbine that's included in the COD tools(not player's viewmodel just the pickable static model).
Import m1carbine.xmodel_export in LR3D.
Delete Arms and hands(their bones too) and leave weapon model and its bones.
Export as giveaname.xmodel_export
Follow the instructions above.
Assets manager:
name: weapon_M1Carbine (name must be the same as the original)
type: rigid
file: your *.xmodel_export file

Prometheus


All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
Art of War Central
Partners
XoXide
CODAddicts - Call of Duty News & Downloads
The Firing Box
Call of Duty Headquarters
Frag Universe
modbase.be
Battle for Europe COD2
Ask About
Advertising
Friends
After Life Gaming
Great Gamer
Canada Kicks Ass Clan
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 155
MODSonair Episode 154
MODSonair Episode 153
MODSonair Episode 152
MODSonair Episode 151
Next Show
The next MODSonair show will air LIVE on:

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware