file Marble Texture Changer

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
18 Feb 2007 19:59 #1
So I made this code for marble.cs and now I was wondering if People could make new textures and if lonestar can find some way to manipulate the Universal Code to make this work. You need to get a marble texture and change it's name to blue.marble and put it in marble/shapes/balls/ To add more then 2 new txtures add another line of

$defaultmarbleSkinColors[2] = blue;

and change the number to the next one and the name to what you want it to be. It would be (name).marble

Also you must add this

datablock ItemData(defaultmarbleBlue: defaultmarble)
{
skin = blue;
};

Add the name from the last addon so it says defaultmarble(name) and change skin= to (name)

Code://
$defaultmarbleSkinColors[0] = base;
$defaultmarbleSkinColors[1] = base;
$defaultmarbleSkinColors[2] = blue;

function defaultmarble::onAdd(%this,%obj)
{
if (%this.skin !$= )
%obj.setSkinName(%this.skin);
else {
// Random skin if none assigned
%obj.setSkinName($defaultmarbleSkinColors[getRandom(2)]);
}
}

datablock ItemData(defaultmarbleBlue: defaultmarble)
{
skin = blue;
};

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

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
19 Feb 2007 01:50 #2
I made the blue marble. Can't release it for a few days though. It looks great. Will do more.

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

  • Posts: 455
  • Thank you received: 1
19 Feb 2007 02:03 #3
Ok, but don't make too many unless lonestar can get the code to work this is all pointless.

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

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
19 Feb 2007 03:49 #4
Quote:Ok, but don't make too many unless lonestar can get the code to work this is all pointless.

Lol don't worry. If that happens I can release them to the public.

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

  • Posts: 455
  • Thank you received: 1
19 Feb 2007 06:02 #5
What do you mean Manipulate the universal code? Why not just write new code?

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

  • technostick
  • technostick's Avatar
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 403
  • Thank you received: 32
19 Feb 2007 14:46 #6
ANything that changes the marble texture on impact will work it has to do with what datablock MBP uses as player in game.cs. Right now it is random and any one of these will be used when a mission is entered if you want this changed it can be.

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
19 Feb 2007 14:55 #7
Cool idea, but too bad I can't make my own textures

"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
19 Feb 2007 14:56 #8
I think if you just make one we can change it.

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
19 Feb 2007 14:58 #9
What do you mean? Also I'm no good in artist stuff so that's why I can't really make anything lol

btw i like that background for your avatar, it should be used as a texture

"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: 1638
  • Thank you received: 15
19 Feb 2007 14:59 #10
Your Avatar Dosn't work.

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

  • technostick
  • technostick's Avatar
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 403
  • Thank you received: 32
19 Feb 2007 18:48 #11
@RM :: I don't think that it ever has worked.

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

  • Posts: 1638
  • Thank you received: 15
19 Feb 2007 21:00 #12
Ahh Really nice orange with the wierd Question Mark Matan.

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
19 Feb 2007 23:56 #13
Quote:Your Avatar Dosn't work.

Duh... It didn't work for like 2 months now. The site got everything deleted so I no longer, and probably never, will have my avatar again.

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

  • robotmarble
  • robotmarble's Avatar
  • Visitor
  • Visitor
20 Feb 2007 00:01 #14
*Crys*

Lonestar where are you? I have been PMing you about Moving Platform Mayhem asking you to help with stuff and you don't. The whole reason you got into MBP was because you said you could do a checkpoint. I have seen no proof of this. Please start helping.

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

  • Posts: 455
  • Thank you received: 1
20 Feb 2007 00:19 #15
I never said I could do a checkpoint, I said it would be possible by altering the teleport scripts. I was working on it, and then my parents got in the way. You were supposed to work on it while I was gone, and you still haven't given me any of your code, or how to use what you have. I don't know Torquescript, everything there is eather off what I know from the other programming languages or it's straight forward. That's why I'm a better troubleshooter than a writer, I can see how it works if it's there, but I have trouble writing it from scratch. I've been busy lately with school and stuff, so it's hard to get on the computer anyway.

Moving Platform Mayhem... I totally forgot about that. I'll do it today, you'll get it later tonight.

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
20 Feb 2007 00:32 #16
RM give lonestar the fucking checkpoint stuff already. Also lonestar try and work on it I know we got to game.cs which ended up helping you a bit more, so I know you can code it if you got the start of the code. RM currently doesn't give you that fucking start so that you really can't do anything right now so hopefully he will give you that start and stop complaining you do nothing.

"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: 1638
  • Thank you received: 15
20 Feb 2007 00:37 #17
I would certainly like to have a checkpoint; I would like to put several of them in MBP's version of TUFC. So could you please hurry?


Quote:
Quote:Your Avatar Dosn't work.

Duh... It didn't work for like 2 months now. The site got everything deleted so I no longer, and probably never, will have my avatar again.

So get a new one, lol.

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

  • robotmarble
  • robotmarble's Avatar
  • Visitor
  • Visitor
20 Feb 2007 03:08 #18
I will send it tomorrow

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

  • Ian
  • Ian's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 435
  • Thank you received: 0
21 Feb 2007 20:06 #19
I released a few marble skins on FTP.

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

  • Posts: 1638
  • Thank you received: 15
22 Feb 2007 06:40 #20
Um..I don't think anyone can get in yet. At least I can't.

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

  • Posts: 455
  • Thank you received: 1
22 Feb 2007 06:54 #21
You can by using your ftp client, but not your interent. (with the new password, of course)

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

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