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 - Tezuni 2.0

Pages: 1 ... 188 189 190 191 192 [193] 194
2881
Modification Help / Adjusting damage dealt by a percentage
« on: July 10, 2011, 05:41:03 AM »
Is it possible to adjust damage dealt by a percentage?
For example, if I set my player to have a value of 900/1000 strength, would it be possible to make my player only deal 90% of the damage it regularly would?
How would I do this?

2882
UPDATE!!
RTB Prefs for the following now allow Moderator usage:

- Player Warning
- Force Kill

2883
Suggestions & Requests / Re: Realistic Damage Mod
« on: July 05, 2011, 08:26:56 AM »
Think you could work it into rkys script? Because that is perfect, it just doesn't detect fakekill.
What I'm saying is the only two functions for deleting a brick listed under dump(); for bricks, killbrick and delete, don't work.

%this.killbrick
>>>Function can't be found.

%this.delete
>>>Can't delete datablocks directly.

Maybe killing bricks has become more restrictive to prevent things such as the crap-on'ed Event_KillBrick


2884
Suggestions & Requests / Re: Realistic Damage Mod
« on: July 05, 2011, 04:31:00 AM »
Untested, but it should work.
No, that's already been tried if you read the previous posts.  You cannot delete datablocks directly anymore.

2885
Suggestions & Requests / Re: Realistic Damage Mod
« on: July 04, 2011, 10:16:09 PM »
%this.killBrick();

rather than

killBrick(%this);
Yeah tried that too, neither worked.  Both are usable methods though.

2886
Suggestions & Requests / Re: Realistic Damage Mod
« on: July 04, 2011, 10:05:34 PM »
Here's what I've got, apparently it's unable to find the function KillBrick even though it shows up in dump();
Code: [Select]
$RealisticBrickDeath=true;

function servercmdToggleBrickKill(%client)
{
if(%client.isSuperAdmin)
{
if($RealisticBrickDeath==true)
{
$RealisticBrickDeath=false;
}

else
{
$RealisticBrickDeath=true;
}
}

else
{
return;
}
}

package RealisticBrickDeath
{
function fxDTSbrickdata::onfakedeath(%this)
{
if($RealisticBrickDeath == true)
{
parent::onfakedeath(%this);
killBrick(%this);
}
}
};
activatePackage(RealisticBrickDeath);


Using
Code: [Select]
%this.delete returns a message saying you cannot delete datablocks directly.


I can't find any other way, so I'll let someone else take over from here...

2887
I'm trying to make several different ore types using one ore model in milkshape for a friend's rp.
Is it possible to use one model, and assign each texture pertaining to its ore's vein to a blank texture or something like that through the code?
Otherwise I'll have to copy the model for each ore and assign a separate texture for each model, which I think is really inefficient.

I vaguely remember a topic like this in the past but couldn't find it, maybe someone remembers...

2888
Add-Ons / Re: Tezuni's Add-ons(Black Knife Released)
« on: July 02, 2011, 08:33:45 PM »
I told you all about Ballistics.

Code: [Select]
isBallistic         = true;
What?  That's already in the projectile data for all default weapons.


2889
Gallery / Re: Munk & Exper's Throwing Co-operative Uberchallenge
« on: July 02, 2011, 02:40:43 AM »
Nice job!  The co-op sounds fun!

2890
General Discussion / Strange User Activity: Blockland ID 999
« on: July 01, 2011, 05:07:20 AM »
So blockland ID 999 showed up in a server.  
Thought I'd RTB check him after he acted all new to blockland and his authentication failed once.
Check it out:  Name History

First documented name was in 2008.
He scarcely had new names from 2008-2010.
As of june 26th this year, his name list exploded.

Never seen anything like this before...

2891
Add-Ons / Re: Tezuni's Add-ons(Black Knife Updated!!)
« on: June 30, 2011, 07:29:17 PM »
Chrono has helped me fix an error in the code, re-download for the rtb pref fix.
If approved, the black knife will also be available on RTB. :-)

2892
Add-Ons / Re: Tezuni's Add-ons(New Weapon Released!!) 6/29/11
« on: June 30, 2011, 12:49:47 AM »
Black knife should throw if you right click, and melee if you left click. It seems pretty pointless to only have one of the two...
It does already.

2893
Add-Ons / Re: Tezuni's Add-ons
« on: June 29, 2011, 11:55:52 PM »
Black Knife released! (Main post)

2894
Modification Help / Re: Brick variable for name?
« on: June 26, 2011, 07:58:59 PM »
You mean the datablock?

For example:

Code: [Select]
if(%brick.getdatablock().getID()!= Brick32x32FRoadXData.getID())
  {
       echo("It's not a 4 way road piece!");
   }

That would check if the brick is not a 4 way road brick.
Hope that helps! :-)

2895
Add-Ons / Re: Tezuni's Add-ons
« on: June 26, 2011, 03:32:35 PM »
Many days and a few posts by Tezuni later and he still hasn't fixed or even directly acknowledged the issue with these add-ons.
Thought isHost was default for some reason.
The links are the same, but I updated the files with a fix. :)

Anyone who downloaded:
-Spook
-Ragequit

Simply re-download them for the isHost fix.  :-)

Pages: 1 ... 188 189 190 191 192 [193] 194