Search found 103 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 11
Search found 103 matches Page 1 of 11
by subabrain
Sun Sep 24, 2017 6:15 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
hi,

sorry but i have a little problem with this solution...
its only working with the active TerrainEditor ... :/

please help me ...

thanks and stay tuned!
Robert
by subabrain
Sun Sep 24, 2017 2:05 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
Hello there, okay - its almost perfect - just have to move the brush position - but its working: //Set the Brush size here - not necessary ETerrainEditor.setBrushSize(30, 30); //Read the index from a specific material - in this case the material with name "sand" %matIndex = ETerrai...
by subabrain
Sat Sep 23, 2017 10:16 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
Hey, here a cool thing - this is the solution: void TerrainEditor::processAction(const char* sAction) { if(!checkTerrainBlock(this, "processAction")) return; TerrainAction * action = mCurrentAction; if (dStrcmp(sAction, "") != 0) { action =...
by subabrain
Sat Sep 23, 2017 1:50 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
Hi again,


okay it seems to do the job - but i have a littl Problem.

"SuperType": Ist kein Element von "Gui3DMouseEvent"

what does this mean?


Thank you very much!

Greetings Robert
by subabrain
Fri Sep 22, 2017 7:40 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
Hi Guys, after working endless i found the key function... how to change material on a specific Position - but im not ready now with it ... void TerrainEditor::on3DMouseDown(const Gui3DMouseEvent & event) { getRoot()->showCursor( false ); if(mTerrainBlocks.size(&#...
by subabrain
Mon Sep 18, 2017 6:01 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
hi there, here a little video of my try on changing groundcover with torque 3d: https://www.youtube.com/watch?v=obYls7lnc-8 its not finished - just an idea from me. what i need is to set the player to the position of the brush :) thanks a lot! greetings Robert PS: im not klicking anything - it shows...
by subabrain
Sun Sep 17, 2017 2:46 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
Hello,

i have a plan now - i let you know if its ready ;)

greetz
Robert
by subabrain
Sat Sep 16, 2017 9:47 am
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
Hi,

omg - what shall i do now?

sorry for penetrating you but i am at the end of my knowledge :?

please help!


greetings
Robert
by subabrain
Fri Sep 15, 2017 10:39 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
Hello Friends,

okay now i found something useful

http://abighole.hngamers.com/terrainDeformer.zip

i hope i get it with this one ;)

greetz
Robert :D
by subabrain
Thu Sep 14, 2017 10:23 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 56
Views: 5417
Hello,

first - thanks alot for your help - i did the steps you told.
Its working like you said. but how can i get these arguments in the method:

void PaintMaterialAction::process(Selection * sel, const Gui3DMouseEvent &, bool selChanged, Type)

?

Okay - gn8 ;)

Greetz Robert
  • 1
  • 2
  • 3
  • 4
  • 5
  • 11
Search found 103 matches Page 1 of 11