Results 1 to 6 of 6

Thread: How to make weapons buyable off walls/money scripts

  1. #1
    ... connecting
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question How to make weapons buyable off walls/money scripts

    Im making maps, and i really want to remake the feeling of black ops zombies, or WaW zombies. So, i was wondering how to make weapons able to purchase off the walls, like NO|DL Zombies. I want to know how to make it purchase-able only with money. Like, pay 500 for MP44. Please help!

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    At first, you need of course a money system.

    Then:
    - precache the xmodels of the weapons you want
    - place them on the wall. i noted the /viewpos infront of an wall and CALCED then the position with help of bullettrace()
    - add a trigger, which detects useButtonPressed() on the player
    - if so, give weapon, play sound and substract the money

  3. The Following User Says Thank You to kung foo man For This Useful Post:

    fatty@map (19th August 2012)

  4. #3
    ... connecting
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Can you give me perhaps a .map of it already done for me? And may i have the money system too? Thanks!

  5. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    My script doesnt depend on .map-files.

    You can have the script for 25 € or work on it for your own. I've worked several hours on it, so its a good price.

  6. #5
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts
    I was planning to make "kino der toten" map for zombies but there was no botzombies in K~clan so i thought i'd give it to the botzombie guys,if you want it for K~clan i can make for you it gonna be hard but whocares xD

    Merge Double-Post By Kung:

    I mean if you are planning to open a botzombie server

  7. The Following User Says Thank You to Killer.Pro For This Useful Post:

    kung foo man (19th August 2012)

  8. #6
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts
    I know how to do it but i'm kinda little busy right now....i'll put a tutorial on this in the tutorials menu by tomorrow
    and i'll try to make a .map file for you too

  9. The Following User Says Thank You to Killer.Pro For This Useful Post:

    kung foo man (5th September 2012)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •