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 - Headcrab Zombie

Pages: 1 ... 602 603 604 605 606 [607] 608 609 610 611 612 ... 781
9091
Help / Re: Can't find my saves.
« on: September 17, 2011, 06:59:14 PM »
Install it to somewhere other than program files
This is why the installer defaults to C:

Something about Vista/7 not allowing programs to create files in that directory.

9092
Modification Help / Re: Client Sided Slash Command
« on: September 15, 2011, 01:32:29 PM »
function clCmdToggleMod(%client)
{
   if($Toggle == true)
   {
      $Toggle = false;
      clientCmdMessageBoxOK("jes00's Mod","Mod is now off");
   }
   else
   {
      $Toggle = true;
      clientCmdMessageBoxOK("jes00's Mod","Mod is now on");
   }
}
Bolded what I fixed.

And god damn man, work on your formatting before you make much else

9093
Modification Help / Re: Node coloring
« on: September 14, 2011, 01:09:32 PM »
Also,
Code: [Select]
        GameConnection::ApplyBodyParts(%obj);
GameConnection::ApplyBodyColors(%obj);
Should be

Code: [Select]
        %obj.ApplyBodyParts();
        %obj.ApplyBodyColors();
and I'm not sure what you're trying to do with all the code after that part, those are all set by the .applyBody_____()



I have something that uses a bot with a customized appearance, here's all the code I have for it to spawn on map load, and automatically respawn if it dies

Code: [Select]
package AdambotBody
{
function AIConnection::spawnPlayer(%this,%location)
{
if(%this $= Adambot)
{
%this.player = new AIPlayer()
{
datablock = PlayerStandardArmor;
};
%this.player.client = %this;
%this.player.setTransform(%location);
%this.applyBodyParts();
%this.applyBodyColors();
%this.player.setScale("0.7 0.7 0.7");
}
else
Parent::spawnPlayer(%this,%location);
}

function AIConnection::onDeath(%this,%obj,%name,%something,%location)
{
if(%this $= Adambot)
%this.spawnPlayer(pickSpawnLocation());
else
Parent::spawnPlayer(%this,%obj,%name,%something,%location);
}

function onMissionLoaded()
{
Parent::onMissionLoaded();
new AIConnection(Adambot){};
Adambot.chestColor = "0.078 0.078 0.078 1";
Adambot.decalName = "Mod-Suit";
Adambot.faceName = "smiley";
Adambot.headColor = "1 0.878 0.611 1";
Adambot.hidColor = "0.078 0.078 0.078 1";
Adambot.larmColor = "0.078 0.078 0.078 1";
Adambot.lhandColor = "1 0.878 0.611 1";
Adambot.llegColor = "0.078 0.078 0.078 1";
Adambot.rarmColor = "0.078 0.078 0.078 1";
Adambot.rhandColor = "1 0.878 0.611 1";
Adambot.rlegColor = "0.078 0.078 0.078 1";
Adambot.name = "Adambot";
Adambot.netName = "Adambot";
Adambot.spawnPlayer(pickSpawnPoint());
AdambotBody::Tick();
}

function onServerDestroyed()
{
Parent::onServerDestroyed();
Adambot.delete();
}
};
Activatepackage(AdambotBody);

9094
Suggestions & Requests / Re: First-Person tumble event
« on: September 14, 2011, 01:01:06 PM »
Tumble Event + First-Person Only Playertype.
I tried that, it doesn't work.

I also tried setting firstPersonOnly to 1 on the vehicle that it uses for tumbling and that didn't work either.

9095
I had this problem with the bricktext event, I needed the StaticShape to always be a little bit above the top of the brick
Here's what I set for position inside the 'new StaticShape...' :
Code: [Select]
position = vectorAdd(%this.getPosition(),"0 0" SPC %this.getDatablock().brickSizeZ/9 + "0.166");

Maybe that, minus the '+ "0.166"' with %this being the brick your building on top of?

9096
I'm not sure exactly what your problem is, but I'm guessing it has to do with the brick not always being in the correct place on the Z axis with different height bricks?

9097
Off Topic / Re: The best avatar faf ratava tseb ehT
« on: September 13, 2011, 05:29:47 PM »
AM I DOIN IT RITE


9098
Games / Re: I need help getting Minecraft.
« on: September 13, 2011, 03:20:57 PM »
Get your own bank account and your own debit card, then you won't have to worry about that.

Of course then you have to worry about getting to a bank to get it

9099
Maybe you could public release these.

Sounds interesting.
In it's current state, no, it's just a .dts, only a very small percentage of the community would know what to do with it.
It would need a script to give it two coordinates, and scale/position the cube accordingly

9100
Sounds like what you need then

9101
Help / Re: Click = lag? o.O
« on: September 12, 2011, 10:18:34 PM »
I have no idea what you just said.
You also didn't clarify what I quoted.


Also, how long has this been going on? If it's recent, have yo utried restarting your computer?

9102
Help / Re: Click = lag? o.O
« on: September 12, 2011, 10:14:58 PM »

9103
Suggestions & Requests / Re: Time Travel
« on: September 12, 2011, 09:10:13 PM »
The fifteen-twenty part was sarcasm. The rest of his post made it obvious to me at least

9104
Thanks.


Try this
Right now the collision is only one way - you can walk into the box, but you can't walk out. I can make it worth both ways if you need.

9105
I could do it if the Blender DTS exporter download wasn't broken

Pages: 1 ... 602 603 604 605 606 [607] 608 609 610 611 612 ... 781