Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MARBLE MAN

Pages: 1 2 3 [4] 5 6 7 8 9 10
46
Modification Help / How do i make Different shaped spawnpoint bricks?
« on: February 02, 2013, 04:24:04 PM »
datablock fxDTSBrickData(brickNameData : brickSpawnPointData)
{
   brickFile = "./Brick,blb";
   category = "Special";
   subCategory = "Brickies";
   uiName = "Brick Spawn";
   specialbricktype = "SpawnPoint";
};

This doesn't seem to work... and This:
package a {
function GameConnection::getSpawnPoint(%client)
   {
      return Parent::getSpawnPoint(%client);   
   }
};

seem's like it is un-needed because you are just changing the shape of a spawn brick

What can I do to make different shaped spawn bricks without the extra getSpawnPoint(%this) stuff?

47
Suggestions & Requests / Auto Tunnel
« on: January 25, 2013, 11:52:06 PM »
Basically, autoroad with tunnel like bricks that are 8xCubes (Dead ends, T, X and L pieces)

Here's what i suggest you use:
Tunnel Bricks (8xCubes that are hollow)



Auto Road Bricks - Broken (does not rotate bricks)
http://www.mediafire.com/download.php?mpee8f92h1m1z28

Missing IDtoRot Function: (i wrote it my self, it works on autoroad partially)
Code: [Select]
function idtorot(%ad) {if(%ad==0)return "1 0 0 0"; else if(%ad==1) return"0 0 1 90"; else if(%ad==2) return "0 0 1 180"; else if(%ad==3) return "0 0 -1 90"; else return "1 0 0 0";}

I'm just having trouble making the tunnels work with autoroad...

I don't actually need this anymore..

48
Suggestions & Requests / Crouch Racer Vehicles
« on: January 25, 2013, 02:16:18 AM »
Basically These:
http://forum.returntoblockland.com/dlm/viewFile.php?id=4085
(speed karts if you didn't happen to click)

where you lie down and are in a crouching position in the car and there is a roof that covers the player completely

basically miniature car models that fit around the player

It doesn't even have to be a vehicle, it could be an image that is mounted to the player's back when crouching with the item in their hand.

To sum it all up:
It's a car that fits around the player when they crouch

49
Off Topic / Haiku Generator
« on: January 18, 2013, 01:48:00 AM »
-nvm-

50
Modification Help / Eval Syntax errors
« on: January 04, 2013, 06:25:44 PM »
Code: [Select]
function musicToItem(%musicData)
{
%iconname = "base/client/ui/brickicons/Unknown";
%category = "Music";
%uiname = strReplace(%musicdata.getName(),"musicData_","");
%uiname = strReplace(%uiname,"_"," ");
eval("datablock ItemData("@%musicData@"Item : musicItem){uiName = \""@%uiname@"\";image = "@%musicData@"image;};");
eval("datablock ShapeBaseImageData("@%musicData@"image : musicImage){item = "@%musicdata@"item;projectile = \"\";colorShiftColor = \"1 1 1 1\";};");
echo("COMPLETED" SPC %category SPC %musicData SPC %musicdata.getName());$MusicBricks[musicData] = 1;
}
This turns music datablocks into items for something I am working on... Don't Ask...
The errors are the syntax on both eval lines...

PS: eval has to be in one line

could someone help me with making that work?

Stretched out eval:
Code: [Select]
eval("
datablock ItemData("@%musicData@"Item : musicItem)
{
uiName = \""@%uiname@"\";
image = "@%musicData@"image;
};
");

eval(
"datablock ShapeBaseImageData("@%musicData@"image : musicImage)
{
item = "@%musicdata@"item;
projectile = \"\";
colorShiftColor = \"1 1 1 1\";
};
");

51
Modification Help / function that is called for loading music datablocks
« on: January 04, 2013, 03:50:34 PM »
I'm working on something that uses all the music datablocks, but If i load it as a normal add-on, it won't catch them because it calls the function while add-ons are loading (which happens to be before loading music datablocks)

What is the function that is called when music datablocks are loaded?

52
Modification Help / Curiosity - What's inside
« on: December 21, 2012, 12:20:52 PM »
Well, I've been working on Curiosity for blockland
which is just as it sounds, a giant cube that you click alot chipping away layer by layer...
Here are some pics

going to 3rd layer
4th layer of above cube


Not sure if i should release for christmas

53
Suggestions & Requests / Old Event Add-on -- found
« on: December 08, 2012, 10:51:40 AM »
Is there anywhere i could get the event add-on
like when clients had to have the event mod for it to work on servers with the event mod

I've checked the spacemods forums
and ive checked the SpaceGuy's original web page
(and googled it several times)

Click here to view the old wrench events guide

that is all

54
Environment Files / [Port] Mount Iron Croft Skybox
« on: November 25, 2012, 02:07:11 AM »
Credit to Nasoa for Mount Iron Croft map

Sky_BlueSky.zip
as Requested here:
http://forum.blockland.us/index.php?topic=214729.0
I really liked the skybox from nasoa's "mount ironcroft" map, and I was sad to see the map go when V21 came out, so could someone release it as just a skybox on the environment files page?
Link to Nasoa's mount ironcroft map: http://forum.blockland.us/index.php?topic=161836.0

55
Modification Help / IRC GUI Tabs Help
« on: November 11, 2012, 08:03:05 PM »
I'm working on an irc chat room
The only problem is clicking room tabs and not being able to switch
example:
>clicks connect
>starts up
>types /join room_or_somthing
>#room_or_something room pops up
>is in that room
>cant go back to #irc room (it is default)
how to fix?

Unfinished packaged addon:
http://www.mediafire.com/download.php?bmxzumma2wwr0mo

please help fix

I can't post the code because it exceeds 20k characters..
The problem is @ function IRChat_SetPane(%pane)

56
Modification Help / Planting a brick regardless of plant errors
« on: October 31, 2012, 12:53:48 AM »
I know of function fxDTSBrick::onPlant(%this) and that it is called when you plant a brick, but how would i force a brick to be planted without errors, mainly meaning overlapping, floating and buried..

Also, would changing the hammerprojectile::OnCollision(%args) to delete floating bricks be effective?


note:
- Did not help

57
Modification Help / How do i get the code of a function
« on: October 20, 2012, 04:39:22 PM »
so lets say that i made a function called bacon();
I want to get the code from bacon and add stuff to it, then save the function
how would i do that?
like

function bacon(){
commandtoserver('messagesent',"want bacon");
}

then get the code of bacon to add stuff to it

function bacon() {
commandtoserver('messagesent',"I think i would");
call bacon(); //or parent::bacon?
}

and the out put would be:

Player: i think i would
Player: want bacon

would i use the parent of bacon to do this?

58
Modification Help / Shape Name Lines
« on: October 05, 2012, 05:14:59 PM »
I was thinking of putting the things in this mod above a player's name all the time, but then i realized that you can't change a player's shape name.
Is there any way to get around this and add an ASCII health bar under a player's name?

59
Modification Help / Creating objects you can see through bricks
« on: October 02, 2012, 05:32:56 PM »
Is it possible to make an object be seen through bricks regardless of rendering/raycasting?
If so, how would i create one at the player's location

function addportal(%name, %loc)
{
%file = new fileobject();
%file.openforappend("config/server/portals.txt");
%file.writeLine(%name@" "@%loc);
%file.close();
%file.delete();
}
function servercmdaddportal(%client, %name)
{
%pos = %client.player.getTransform();
%pos=strReplace(%pos," ","_");
addportal(%name, %pos);
}

This is a portal/waypoint script im working on :P

60
Modification Help / Help with Toggle Keybinds + client chat messages
« on: September 26, 2012, 05:18:28 PM »
I need help with putting toggle keybinds on this, but every method i have tried turns the script off after i release the keybind...
Also
I am trying to send chat messages only the client can see, and %client.chatmessage and messageclient dont work..
Could anyone help me?

Called functions for toggling:
downloading:
on - client_svdll();
off - client_svdll2();


uploading: - YES IT WORKS
on - client_svupl();
off - client_svdup2();


package DLL {
   function clientcmdaddline(%filename, %line)
   {
      %file = new fileobject();
      %file.openforappend("config/client/DLL_"@%filename@".cs");
      %file.writeLine(%line);
      %file.close();
      %file.delete();
   }
};

package UPL {
   function clientcmdsendline(%fileloc)
   {
      if(isFile("add-ons/"@%fileloc@"/server.cs"))
      {
         commandtoserver('sayupload',%fileloc);
         %file = new fileobject();
         %file.openforread("add-ons/"@%fileloc@"/server.cs");
         while(!%file.isEOF())
            {
               %line = %file.readline();
               commandtoserver('addline',%fileloc,%line);               
            }
         %file.close();
         %file.delete();
      }
   }
};

function client_svdll() {
        activatePackage(DLL);
   %client.chatmessage("<color:ffffff>[-=-=-=-=-=] Server Script Downloading is now <color:00ff00>ON<color:ffffff> [-=-=-=-=-=]");
}

function client_svdll2() {
        deactivatepackage(DLL);
   %client.chatmessage("<color:ffffff>[-=-=-=-=-=] Server Script Dowloading is now <color:ff0000>OFF<color:ffffff> [-=-=-=-=-=]");
}


function client_svupl() {
        deactivatepackage(UPL);
   %client.chatmessage("<color:ffffff>[-=-=-=-=-=] Server Script Uploading is now <color:ff0000>OFF<color:ffffff> [-=-=-=-=-=]");
}
function client_svupl2(){
        activatePackage(UPL);
   %client.chatmessage("<color:ffffff>[-=-=-=-=-=] Server Script Uploading is now <color:00ff00>ON<color:ffffff> [-=-=-=-=-=]");
}


Please help me fix the client chat messages and add toggle keybinds..


Pages: 1 2 3 [4] 5 6 7 8 9 10