file Marble.cs Idea

  • technostick
  • technostick's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 403
  • Thank you received: 32
23 Dec 2006 02:16 #1
Ever wish you could jump hiegher on some levels then on other. Or mud would effect you more here then there. Well now we can do that in MBP.

On the bottom of each .mis file we can add these scripts to change just that.Between the }; s and object write end add these scripts with defaultmarble.(Whatever Effect)=(#);


maxRollVelocity = 55;
angularAcceleration = 120;
maxRollVelocity = 15;
angularAcceleration = 75;
brakingAcceleration = 30;
gravity = 20;
staticFriction = 1.1;
kineticFriction = 0.7;
bounceKineticFriction = 0.2;
maxDotSlide = 0.5;
bounceRestitution = 0.5;
jumpImpulse = 7.5;
maxForceRadius = 50;

We need to put these scripts on the bottem of every level even if it has no custom forces, because sometimes marble settings carry over to different levels. If you wanted the Jump to be more powerful, but everything else the same you would post this:

defaultmarble.maxRollVelocity = 55;
defaultmarble.angularAcceleration = 120;
defaultmarble.maxRollVelocity = 15;
defaultmarble.angularAcceleration = 75;
defaultmarble.brakingAcceleration = 30;
defaultmarble.gravity = 20;
defaultmarble.staticFriction = 1.1;
defaultmarble.kineticFriction = 0.7;
defaultmarble.bounceKineticFriction = 0.2;
defaultmarble.maxDotSlide = 0.5;
defaultmarble.bounceRestitution = 0.5;
defaultmarble.jumpImpulse = 15.5;
defaultmarble.maxForceRadius = 50;

(Jump impulse was changed from 7.5 to 15.5) To see what this does copy it into any .mis and play that mission.

If you want everything the same post

defaultmarble.maxRollVelocity = 55;
defaultmarble.angularAcceleration = 120;
defaultmarble.maxRollVelocity = 15;
defaultmarble.angularAcceleration = 75;
defaultmarble.brakingAcceleration = 30;
defaultmarble.gravity = 20;
defaultmarble.staticFriction = 1.1;
defaultmarble.kineticFriction = 0.7;
defaultmarble.bounceKineticFriction = 0.2;
defaultmarble.maxDotSlide = 0.5;
defaultmarble.bounceRestitution = 0.5;
defaultmarble.jumpImpulse = 7.5;
defaultmarble.maxForceRadius = 50;

at the bottom. You still need to put this or some settings will carry over.

I think it is really cool. Just play around with it and tell me what you think

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

  • technostick
  • technostick's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 403
  • Thank you received: 32
30 Dec 2006 17:02 #2
Quote:defaultmarble.maxRollVelocity = 55;
defaultmarble.angularAcceleration = 120;
defaultmarble.maxRollVelocity = 15;
defaultmarble.angularAcceleration = 75;

I don't understand why there are two definitions for each property.

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

  • technostick
  • technostick's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 403
  • Thank you received: 32
09 Feb 2008 03:52 #3
Quote:
Quote:defaultmarble.maxRollVelocity = 55;
defaultmarble.angularAcceleration = 120;
defaultmarble.maxRollVelocity = 15;
defaultmarble.angularAcceleration = 75;

I don't understand why there are two definitions for each property.

It's:
Code:// defaultmarble.maxRollVelocity = 55;
// defaultmarble.angularAcceleration = 120;
defaultmarble.maxRollVelocity = 15;
defaultmarble.angularAcceleration = 75;

And

[code]
// defaultmarble.maxRollVelocity = 55;
// defaultmarble.angularAcceleration = 120;
[code]
is not needed.

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

  • Imperial
  • Imperial's Avatar
  • Offline
  • Expert Marbler
  • Expert Marbler
  • Custom Levels Lover
  • Posts: 727
  • Thank you received: 86
09 Feb 2008 04:08 #4
Alvin, you can't login maybe its because you are under 13.
You need to be older 13 to login sucessfully.

Vanquisher / Red Stealer

My youtube channel: www.youtube.com/imperialcuirassier
My twitch channel: www.twitch.tv/imperialcuirassier

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

  • technostick
  • technostick's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 403
  • Thank you received: 32
09 Feb 2008 11:01 #5
What kind of bump is this?!

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
09 Feb 2008 12:12 #6
A bumpy one?

"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.

  • IsraeliRD
  • IsraeliRD's Avatar
  • Offline
  • Project Manager
  • Project Manager
  • Dragon Power Supreme
  • Posts: 3502
  • Thank you received: 913
09 Feb 2008 19:58 #7
Just lock the topic, sorry for bump.

"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.

  • Posts: 455
  • Thank you received: 1
09 Feb 2008 20:43 #8
Should all the topics in this board be locked?

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

  • Posts: 1949
  • Thank you received: 18
09 Feb 2008 22:00 #9
Locked. I think yes, if they're old but contain useful information they should be locked.

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
10 Feb 2008 01:55 #10
No, they shouldn't be. It doesn't affect for post count and I had this discussion with PF.

"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.760 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.