PDA

View Full Version : Looting the Dead(Rick O`Shae) V3.0


kingpin
07-19-2004, 23:13
/* ********************************************* **********************************

Ported By KingPin( [email protected] ([email protected]) ). I take no responsibility
for this file in any way. Use at your own risk. No warranties of any kind.

********************************************* **********************************
This plugin lets you loot dead players for Money and weapons

Changelog:
V1.1 : Maintained by Rick O`Shae
V1.2 : Maintained by KingPin
Steam Weapons Added
V1.3 : Messages changed a bit
Health drain of 10 points if health is greater than 11 and they try to loot a teammate.
also radom amount of money taken away on that.
hud announcement given of how much money they lost for trying to loot teammate
V1.4
Loot help added just say /loot to get help.
added new code that informs user of what to say to get help with looting.
V1.5
You lose random money if you try to loot an already looted dead body.
/Loot changed to /loothelp to make a difference between the main cvar and this
V1.6
Now you also loose 10 health for every time you try to loot an already dead body.
Money lost for trying to loot teammates now goes to the team mate.
2 new items added to loot :
Long jump enabler module from Hlaf life
Health Kit from Half life.
V1.7
Made it prechache long jump and medkit since most clients dont have those
precached.
V1.8
well that settles it I need sleep... made it precache medkit sound.
V1.9 - 2.9
Private Betas with fantasy items, decided to
discontinue and return to original and release as 3.0
V3.0
[Addition] Scouts kit
[Addition] Acrobat kit
[Addition] Tank kit
[Addition] Advanced Snipers Kit
[Addition] Snipers Kit
[Addition] Stealth Kit
[Addiiton] Assault Kit
[Addition] Sack o' pistols
[Addition] Varoius other tweaks
[Fix] Fixed various names etc.
[update] Updated version so as to not conflict with auto lootmod.
[update] Loot.txt removed and put in a central location on the web
[update] updated text names
[Left out] humiliation (piss mod styled) for the looted) I think if you
want something like that then please use that mod.

********************************************* *******************************************

ToDO :
*****************

********************************************* *******************************************
Cvars :

say
/loothelp : Shows a help screen about Loot Mod")

Console
amx_loot 1|0
amx_lootteam 1|0

binds
loot : bind a key to loot in order to loot a corpse e.g. bind z loot type that in console
then hit z when near a moneybag sign to loot.
********************************************* ****************************************
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fun>
#include <cstrike>
This plugin lets you loot dead players for Money and weapons equipment and now different kits which give you multiple weapons.

Install :

The sprite goes in : sprites/loot_bag.spr so just put it in your sprites folder.
Put the .amxx file in your addons/amxmodx/plugins folder then add the following to your addons/amxmodx/configs/plugins.ini on a line by itself
"lootmod.amxx" (without qoutes)

Ported on request : http://forums.alliedmods.net/showthread.php?t=3992

kingpin
07-19-2004, 23:18
space reserved for screen shots.

CNZ
07-19-2004, 23:57
I think it crashed my server, I will look more into it a bit later.

Burnzy
07-19-2004, 23:57
nice. Ill test this now.

Burnzy
07-20-2004, 00:04
here are the cvars:

register_cvar("amx_loot","1")
register_cvar("amx_lootteam","1")

CNZ
07-20-2004, 00:05
#include <amxmod>
#include <amxmisc>
#include <engine>
#include <fun>

doesn't that have to amxmodx?

kingpin
07-20-2004, 00:09
god gotta stop padsting wrong stufff....

Burnzy
07-20-2004, 00:10
kingpin.... of all the porters i no... dont u remember to change to the amxmodx.inc ?

u forgot

---

Heres 2 pics from in game

kingpin
07-20-2004, 00:12
I uploaded wrong one... lol been up for too long.. gonna look at ur pics now.

Burnzy
07-20-2004, 00:12
in game: do u just run over the money bag? or what do u do... i cant pick them up...

CNZ
07-20-2004, 00:14
you have to bind a key to "loot" then hit that key, and it will loot. :)

Do you have to modify the weapons to include the new weapons? Or is that all included already?

kingpin
07-20-2004, 00:15
it will be included in new version, along with another thing I just hought of to do to the dead body... :twisted:

kingpin
07-20-2004, 00:24
V 1.2 : steam weapons added, trying to add support for a new mode where it just might blow up in your face.....

Burnzy
07-20-2004, 00:33
i love how when u get a shotgun it says "noob-cannon" lol

Arucard
07-20-2004, 15:09
Nice plugin will use it from now on thanx and gj :)

kingpin
07-20-2004, 15:18
heh thanx. I tried the random blow up thing and it was blowing up the body too much so am gonna try a different method.

Burnzy
07-20-2004, 15:18
may want to remove v1.0

Arucard
07-20-2004, 15:37
Done. Just tryin to help.

kingpin
07-20-2004, 15:38
thanx arucard:) for calling attention to that ,:up:

EDIT - I just noticed the sprite got replaced with V 1.2 of the sma, Fixed now.

Burnzy
07-20-2004, 15:42
what did u change in the new version?

Arucard
07-20-2004, 15:47
Works fine so far. :D

CNZ
07-20-2004, 22:28
no matter what, when I try to load this damn plugin it crashes my server.

kingpin
07-20-2004, 22:31
its running on mine right now if u want to see it working. also list your modules and plugins list please.

QwertyAccess
07-20-2004, 22:31
whats the error u get when the server crashes?

kingpin
07-20-2004, 22:33
lmao yeah where would we be without you QwertyAccess :) yes CNZ list the error please thanx. O btw did u put the sprite in the right folder?.

CNZ
07-20-2004, 22:36
on map change when i put it in,it crashes before I can catch it, how do I get the error? :(

kingpin
07-20-2004, 22:41
try looking in the console, if not possible did u make sure about the sprite.

QwertyAccess
07-20-2004, 22:44
if the sprite doesnt load for some reason the server will crash due to not having it make sure you have the sprite in the correct folder so that it loads.

CNZ
07-21-2004, 02:27
it was the damn sprite, I put it in the models folder instead of sprite!! dammit, thanks guys! :) my server guys love this plugin and the last man bets!! :P

Arucard
07-21-2004, 03:45
lol i did the same thing :oops:

Great plugin and I made it say custom stuff ;)

kingpin
07-21-2004, 09:18
lol yeah well as long as it works now so its all good.

kingpin
07-21-2004, 10:52
V1.3 : Messages changed a bit
Health drain of 10 points if health is greater than 11 and they try to loot a teammate.
also radom amount of money taken away on that.
hud announcement given of how much money they lost for trying to loot teammate

EDIT :

V1.4
Loot help added just say /loot to get help.
added new code that informs user of what to say to get help with looting.

EDIT 2
V1.5
You lose random money if you try to loot an already looted dead body.
/Loot changed to /loothelp to make a difference between the main cvar and this

CNZ
07-23-2004, 23:14
is there a way we can make a option at the beginning of the round or when someone enters the server to have the option of participating in loot? I got some people that hate loot and others that love it, so if they can opt out, they can't loot or be looted, but if they opt in, they can loot and be looted, but can't change it once in game, has to select it only once at the beginning of the round.

kingpin
07-23-2004, 23:17
hmm so this would have to rely on a vault file in that case... will see if i cant make that work.. im not good with write_file and read etc.. will try it out tomorow I guess.

CNZ
07-23-2004, 23:26
awesome! I look forward to it, btw great job thus far! appreciate it, they love / hate it on my server, lol!

kingpin
07-23-2004, 23:40
heh thanx I just thought so far that we need some detterents to ppl just standing around trying to loot bodies over and over so added the loose money idea in when u try to loot bodies if already looted etc. and for more fun try sv_lootteam 0 in amxx.cfg lol its funny if they try to loot a teammate they loose 10 health and random money.. will try the vault thing tomrow.

Arucard
07-24-2004, 02:24
great job man :)

kingpin
07-24-2004, 07:48
thanx :) post anything you want to see added.

BOOM
07-24-2004, 13:46
nice plugin is fun.
Okay some request.
Can looted be put into options to be like the roll the dice? giving a lightsaber,etc?

CNZ
07-24-2004, 14:50
yuck! get roll the dice for that, it takes away from the plugin! :(

kingpin
07-24-2004, 15:26
nice plugin is fun.
Okay some request.
Can looted be put into options to be like the roll the dice? giving a lightsaber,etc?

hmm nah bro maybe I can add more health but yeah LS cant be looted froma dead body so use roll the dice for that.

Arucard
07-24-2004, 16:10
Hmmm nothing seems needed to be added....

Works great :)

Specially that I customized it to when you try to loot your teammates it says

STOP TRYIN TO LOOT YOUR BOYS NIGGA!

lmao

If I have any ideas ill post em :D

kingpin
07-24-2004, 16:16
lol ok try the sv_lootteam 0 its a lot of fun to watch them loose health and money...

Arucard
07-25-2004, 00:29
lol I was using that b4. Mad fun rofl

BarMan
07-27-2004, 13:34
I have a suggestion :D

Can you add a cvar that, if on, will give a medpack to the looter randomly with the money and weapons?

Example:
CT kills T
CT loots T body
CT either gets 2 of 3 things (randomly)
- money+weapons
- money+health
- health+weapons

kingpin
07-27-2004, 14:56
ok cool so you want me to add a med pack not a prob. I will get on it today :) anythign else? thankyou for suggestion.

CNZ
07-27-2004, 20:52
opt in / out of loot?

kingpin
07-27-2004, 21:52
see thats alittle bigger than just adding something like health etc. Im still wondering how to go about it.. to make a text file? or to check for a cvar? well will look try out a alpha version I made with something like what you ask and if it works then will post it.

kingpin
07-28-2004, 08:51
V1.6
Now you also loose 10 health for every time you try to loot an already dead body.
Money lost for trying to loot teammates now goes to the team mate.
2 new items added to loot :
Long jump enabler module from Half life
Health Kit from Half life.

********************************************* *******************************************

ToDO :
Add Opt out from loot code.
Add a little more of a humiliation for the looted.

CNZ
07-28-2004, 11:19
is there a cvar to turn off the prizes if I wanted too? :P

kingpin
07-28-2004, 12:11
do you mean individual prizes?

CNZ
07-28-2004, 14:14
like healthpack and jumppack stuff, can I make it so they can't get those awards?

kingpin
07-28-2004, 14:16
ok will add cvar to it.

Arucard
07-28-2004, 18:01
Kingpin Dedicated to this plugin nice :D

Thanx for the new update bro :D

kingpin
07-28-2004, 19:45
heh yeah I like tihs pugin so gonna try adding new things to it :)

Arucard
07-28-2004, 23:07
Good I like plugins that keep getting updated and tested this one is awesome so keep it up :)

kingpin
07-28-2004, 23:23
keep the ideas coming guys this is good. I am almost ready to release the one with cvars for items etc. I want to rlease the on with optout etc. working on that

rick0shae
07-31-2004, 09:52
WOW I didnt know anyone ever used this plugin... GJ kingpin :)

kingpin
07-31-2004, 09:56
WOW I didnt know anyone ever used this plugin... GJ kingpin :)

man this is a great plugins and I really love it :) your more than welcome to take it over as the original author and if you want feel free to use the changes I made or discard if you please. Good plugin you made :)

kingpin
07-31-2004, 16:23
V1.7
Made it prechache long jump and medkit since most clients dont have those
precached.
V1.8
Made it precache medkit sound..... i forgot that last time....

Arucard
07-31-2004, 19:57
gj man :)

kingpin
07-31-2004, 20:00
well actually Im gonna halt there till I find out if Rick0Shae wants to take over or not. :)

Arucard
07-31-2004, 20:24
NOOO lol :D

kingpin
07-31-2004, 20:25
heh its his plugin :) but its cool hopefully he will keep some of the changes I made if he does decde to take over and will add more fun stuff.

CNZ
08-01-2004, 04:03
my whole server is still awaiting the opt out option! :P Some hate the plugin, some love it! :P haha, just reminding you. :lol:

kingpin
08-01-2004, 09:51
lol yeah I know Im trying to make the whole setinfo thing work but as I said now I want to fid out what rick0shae wants to do before I do anything else.

CNZ
08-10-2004, 02:16
is there a way to make so someone can't loot a shield? They crash my server. :(

kingpin
08-10-2004, 09:35
mm ok I will add a define whihc will let you disable a whole set of things i.e. shield , healthkit, longjump, and some other things I have added to 2.0

rick0shae
08-15-2004, 22:49
OK , just installed Steam , look like im gona hafta get back into the game again.... Is there a server that runs the new-and-improved loot plugin :)

kingpin
08-15-2004, 22:51
lol well mine does all the time : 65.125.235.26:27015 along with quiet a few other plugins... lol. Still waiting your decision whther you want to take over or not :)

FroXeN
08-16-2004, 01:01
cool ill use this

rick0shae
08-16-2004, 18:09
Go ahead and keep improving it, i have to re-learn the whole coding system anyways. Keep up the good work :)

kingpin
08-16-2004, 18:45
kk thanx :) I suppose I can complete the optout solution in that case.

Arucard
08-17-2004, 01:19
WEEEE Kingpin what updates you might have up yo sleeve? hehe

kingpin
08-17-2004, 10:38
Spoiler Alert

lol new weapon packs :

Scouts pack (light weaponary = speed)
Acrobat pack (misc weaponary + longjumps)
Fortified pack (Full Armor + Heavy weaponary)
some more packs


Opt In or Out of Looting/being looted via setinfo.

a coupla other enhancements.


Any other suggestions welcome.

FroXeN
08-26-2004, 23:36
ok good ideas.


make loot +usage or the "e" instead of bind key loot because its easyer.
TaL's Pack :D AutoSnipy Terrorist + 57 pistol
Medic Pack random life 125-250 *removes armor
Armor Pack ******Same as medic
/loothelp changed to /loot for simpler uses.
Turbo Pack For nice running but pistol use only..
DisablePlugin.cfg Which would disable it on a map list that could be added i guess such as cs_assault <-- removes loot for that map only.
Cs_deagle5 you must loot at last secound.. Fix it so it gives you the item next round i guess.
CVAR FOR THIS loot restricted weapons on or off or as in loot_restricteditems on or off so restriced items can come into play on looting
Loot mole :D you know what this is. Makes you on other team for starting round


and these are liitle that are coming to my mide for this great plugin..
hope to see some of them later :D

btw, Please Change the Name ..

amxmodmenu,more,plase plugins, its named loot change to KP loot or capital L ..

kingpin
08-27-2004, 01:08
mm as I stated earlier I dont plan on adding anything not found ingame unless I get a majority support for it. this is a plugin that provides things inside the game only. but maybe I will make a seperate version that adds those things.so that negates most things, and no im not adding your name pack. /loot was the original cvar but was changed to eep it seperate from what users have to bind so they dont confuse it. I will think about changing that back and also about the pressing +use key to loot. for enabling loot on certain maps why not use map_cvars plugin it works great and has many more uses.

FroXeN
08-27-2004, 03:41
i didnt know about that might i get a link..

hehe my pack would be awsume.. But what about the restriced one? that seems like it would be somthing good now ,doesnt it?

FroXeN
08-29-2004, 18:39
also /loot would be cool if it auto looted because some ppl are idoits and didnt know how to bind f loot

and are you going to add these in ever?
* Cs_deagle5 you must loot at last secound.. Fix it so it gives you the item next round i guess.
* CVAR FOR THIS loot restricted weapons on or off or as in loot_restricteditems on or off so restriced items can come into play on looting
* Loot mole Very Happy you know what this is. Makes you on other team for starting round

FroXeN
11-07-2004, 00:46
does this work with amxx 0.20 ??

kingpin
11-07-2004, 06:04
yes.

FroXeN
11-07-2004, 15:18
ok because its working

kingpin
11-07-2004, 15:37
yes I know I use it on my server, the new unreleased version.

Geesu
12-13-2005, 10:22
Post sma file...

Author PM me to have this plugin approved

kingpin
07-26-2006, 14:09
Plugin Updated to V 3.0 changelog in first post.

burc ugur
02-08-2009, 06:38
Nice Plugin very very Good !