file Marble.cs Idea

  • technostick
  • technostick's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
More
23 Dec 2006 02:16 #1 by technostick
Marble.cs Idea was created by technostick
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
More
30 Dec 2006 17:02 #2 by technostick
Replied by technostick on topic Marble.cs Idea
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
More
09 Feb 2008 03:52 #3 by technostick
Replied by technostick on topic Marble.cs Idea
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

// defaultmarble.maxRollVelocity = 55; // defaultmarble.angularAcceleration = 120; [code] is not needed.[code]
// defaultmarble.maxRollVelocity = 55;
// defaultmarble.angularAcceleration = 120;
is not needed.[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
More
09 Feb 2008 04:08 #4 by Imperial
Replied by Imperial on topic Marble.cs Idea
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
More
09 Feb 2008 11:01 #5 by technostick
Replied by technostick on topic Marble.cs Idea
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
More
09 Feb 2008 12:12 #6 by IsraeliRD
Replied by IsraeliRD on topic Marble.cs Idea
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
More
09 Feb 2008 19:58 #7 by IsraeliRD
Replied by IsraeliRD on topic Marble.cs Idea
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.

More
09 Feb 2008 20:43 #8 by Lonestar
Replied by Lonestar on topic Marble.cs Idea
Should all the topics in this board be locked?

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

More
09 Feb 2008 22:00 #9 by Pablo
Replied by Pablo on topic Marble.cs Idea
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
More
10 Feb 2008 01:55 #10 by IsraeliRD
Replied by IsraeliRD on topic Marble.cs Idea
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: AayrlKalle29Regislian