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.


Messages - Plexious

Pages: 1 ... 107 108 109 110 111 [112] 113 114 115 116 117 ... 172
1666
General Discussion / Re: How big is your Blockland cache file
« on: October 27, 2012, 09:17:40 PM »
1.9 GB

1667
Drama / Re: Psp's City RPG-Random Deathmatching
« on: October 27, 2012, 08:34:05 PM »
All this stuffyRP's make me want to start up my CRP and dominate them all.

1668
Drama / Re: cristian (36607) - Hosts awful server, cheats at his own TDM
« on: October 27, 2012, 12:45:32 PM »
I lol'd more than I should of at the pencils.

1669
Drama / Re: <Comrade Clan II (Iko and Darkeh)
« on: October 27, 2012, 01:16:33 AM »
Ikoyian (7939), Isolation (7940), and Oswald (32088) all share the same IP.

1670
Off Topic / Re: Getting New Gaming Mouse and Keyboard
« on: October 27, 2012, 01:04:47 AM »
"i dont use them so no one does"
Only button I use is the calculator and on my keyboard I'll accidentally open Hotmail during the middle of a game.

1671
Modification Help / Re: How does a GuiArrayCtrl work?
« on: October 27, 2012, 01:02:55 AM »
It just renders cells, not much more. More about it here.

1672
Off Topic / Re: Getting New Gaming Mouse and Keyboard
« on: October 27, 2012, 01:00:08 AM »
All keyboards and mice are the same. Don't bother spending money on few useless keys you'll never use.

1673
No!  I don't want that.
That was terrible! I’m never coming back here again!

1674
Help / Re: Player rotation not as accurate
« on: October 27, 2012, 12:52:24 AM »
You could try turning up your network settings under Options >> Network

1675
Off Topic / Re: Add Squideey to images/things.
« on: October 26, 2012, 10:47:17 PM »

1676
General Discussion / Re: Servers just getting started?
« on: October 26, 2012, 10:38:25 PM »
Servers with 0 bricks.

1677
Drama / Re: City RPs
« on: October 26, 2012, 10:12:05 PM »
CityRP's revolve around around crime. If you take out weapons cops won't have anybody to jail, shop keepers won't have anything to sell, and officials won't have anybody to pardon.

CityRP's are supposed to be challenging. Without death, it wouldn't be challenging at all. So basically without crime CityRP's would just be city-builds.

A CityRP without guns isn't a CityRP. It's always been like that and always will be. And even if you somehow manage to remove weapons, you'll loose a lot of the people on your server because most players just want to kill.




1678
Modification Help / Merging Triangles into Quads
« on: October 26, 2012, 09:46:43 PM »
Ever since Obj2Blb was released all my models have been made out of triangles.
To try and convert them, I wrote up a script that checks if they have the same normals and share at least 3 vertices.
Code: [Select]
function ReadBlbFile(%input)
{
if(isFile(%input))
{
%file = new fileObject();
%file.openForRead(%input);
$CBLBDat = new ScriptObject(){};
$CBLBDat.fc = "0";
$CBLBDat.lc = "0";
$CBLBDat.size = %file.readLine();
while(!%file.isEOF())
{
%line = %file.readLine();
if(%line $= "POSITION:")
{
$CBLBDat.face[$CBLBDat.fc] = new ScriptObject(){};
$CBLBDat.face[$CBLBDat.fc].vertex1 = %file.readLine();
$CBLBDat.face[$CBLBDat.fc].vertex2 = %file.readLine();
$CBLBDat.face[$CBLBDat.fc].vertex3 = %file.readLine();
$CBLBDat.face[$CBLBDat.fc].vertex4 = %file.readLine();
%file.readLine();
$CBLBDat.face[$CBLBDat.fc].uv1 = %file.readLine();
$CBLBDat.face[$CBLBDat.fc].uv2 = %file.readLine();
$CBLBDat.face[$CBLBDat.fc].uv3 = %file.readLine();
$CBLBDat.face[$CBLBDat.fc].uv4 = %file.readLine();
%nextline = %file.readLine();
if(%nextline $= "COLORS:")
{
$CBLBDat.face[$CBLBDat.fc].color1 = %file.readLine();
$CBLBDat.face[$CBLBDat.fc].color2 = %file.readLine();
$CBLBDat.face[$CBLBDat.fc].color3 = %file.readLine();
$CBLBDat.face[$CBLBDat.fc].color4 = %file.readLine();
}
%file.readLine();
$CBLBDat.face[$CBLBDat.fc].normal = %file.readLine();
%file.readLine();
%file.readLine();
%file.readLine();
$CBLBDat.fc++;
}
if(!$CBLBDat.fc)
{
$CBLBDat.line[$CBLBDat.lc] = %line;
$CBLBDat.lc++;
}
}
}
}
function SameVertexCount(%face1, %face2) //Checks if 2 faces could be in the same quad
{
if(%face1.normal1 $= %face2.normal1)
{
%samecount = 0;
for(%a=1;%a<5;%a++)
{
if(%face1.vertex[%a] $= %face2.vertex1)
%sameCount++;
if(%face1.vertex[%a] $= %face2.vertex2)
%sameCount++;
if(%face1.vertex[%a] $= %face2.vertex3)
%sameCount++;
if(%face1.vertex[%a] $= %face2.vertex4)
%sameCount++;
}
return %samecount;
}
return 0;
}
function getUncommonVertex(%face1, %face2) //Returns the vertex that they don't share
{
%vertexExist[%face1.vertex1]++;
%vertexExist[%face1.vertex2]++;
%vertexExist[%face1.vertex3]++;
%vertexExist[%face1.vertex4]++;
%vertexExist[%face2.vertex1]++;
%vertexExist[%face2.vertex2]++;
%vertexExist[%face2.vertex3]++;
%vertexExist[%face2.vertex4]++;
for(%a=1;%a<5;%a++)
{
if(%vertexExist[%face2.vertex[%a]] < 2)
return %a;
}
}
function exportBLBFile(%output)
{
%file = new FileObject();
%file.openForWrite(%output);
%file.writeline($CBLBDat.size);
for(%a=0;%a<$CBLBDat.lc;%a++)
%file.writeLine($CBLBDat.line[%a]);
for(%a=0;%a<$CBLBDat.fc;%a++)
{
for(%b=$CBLBDat.fc;%b>0;%b--)
{
if(isObject($CBLBDat.face[%b]) && $CBLBDat.face[%b] != $CBLBDat.face[%a])
{
if(SameVertexCount($CBLBDat.face[%a],$CBLBDat.face[%b]))
{
%vert = getUncommonVertex($CBLBDat.face[%a],$CBLBDat.face[%b]);
$CBLBDat.face[%a].vertex[%vert] = $CBLBDat.face[%b].vertex[%vert];
$CBLBDat.face[%b].delete();
}
}
}
}
for(%a=0;%a<$CBLBDat.fc;%a++)
{
if(isObject($CBLBDat.face[%a]))
{
%fc++;
%file.writeline("TEX:SIDE");
%file.writeline("POSITION:");
%file.writeline($CBLBDat.face[%a].vertex1);
%file.writeline($CBLBDat.face[%a].vertex2);
%file.writeline($CBLBDat.face[%a].vertex3);
%file.writeline($CBLBDat.face[%a].vertex4);
%file.writeline("UV COORDS:");
%file.writeline($CBLBDat.face[%a].uv1);
%file.writeline($CBLBDat.face[%a].uv2);
%file.writeline($CBLBDat.face[%a].uv3);
%file.writeline($CBLBDat.face[%a].uv4);
if(getWordCount($CBLBDat.face[%a].color1))
{
%file.writeline("COLORS:");
%file.writeline($CBLBDat.face[%a].color1);
%file.writeline($CBLBDat.face[%a].color2);
%file.writeline($CBLBDat.face[%a].color3);
%file.writeline($CBLBDat.face[%a].color4);
}
%file.writeline("NORMALS:");
%file.writeline($CBLBDat.face[%a].normal);
%file.writeline($CBLBDat.face[%a].normal);
%file.writeline($CBLBDat.face[%a].normal);
%file.writeline($CBLBDat.face[%a].normal);
%file.writeline("");
}
}
%file.writeline(%fc);
%file.close();
}
It reads and writes, it just doesn't detect if 2 triangles are the same quad. But hey, at least they share a slight resemblance.What is wrong with it?

1679
General Discussion / Re: RTB Dedicated Hosting Service
« on: October 26, 2012, 05:23:01 PM »
Not sure you actually thought about that post, Glass. Kalphiter has had a service for 2 years and he has this:

http://69.64.43.11/login.php

How can anyone be behind that?
At least I can view his website on my Intel 4004.

1680
Development / Re: 2012/10/26 - Obj to Blb Converter
« on: October 26, 2012, 02:08:02 PM »
If a face is on the edge of the bounding box will it automatically be added to that culling group?

Pages: 1 ... 107 108 109 110 111 [112] 113 114 115 116 117 ... 172