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

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 13
76
Modification Help / Getting Enabled Weapons.
« on: October 29, 2007, 12:26:38 PM »
Code: [Select]
function GetItems(){
for(%i=0;%i<=DataBlockGroup.getCount()-1;%i++){
%obj=DataBlockGroup.getObject(%i);
if(%obj.getClassName() $= "ItemData"){
return %obj;
}
}
}

I tried that but it only returns the first item.

I'm aware that this return's the datablocks.

77
Gallery / Haunted Mansion
« on: October 28, 2007, 04:07:13 PM »
This is a mansion I've been working on over the last few days, I done all/99% of the exterior's and about 60% of the interiors. People who done stuffs: Randy, Spation, Maor, Sensei and Monty helped annoy everyone.









More pictures when more rooms have been accommodated, there's 8 or 9 rooms left I think.

First ever research, been censored:

78
Modification Help / Getting filenames.
« on: October 28, 2007, 03:16:14 PM »
Is there a way to go through a folder and get the names of a file using script.

79
Modification Help / Faded Buttons.
« on: October 26, 2007, 05:48:04 AM »
In gui's you see like buttons faded that you can't click, how do you do that?

I looked through files but couldn't find how.


Nevermind got it, setActive();

80
Modification Help / AiPlayer::OnDamage
« on: October 24, 2007, 03:30:17 PM »
There isn't and AiPlayer::OnDamage so is there a way to get the client attacking the bot some way else?

81
Modification Help / Preventing AIPlayers from being painted.
« on: October 23, 2007, 08:12:32 AM »
Code: [Select]
function color0SprayCanImage::OnCollision(%this, %obj, %col, %fade, %pos, %normal){
if(%col.getClassName() $= "AIPlayer"){ return; }
echo(%col.getClassName());
parent::OnCollision(%this, %obj, %col, %fade, %pos, %normal);
}

I tried this but it didn't work, doesn't echo anything, I also tried it without Color0.

82
Suggestions & Requests / Pumpkin basket and head
« on: October 23, 2007, 03:32:31 AM »
For halloween, a pumpkin basket and head both items like the ski so when you have them selected and click it'll mount a pumpkin basket in your left hand or a pumpkin as your head.

83
Drama / About time.
« on: October 19, 2007, 03:05:55 PM »
o yea and this doesnt belong in the gallery it goes in genral discussion

User was banned for this post

How long for?

84
Help / Mouse not working.
« on: October 18, 2007, 02:34:09 PM »
It's half working and half not, I can't turn or fire with the mouth but I can move it about and push buttons on guis.


85
Modification Help / Terrorist Mod Beta Release.
« on: October 18, 2007, 02:12:19 PM »
I got bored of working on it so here is the beta version, it has many bugs and things but I'm getting rather bored of working on it.

Credits
Trader and Space Guy have helped me when I got stuck and I used the Default Minigame script by Aloshi in it so yeah...

People tell me it's like Counter Strike for Blockland but I've never played Counter Strike and never seen it either so I don't know...

I'll only fix major bugs because I've got other stuff I want to make.

/howtoplay to learn how to play
/terroristMini to start mini
/endTerroristMini to end it.

Set a civilian spawn, terrorist spawn and SWAT spawn wherever you want the terrorist civilians and swat to spawn.

You can set /kidnap and /rescue to buttons in controls.

Known issues..

Timer not stopping and going into negatives.
Spawn messing up.
Terrorist/SWAT not loosing Hostage/Rescued count.

Downloads.

Zip
Rar

86
Modification Help / Getting current paint number.
« on: October 17, 2007, 11:09:20 AM »
Is there a function to get the current paint colour?

87
Modification Help / Changing shapename not working.
« on: October 14, 2007, 06:37:27 AM »
Code: [Select]
function GameConnection::SpawnPlayer(%this){
parent::SpawnPlayer(%this);
if($TerroristMini){
if(%this.side $= "Terrorist" || %this.side $= "Chief Terrorist" || %this.side $= "Head Terrorist"){
commandtoclient(%this,'CenterPrint',"\c6You're a \c0Terrorist\c6.",3,3,5000);
%this.player.setTransform(vectorAdd($terroristSpawn,"0 0 1"));
%this.player.setShapeName(%this.name @ "[ Terrorist ]");
} else if(%this.side $= "SWAT"){
commandtoclient(%this,'CenterPrint',"\c6You're in the \c0SWAT\c6.",3,3,5000);
%this.player.setTransform(vectorAdd($SWATSpawn,"0 0 1"));
%this.player.setShapeName(%this.name @ "[ SWAT ]");
}
}
}

It is in a package.

Also, is there a way to make a trigger like center at a certain point.

88
Off Topic / The origins of your name.
« on: October 13, 2007, 09:16:30 AM »
I though it'd be interesting to find the origins of peoples names, like why they decided to choose that name and how they got it, so here's me:

I started out as Bob20888 in my runescape days, i got Bob from immaturity and 20888 from my brithday 20th August after Runescape I became MrPickelnose which I got from a Slipknot mask because one of them has a rather long nose that looks like a pickle but I spelt Pickle wrong, I later dropped the nose part half way through my time on RTB so I was MrPickel but then someone told me I'd spelt it wrong so It changed to MrPickle and has been ever since.

89
Modification Help / randomMove();
« on: October 10, 2007, 11:18:18 AM »
D= It's not working, it was but now it's just spamming the console with unkown command.

Code: [Select]
function civilianBots(){
if($CivilianSpawn $= ""){ echo("*---Terrorist Pack---* \n No Civilian Spawn \n --------------------"); return; }
deleteBots($CivilianAmount);
for(%i=0;%i<$CivilianAmount;%i++){
echo(%i);
$CivilianBot[%i] = new AIPlayer(){
datablock = playerNoJet;
position = vectorAdd($CivilianSpawn,"0 0 5");
};
%bot = $CivilianBot[%i];
blockhead(%bot);
%bot.setShapeName("Civilian " @ %i); 
if(%i){
%bot.setMoveDestination(vectorAdd($CivilianBot[%i-1].getTransform(),"4 4 0"));
}
schedule(1000,0,"KeepMoving",%bot);
}
}

function KeepMoving(%bot){
if(isObject(%bot)){
%bot.randomMove();
schedule(1000,0,"KeepMoving",%bot);
}
}


90
Modification Help / Making it so that only admins can see and item.
« on: October 07, 2007, 06:14:03 AM »
Would it be possible to make it so that only admins can see certain items in the wrench gui?

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