Create an account


Thread Rating:
  • 3 Vote(s) - 2.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Importing ASE models from 3dsmax/Blender into NetRadiant

#1
This tutorial will teach you how to use models you have created in 3dsmax as assets/props in your map. This tutorial assumes you already know the basics of modeling and texturing.

TUTORIAL: IMPORTING .ASE FILES FROM BLENDER INTO NETRADIANT

For people using Blender, please click this link to go to a similar tutorial on exporting ASE models from Blender by tonnedu: http://www.box.net/shared/9zis1qnr1u

There are also lots of similar tutorials in the net. Just google. Smile

TUTORIAL: IMPORTING .ASE FILES FROM 3DSMAX INTO NETRADIANT

1. Create your model.

Make sure it's optimized. Weld all redundant vertices, make sure there are no inverted normals, apply smooth groups, and DON'T for the sake of goobers make a model with a gajillion polies. Remember this is for a game not a movie.

In this tutorial I made a cannon/jumppad model that will also be used in a map I am currently making.

[Image: 56g0uurde75dnpag3xb.jpg]

2. Unwrap and texture your model.

I deliberately used a model which uses several materials in it. Note that you do not need to assign a Multi/SubObject Material on the model. Just apply individual materials to whatever faces you want to your heart's content.

[Image: pykjdr2w8u5m642sgfn.jpg]

Make sure all your materials are named correctly. Even if the ASE export specifies bump maps, specularity maps etc. NetRadiant ignores those and focuses solely on the diffuse texture. The engine will automatically read secondary textures by itself based on similarity of the filename and the suffix appended. A good thing about this is that you can edit the textures used later on, and even add more, like bump maps or self-illumination maps in case you forgot to add it inside 3dsmax itself.

From the wiki:

* texturename.tga - diffuse texture
* texturename_norm.tga - normal map. Nexuiz uses tangent space normal map with inverted Y channel (OpenGL style) you can put height map in normal maps alpha channel and it will be used when offset or relief mapping is on
* texturename_bump.tga - bump map. Normal map have higher priority and it will overwrite bump map. It's wise to convert your bump map to normal map, because that way you can have higher roughness since height of each bump map is limited by cvar
* texturename_gloss.tga - specular, shininess strength. It can use colour (note from me: basically it's a combination of 3dsmax's specularity level and specularity color maps)
* texturename_glow.tga - fullbright map or self-illumination map or Incandesence map or how else its called Smile. This textures specify areas that will always have 100% lighting, they will be very bright and will glow in the dark

The following are for character models:

* texturename_pants.tga - primary colour. This one tells what part of texture will use custom colour. Make it grayscale and leave same area 100% black in diffuse texture
* texturename_shirt.tga - secondary color

Note that while the example filenames use a .tga format, I highly recommend using .jpg's instead to keep your pk3 files smaller. Also, the bump maps will not show up on default test compiles (from tZork), they'll only become visible ingame once you do a -deluxe light compile which is part of all the default final builds in radiant.

Details can be found here:

http://dev.alienTRAP.org/wiki/1/Textures

3. Place all the textures you used (or a copy of them) inside Nexuiz/data/textures/yourmapname/. Where you originally referenced them from inside 3dsmax is not important. Note that it's a good practice to make different folders with the name of your map inside the textures directory rather than just place them directly within Nexuiz/data/textures/.

The map I will be using this model for is named corsair, so I placed my textures inside Nexuiz/data/textures/corsair/

Note that if the folder does not exist in your nexuiz install, create it.

4. Rename the Material and enable DirectX display of materials. The following is the most important step if you want your models to have textures both ingame and in-editor.

[Image: jw08woz1kd521dwakcy.jpg]

a) change the Material NAME (not the paths of the maps themselves) to point to the name of your texture inside the nexuiz data folder.

format should be: textures/yourmapname/nameoftexture

File extensions are not necessary. And you only need to point to the name of your diffuse texture. The other maps (_gloss, _bump, etc.) if present will be read automatically by the engine. Do this for all of the materials you used. (In this example I used three, so I named them textures/corsair/blimp, textures/corsair/metalblack, and textures/corsair/rust respectively).

b) Check the DX display of standard material under the DirectX manager rollout. Neglecting to do this will mean your models will say 'no shader found' in-editor but will show the correct textures ingame. And believe me, working on a map when you can't see the textures is hellish.

5. Export the model as ASE (file>export selected) with the following settings.

[Image: evdemc8vwjcisx23lz.jpg]

If you had animations or whatnot you can change the export settings, but I personally don't know what the correct settings are for importing animated ASE models into radiant.

6. Place the newly created ASE model into Nexuiz/data/models/yourmapname/

Again if a models/ folder does not exist in your Nexuiz install, create it.

7. Open your map (or your soon to be map) in NetRadiant/GTKRadiant. Right click on the window with the grids and select misc>misc_model then navigate to where you placed your ASE model inside the Nexuiz/data/models/yourmapname/ folder, change the dropdown selection to show .ASE files, select the ASE file and click open.

[Image: nxhh1cjzmxta6gv2o.jpg]

8. That's it. If you did all the previous steps correctly you should now see your model inside radiant.

Helpful tips:

- use the modelscale key in the entity viewer to scale your models correctly.
- use spawnflags 6 to make your model act like it's a brush (i.e. lighted, solid, etc.)
- AFAIK ASE models can NOT be flipped (although they can be rotated). Which sucks. T_T Also I've encountered a lot of problems in which radiant seems to assign the ASE models with new pivots (or as it calls them 'origins') which makes it very unpredictable for rotation and scaling of the models, as a precaution make sure your models are world centered (0,0,0) before exporting them as ASE.

[Image: vavr4ks1egdir1c6996q.jpg]
Reply

#2
Good job obli =)
Reply

#3
Stickied
Reply

#4
Hey, i have a problem. I want to open a textured 3ds Max file in Netradiant. I have no Multi/Subobjekt and i weld the vertices with 0,1. I have one Textur in tga, DirectX is on, the name is also right.
Netradiant shows:

Loaded Texture: "textures/common/white"
Loaded Model: "models/Deamontower/Deamontower.ase"
Loaded Texture: "Textures/OwOdFlGrassMi"
entityCreate -class misc_model

I have no idea, why it not works

Problem 2: If i bulid a simpel Scene in 3ds Max, make in Netradiant a Spawnpoint and buil it to bsp, Nexuiz shows the error message: Scene has no vertices. How can I debugg this problem?

freakinger

P.S. I know, my english is very bad Big Grin
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to create fog in netradiant Kover 0 960 10-16-2024, 07:25 AM
Last Post: Kover
Rainbow NetRadiant-custom Garux 25 14,698 03-06-2024, 04:31 PM
Last Post: anoob
  Updated Xonotic gamepacks for NetRadiant and NetRadiant-custom SpiKe 2 2,281 06-25-2023, 06:02 PM
Last Post: anoob
  [NEED HELP] Editing Pick-Up Models NoClue 3 1,613 11-25-2022, 06:17 AM
Last Post: NoClue
  [NEED HELP] No Spawn Point In NetRadiant Map daspeller 0 29,229 10-19-2022, 07:22 PM
Last Post: daspeller
Information Updated NetRadiant builds illwieckz 7 8,957 06-29-2022, 02:33 AM
Last Post: illwieckz
  Can't get netradiant to work with Xonotic NoClue 2 2,829 06-14-2022, 01:25 PM
Last Post: NoClue
  [NEED HELP] Custom NetRadiant Textures / Textures Not Loading 3agle427 3 4,657 09-03-2021, 01:40 PM
Last Post: HIBANEZ
  Netradiant brush outline in 2D view grid mode Nyx 2 2,015 08-05-2021, 12:27 AM
Last Post: Nyx
  How to import Weapon Models? NoClue 6 4,066 12-23-2020, 10:26 AM
Last Post: Julius

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-