Search found 101 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 11
Search found 101 matches Page 1 of 11
by subabrain
Sat Sep 23, 2017 10:16 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 54
Views: 5278
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: 54
Views: 5278
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: 54
Views: 5278
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: 54
Views: 5278
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: 54
Views: 5278
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: 54
Views: 5278
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: 54
Views: 5278
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: 54
Views: 5278
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
by subabrain
Wed Sep 13, 2017 5:16 pm
Forum: Beginner
Topic: change groundcover via script
Replies: 54
Views: 5278
Then it will probably be in the C++ source code. I looked it up for you and it may be this one: https://github.com/GarageGames/Torque3D/blob/development/Engine/source/gui/worldEditor/terrainActions.cpp#L197-L247 i think this is the key - but how to execute this method? i tried to make an instance a...
by subabrain
Sun Sep 10, 2017 9:59 am
Forum: Beginner
Topic: change groundcover via script
Replies: 54
Views: 5278
Hello Guys, sorry for the long delay but i dont get it :/ i tried all things - to manipulate the c++ methods and try to search for solutions but i dont get it! i now get it to execute c++ functions with torque 3d but they dont get it to run -> for example: -------------------------------------------...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 11
Search found 101 matches Page 1 of 11