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

Pages: 1 2 3 [4] 5 6 7 8 9 ... 12
46
Add-Ons / Flashlight (v1.0.2)
« on: September 01, 2013, 10:03:42 AM »
Introducing: A brand new flashlight that actually works! Actually shines some light on the situation!






This extremely handy flashlight is conveniently available whenever you want it just by pressing your light key. Even comes with a model in your left hand and a toggle sound! No more constantly recreated projectiles, lights or explosions; no more flickering. This flashlight smoothly glides from one point to another.

Scripting by Port, model by Jack Noir, sounds by Valve Software.



GET YOURS NOW! (only 8.5 KB!)

47
Add-Ons / Left 4 Dead 2-like Playertype (v1.1.0)
« on: August 31, 2013, 06:31:01 AM »
Left 4 Dead 2-like Playertype (v1.1.0)

A custom playertype modelled after survivors in Left 4 Dead 2. First person, no jets, heavier, less air control, slight acceleration time, faster movement, lower jumping, no more jumping up onto ramps or "bhopping" and a bunch of other things.

Includes a RTB preference for the number of item slots which defaults to 5 as well as optional support for the survivor "weapon type slots" system if Player_Survivor is enabled.

Download Player_L4D2.zip (774 bytes) from hostr.co.

48
Off Topic / All hell will now break loose
« on: August 22, 2013, 12:57:40 PM »

49
Add-Ons / No Tire Emitters (v1.0.1)
« on: August 15, 2013, 04:13:12 AM »
No Tire Emitters (v1.0.1)

Prevents wheels on vehicles from "kicking up dirt".
Emitters other than the "tire dirt" emitter will be left as normal.

Download Script_NoTireEmitters.zip (488 B).

50
Games / Humble Origin Bundle
« on: August 14, 2013, 01:34:01 PM »

51
Modification Help / [Resource] Simple dungeon layout generator
« on: August 11, 2013, 01:20:23 AM »
This is a simple dungeon layout generator I wrote (only 207 LOC expanded) which creates simple arrangements of "rooms" as well as letting you place additional special rooms afterwards on leaf rooms. A special thing about it is that it doesn't take a width and height, rather dynamically expands from [0, 0]. It's also guaranteed to give you the requested number of rooms. Here's an example of using it:

==>$x = Dungeon();
==>$x.generate();
==>$x.visualize();
Visualizing Dungeon() with 15 rooms.
 R    
RR R  
 RRSR  
   R  
  RRRRR
==>$x.reset();
==>$x.generate(30,"end");
==>$x.visualize();
Visualizing Dungeon() with 30 rooms.
     R  
 RR  R  
  R RRR
 RR S  E
  RRRRRR
RRR R  R


Source code (dungeon.cs): https://gist.github.com/portify/6203660

Use it for whatever you want.

52
General Discussion / A flash from the past
« on: August 10, 2013, 02:44:38 AM »

53
Off Topic / A mysterious dungeon (with fancy lighting)
« on: August 07, 2013, 03:35:05 PM »
go.

54
I'm now 15, he's now 17.

yay

and such

It's actually tomorrow (29th), I made this topic ahead of time because I won't be on tomorrow.

55
Creativity / I made an art
« on: July 28, 2013, 04:09:47 AM »


.. I think

56
Off Topic / Nienhaus' Steam, Skype and BLF accounts were hacked
« on: July 18, 2013, 12:17:37 PM »
Welp.

58
Code: [Select]
datablock PlayerData(Test1 : PlayerStandardArmor)
{
attribute1 = "hello";
attribute2 = "world";
};

function Test1::method1(%this)
{
echo("hello");
}

function Test1::method2(%this)
{
echo("world");
}

datablock PlayerData(Test2 : Test1)
{
attribute2 = "foo";
};

function Test2::method2(%this)
{
parent::method2(%this);
echo("foo");
}

I ran this code from `config/test.cs` on a Blockland installation with literally no Add-Ons (deleted all files including default in Add-Ons folder, bypassed launcher temporarily to prevent them from coming back), and this is the result.

==>echo(test2.attribute1);
hello
==>echo(test2.attribute2);
foo


Attribute inheritance and overwriting still works fine, however for functions, it doesn't work anymore.

==>test2.method1();
<input> (0): Unknown command method1.
  Object Test2(428) Test2 -> armor -> PlayerData -> ShapeBaseData -> GameBaseData -> SimDataBlock -> SimObject
==>test2.method2();
config/test.cs (24): Unknown command method2.
foo

59
If the client part of the engine is loaded, you can use alxWaveLen(audioProfileName.fileName) to get it's length in MS.
This, however, does not work on dedicated servers, since the server does not try to parse the file and buffer it, only serve it to clients.

Is there a way to do do it, though?

60
Off Topic / It's KelBlock's birthday
« on: June 26, 2013, 07:48:41 AM »
KelBlock


14:41 - ProSlayer64: gah, I'm waiting for somebody to create a tpic
14:41 - ProSlayer64: topic* No, it won't be me.
14:41 - ProSlayer64: And no, I'm asking you t ocreate it... unless you want to
...
14:47 - ProSlayer64: plz cna u mak top
14:47 - ProSlayer64: :c

Pages: 1 2 3 [4] 5 6 7 8 9 ... 12