1. WDR 1. Import a model from a GTA game to base scales on (San Andreas or IV recommended) - I use sweet.dff from SA. 2. Scale it until it fits the correct size! 3. Center the pivot to the object (Select Pivot icon -> Affect Pivot Only -> Center to Object). Also make sure to reset its scales and rotation (found at bottom of the menu). 4. Convert it to Editable Poly and texture it with a minimum of 2 UVMaps (textures). 5. Center the object to 0! 6. Run Shadow's Script and Export WDR! - It is recommended to have your object under 2000 polys. 2.a) WBN - Static Collision 1. Clear all object mapping (Tools icon -> More -> UVW Remove). 2. In Modifier menu add these mofifiers : Vertex Weld - set to 0,1 if it's not and Tesselate - Center to Box if your object mesh doesn't have more 4 vertices! 3. Convert it to Editable Poly again! 4. Open GIMS Suite menu and enable Map helper to help you place your collision in GTA IV world. NOTE: Because WBN are coordinated collisions you will be forced to have the col and WPL placement of WDR at same coordinate or Collision will be in the incorrect spot. 5. Create 2 dummies and center them to 0 throughout all axes and set hierarchy in the Schematic View like in the picture below:
6. Set Collision to BVH type in GIMS or leave it as it is! 7. Export as OBN! 2.b) WBD- Dynamic collision 1. Do everything as you would do with WBN just in the object name set it the same as filename and WDR name! Also important to center it to 0 in Max Scene! 2. Export OBD! 3.a) WTD-OpenIV 1. When you make an archive for your new map you can choose to create a WTD by going to New->Windows Texture Dictionary (WTD) and edit the file using OpenIV's interface. Most common image types work (ie. png , jpg etc.) 3.b) WTD-G-Texture 1. This way to create a new WTD is more complex and less comfortable than making it with OpenIV, but because some people can't get OpenIV to work G-Texture is their alternative. Open G-Texture! 2. Press New , and name your WTD and save it somewhere! 3. Get your textures in DDS (DirectDraw Surface) if you havent already (use Photoshop with Nvidia Plugin or iMage!) and make them in DXT1 if it is not an alpha or a opacity based texture. 4.Add textures and save the changed! 4. WPL and IDE 1. Back in 3ds Max make 3 dummies and center them! 2. In schematic mode set their names and hierarchy like this:
3. Prepare your object in GIMS /Map Object Set WPL and IDE , also make sure to enter the WTD name , note to make the WTD which you created in G-Texture/Open-IV with same name. 4. Export IDE! 5. Go back to Schematic mode and just rename "dev_ide" to "dev_wpl"! 6. Export WPL! 7. Close 3ds Max! 5. IMG creation and setup for gta.dat and images.txt 1. Run OpenIV and press Create>New IMG archive! 2. Make your new folder inside GTA IV's pc/data/maps and put wpl ide and img made inside it! 3. Import WDR(s) and WTD(s) if made with G-Texture in it. 4. Press New->OpenFormats->Collision bound->select your OBN/OBD! 5. If you made WTD with G-Texture , skip this step! If not press New-> WTD file! 6. Rebuild and save the archive! 7. Go to common/data and open gta.dat! In it add the path line to your wpl /identified as IPL in gta.dat) and ide! Example IDE:
# map files IDE platform:/DATA/MAPS/BOXEXAMPLE/BOXEXAMPLE.IDE
8. Exit and save gta.dat , than open up images.txt! In it add line for img path! Example IMG:
9. Save images.txt and enjoy new model ingame!
Changes (GIMS 1.42 and onwards):
•WBN main dummy has been renamed from "dev_openbounds" to "dev_col". So if you are using the newer versions of GIMS make sure to call it "dev_col" instead of old "dev_openbounds" - quotation marks aren't meant to be included in the name.
•IDE and WPL don't require naming of "dev_ide" and "dev_wpl" , instead name it "dev_map"!
Thank you for the tutorial. I have ~200 objects, for which I want to use one archive of textures (wtd). Can I select them all and set up the WPL and IDE at one time? It's annoying to select every object and press SET for IDE and WPL..
I couldn't do any of this, as this uses old tools, and the one i use are the new ones (because the old ones are unavailable) everything in this tut is impossible for me, it all starts on the map viewer bit, i'm sorry. But this is useless to me.
In this travail, the RemoteObject component's instruction belongings is set to Coldfusion and the publication concept is set to the full modified itemise of the ColdFusion factor.
In oppositeness, when excavation with LiveCycle Collection Services ES or BlazeDS, you limit a fully eligible separate found in the author possession of a remoting maintenance direction in a configuration line, which by neglect is the remoting-config.xml enter. You specialize the gens of the destination in the RemoteObject component's direction property. The goal people also must get a no-args constructor. You can optionally configure a goal this way when employed with ColdFusion instead of by using the publication property on the RemoteObject component.