Author Topic: Adding Dynamic Grass to a tile.  (Read 1079 times)

Legacy_Jedijax

  • Hero Member
  • *****
  • Posts: 692
  • Karma: +0/-0
Adding Dynamic Grass to a tile.
« on: July 20, 2010, 12:42:39 am »


               Hi, everyone! I would like to know how one may add dynamic grass into a tile model. I mean, the moving grass seen in-game, not the TGA texture mapped to the model's floor. Some of my modified terrain models are missing dynamic grass in certain areas, which looks rather dull in-game.

Hope anyone may share some advise on it! '<img'>
               
               

               
            

Legacy__six

  • Hero Member
  • *****
  • Posts: 1436
  • Karma: +0/-0
Adding Dynamic Grass to a tile.
« Reply #1 on: July 20, 2010, 12:49:06 am »


               There are two steps for this. Firstly set the walkmesh material for where you want grass to 3 (grass) using NWMax, by selecting each relevant face and using the materials rollout at the bottom of the Edit panel under Editable Mesh. Secondly you'll need to make sure 3d grass is activated in the .set file, making sure the [GRASS] section looks something like this...

[GRASS]
Grass=1
GrassTextureName=grass  <- this line is optional, for if you want a custom texture
Density=5.0
Height=1.0
AmbientRed=1
AmbientGreen=1
AmbientBlue=1
DiffuseRed=1
DiffuseGreen=1
DiffuseBlue=1

               
               

               


                     Modifié par _six, 19 juillet 2010 - 11:52 .
                     
                  


            

Legacy_Jedijax

  • Hero Member
  • *****
  • Posts: 692
  • Karma: +0/-0
Adding Dynamic Grass to a tile.
« Reply #2 on: July 20, 2010, 01:38:03 am »


               Hey, is that you, 666? Thanks for the help! Great new tileset, by the way!



The model is a modified ttr tile, so the grass is already activated via .set. I'm gonna jump right to the NWMax mesh editing!
               
               

               
            

Legacy__six

  • Hero Member
  • *****
  • Posts: 1436
  • Karma: +0/-0
Adding Dynamic Grass to a tile.
« Reply #3 on: July 20, 2010, 02:26:56 am »


               

Jedijax wrote...

Hey, is that you, 666?

It is I! Good luck.
               
               

               
            

Legacy_Jedijax

  • Hero Member
  • *****
  • Posts: 692
  • Karma: +0/-0
Adding Dynamic Grass to a tile.
« Reply #4 on: July 21, 2010, 02:14:56 am »


               I... uhm... I didn't even find the materials roll out because I never found the Edit panel under Editable Mesh... which I didn't find either, by the way...



I am a newbie with 3DSMax. Joshua Giroux AKA Lord of Wormz showed me the ropes, but this seems to be a little beyond my "rotate this, move that, add thing, reset form, save, shut up and play" knowledge.



Little help here? Just a push in the right direction? I'll settle for winks and nods...
               
               

               
            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
Adding Dynamic Grass to a tile.
« Reply #5 on: July 21, 2010, 02:36:12 am »


               In max, once you have the file loaded, on the right hand side there is a separate set of buttons, below the normal menu bar AND below the normal button bar.  On that row of buttons, the 2nd button in, looks like a blue arc.  It says 'modify' and that entire set once you click on it, is the 'modify roll-out system.  Select an object in the screens to the left, and that modify panel changes to reflect the type of object it is..

Well, the details get more and more complicated as you go along.  I would highly suggest you do a search on the vault for tutorials, there are several there.  None of them do not take very long to run though.
               
               

               


                     Modifié par Bannor Bloodfist, 22 juillet 2010 - 10:52 .
                     
                  


            

Legacy_Estelindis

  • Hero Member
  • *****
  • Posts: 935
  • Karma: +0/-0
Adding Dynamic Grass to a tile.
« Reply #6 on: July 21, 2010, 02:57:22 pm »


               1) Under the blue arc that Bannor mentioned, select "face."

[If you don't already have the options "smooth+highlights" and "edged faces" selected in your scene view, then right-click the name of the perspective you're looking at (e.g. "user," "right," "front," etc.) and select those options.  I find that makes selecting walkmesh faces easier.]

2) Select the faces whose walkmesh materials you wish to change.  (You need to use the pointer tool for this, not any other tool.)  You can easily select multiple faces by holding down Ctrl as you click each one.  When a face is selected, it is outlined in red.

3) Under the Modifiers (blue arc), you should see a heading called "Surface Properties."  Go down to "Material."  Set the ID to 3 (this is the number for grass).

4) Save the scene, reset x-form, and export as normal.

Hope this makes sense!  If it doesn't, feel free to send me a PM and I'll try to walk you through it via chat if we can find a time that suits us both.
               
               

               


                     Modifié par Estelindis, 21 juillet 2010 - 03:22 .
                     
                  


            

Legacy_Jedijax

  • Hero Member
  • *****
  • Posts: 692
  • Karma: +0/-0
Adding Dynamic Grass to a tile.
« Reply #7 on: July 22, 2010, 08:54:07 pm »


               Mission success! Thanks, everyone, for taking the time to post! And thanks to Estelindis for actually guiding me through the whole thing!



Oh, but don't worry, community fellows,... I'm sure I'll end up asking more and more in the future,... so you won't miss me.