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

Pages: 1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 32
226
Gallery / Ninja Training: Lessons in The Art of War with Sun Tzu
« on: August 10, 2011, 03:18:30 PM »
Server up: Sun Tzu's Ninja Training
Looking to host a fun RP minigame.


227
Hey Amade =D I like your building style in this =P

228
Modification Help / Re: Help for BL RTS: Directional fireRelay code
« on: August 08, 2011, 10:13:18 PM »
and in the bottom switch i tried db.bricksize first, and without all the 0.1's

229
Modification Help / Re: Help for BL RTS: Directional fireRelay code
« on: August 08, 2011, 10:12:14 PM »
This is what I modified it to, but now it doesn't even work. I don't know this scripting language at all I'm just guessing based on what I know about c++.

Code: [Select]
function fxDtsBrick::VCE_relayCallFunction(%brick,%direction,%name,%args,%client)
{
%start = posFromTransform(%brick.getTransform());
%db = %brick.getDatablock();
%angle = %brick.getAngleID();
if(%angle == 1 || %angle == 3)
{
%addX = %db.brickSizeY * 0.55;
%addY = %db.brickSizeX * 0.55;
}
else
{
%addX = %db.brickSizeX * 0.55;
%addY = %db.brickSizeY * 0.55;
}
%addZ = %db.brickSizeZ * 0.22;
//Up Down North East South West
switch(%direction)
{
case 0:
%add = 0 SPC 0 SPC %addZ;
case 1:
%add = 0 SPC 0 SPC -%addZ;
case 2:
%add = 0 SPC %addY SPC 0;
case 3:
%add = %addX SPC 0 SPC 0;
case 4:
%add = 0 SPC -%addY SPC 0;
case 5:
%add = -%addX SPC 0 SPC 0;
}
%end = vectorAdd(%start,%add);
//Up Down North East South West
switch(%direction)
{
case 0:
%box = (%addX-0.1) SPC (%addY-0.1) SPC (0.1);
case 1:
%box = (%addX-0.1) SPC (%addY-0.1) SPC (0.1);
case 2:
%box = (%addX-0.1) SPC (0.1) SPC (%addZ-0.1);
case 3:
%box = (0.1) SPC (%addY-0.1) SPC (%addZ-0.1);
case 4:
%box = (%addX-0.1) SPC (0.1) SPC (%addZ-0.1);
case 5:
%box = (0.1) SPC (%addY-0.1) SPC (%addZ-0.1);
}
%ray = InitContainerBoxSearch(%end,%box,$TypeMasks::FxBrickAlwaysObjectType);
%col = firstWord(%ray);
if(isObject(%col))
{
if(getTrustLevel(%col,%brick) < 2)
return;
%col.VCE_callFunction(%name,%args,%client);
}
}

230
General Discussion / Re: BL MMORTS
« on: August 08, 2011, 09:19:06 PM »
okay fine I'll keep it private and reveal it an a few months.

231
Forum Games / Re: McDonalds Ordering Game
« on: August 08, 2011, 09:17:04 PM »
You get a Hershey bar with extra salt in it and a urinal cake. You also Get Jelly toast.

I want what I wanted last time, but an answer that is not anti-climactic.

232
Modification Help / Re: Help for BL RTS: Directional fireRelay code
« on: August 08, 2011, 07:30:17 PM »
Thanks so much

233
Forum Games / Re: McDonalds Ordering Game
« on: August 08, 2011, 04:05:38 PM »
The window lady hands you a baby and says its yours. SURPRISE!

I want a bag, no napkins, no straws, but a salt packet, a nickel, three drops of french fry oil in a barbeque sauce WITHOUT any traces of sauce, a hat, a copy of the last customer's receipt, and a hug from Ronald McDonald.

234
Modification Help / Re: Directional fireRelay code
« on: August 08, 2011, 03:35:08 PM »
Thanks that helps a lot. Now...how do I use it =P

235
I hope the modding community is more successful and determined about making a multiplayer mod.

236
General Discussion / Re: BL MMORTS
« on: August 08, 2011, 05:59:12 AM »
do you have any actual help for me? cause I submitted a pretty obvious post asking for help

237
General Discussion / Re: BL MMORTS
« on: August 08, 2011, 05:55:42 AM »
so did you finish yours? or did it suck? cause i don't care, this is not a waste of my time. I'm actually making significant progress now.

238
Modification Help / Help for BL RTS: Directional fireRelay code
« on: August 08, 2011, 05:37:28 AM »
Hey I posted a reply on one of my threads and forgot that I had to ask it here. So here it is:

Quote
You know how I was saying the Events weren't working properly? Well take a look at this. Say I use this output in the direction of up. With the way this is written, it would only work if the target brick overlaps the center. In the case that the target brick is offset away from the center (which is my case all the time) the event doesn't even work.

The default events of fireRelayUp etc. use some sort of dynamic tracking system that tracks the nearest target brick no matter it's position along the original brick's edge. It also (surprise, surprise) can activate ALL the bricks along it's edge. So to everyone who thought I just sucked, go suck an egg. Anyhoo, how do I take a look at the default directional fireRelay events' code so I can edit/report this VCE event?

Code: [Select]
function fxDtsBrick::VCE_relayCallFunction(%brick,%direction,%name,%args,%client)
{
%start = posFromTransform(%brick.getTransform());
%db = %brick.getDatablock();
%angle = %brick.getAngleID();
if(%angle == 1 || %angle == 3)
{
%addX = %db.brickSizeY * 0.55;
%addY = %db.brickSizeX * 0.55;
}
else
{
%addX = %db.brickSizeX * 0.55;
%addY = %db.brickSizeY * 0.55;
}
%addZ = %db.brickSizeZ * 0.22;
//Up Down North East South West
switch(%direction)
{
case 0:
%add = 0 SPC 0 SPC %addZ;
case 1:
%add = 0 SPC 0 SPC -%addZ;
case 2:
%add = 0 SPC %addY SPC 0;
case 3:
%add = %addX SPC 0 SPC 0;
case 4:
%add = 0 SPC -%addY SPC 0;
case 5:
%add = -%addX SPC 0 SPC 0;
}
%end = vectorAdd(%start,%add);
%ray = containerRaycast(%start,%end,$TypeMasks::FxBrickAlwaysObjectType,%brick);
%col = firstWord(%ray);
if(isObject(%col))
{
if(getTrustLevel(%col,%brick) < 2)
return;
%col.VCE_callFunction(%name,%args,%client);
}
}

239
General Discussion / Re: BL MMORTS
« on: August 08, 2011, 05:35:46 AM »
You know how I was saying the Events weren't working properly? Well take a look at this. Say I use this output in the direction of up. With the way this is written, it would only work if the target brick overlaps the center. In the case that the target brick is offset away from the center (which is my case all the time) the event doesn't even work.

The default events of fireRelayUp etc. use some sort of dynamic tracking system that tracks the nearest target brick no matter it's position along the original brick's edge. It also (surprise, surprise) can activate ALL the bricks along it's edge. So to everyone who thought I just sucked, go suck an egg. Anyhoo, how do I take a look at the default directional fireRelay events' code so I can edit/report this VCE event?

Code: [Select]
function fxDtsBrick::VCE_relayCallFunction(%brick,%direction,%name,%args,%client)
{
%start = posFromTransform(%brick.getTransform());
%db = %brick.getDatablock();
%angle = %brick.getAngleID();
if(%angle == 1 || %angle == 3)
{
%addX = %db.brickSizeY * 0.55;
%addY = %db.brickSizeX * 0.55;
}
else
{
%addX = %db.brickSizeX * 0.55;
%addY = %db.brickSizeY * 0.55;
}
%addZ = %db.brickSizeZ * 0.22;
//Up Down North East South West
switch(%direction)
{
case 0:
%add = 0 SPC 0 SPC %addZ;
case 1:
%add = 0 SPC 0 SPC -%addZ;
case 2:
%add = 0 SPC %addY SPC 0;
case 3:
%add = %addX SPC 0 SPC 0;
case 4:
%add = 0 SPC -%addY SPC 0;
case 5:
%add = -%addX SPC 0 SPC 0;
}
%end = vectorAdd(%start,%add);
%ray = containerRaycast(%start,%end,$TypeMasks::FxBrickAlwaysObjectType,%brick);
%col = firstWord(%ray);
if(isObject(%col))
{
if(getTrustLevel(%col,%brick) < 2)
return;
%col.VCE_callFunction(%name,%args,%client);
}
}

240
Forum Games / Re: McDonalds Ordering Game
« on: August 07, 2011, 10:17:13 PM »
You get french toast.

I want a footlong Oven Roasted Chicken Breast on Wheat. All veggies, extra spinach no banana peppers or jalapenos. I want it toasted with the onions and bell peppers. Ranch and Dijon then its done.

Pages: 1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 32