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 - Pecon

Pages: 1 ... 3 4 5 6 7 [8]
106
Help / I cannot authenticate, DNS issue?
« on: May 05, 2013, 01:25:23 AM »
Ever since the server switches, I have been unable to authenticate Blockland. And because of this I cannot join or host servers. I've tried updating my hosts file with the IP addresses of master2.blockland.us and auth.blockland.us, but Blockland still cannot connect. Updating the hosts file has only allowed me to connect through http, so I can browse to forums or look at the server list in a browser. Blockland is allowed through Windows firewall, and I'm not running any other firewall software. The router could possibly be blocking it, but I don't know what port authentication uses. My main guess is a DNS issue, can anyone help me with this?

107
Just like the last two years, I'm hosting a server on this day. On the server you may either goof around, build random things, or the way to get prizes; build presents. The person who builds the best present will receive $25 in the form of either payPal credit, steam games, or Bitcoins.

I will also give you free hugs if you send me bitcoins. 19rWMeA929ehd1oUbjduDBiMCvAoC EzrHb

You have until Sunday night to finish your builds.

108
Off Topic / Has anyone here bought an Arctic Spyder III laser?
« on: April 23, 2013, 01:09:00 PM »
I'm looking into buying one, and I wanted to know if anyone here knew how long it takes to get it etc.

In addition you can discuss lasers here.


109
Add-Ons / Duck Cannon
« on: April 16, 2013, 07:30:58 PM »
Deathmatch? Team Deathmatch? CTF? Boss Battle?!

There is only one weapon you can trust in these situations.

Introducing, the diabolical Duck Cannon!


The weapon is carried in a convenient backpack style.

The Duck Cannon fires compressed military-grade ducks to ravage your enemies!



Also features a custom animated explosion! (Does not work in multiplayer, tell Badspot to fix it :c)
Download now, or else!

Credit:
Pecon7 - Code, Spritesheets
Spider_ (Narkro555) - Cannon Model
Reinforcements - Duck model

110
Off Topic / Bitcoins just peaked $236 per BTC
« on: April 08, 2013, 02:17:29 AM »
I should have invested in these a year ago.

If I had bought 3 BTC last year for about $12, I'd have made $510 from selling them today.

http://bitcoinexchangerate.org/

111
Off Topic / Electronic Arts (EA) CEO resigned
« on: March 19, 2013, 12:40:33 AM »
http://www.gamespot.com/news/ea-ceo-resigns-6405525

He says he believes he is the reason for EA doing so poorly recently.

112
Making icons for bricks and bots has always been a hassle, and it always resulted in the icons from each person's set looking slightly off from the others. We have known about the existence of the /doIcon command, but didn't really understand how it worked until Rotondo gave us a clearer explanation today. This guide should be a slightly more comprehensive version of the mini-guide Rotondo posted.

Pre-Step: This must be done before you can create icons for bricks.
Create a folder named iconShots in the root part of your Blockland directory.
Code: [Select]
My_Documents\Blockland\iconShots\For best results, you should also have the resolution set to something that is 4:3 in ratio.

Step 1:
Optionally, you should download this skybox which fixes the lighting so your icons are lit like the default pre-v21 ones.
Set up a server (singleplayer is fine) that has the brick/bot you want to make an icon of. It would probably be a good idea to set the skybox to white (Or enable the custom skybox, mentioned above) and make the ground completely transparent in the environment options. For best results, set your screen resolution to a 4:3 ratio (non-widescreen), you may have to disable fullscreen for these resolutions to show up.

Step 2:
Do the /iconInit command, this will set up the environment and your camera for taking the picture. From this point, do not move the camera with your mouse or the ASWD keys.

Step 3:
A: For brick icons
Code: [Select]
/doIcon brickNameFor brickName, you need to take the name for the brick's datablock and remove the "brick" and "data" parts from the name. For example, if I have a brick with it's datablock being named "Brick5x6fData", what I would put in as the brickName would be "5x6f".

B: For bot icons
First, you need to copy and paste this function into the console (until an update fixes it) for bots to have color in your icon.
Then, you can do
Code: [Select]
/DoBotIcon brickData botData namebrickData is the name of the brick datablock. For example, BrickBlockheadBot_HoleSpawnData
botData is the playerData datablock you gave for the bot. For example, BlockheadHoleBot
name is whatever you call the bot. I'm pretty sure it can be anything.

Once you enter that command, you must take a screenshot manually.

Step 4:
A:
For bricks, you take the file out of the iconShots folder and use an image manipulation program to remove the background.

B:
For bots, you take the screenshot out of your screenshots folder and then use an image manipulation program to remove the background.

Step 5:
Use an image manipulation program to set the canvas of the image to 96x96 pixels. Resize the image as needed to fit on the 96x96 canvas. Ensure that it is centered on whatever you took a picture of, though.

Step 6: Put the icon into your brick/bot add-on and refer to it in the iconFile argument in the brick datablock. For example,
Quote
datablock fxDTSBrickData (BrickBlockheadBot_HoleSpawnDa ta)
{
   brickFile = "Add-ons/Bot_Hole/4xSpawn.blb";
   category = "Special";
   subCategory = "Holes";
   uiName = "Blockhead Hole";
   iconName = "Add-Ons/Bot_Blockhead/icon_blockhead";

   bricktype = 2;
   cancover = 0;
   orientationfix = 1;
   indestructable = 1;

   isBotHole = 1;
   holeBot = "BlockheadHoleBot";
};


Now for a large block of code that you need for bot icons, ignore this if you're just doing brick icons or you don't need your bots to be colored.
First, copy the following into your clipboard. (Ctrl + c)
Code: [Select]
function serverCmdDoBotIcon( %client, %data )
{
if( !%client.isSuperAdmin )
return;

// make sure the dataBlock exists
if( !isObject( %data ) )
{
error( "Couldn't find" SPC %data );
return 0;
}

// clear old bot icon brick
if( isObject( $botIconBrick ) )
{
$botIconBrick.botHolder.delete();
      $botIconBrick.botHolder = 0;
$botIconBrick.hBot.delete();
      $botIconBrick.hBot = 0;
$botIconBrick.delete();
      $botIconBrick = 0;
}

%pos = "0 10 -1005";

// should probably take into consideration the rotate adjust thing
%rot = "0 0 -1 90";

// create the bot brick
%brick = new fxDTSBrick()
{
position  = %pos;
rotation  = %rot;
dataBlock = %data;
angleId   = 1;
colorId   = 5;
colorFxId = 0;
shapeFxId = 0;
isPlanted = 1;
client    = %client;
};

// remember the brick we made
$botIconBrick = %brick;

%error = %brick.plant();
%brick.setTrusted(1);
%client.brickGroup.add( %brick );

// make sure the brick is rendering
%brick.scheduleNoQuota( 1000, setRendering, 1 );

// set hBot type since we're doing this out of onplant
%brick.hBotType = %data.holeBot;

// create the static shape that will hold the bot in place, honestly I'm unsure why there are no collision meshes in icon mode
%static = new staticShape()
{
dataBlock = emptyBotHolderShape;
position = vectorAdd( %pos, "0 0 0.225" );
rotation = %rot;
};

missionCleanup.add( %static );

%brick.botHolder = %static;

// spawn the bot
%bot = %brick.spawnHoleBot();
%bot.updateArm(%bot.dataBlock.hWep);
%bot.setWeapon(%bot.dataBlock.hWep);
%bot.stopHoleLoop();

%static.mountObject( %bot, 0 );

return 1;
}
Then enter this into your Blockland console, do not copy and paste it.
Code: [Select]
eval(getclipboard());
This will fix the bot icon function temporarily, now you may scroll back up to read what you must do next for your icon.



Please post any issues you have with this guide, and I'll attempt to fix them.

Pages: 1 ... 3 4 5 6 7 [8]