file Marble Radius Check

  • Jeff
  • Jeff's Avatar Topic Author
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
28 Sep 2013 18:37 #1
If you ever want to know the in game marble radius of your marble .dts shape, when the marble is selected, go into the console and type the following:

echo((getWord(localclientconnection.player.getworldbox(),3)-getWord(localclientconnection.player.getWorldBox(), 0))/2);

default MBG is 0.189697 meters (torque units)

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.

Please Log in or Create an account to join the conversation.

  • Posts: 155
  • Thank you received: 2
28 Sep 2013 21:38 #2
Shouldn't this go into the MBDK?

Please Log in or Create an account to join the conversation.

  • Jeff
  • Jeff's Avatar Topic Author
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
28 Sep 2013 21:40 #3
nope, its not practical or really useful besides checking a dts shape to match the radius of mbg.

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.

Please Log in or Create an account to join the conversation.

  • Posts: 155
  • Thank you received: 2
28 Sep 2013 21:43 #4
It's useful enough to implement a tricky feature that may require this kind of measurement.

I just think it's more organised if all the code tips go into that one thread, instead of getting lost in the general board.

Please Log in or Create an account to join the conversation.

  • IsraeliRD
  • IsraeliRD's Avatar
  • Offline
  • Project Manager
  • Project Manager
  • Dragon Power Supreme
  • Posts: 3502
  • Thank you received: 913
29 Sep 2013 01:06 #5
Would agree here as this doesn't relate to Gen MB discussion as much when it's code-related. Moved.

"matan, now i get what you meant a few years back when you said that "the level in mbg is beyond me" after the last rampage i noticed things were insane, and now i truly feel that too" - Dushine, 2015.

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 0.967 seconds
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.