|
Post by robotmarble on Feb 18, 2007 16:59:28 GMT
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)
//----------------------------------------------------------------------------- $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"; };
|
|
|
Post by Ian on Feb 18, 2007 22:50:28 GMT
I made the blue marble. Can't release it for a few days though. It looks great. Will do more.
|
|
|
Post by robotmarble on Feb 18, 2007 23:03:02 GMT
Ok, but don't make too many unless lonestar can get the code to work this is all pointless.
|
|
|
Post by Ian on Feb 19, 2007 0:49:42 GMT
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.
|
|
|
Post by Lonestar on Feb 19, 2007 3:02:41 GMT
What do you mean "Manipulate the universal code"? Why not just write new code?
|
|
|
Post by robotmarble on Feb 19, 2007 11:46:33 GMT
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.
|
|
|
Post by IsraeliRD on Feb 19, 2007 11:55:42 GMT
Cool idea, but too bad I can't make my own textures
|
|
|
Post by robotmarble on Feb 19, 2007 11:56:10 GMT
I think if you just make one we can change it.
|
|
|
Post by IsraeliRD on Feb 19, 2007 11:58:10 GMT
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
|
|
|
Post by robotmarble on Feb 19, 2007 11:59:37 GMT
Your Avatar Dosn't work.
|
|
|
Post by technostick on Feb 19, 2007 15:48:22 GMT
@rm :: I don't think that it ever has worked.
|
|
|
Post by robotmarble on Feb 19, 2007 18:00:32 GMT
Ahh Really nice orange with the wierd Question Mark Matan.
|
|
|
Post by IsraeliRD on Feb 19, 2007 20:56:15 GMT
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.
|
|
|
Post by robotmarble on Feb 19, 2007 21:01:13 GMT
*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.
|
|
|
Post by Lonestar on Feb 19, 2007 21:19:54 GMT
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.
|
|
|
Post by IsraeliRD on Feb 19, 2007 21:32:23 GMT
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.
|
|
|
Post by Andrew on Feb 19, 2007 21:37:26 GMT
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? 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.
|
|
|
Post by robotmarble on Feb 20, 2007 0:08:35 GMT
I will send it tomorrow
|
|
|
Post by Ian on Feb 21, 2007 17:06:44 GMT
I released a few marble skins on FTP.
|
|
|
Post by Andrew on Feb 22, 2007 3:40:07 GMT
Um..I don't think anyone can get in yet. At least I can't.
|
|
|
Post by Lonestar on Feb 22, 2007 3:54:50 GMT
You can by using your ftp client, but not your interent. (with the new password, of course)
|
|