Welcome to Tactical Gamer

+ Reply to Thread
Results 1 to 11 of 11
Discussion: Counter-Strike Source / Counter-Strike - General Discussion - Picking up medkits/bandages - I don't remember who suggested it (it was a couple days ago), but someone made
  1. #1
    qpx
    qpx is offline

    qpx's Avatar

    Join Date
    Aug 2009
    Posts
    1

    Picking up medkits/bandages

    I don't remember who suggested it (it was a couple days ago), but someone made a good point by saying that we should be able to pick up unused bandages and medkits from dead bodies. I'm not sure if that's possible in the mod, but it would definitely be realistic.
    -qpx

  2.  
  3. #2
    1er
    1er is offline

    1er's Avatar

    Join Date
    Aug 2007
    Location
    Northern Ireland, UK
    Age
    22
    Posts
    2,083
    Blog Entries
    1

    Re: Picking up medkits/bandages

    I believe it would be possible if when someone dies a check is executed along the lines of:

    IF has medkit > distribute to random teammate
    Stay Awesome!



  4.  
  5. #3

    ednos's Avatar

    Join Date
    Dec 2006
    Location
    Massachusetts
    Posts
    4,242

    Re: Picking up medkits/bandages

    I've been trying to figure out a way to "drop" medkits, but the only solution I've found thus far is incredibly cumbersome--cumbersome to the point of lagging the server due to the additional logic needed.
    The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. ~ Bertrand Russell
    I have a tendency to key out three or four things and then let them battle for supremacy while I key, so there's a lot of backspacing as potential statements are slaughtered and eaten by the victors. ~ Magna Centipede
    Feel free to quote me. ~ Skylark

  6.  

     
  7. #4



    Vulcan's Avatar

    Join Date
    Jan 2005
    Location
    Manhattan, New York, United States
    Age
    33
    Posts
    10,036

    Re: Picking up medkits/bandages

    Yep this would be a huge deal to implement so i wouldn't expect it anytime soon if at all.

  8.  
  9. #5

    Krag's Avatar

    Join Date
    Sep 2007
    Location
    Burbank, Ca
    Posts
    595

    Re: Picking up medkits/bandages

    I may be able to help you guys with this. Or I should say try.
    So is the scripting language LUA.
    Last edited by Krag; 09-17-2009 at 04:45 AM.



  10.  
  11. #6



    Vulcan's Avatar

    Join Date
    Jan 2005
    Location
    Manhattan, New York, United States
    Age
    33
    Posts
    10,036

    Re: Picking up medkits/bandages

    Join the dev group if you'd like to assist with scripting Krag. It's under your userCP in group memberships called Counter-Strike Development group.

  12.  

     
  13. #7

    ednos's Avatar

    Join Date
    Dec 2006
    Location
    Massachusetts
    Posts
    4,242

    Re: Picking up medkits/bandages

    No, you can either use the proprietary EventScripts or you can use Python. Otherwise you're looking at complex DLL hooks that will probably conflict with both Mani and ES.
    The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. ~ Bertrand Russell
    I have a tendency to key out three or four things and then let them battle for supremacy while I key, so there's a lot of backspacing as potential statements are slaughtered and eaten by the victors. ~ Magna Centipede
    Feel free to quote me. ~ Skylark

  14.  
  15. #8

    Krag's Avatar

    Join Date
    Sep 2007
    Location
    Burbank, Ca
    Posts
    595

    Re: Picking up medkits/bandages

    endos can you send me a sample of a script.



  16.  
  17. #9

    Skylark's Avatar

    Join Date
    May 2003
    Location
    Kansas City area (U.S.A.)
    Age
    40
    Posts
    1,807

    Re: Picking up medkits/bandages

    Basically, have to have some sort of marker on ground, then if you run over it... sounds like a LOT more programming than what we have now... If you all can come up with a way, great. But don't kill yourselves trying. You do enough as it is.
    "Sympathy means a lot, coming from Kulmar. I didn't think it was possible.
    Good luck getting rid of your disease. If you're infected, though, stay away--I can't afford to be a zombie right now.
    " Ednos




  18.  

     
  19. #10

    ednos's Avatar

    Join Date
    Dec 2006
    Location
    Massachusetts
    Posts
    4,242

    Re: Picking up medkits/bandages

    Attached are two files:
    • es_syphon.txt is an example of the proprietary ES language; I recommend against it. The script "siphons" life from the victim of a knife attack to the perpetrator.
    • mugmod.py is an example of ES with Python. The script gives a portion of the knife victim's money to the attacking player. (I had to add a .txt extension to get the TG forum to accept the file. Just take it off.)

    Both of these are examples that come with the latest release of ES.
    Attached Files Attached Files
    The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. ~ Bertrand Russell
    I have a tendency to key out three or four things and then let them battle for supremacy while I key, so there's a lot of backspacing as potential statements are slaughtered and eaten by the victors. ~ Magna Centipede
    Feel free to quote me. ~ Skylark

  20.  
  21. #11

    Krag's Avatar

    Join Date
    Sep 2007
    Location
    Burbank, Ca
    Posts
    595

    Re: Picking up medkits/bandages

    cool i will take a look do some homework and hopefully help



  22.  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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


  
 

Back to top