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 - otto-san

Pages: 1 ... 8 9 10 11 12 [13] 14 15 16 17 18 ... 20
181
Gallery / Mechanical Humanoid thing
« on: June 26, 2011, 08:42:41 PM »
yeah we've all seen them before i'm sure, i made one due to bored on Halcynthis' server, i got a bit too into it and think I overdid it a bit, looks like i tried too hard imo.

feel free to rate.


basic view:


side view:


back view:


window view:


some controls:



self destruct:



(sorry timed it wrong, didnt get a good boom picture)

feel free to opinion below

FFF--

I didn't realise the steam messages in the corners, ignore them.

182
Modification Help / Brick variable for name?
« on: June 26, 2011, 08:13:37 PM »
%brick.name doesn't seem to work, what would be the right way to get this?

183
Games / Synergy Server
« on: June 24, 2011, 03:27:49 PM »
If I hosted a full HL2 Synergy server, who all would play with me?

Steam is ottosparks if you want to play.

this includes

HL2
ep1
ep2
ep3
Possibly Lost Coast if we decide to do it.

184
Modification Help / GuiScrollControl
« on: June 20, 2011, 12:46:34 AM »
I'm pretty sure I made a topic back in 2010 and never got a good answer, can someone explain how to work GuiScrollControls and have selectable child controls?

Like on the Admin GUI?

185
Off Topic / Mouse Issue.
« on: June 15, 2011, 01:30:11 AM »
Since awhile ago, my mouse sometimes apparently clicks twice in one click.

Like I click a folder once, it MAY open up on that first click.

I click a link, it MAY open up a dropdown menu.

I tried restarting my computer, no avail.

Anything?

186
Off Topic / Sunspots are annoying.
« on: June 13, 2011, 12:17:46 AM »
So internet for my ENTIRE city went down for about two days because of sun spots and literally just came back up.

Both DSL and cable.

Has this happened to anyone else?

187
Off Topic / Sister wants this laptop.
« on: June 11, 2011, 03:17:00 PM »
http://www.dell.com/us/p/xps-l502x/pd


Is it good enough to play most modern games well?
Pretty sure it is, just want to make sure.

Has about the same specs as my desktop computer when I upgraded it.

188
Off Topic / oh my. fragments.
« on: June 09, 2011, 10:49:41 PM »
Quote

oh dear.


and if you noticed, low space.

189
Add-Ons / EditBlacklist [Version 3 Released]
« on: June 08, 2011, 08:41:35 PM »
EditBlacklist
"You can be at my server, BUT you can't build or wrench anything"
Suggested by Skill4Life in this topic.

Commands:
/editBlacklistPlayer name -Host-only, edit-blacklists a player so they cannot build or wrench.
/unEditBlacklistPlayer name -Host-only, un-edit-blacklists a player so they cannot build or wrench.
/listEditBlacklisted -Host-only, lists all edit-blacklisted players on the left side of your screen.
/enableEditBlacklist -Host-only, enables the edit-blacklist.
/disableEditBlacklist -Host-only, disables the edit-blacklist.

Features:
-Host-only commands to make certain people unable to use wrench or build on your server.
-Players who try and rejoin to bypass this are really disappointed because when you blacklist someone their blacklisting stays until you restart the server.
-Ability to list every blacklisted player.
-Auto-saves/loads the blacklist.

Known Bugs:
-Odd bug where you can blacklist someone more than once even though I thought I scripted it to prevent that. It's no real problem, once you un-blacklist someone, all of it is gone, but it's just odd.

Current Version (v3):
Mediafire
Dropbox

Older Versions:
Mediafire (v2)
Dropbox (v2)
Mediafire (v1)
Dropbox (v1)

Pending on RTB.

Still pending.

Taking awhile.

190
COME ON DOWN AND HAVE FUN!

^LOOK AT ALL THOSE ENGI BOTS, AND THAT'S JUST A FEW!^


COME HAVE FUN AT 173.16.67.240:27015


CURRENTLY UP!!!

191
Modification Help / Removing something from a scriptobject.
« on: June 08, 2011, 03:11:29 PM »
This just makes me crash:
Code: [Select]
			%obj.edBlacklisted = 0;
%list = $EdBlacklist.listlist[%obj.getPlayerName()];
$EdBlacklist.list[$Edblacklist.listlist[%obj.getPlayerName()]] = "";
$EdBlacklist.listlist[%obj.getPlayerName()] = "";
for(%i = %list+1; %i = $EdBlacklist.listed; %i++)
{
$EdBlacklist.listlist[$EdBlacklist.list[%i-1]] = $EdBlacklist.listlist[$EdBlacklist.list[%i]];
$EdBlacklist.list[%i-1] = $EdBlacklist.list[%i];
}

Found a way around it, but someone explain still please.

192
I'd like to know because I should have learned a long time ago.

193
I've tried a lot of things, tinkering around with how it shifts back, but it always justs gives me the first layer of bricks, which is a flat circle, and then does nothing else. The ghost brick simply flies off into the air and far away.

This is the math I've been doing for this:

Code: [Select]
function tryGenerateHill(%diameter)
{
if(getSubStr(%diameter, strLen(%diameter), strLen(%diameter)) != 0 || getSubStr(%diameter, strLen(%diameter), strLen(%diameter)) != 2 || getSubStr(%diameter, strLen(%diameter), strLen(%diameter)) != 4 || getSubStr(%diameter, strLen(%diameter), strLen(%diameter)) != 6 || getSubStr(%diameter, strLen(%diameter), strLen(%diameter)) != 8)
mCeil(%diameter+0.1);
%maxSpace = mFloatLength((3.14*%diameter)*0.125, 0);
%curSpace = %maxSpace;
for(%h = 0; %h < %diameter*(mCeil(%diameter*0.33)); %h++)
{
for(%i = 0; %i < %diameter-1; %i++)
{
if(%curSpace > 0 && !%reachedDiameter)
{
for(%skip = 0; %skip < %curSpace; %skip++)
{
superShiftBrickRight(1);
superShiftBrickRight(0);
}
for(%place = 0; %place < %diameter-(%curSpace*2); %place++)
{
plantBrick(1);
plantBrick(0);
superShiftBrickRight(1);
superShiftBrickRight(0);
}
for(%skip = 0; %skip < %curSpace; %skip++)
{
superShiftBrickRight(1);
superShiftBrickRight(0);
}
%curSpace--;
}
else if(%curSpace <= 0 && !%reachedDiameter)
{
for(%place = 0; %place < %diameter; %place++)
{
plantBrick(1);
plantBrick(0);
superShiftBrickRight(1);
superShiftBrickRight(0);
}
%curSpace++;
%reachedDiameter = 1;
}
else if(%curSpace > 0 && %reachedDiameter)
{
for(%skip = 0; %skip < %curSpace; %skip++)
{
superShiftBrickRight(1);
superShiftBrickRight(0);
}
for(%place = 0; %place < %diameter-(%curSpace*2); %place++)
{
plantBrick(1);
plantBrick(0);
superShiftBrickRight(1);
superShiftBrickRight(0);
}
for(%skip = 0; %skip < %curSpace; %skip++)
{
superShiftBrickRight(1);
superShiftBrickRight(0);
}
%curSpace++;
}
for(%realign = 0; %realign < %diameter; %realign++)
{
superShiftBrickLeft(1);
superShiftBrickLeft(0);
}
superShiftBrickAway(1);
superShiftBrickAway(0);
}
%reachedDiameter = 0;
superShiftBrickUp(1);
superShiftBrickUp(0);
//for(%moveBack = 0; %moveBack < %diameter; %moveBack++)
//{
// superShiftBrickLeft(1);
// superShiftBrickLeft(0);
//}
for(%moveBack = 0; %moveBack < %diameter-1; %moveBack++)
{
superShiftBrickTowards(1);
superShiftBrickTowards(0);
}
superShiftBrickAway(1);
superShiftBrickAway(0);
superShiftBrickRight(1);
superShiftBrickRight(0);
%diameter--;
%curSpace = %maxSpace-%h;
}
}

Based on the concept that if the diameter is even, the "height" of the flat circle will always be one brick less than the diameter, and the maximum amount of bricks you can fit in from the "topmost" part of the circle out to as far as the circle extends from there will be around [(pi*diameter)*0.125] bricks.

Edit:
D'oh, wait, I forgot to set %reachedDiameter back after the loop is over, hold on, let me try that.

Edit2:
Those darned coding habits, I put %i instead of %h.

Edit3:
Also forgot to set %curSpace to a correct value.

Edit4:
Got it, sorta. Not really a half-sphere that I was looking for but I can handle that



If anyone can help me with my math I'd be thankful.

194
Modification Help / A couple of questions.
« on: May 25, 2011, 07:05:10 PM »
How would I make a brick have a tool spawn and then make the tool disappear from the brick after being picked up?
Quote from: []----[]
package aaa { function hammerItem::onPickup(%this,%obj,%player,%amt) { Parent::onPickup(%this,%obj,%player,%amt); if(isObject(%obj.spawnBrick)) { %obj.spawnbrick.setItem(0); } } };

And how would I prevent a player from swapping tools from said tool after picking it up?
I need the arguments for the functions listed in the first reply.


And I need to know how to get the tool in a certain slot on a player. Or rather, what is the variable for tool slots?
I'm stupid, I was using it to find it out. %client.player.tool[slot]

I know it's in capture the flag, but I can't seem to find it.

195
Off Topic / Frenchryan :D
« on: May 24, 2011, 07:46:30 PM »
Quote
Frenchryan: The first F5 in my area just occurred, touching down in New Castle.
Frenchryan: It's an F5 man, an hour away that goes 100 mph. We're forgeted.
ottosparks EATER OF SOULS: :(
ottosparks EATER OF SOULS: And it's moving toward you?
Frenchryan: It' about too.
Frenchryan: I've gone through F1-F3 tornadoes, but never an F5. It's loving black too dude. That is called God's Wraith if it is a black F5.
Frenchryan: I guess the end of my life is today, mate.
Frenchryan is now Offline.

:(

He's okay!

Pages: 1 ... 8 9 10 11 12 [13] 14 15 16 17 18 ... 20