Welcome, Guest. Please login or register.
Did you miss your activation email?
September 20, 2024, 03:00:43 AM
Home Help Login Register
News: Zombie Master 2 discussion

  Show Posts
Pages: [1]
1  Other / Trouble in Terrorist Town / Re: Jihad Bomb? on: August 05, 2010, 09:33:28 PM
There's where you went wrong


DemiGod, you have said that two times. It was funny the first time, if he needs help and you are going to just make a smart ass remark, don't talk at all.
2  Other / Trouble in Terrorist Town / Re: Jihad Bomb? on: August 05, 2010, 08:49:25 PM
Check for compile-time errors. If there are none, make sure you placed this in the correct folder.
3  Other / Trouble in Terrorist Town / Re: Creating Non-SWEP Traitor Items on: August 01, 2010, 02:44:19 AM
Well, Domineeto. For the body armor I am going to lead you to the "player.lua" file.

Find the "GM:ScalePlayerDamage" hook and then scroll down to:


if dmginfo:IsBulletDamage() and ply:HasEquipmentItem(EQUIP_ARMOR) then
      -- Body armor nets you a damage reduction.
      dmginfo:ScaleDamage(0.7)
  end


There is your body armor code. No problemo.
4  Other / Trouble in Terrorist Town / Re: Karma Bug on: July 31, 2010, 09:43:37 PM
Damnit, I was VERY stupid. I was overriding the EntityTakeDamage method.

BKU, thanks for your responses though. :)
5  Other / Trouble in Terrorist Town / Re: Karma Bug on: July 31, 2010, 04:52:32 PM
Well I am truly confused.
6  Other / Trouble in Terrorist Town / Re: TTT custom sweps shared.lua on: July 31, 2010, 06:01:00 AM
If you have FastDL remember to add it to your FastDL repository/webserver!
7  Other / Trouble in Terrorist Town / Re: Hit Detections? on: July 30, 2010, 11:46:11 PM
Isn't it obvious there is plenty you can do, you just feel you are too important to do it? With all these people saying what they say, it must be true.


It sounds like you don't no what you are talking about.
8  Other / Trouble in Terrorist Town / Re: Karma Bug on: July 30, 2010, 10:01:47 PM
Well, I have added a couple of weapons and a VIP system that uses the F2 key. But the VIP system doesn't edit anything damage wise. I guess I am going to have to read a lot of code unless you can come of with a quick way of diagnosing the problem. =\

This MIGHT be causing it, I doubt it though.

function GM:PlayerShouldTakeDamage(victim, attacker)
  if GetRoundState() == ROUND_ACTIVE or GetRoundState() == ROUND_POST then
      return true
  else
      return false
  end
end
9  Other / Trouble in Terrorist Town / Re: Karma Bug on: July 30, 2010, 06:03:42 PM
Hmm, I just downloaded V5 and updated it, but I still have the same bug. This is very wierd.

Yes, and I also have the same damage error. It's very wierd.

I just updated and I still have it, a deagle headshot (point blank) gets a player to badly wounded. I would love help. =D
10  Other / Trouble in Terrorist Town / Re: No Prop Killing on: July 29, 2010, 11:07:42 PM
Can't you just make that if the inflictor (of the damage) is of the class "prop_physics" then just scale the damage down to 0?

I think that would work.

Edit: And of course you would have to check if it has been used by a magneto stick, but that wouldn't be too hard.
11  Other / Trouble in Terrorist Town / Karma Bug on: July 29, 2010, 10:37:41 PM
Well I know this is specific to a server that I am scripting because it doesn't appear on any other servers I have played (that are updated to TTT 3).

Well, karma goes down extremely fast. One kill on average brings down 300 karma, it never used to be like this. I haven't even touched the karma system, I update to the most recent revision all the time (I haven't updated to 5 yet, but I will) and to no avail it doesn't work.

I hate asking questions when I know there might be someway of finding out, but I am truly stumped by the situation.

If anybody could help me diagnose/fix the problem, I would be in your debt.

Thanks,
              ManBearPig
Pages: [1]


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.01 seconds with 19 queries.