Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2024, 07:36:52 PM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Body Armor Location
Pages: [1]
Author Topic: Body Armor Location  (Read 6816 times)
Solus Ex
Poster

Posts: 4



« on: January 15, 2012, 05:19:38 PM »

I'm starting up a kind of patchwork server for my friends to play on, and I want to modify the Body Armor to be more effective but I can't find it in the files, eg. terrortown/weapons or entities. Can anyone tell me the name of the file and it's location?
Solus Ex
Poster

Posts: 4



« Reply #1 on: January 15, 2012, 05:25:24 PM »

Come on people!
Tommynator
Poster

Posts: 173

Tommynator is a traitor!


« Reply #2 on: January 15, 2012, 05:32:54 PM »

player.lua

Look for this :


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


Change the value of ScaleDamage

Solus Ex
Poster

Posts: 4



« Reply #3 on: January 15, 2012, 08:20:42 PM »

I cannot find player.lua, could you give a more specific location? I only have 4 files within terrortown-content, entities, gamemode, and mapexamples. The only one that makes sense is entities where there are 3 folders- effects, weapons, and entities. Which one of these is what I mean by location.
Solus Ex
Poster

Posts: 4



« Reply #4 on: January 15, 2012, 08:22:00 PM »

I cannot find player.lua, could you give a more specific location? I only have 4 files within terrortown-content, entities, gamemode, and mapexamples. The only one that makes sense is entities where there are 3 folders- effects, weapons, and entities. Which one of these is what I mean by location.
Nevermind I was looking in the wrong one. Thanks for the help Tommynator!
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Body Armor Location « previous next »
Jump to:  


Login with username, password and session length

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