- Posts: 227
- Thank you received: 0
Basic Marble Blast Coding Q&A
- Stal
- Offline
- Advanced Marbler
Please Log in or Create an account to join the conversation.
- HiGuy
- Offline
- Lead Developer
- PQ Developer Emeritus
This signature is real code
Please Log in or Create an account to join the conversation.
- picklecow10
- Offline
- Novice Marbler
- Posts: 20
- Thank you received: 0
Did we ever find out a way to give the player a powerup via console?
'cause I just managed to create a way to do that, and I feel like I read that it wasn't possible to do at the moment. So I wanted to check if nobody knows how to do it, or I'm just insane and never saw it before
Please Log in or Create an account to join the conversation.
- Pablo
- Offline
- Elite Marbler
- Posts: 1949
- Thank you received: 18
Please Log in or Create an account to join the conversation.
- IsraeliRD
- Offline
- Project Manager
- Dragon Power Supreme
"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.
- RDs.The-dts-guy
- Offline
- Developer
- Blender pls
- Posts: 719
- Thank you received: 188
Some guy that does DTS shapes and levels.
AWESOME time HINT : When making PQ level place your custom interiors and textures in platinum/data/interiors_pq/custom
makes life easier for you and everyone else
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- Elite Marbler
- PlatinumQuest Programmer
- Posts: 1680
- Thank you received: 205
Edit: Where is the variable $Game::ScoreTime defined at in MB?
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.
- picklecow10
- Offline
- Novice Marbler
- Posts: 20
- Thank you received: 0
Mar 22, 2011, 3:52pm, jeff wrote:I am not sure Picklecow. If you dont mind, would you post the code in the DK?
Edit: Where is the variable $Game::ScoreTime defined at in MB?
Not sure where it's defined, can't find it in the game files (may be defined in a compiled script).
It gets a value in the endGame() in Game.cs, in case you didn't already know that/helps you out at all
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- Elite Marbler
- PlatinumQuest Programmer
- Posts: 1680
- Thank you received: 205
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.
- dobrakmato
- Offline
- Experienced Marbler
- Posts: 134
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- HiGuy
- Offline
- Lead Developer
- PQ Developer Emeritus
This signature is real code
Please Log in or Create an account to join the conversation.
- dobrakmato
- Offline
- Experienced Marbler
- Posts: 134
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- HiGuy
- Offline
- Lead Developer
- PQ Developer Emeritus
Code:$zCameraRotation += -$mvYawLeftSpeed + $mvYawRightSpeed + $mvYaw;
But that gives incorrect results.
So does anyone know how to find this? Thanks,
HiGuy
This signature is real code
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- Elite Marbler
- PlatinumQuest Programmer
- Posts: 1680
- Thank you received: 205
also, if anybody has startmissiongui.gui it would be great if you could send it too me.
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.
- HiGuy
- Offline
- Lead Developer
- PQ Developer Emeritus
This signature is real code
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- Elite Marbler
- PlatinumQuest Programmer
- Posts: 1680
- Thank you received: 205
i need joinservergui.gui
matan, plz
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.
- dobrakmato
- Offline
- Experienced Marbler
- Posts: 134
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- Elite Marbler
- PlatinumQuest Programmer
- Posts: 1680
- Thank you received: 205
marble/server/scripts
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.
- dobrakmato
- Offline
- Experienced Marbler
- Posts: 134
- Thank you received: 0
new GuiChunkedBitmapCtrl(MarbleChooseGui) {
profile = GuiContentProfile;
horizSizing = width;
vertSizing = height;
position = 0 0;
extent = 640 480;
minExtent = 8 8;
visible = 1;
helpTag = 0;
bitmap = ./background.jpg;
useVariable = 0;
tile = 0;
new GuiControl() {
profile = GuiWindowProfile;
horizSizing = center;
vertSizing = center;
position = 65 126;
extent = 510 228;
minExtent = 8 8;
visible = 1;
helpTag = 0;
new GuiObjectView(ballobject) {
profile = GuiDefaultProfile;
horizSizing = right;
vertSizing = bottom;
position = 13 19;
extent = 140 132;
minExtent = 8 8;
visible = 1;
helpTag = 0;
cameraZRot = 0;
forceFOV = 0;
model = ~/data/shapes/balls/Marble_1.dts;
skin = base;
cameraRotX = 0.25;
cameraZRotSpeed = 0.001;
orbitDistance = 0.5;
autoSize = 0;
};
};
};
//--- OBJECT WRITE END ---
function ballobject::onClick()
{
//anything cool...
}
?
Or if not how to make code for click on object?
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- Elite Marbler
- PlatinumQuest Programmer
- Posts: 1680
- Thank you received: 205
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.
- HiGuy
- Offline
- Lead Developer
- PQ Developer Emeritus
This signature is real code
Please Log in or Create an account to join the conversation.
- RDs.The-dts-guy
- Offline
- Developer
- Blender pls
- Posts: 719
- Thank you received: 188
But i dont know how to code it so it resets after going OBB or restarting level.
In blender dts exporter i exported animation as normal that runs one time.
I also need to make pads.cs so that animation starts when you enter EndPad.
Some guy that does DTS shapes and levels.
AWESOME time HINT : When making PQ level place your custom interiors and textures in platinum/data/interiors_pq/custom
makes life easier for you and everyone else
Please Log in or Create an account to join the conversation.
- dobrakmato
- Offline
- Experienced Marbler
- Posts: 134
- Thank you received: 0
//
function GameConnection::onOutOfBounds(%this)
{
if ($Game::State $= End)
return;
// Reset the player back to the last checkpoint
PlayGui.setMessage(outOfBounds,2000);
%this.play2d(OutOfBoundsVoiceSfx);
%this.player.setOOB(true);
%this.player.startpad.playThread(0,pad);
if(!isEventPending(%this.respawnSchedule))
%this.respawnSchedule = %this.schedule(2500, respawnPlayer);
}
this is from game.cs.
Please Log in or Create an account to join the conversation.
- RDs.The-dts-guy
- Offline
- Developer
- Blender pls
- Posts: 719
- Thank you received: 188
Some guy that does DTS shapes and levels.
AWESOME time HINT : When making PQ level place your custom interiors and textures in platinum/data/interiors_pq/custom
makes life easier for you and everyone else
Please Log in or Create an account to join the conversation.
- dobrakmato
- Offline
- Experienced Marbler
- Posts: 134
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- NaCl586
- Offline
- Professional Marbler
- An Ordinary Marble Blaster
I have few question
1.How to create new powerup
2.Where the powerup script go
thanks
~NaCl586 10%Warn
I'm just an ordinary marble blaster who like to create new and unusual things.
Creator of the Marble Blast GLC series
Check out and download my custom levels here .
Check out my original musics in this thread and in my soundcloud here .
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- Elite Marbler
- PlatinumQuest Programmer
- Posts: 1680
- Thank you received: 205
function theitemname::onCollision(%this,%obj,%col)
{
then write your commands;
}
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.
- NaCl586
- Offline
- Professional Marbler
- An Ordinary Marble Blaster
I'm just an ordinary marble blaster who like to create new and unusual things.
Creator of the Marble Blast GLC series
Check out and download my custom levels here .
Check out my original musics in this thread and in my soundcloud here .
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- Elite Marbler
- PlatinumQuest Programmer
- Posts: 1680
- Thank you received: 205
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.
- whirligig
- Offline
- Professional Marbler
Here's a question: How do I modify the force magnitude of a mine? (i.e. Mine vs. Nuke) Whatever I try to do, it seems that the force is always the same.
Please Log in or Create an account to join the conversation.