file PR Excerpt: Flying.cs

  • HiGuy
  • HiGuy's Avatar Topic Author
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1334
  • Thank you received: 605
01 Dec 2012 11:06 #1
Project Revolution Excerpt: Flying
I was looking around my old PR scripts folder, and came across this script. Essentially, it's a mod that enables flying by double-tapping jump. It's less showy than the blast, but it still might be cool to have levels designed with it.

I made a quick video showing its effects and use:
var pb_ad_url = ads.proboards.com/ad.pl?as=300x250&ap=BT...15&cb=+Math.random() ; document.write('');
Downloads

Download Modloader support package: Link
Download Flying: Link


Installation

Windows

Download and ModLoader above and install it if you haven't already.
Download Mod_Flying.cs above
Navigate to the copy of MarbleBlast that you would like Flying installed in
Open the marble folder; if the mod has a different base folder (i.e., MarbleBlast Platinum 1.20 uses a platinum folder), open that instead.
If there is no mods folder, create a new folder called mods
Place mod_flying.cs in the mods folder, and you're done!

Mac

Download and ModLoader here and install it if you haven't already.
Navigate to <home folder>/Library/MarbleBlast/
If your Library folder is hidden, use Go to File (Command+Shift+G) and enter ~/Library/MarbleBlast/, without quotes.
Download Mod_Flying.cs above
Open the marble folder; if you are installing this in a mod that has a different base folder (i.e., MarbleBlast Platinum 1.20 uses a platinum folder), open that instead.
If there is no mods folder, create a new folder called mods
Place ModLoader.cs in the mods folder, and you're done!


Notes
This version should work in any marbleblast mod released as of now.

Controls:
Quickly double-tap the jump button to fly
While flying, hold jump to ascend and hold left shift to descend (remappable via config.cs)

If you wish to include this in your mod, all I ask is that you leave the copyright notice in the file. In-game attribution is optional, although appreciated.

Hope you enjoy messing around with this,

HiGuy

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }

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

  • Posts: 226
  • Thank you received: 0
02 Dec 2012 23:43 #2
Whoa! Nice! I really am excited to see new levels produced with this mod.

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

Moderators: Doomblah
Time to create page: 1.347 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.