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

Pages: 1 ... 4 5 6 7 8 [9] 10 11 12 13 14 ... 35
121
Modification Help / Slowing the wheels
« on: March 20, 2010, 08:31:34 AM »
Code: [Select]
// Siege_tire.cs

datablock WheeledVehicleTire(SiegeTire)
{
   // Tires act as springs and generate lateral and longitudinal
   // forces to move the vehicle. These distortion/spring forces
   // are what convert wheel angular velocity into forces that
   // act on the rigid body.
   shapeFile = "./Siegetire.dts";

mass = 15;
    radius = 1;
    staticFriction = 5;
   kineticFriction = 3;
   restitution = 0.5;

   // Spring that generates lateral tire forces
   lateralForce = 3000;
   lateralDamping = 1000;
   lateralRelaxation = 0.01;

   // Spring that generates longitudinal tire forces
   longitudinalForce = 3000;
   longitudinalDamping = 1000;
   longitudinalRelaxation = 0.01;
};
Right now it is going a medium speed and the wheels are spinning super fast. How do I make it go slower and make the wheels spin slower?

122
Modification Help / Space Bar not recognized?
« on: March 14, 2010, 11:40:48 AM »
Code: [Select]
package ShootonclickC_Pack
{
function armor::onTrigger(%db,%obj,%slot,%val)
{
if(%obj.getClassName()$="Player")
{
if(%slot != 0)
{
if(%val)
{
if($Sim::Time<%obj.client.SOCC_LastFireTime)
{
return;
}
}
%obj.SOCC_Shoot(%slot,%val);
}
}
return Parent::onTrigger(%db,%obj,%slot,%val);
}
};
ActivatePackage(ShootonclickC_Pack);
It works when I press the jet key, but not when I hit space. I also tried this
Code: [Select]
if(%slot $= 2)
for the space bar and it does not work, and then I tried
Code: [Select]
if(%slot $= 4)
for the jet key and it does work. Here is the whole code. I want it so when I press the space bar, it shoots, instead of pressing the jet key or mouse button.
Code: [Select]
$Support::ShootonclickC=$TP::Version;

package ShootonclickC_Pack
{
function armor::onTrigger(%db,%obj,%slot,%val)
{
if(%obj.getClassName()$="Player")
{
if(%slot != 0)
{
if(%val)
{
if($Sim::Time<%obj.client.SOCC_LastFireTime)
{
return;
}
}
%obj.SOCC_Shoot(%slot,%val);
}
}
return Parent::onTrigger(%db,%obj,%slot,%val);
}
};
ActivatePackage(ShootonclickC_Pack);

function repeatedVectorAddwithScale(%vecs)
{
%vec="0 0 0";
%cnt=getFieldCount(%vecs);
for(%i=0;%i<%cnt;%i++)
{
%fld=getField(%vecs,%i);
%tvec=getWords(%fld,0,3);
%scale=getWord(%fld,3);
%svec=vectorScale(%tvec,%scale);
%vec=vectorAdd(%vec,%svec);
}
return %vec;
}

function SimObject::getLeftVector(%obj)
{
return vectorCross(%obj.getEyeVector(),%obj.getUpVector());
}

function SimObject::getRightVector(%obj)
{
return vectorScale(%obj.getLeftVector(%obj),-1);
}

function Player::SOCC_Shoot(%obj,%slot,%val)
{
if(!%val) {cancel(%obj.SOCC_reshoot);return;}

%mnt= %obj.getObjectMount();
if(!isObject(%mnt))
{
return;
}

%data= %mnt.getDatablock();

%mountObj= %mnt.getMountNodeObject(%data.ShootonclickC_RequiredSlot);
if(%mountObj!$=%Obj) {return;}

if(%data.ShootonclickC)
{
//Checks OK, shoot it all.
%cnt=%data.ShootonclickC_ProjectileCount;
for(%i=0;%i<%cnt;%i++)
{
%pos= %mnt.getPosition();
%PVec= %data.ShootonclickC_Position[%i];
%VVec= %data.ShootonclickC_Velocity[%i];
%iPos= repeatedVectorAddwithScale(
%mnt.getEyeVector() SPC getWord(%PVec,0) TAB
%mnt.getLeftVector() SPC getWord(%PVec,1) TAB
%mnt.getUpVector() SPC getWord(%PVec,2)
);
%iVel= repeatedVectorAddwithScale(
%mnt.getEyeVector() SPC getWord(%VVec,0) TAB
%mnt.getLeftVector() SPC getWord(%VVec,1) TAB
%mnt.getUpVector() SPC getWord(%VVec,2)
);
%scale=%data.ShootonclickC_Scale[%i];
if(%scale$="") {%scale="1 1 1";}
%p= new Projectile()
{
dataBlock= %data.ShootonclickC_Projectile[%i];
initialPosition= vectorAdd(%pos,%iPos);
initialVelocity= %iVel;
sourceObject= %obj;
client= %obj.client;
sourceSlot= %slot;
scale= %scale;
};missionCleanup.add(%p);
}
serverPlay3d(%data.ShootonclickC_Sound,%pos);

//If hold, schedule.
if(%data.ShootonclickC_Hold)
{
//Delay according to datablocks.
%obj.SOCC_reshoot= %obj.schedule(%data.ShootonclickC_ReshootDelay,SOCC_Shoot,%slot,%val);
}
%obj.client.SOCC_LastFireTime=$Sim::Time+%data.ShootonclickC_ShootDelay/1000;
}
}

123
Suggestions & Requests / Taking Military Suggestions
« on: March 13, 2010, 11:26:12 AM »
I will be testing these in my server sometimes.

My Modern war pack generally sucks except for a few things, most unreleased. Forget the old Modern War pack, I am wiping all of that off and starting with new things.

I need suggestions. Tons of people want military things, half the suggestions out there are for military things. But half of those half are the same things over and over again.

I don't care if we already have something similar to it.
I don't care if you think it is pointless.
I don't care if you think we have enough vehicles or weapons or whatever

I want suggestions that are both unique and generic. Whether it be a troop transport plane, a gun with millions of attachments, or an entirely new idea. If it is military related I want to hear it. I want quality suggestions as well, not "gun whit gernade launcher plz." It also helps if I actually have pictures.

Resources:
http://en.wikipedia.org/wiki/List_of_military_vehicles
http://en.wikipedia.org/wiki/List_of_modern_weapons
http://en.wikipedia.org/wiki/List_of_firearms
http://en.wikipedia.org/wiki/List_of_artillery_by_name
http://en.wikipedia.org/wiki/List_of_aircraft
http://sketchup.google.com/3dwarehouse/

124
General Discussion / terminator1234
« on: March 09, 2010, 02:09:40 PM »
Does anyone else get random irc messages from him alot? Me and comr4de do. He always makes the day more fun.

125
Suggestions & Requests / Connect the dresser
« on: March 06, 2010, 09:21:38 PM »
Seriously. In the bedroom, the two floors of the dresser need to be connected.

126
Modification Help / Onadd spam
« on: March 05, 2010, 03:20:02 PM »
For hover vehicles, there seems to be an onadd problem
Code: [Select]
Add-Ons/Vehicle_Something/Vehicle_Something.cs (179): Unknown command onAdd.
Code: [Select]
function Somethingvehicle::onadd(%this,%obj)
{

parent::onadd(%this,%obj);

contrailCheck(%obj);
   
}
It does the check, but it spams the console with the above.

127
Help / Graphics card failure
« on: February 28, 2010, 06:13:26 PM »
My brother wants to play and he got a newish graphics card for his old computer. The old graphics card worked for blockland but this one produces static images.

128
Games / Garry's Mod Megathread - Revived
« on: February 27, 2010, 05:56:32 PM »
The old one died out so I thought it would be a good idea, considering how popular the other one was, to make one. We don't have any "official" Garry's Mod topics other than the ones about individual servers


Quote
What is it?
Garry's Mod is a sandbox mod for the Source Engine. Unlike normal games there aren't any predefined aims or goals. Players are given tools and are left to entertain themselves.
The player is in a world where objects can be created and destroyed on demand. Where people can be created and destroyed with the click of a mouse. A world made for him. A world he made.

So what do you do?
There are a lot of things you can do with Garry's Mod, but here's a few of the more common uses.

Construction
Garry's Mod provides tools to constrain objects together in various ways. Using these tools the player can create working contraptions.
The simplest example is a car. The player spawns an object to be used for the car's body then adds wheels by firing the tool gun at the object. Wheels are then controllable using the numpad on your keyboard.
You don't have to make moving contraptions though - want to build a fort out of wooden crates then set it on fire? Go for it! Want to build a house using fridges for the walls and mattresses for the ceiling then drive a jeep into it all? Go for it!

Posing and Comics
One of the universal appeals of Garry's Mod has been the ability to place and pose ragdolls. This allows you to create your own comic books and share them online. One major comic spawned from this is HLComic - the story of Gordon Frohman's journey in City 17.
Garry's Mod gives you the ability to place ragdolls, manipulate their facial expressions and aim their eyes.

Gamemodes
Garry's Mod gives the ability to program your own gamemodes (Don't worry - you don't need to be a programmer to play them). This allows the community to make new, often wacky, gamemodes such as melon racing, build to the top and so on.
It's often worth taking a look in the server list to see if any of the games prick your attention - there's often something weird there to try out.

User Created Content
Garry's Mod benefits greatly from a thriving community which is constantly churning out new ideas, maps, models, gamemodes, weapons, Lua scripts and skins.

Steam Username list.
PM me with your steam username. I will not add people who post their username in this topic


Forum NameSteam Name


HeedicalkingHeedicalking
No2mad2No2mad2
ChefkokkieChefkokkie
ProogProogles

Mods
Stranded
Description: This gamemode is about surviving with your fellow Stranded. Work alone or from tribes to survive, hunt and share resources to live another day in the wilderness. As your survival skills increase you will get more tools and ways to survive.
Picture by Jsk2003 making a camp with Wedge


PHX Model Pack
Description: A model pack containing must have building materials, including:
  • Wooden and Steel plates for building forts, boats and more
  • Roller Coaster track pieces with roller coaster cars and balls to use
  • Various other things that are used in almost every server.

You can get it using this
http://garrysmod.comoj.com/files/GMod_SVN_Updater_2.2.1.zip
It is under model packs - PHX Pack (560 MB)

Headcrab Colonies
Description: A fun mod to use when you are bored. Feed headcrabs watermellons, watch them grow, watch them multiply and watch them fight the other faction. Comes with:
  • Watermelon to feed them
  • Headcrab/Egg entities to spawn
  • Watermellon plant + seeds
  • Antlion/Egg entities to spawn

Get it here
http://redirectingat.com/?id=629X1198&url=http%3A%2F%2Fwww.megaupload.com%2F%3Fd%3DD77MSSBX

129
Drama / Shane: 3 strikes, you're out
« on: February 25, 2010, 07:59:02 PM »
He attempted his antics again with a 3rd alt. Second one was plato and the new one is.
I found his new alt
http://forum.blockland.us/index.php?action=profile;u=26242His video channel is this
http://www.youtube.com/user/MrNatesTV
Flkyr is Shane's youtube channel
Shane's email adress is BlShane, Plato's is BLPlatoThe link is to BLplato@live.comOne of Shane's alt's posts, saying his name.
http://forum.blockland.us/index.php?topic=81415.msg1422568#msg1422568
I know Edmund is shane's alt because of his parablox post, this post contains the email BLshane@live.com
http://forum.blockland.us/index.php?topic=95718.msg1810376#msg1810376
That is the same name Plato used on his youtube channel.


I am too good at this.
This was for Plato.
http://forum.returntoblockland.com/list.php?cmd=view&id=19416
His new alt has yet to make any posts, but I got this.
Phew, I re-downloaded blender and put my fixed up sniper in. I also fixed the trigger and handle due to polygon issues.


Captain Crazy's Sniper.
Well, look at this. I played along.



Then he sent me it and I re rendered it to prove he stole it.

The funny thing is, he said he is done stealing.
http://forum.blockland.us/index.php?topic=100772.0
I suggest banning him.

130
Modification Help / Setting a person's team
« on: February 25, 2010, 02:56:47 PM »
How would I do this?
Code: [Select]
function serverCmdSetKing(%client, %name)
{
if(%client.isAdmin)
{
%target = findClientByName(%name);
if(isObject(%target))
{
messageall('', "\c6The king was killed and his place was taken.");
%target.Isking = 1;
                        //Now what would I do to set %target's team to team 3.
}
}
else
{
messageClient(%client, '', "\c6You must be an admin to use this command.");
}
}

131
Off Topic / science experiment
« on: February 21, 2010, 04:26:14 PM »
We were supposed to make ice cream out of a bunch products such as chocolate syrup and sugar. We had to make 3 bags of ice cream using different amounts of salt, 1 oz, 5 oz and 10 oz. The salt is supposed to either make ice cream freeze faster or slower but I have no clue which. It didn't seem to make any difference because none of them seemed to freeze at all. I need the answer to this, I looked up what adding salt to the ice cream will do and some sites said it will speed up freezing and some said it will slow it down. The thing I need answered is this:
Quote from: Question
You should think about how using different levels of salt will change the outcome of the experiment. Will the salt impact the way the ice cream is frozen?
Copy paste of the directions on how to make to get a better understanding.
Quote from: Materials
Measuring cups and spoons
Enough milk, cream, or half and half to provide 2 oz.
A bottle of vanilla extract and chocolate syrup
Enough sugar to provide a teaspoon
Several bags of ice
16 oz of salt
Sandwich size and freezer size plastic baggies
Newspaper, small towers, or garbage bags
  to wrap around the baggies
Quote from: Directions
Add the following to the small bag:
      2 oz of milk, cream, or half and half
      1 tsp of sugar
      a dash of vanilla extract or ½ tsp of chocolate syrup
Seal the bag and take turns squishing and shaking it to mix it up.
Fill the large bag half full with ice and add the amount of salt that follows,
      bag 1: I oz
      bag 2: 5 oz
      Bag 3: 10 oz
Make sure the small bag is sealed, then put it in the large bag and seal that bag.
Wrap the large bag in towel, newspaper, or a garbage bag, then figure out the best way to churn and shake it.
Guess how long it will take for it to freeze.
Check every couple of minutes to see if it froze, when it is, record how long it took.
Take your small bag out of the big bag and dispose of the big bag.
Enjoy your bad tasting ice cream.

132
Modification Help / Static shape rotation
« on: February 20, 2010, 09:00:23 PM »
I am making a bomb that you plant on a wall using an edit of the sticky bomb launcher for use in my server. The problem is, the static shape that sticks to the wall always faces the same direction. No matter where I put it. I want it so it will face away from the wall you planted it on. Here is the plant code.
Code: [Select]
function Projectile::spawnC4Bomb(%obj,%col,%fade,%pos,%normal)
{
%type = %col.getType();
if((!(%type & $TypeMasks::fxBrickObjectType) && !(%type & $Typemasks::StaticObjectType) && !(%type & $TypeMasks::TerrainObjectType)))
return;

if(%col.getType() & $TypeMasks::StaticShapeObjectType && %col.getDatablock() == C4Static.getID())
return;

%player = %obj.client.player;
if(!isObject(%player))
return;

if(!isObject(%player.C4BombSet))
%player.C4BombSet = new SimSet();

%pos = vectorAdd(%pos,vectorScale(%normal,0.15));
%rot = rotFromTransform(%obj.getTransform());
%scaleFactor = getWord(%obj.getScale(),2);

%s = new StaticShape()
{
dataBlock = C4Static;
position = %pos;
rotation = %rot;
normal = %normal;

client = %obj.client;
sourceObject = %obj.sourceObject;
fireTime = %obj.fireTime;
};
MissionCleanup.add(%s);
%s.setScale(%scaleFactor SPC %scaleFactor SPC %scaleFactor);
%player.C4BombSet.add(%s);
%s.set = %obj.C4BombSet;

if(isObject(%player.client))
{
if(isObject(%player.client.minigame) && %player.client.tdmTeam != -1 && %player.client.tdmTeam !$= "")
%col = getColorIDTable(%player.client.minigame.teamCol[%player.client.tdmTeam]);
else
%col = %player.client.chestColor;
}
else
%col = "1 1 1 1";
%s.setNodeColor("ALL",%col);

%obj.schedule(33,delete);
}

133
Games / Battlefield 2 High Ping?
« on: February 20, 2010, 05:56:54 PM »
I keep getting kicked for having a high average ping, when I can run other internet games fine. Is there anything to fix this?

134
Modification Help / Icon Making
« on: February 20, 2010, 02:02:39 PM »
When making Icons, they always come out blurry and look terrible, this is probably because I scale them down. Is there an Icon making tutorial anywhere?

135
Drama / Shane/Solid Brick/Stanton/Creg/Simon
« on: February 15, 2010, 02:53:03 PM »
I am sick of this guy's stuff. He recently stole one of my add-ons and tried to make it on rtb, again. You may remember shane who made the bomber which was really Jaydee.
http://forum.blockland.us/index.php?topic=94212.0
He stole that car and claimed it was his
http://forum.blockland.us/index.php?topic=94421.0
and a decal pack.
http://forum.blockland.us/index.php?topic=94427.0
He also stole Bushido's weapons and released them on my forum.
http://forum.blockland.us/index.php?topic=96000.0
He changes his name a lot. He was first solid brick, who stole my old skyhawk as well as darkstar's pistol which he gave me and made me think it was his as the jacknife.
http://forum.blockland.us/index.php?topic=66903.msg1116094#msg1116094
How do I know Stanton is these other guy's? A model he sent me a long time ago as shane

This was later released by him under the name stanton as a hacky fighter jet

He PMed me this:
Quote from: him
I am really sorry for my brother, he went to your server today I guess and stole your crate.

I gave him the pass to my computer and accounts (BL and RTB) unfortunatly I am not able to delete the crate so I updated the file cp saying not to DL it and gave all credit to you. Once again sorry please post on the topic on BL that it was a big misunderstanding, thanks!

-Stanton
Quote from: me
Go away shane, you're so obvious.
Quote from: him
Im not shane, I have a completely different ID as him, I dont want any trouble with anyone. It was all a big misunderstanding and I hope we can still be friends.
Quote from: me
You are shane, you're fighter jet is the same as the snow speeder he sent me. Stop lieing
Quote from: him
*lying for one

second the jet I made I recieved in a blend file in an email Darkstar gave me so he must have either stolen it from me or Darkstar.

STOP ACCUSING ME! I want to be friends, we both use blender so we can work together on things when we need to. WHICH IS WHY I dont want you to hate me.
He stole multiple things and claimed darkstar gave them to him, see the jacknife pistol topic.
Then before I could respond he said this.
Quote
Now half the poeple in Blockland hate me. I dont want this to escalate into a big thing.

1. I AM NOT SHANE/CREG/SIMON/SOLID_BRICK/WHATEVER THE HELL ELSE

2. I DONT WANT TO HAVE ANY TROUBLE WITH YOU

3. I DONT STEAL ADDONS

4. STOP TELLING PEOPLE IN BL THAT I STOLE IT

I just want life to go on, besides I have no reason to steal that, I use blender. I know how to model so I dont need to steal anything by you.

Btw the crate actually looks cool.
Notice how I never even messaged him saying he was Creg or the other people
He just somehow knew all of Shane's alternate names. He used blender, the same thing shane used to send me the crappy fighter jet/snow mobile model. See the render above, I also have the .blend file which I just uploaded to mediafire now as proof.
http://www.mediafire.com/?nij20lijimd

Pages: 1 ... 4 5 6 7 8 [9] 10 11 12 13 14 ... 35