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

Pages: 1 ... 233 234 235 236 237 [238] 239 240 241 242 243 ... 1041
3556
Suggestions & Requests / Re: randomized pain sounds
« on: July 03, 2013, 04:03:36 AM »
Code: [Select]
datablock AudioProfile(randomPainSound1)
{
    ...
};

datablock AudioProfile(randomPainSound2)
{
    ...
};

package randomPainSounds
{
    function player::playPain(%this)
    {
        serverPlay3D("randomPainSound" @ getRandom(1, 2), %this.getHackPosition());
    }
};

activatePackage(randomPainSounds);

3557
Can't you put a server.cs in any add-on?

Regardless of the name or not?

GameMode_SpeedKart doesn't care about the server.cs file, if there is one.

3558
Gallery / Re: Port makes a zombie mod.
« on: July 02, 2013, 12:26:17 PM »
Sadly no hahaha, Those effects were added after  Check the description

.. there's nothing in the description?

So, is the widescreen effect and the color test at the end all part of the gamemode?

They aren't, but the widescreen effect could /easily/ be added to the gamemode. It'd be pretty dumb though.

3559
Add-Ons / Re: Spawn Cam
« on: July 02, 2013, 11:32:21 AM »
Code: [Select]
%cl.camSched = schedule(5000,0,swol_ResetSpawnCam,%cl,%spPos);

You should make it require pressing some trigger (like fire) to exit the spawn cam, and slowly cycle through spawn cams (every 5 seconds?) until you do.
Additionally, it'd be neat if you hooked into the spectating systems of TDM and Slayer to make it possible to cycle through spawn cams in addition to players (e.g. TF2).

3560
Off Topic / Re: Post your favorite apps v1
« on: July 02, 2013, 11:29:44 AM »
Google Galaxy Nexus (favorites):

Action Launcher Pro, Apollo, DashClock, Fleksy, Glass Home, imgur for Android, Organ Trail, Pixel Dungeon, Steam.

3561
Off Topic / Re: Post Your Desktop 2 / Desktop Megathread
« on: July 02, 2013, 06:07:30 AM »


its been there for three hours, so yeah

these people have interesting faces


3562
Off Topic / Re: The Port topic.
« on: July 02, 2013, 05:53:49 AM »

3563
Off Topic / Re: The Port topic.
« on: July 02, 2013, 05:51:24 AM »

3564
This is called combining characters, something my keyboard has too. Try pressing ^ and then a. You'll get â. If you don't want to do it, just press ^ and space.

Wait, it only happens in Steam? That's odd.

3565
Gallery / Re: Port makes a zombie mod.
« on: July 02, 2013, 05:18:04 AM »
What's in the repository right now is really not fit for third-party usage. In fact, the current `master` branch will not spawn any zombies at all. The `old2` branch will, but there are tons of required add-ons you'll need (which are just for the build, though), including a few which are unreleased such as Sound_UndergroundAMB and NoMercyForYou (music).

3566
Off Topic / Re: The Port topic.
« on: July 01, 2013, 02:34:04 PM »
I have no idea, I was just browsin' some random links.

.. oh okay

3567
Off Topic / Re: Ask Anybody Anything! [ask.fm]
« on: July 01, 2013, 12:38:19 PM »
http://ask.fm/portify

these are some very weird questions I'm getting

3568
Off Topic / Re: Ask Anybody Anything! [ask.fm]
« on: July 01, 2013, 12:20:43 PM »

3569
Modification Help / Re: Hells&Khain Weaponry
« on: July 01, 2013, 09:33:34 AM »

3570
No no, you misunderstand. (Let's assume that %count is predefined as 0 because exceptions.)

-1+(++%count) = -1 + (%count has already been incremented, so 1) = 0, as would be expected.
-1+(%count++) = -1 + (%count does not get incremented until AFTERWARDS, so 0) = -1, which forgets stuff up.

%count still becomes 1 in both cases, but in one case it's done before the addition and in one case it's done after.

Well I don't see how that's a flaw of the language, it's just how it's designed. TorqueScript does not have ++x, only x++, and pre-incrementing seemed the most practical when adding it.

Pages: 1 ... 233 234 235 236 237 [238] 239 240 241 242 243 ... 1041