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

Pages: 1 ... 110 111 112 113 114 [115] 116 117 118 119 120 ... 133
1711
Modification Help / Re: Bypassing damage
« on: June 25, 2014, 04:08:32 PM »
-snip-, hold on.

1712
Gallery / Re: Mini City (Futuristic...?)
« on: June 25, 2014, 10:45:05 AM »
People keep finding new ways of using those ultra shaders that I never thought of. They're literally just two averaged shadow tests with different regions "blended together". I think they look so pretty because of bugs with the shadow map itself.

1713
i want someone to make a thing where it tells you when you've been quoted
it'd be so helpful

Made something like this once. I guess I could do it again.

1714
General Discussion / Re: Add-on making contest!
« on: June 25, 2014, 09:04:54 AM »
Here's an example of an actually good contest. You should learn from it:
http://forum.blockland.us/index.php?topic=141434

1715
Off Topic / Re: True or False
« on: June 25, 2014, 08:57:45 AM »
I don't know who doesn't, that's not a boolean question.

True or False == True

1716
General Discussion / Re: Add-on making contest!
« on: June 25, 2014, 08:54:07 AM »
Rule 2  : Do not post what you created in this topic, PM it to me.
Rule 2.1: Don't even tell in this topic what you are going to create.

Why?

1717
Gallery / Re: [VIDEO] Better Footstep Stuff
« on: June 25, 2014, 08:36:01 AM »
Port does it all the time

What? I've never done that. I release everything I can release. I've never gone like "hey look at this super cool thing. do you want me to release it?" I've only in a few rare cases demonstrated that particular things are possible.

1718
Modification Help / Re: Bypassing damage
« on: June 25, 2014, 05:55:06 AM »
MinigameCanDamage  takes client objects as arguments, not player objects. Ephi stated so in the projectile damage thread. I do believe ClientObject.Client would cause some sort of trouble.

It takes basically anything. Attacker is usually a projectile, player or client. Target is whatever it hits. A brick, a vehicle, a player, etc.

1719
Games / Re: Let's Post our Videogame Screenshots!
« on: June 24, 2014, 02:49:04 PM »





1720
the full caps title megathread

1721
Gallery / Re: The future of blockland weaponry?!?!
« on: June 24, 2014, 05:18:15 AM »
That's very nice, but I would like to know more about Weapon_Package_Generic :o

As you wish: https://youtube.com/watch?v=EnfMR5Iab7Y

1722
Gallery / Re: The future of blockland weaponry?!?!
« on: June 24, 2014, 04:42:15 AM »
Actually, someone should make a client mod with all sorts of random, useful functions, like resetting FOV, that can be accessed by server mods (and maybe a keybind to disable it in case the host is abusing it).

My Weapon_Package_Generic includes the following client-sided code for "perfect" FOV during sights and aim recoil; if anybody wants to use it, here:
https://gist.github.com/portify/29b15213e4c6c074764e

Here's an example of using both of these features:

package MyPackage
{
  function Armor::onDisabled(%this, %obj)
  {
    if (isObject(%obj.client) && %obj.client.zoom !$= "")
    {
      commandToClient(%obj.client, 'Zoom', "");
      %obj.client.zoom = "";
    }

    Parent::onDisabled(%this, %obj);
  }

  function Player::mountImage(%obj, %image, %slot)
  {
    Parent::mountImage(%obj, %image, %slot);

    if (%slot == 0 && isObject(%obj.client))
    {
      if (%image.zoom !$= "")
      {
        commandToClient(%obj.client, 'Zoom', %image.zoom);
        %obj.client.zoom = %image.zoom;
      }
      else if (%obj.client.zoom !$= "")
      {
        commandToClient(%obj.client, 'Zoom', "");
        %obj.client.zoom = "";
      }
    }
  }

  function Player::unMountImage(%this, %slot)
  {
    Parent::unMountImage(%this, %slot);

    if (%slot == 0 && isObject(%this.client) && %this.client.zoom !$= "")
    {
      commandToClient(%this.client, 'Zoom', "");
      %this.client.zoom = "";
    }
  }
};

activatePackage("MyPackage");

datablock ShapeBaseImageData(MyImage)
{
  ...
  zoom = 0.65;
};

function MyImage::onFire(%this, %obj, %slot)
{
  if (Parent::onFire(%this, %obj, %slot) && isObject(%obj.client))
  {
    %x = getRandom() * 6 - 3;
    %y = 4 + getRandom() * 2;

    commandToClient(%obj.client, 'AimRecoil', %x, -%y, 16);
  }
}

1723
Suggestions & Requests / Re: Better, More Accurate TF2 Weapons
« on: June 24, 2014, 02:49:16 AM »

1724
Post the result of cat /proc/sys/fs/file-max

1725
Modification Help / Re: Default key (rebindable)?
« on: June 23, 2014, 01:15:00 PM »
When I tested this, it still wasn't centered.
Thoughts?

Code: [Select]
   new GuiWindowCtrl() {
      profile = "BlockWindowProfile";
      horizSizing = "right";
      vertSizing = "bottom";
      ...
   };

Still not set to "center", "center".

Pages: 1 ... 110 111 112 113 114 [115] 116 117 118 119 120 ... 133