Jump to content

Recommended Posts

Posted

Hello Again :P


ok guys i need your knowledge - i know its nt good to get free support but i have an important question :)


so now i want to make the grass moveable - so like a rigid body ... is that possible?


greetings and thanks ;)

Robert

Posted

The ground cover does not use the regular wind emitter that works with the forest items. What you can do is make the grass as forest items and then mount a wind emitter to your player or whatever, then it will only affect the grass in the radius of the wind, but I think this will screw over your current design with the groundcover grass.

Posted

The problem with that idea is that the foliage fx has no collision that I am aware of. It seems, even when using a dts shape. Of course, it could be done but would probably take some serious engine changes. Even if you got a windscale variable worked out in script, all your billboards placed by that replicator, would move if say, you tied it to when you walked in the particular terrain texture that controlled that replicator. I have been thinking about this but have not come up with anything.

Posted

I got an idea, if you have your grass mowing working, you can add another grass mowing effect that will replace the grass with another grass that has a higher wind scale, so the grass will move from the wind stronger if you touch it or come closer.

  • 2 weeks later...
Posted

Hi - thanks a lot :)


but now i need the command to change the sizeMin and sizeMax while the game is running via torque script - could you help?


would be nice - thank you very much :)


greetings

Robert

Posted

hmm ok,


i get some way but i think its not right:

 

function set_gcover() {
 
   new GroundCover() {   
 
   Material = "grass3";
      probability[0] = "1";
      probability[1] = "1";
      sizeMin[0] = "0.1";
      sizeMin[1] = "0.1";
      sizeMax[0] = "0.5";
      sizeMax[1] = "0.5";
      windScale[0] = "1";
      windScale[1] = "1";
 
   };
 
}

 

maybe you could help :)


thanks a lot!


greetz

Robert

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...