Author Topic: Headshot Bonus  (Read 5910 times)

Offline 105HolyMoly

  • Rank: Private
  • *
  • Posts: 188
    • http://holymolymods.com
Headshot Bonus
« Reply #15 on: July 18, 2008, 04:21:49 pm »
8)  I'll chip in for some too but Canadian beer could give you a SERIOUS Headache!!!!!!!!!!!!   Cheers and Thank you for the fix.


==========EXTREME RULES===============

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Headshot Bonus
« Reply #16 on: July 18, 2008, 04:22:23 pm »
I want.......................................................................

------------->

That one :)

Offline Shoemaker

  • Rank: Private
  • *
  • Posts: 15
Headshot Bonus
« Reply #17 on: July 18, 2008, 04:40:17 pm »
Wow....thanks for such a speedy response.  I am in London so it is only a warm beer I can offer  :roll:

Now if only I could hit somone in the head I might get to see this bonus point message :wink:

Many thanks.

Shoe

Offline 105HolyMoly

  • Rank: Private
  • *
  • Posts: 188
    • http://holymolymods.com
Headshot Bonus
« Reply #18 on: July 18, 2008, 06:29:50 pm »
:(  Seems to be something wrong in the varcache gsc fix....... Server will not restart............ narrowed it down to this by taking out fix one piece at a time.

Or did I screw up?


[105] Holy Moly

Offline kisswine

  • Rank: Private
  • *
  • Posts: 7
thank
« Reply #19 on: July 18, 2008, 06:39:47 pm »
thanks joker
worked great!!!!!!!!!!!!!!!1

Offline 105HolyMoly

  • Rank: Private
  • *
  • Posts: 188
    • http://holymolymods.com
Headshot Bonus
« Reply #20 on: July 18, 2008, 06:43:08 pm »
:roll:  I'm a dummy. I put the fix in the file in the wrong place...............ALPHABETICALLY works fine...............


I lose points for being a dummy.......... -15


[105] Holy Moly

Offline GrymmWolf

  • Rank: Private
  • *
  • Posts: 44
    • http://www.hrgamers.com
Headshot Bonus
« Reply #21 on: July 18, 2008, 11:00:04 pm »
Many a giggle was heard after this update thanks guys!! :D

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Headshot Bonus
« Reply #22 on: July 18, 2008, 11:22:50 pm »
Quote from: "GrymmWolf"
Many a giggle was heard after this update thanks guys!! :D


Yet still no beer?

*LMAO* Kidding

This is NOT the best fix, but does the trick for now :)

Thanks SniperOne for this :)

Offline C20-Dragon

  • Rank: Private
  • *
  • Posts: 10
Headshot Bonus
« Reply #23 on: July 21, 2008, 02:41:37 am »
sorry guys I'm new at setting up a mod on a server..just start couple of weeks ago.
    I have tried Joker's way, putting the the three codes into the 3 different files.. and tried to put it in alphabetically order.. but when I go to start the server. the server just freezes and nerver starts.. :cry:

  I have your x4v20, have no idea what I'm doing wrong..
    sorry for the stupid questions, but that's what I'm good for.. :P
   C20-Dragon

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Headshot Bonus
« Reply #24 on: July 21, 2008, 09:18:32 am »
Email me over those 3 files -- let me take a look at them

Offline C20-Dragon

  • Rank: Private
  • *
  • Posts: 10
Headshot Bonus
« Reply #25 on: July 21, 2008, 07:17:28 pm »
Thanks.. I sent you the 3 files Joker.. but wouldn't be easier to just send them to me.. :)

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Headshot Bonus
« Reply #26 on: July 21, 2008, 07:52:27 pm »
In _ex_varcache.gsc -- I believe you have this too high

Code: [Select]

//****************************************************************************
    // X4 Knife/Headshot Reward System
    //****************************************************************************
    level.ex_headshotreward = [[level.ex_dvardef]] ("ex_headshot_reward", 0, 0, 1, "int");
    level.ex_headshotpoints = [[level.ex_dvardef]] ("ex_headshot_points", 0, 0, 99, "int");
    level.ex_meleereward = [[level.ex_dvardef]] ("ex_melee_reward", 0, 0, 1, "int");
    level.ex_meleepoints = [[level.ex_dvardef]] ("ex_melee_points", 0, 0, 99, "int");


Move this to somewhere below

Code: [Select]

//****************************************************************************
// X4 Show Coordinates
//****************************************************************************

Offline C20-Dragon

  • Rank: Private
  • *
  • Posts: 10
Headshot Bonus
« Reply #27 on: July 22, 2008, 06:21:06 pm »
thanks it works

Offline C20-Dragon

  • Rank: Private
  • *
  • Posts: 10
Headshot Bonus
« Reply #28 on: July 23, 2008, 01:58:53 pm »
hey all another question
  I have the +10 points working with the tcweapons_final but not with the LR_rifles. maybe I need to change something in the _mp files, like I did with the  melee knife?  or is it just something part of the sniper only files that can't be change..
  thanks for you time..
     C20-Dragon

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Headshot Bonus
« Reply #29 on: July 23, 2008, 02:21:57 pm »
For the LR Rifles that is going to require some MOD conversions and some fancy scriptting

The Headshot bonus works on MOD_RIFLE_BULLET

And the LR Rifles do not

Alot more then I can explain at this point and time :(