ULX

Author Topic: Making traitor items cost more  (Read 2271 times)

0 Members and 1 Guest are viewing this topic.

Offline Dharmvir Sidhu

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • OMENS Gaming
Making traitor items cost more
« on: December 28, 2014, 04:59:33 PM »
I am trying to add a nuke to my TTT server, but i mean since it is a nuke, i dont want it to be able to be bought for just 1 credit, could anyone tell me how to go about changing the number of credits it costs to buy the item, for example from 1 credit, to 10 credits? I havent found it anywhere else in these forums or google, and i really appreciate your help. Also, i understand that the official creators of TTT had said on the bottom of http://ttt.badking.net/custom-weapon-guide that they dont want to make them worth different amounts of credits, however i have seen it done on other servers, and was just wondering if anyone else knew how.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Making traitor items cost more
« Reply #1 on: December 28, 2014, 07:33:52 PM »
Tried searching the actual weapon nuke code file itself?
Surely each weapon has a standard framework to find/adjust things like that.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Making traitor items cost more
« Reply #2 on: December 28, 2014, 08:48:48 PM »
Tried searching the actual weapon nuke code file itself?
Surely each weapon has a standard framework to find/adjust things like that.
The TTT system is: either it costs a credit or it doesn't.
There's no real "simple" modification you can make to the weapon to control that. Instead, you'd have to do some hacky things with the gamemode that I'm not even sure how to do.
bw81@ulysses-forums ~ % whoami
Homepage