AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Avalanche's TS Roleplaying (https://forums.alliedmods.net/showthread.php?t=10055)

XxAvalanchexX 02-07-2005 01:08

Avalanche's TS Roleplaying
 
2 Attachment(s)
TO GET THIS TO COMPILE, ADD "include <tsfun>" UNDERNEATH OF THE LINE "include <tsx>"

Overview:
This is a roleplaying plugin for The Specialists. It is designed specifically for the map mecklenburg_b5 (NOT B8V6!!!). It will work with other maps, but the coordinates for Barry (the gun shop owner), the ATMs, cash registers, bank vault, and possibly many more things will be off. However, you can edit the coordinates yourself in the SMA file. Along with this plugin goes a door locking plugin and a death blocker/fade to block/force respawn plugin.

I've had this most recent version sitting on my PC for a while and just wanted to get it out there. I wanted to add paychecks but didn't.

Commands:
-- Employment, money, ATMs, and robbery
- amx_employstatus
- amx_employ <user> <$/hr> <title>
- amx_unemploy <user>
- amx_givemoney <user> <$> <wallet|bank>
- amx_takemoney <user> <$> <wallet|bank>
- say /givemoney <amount|all> (while looking at user)
- say /dropmoney <amount|all>
- say /deposit <amount|all> (while at ATM)
- say /withdraw <amount|all> (while at ATM)
- say /rob (must be near something robbable)

-- Law-enforcement commands
- say /cuff (while looking at user)
- say /uncuff (while looking at user--not needed, /cuff toggles)
- say /restrain (while looking at user)
- say /unrestrain (while looking at user--not needed, /restrain toggles)
- say /jail <cell> (while looking at user)*

* The /jail command must be activated with the avarp_jailcommand cvar.

-- Gun and gun license purchasing
- say /buy (must be at the gun shop)
- say /licenses

-- Door (Un)locker (seperate plugin)
- amx_givedoorkey <user> (while looking at door)
- amx_takedoorkey <user> (while looking at door)
- say /lockdoor (while looking at door)
- say /unlockdoor (while looking at door)
- say /usedoor (while looking at door or door's button)
- say /doorkeys (while looking at door, admins only)

-- DeathBlockage (seperate plugin)
- amx_deathblock <0|1>
- amx_fadetoblack <0|1>
- amx_forcerespawn <0|1>

All console commands require ADMIN_LEVEL_A (custom level a, flag m), as well as say /doorkeys.

CVars:
Most everything that you would want to customize is now fully customizable without having to edit the file. Just put amx_avarpcvars in console to see a list of all the cvars, their current values, and what they do. Woohoo.

Requirements:
AMXx 1.0, the TSX module, the Fun module (included with AMXx), the Engine module (also included with AMXx), and the FakeMeta module (included with AMXx as well) are required to use this plugin. Even though Engine and FakeMeta are included with AMXx, you must uncomment them in your modules.ini.

This does not require MySQL. It stores all of its data in the Vault, and it now has auto-pruning.

The models in models.zip go in the ts/models folder of your server.

Troubleshooting:
If you get a host precache error upon creating your server with this plugin (which you most likely will), create the server on a map such as ts_lobby. After it loads, switch to mecklenburg_b5.

Make sure that have you the Fun, Engine, and FakeMeta modules enabled or you will get bad loads.

Changes:
Version 0.77.3:
- Fixed robbing AGAIN

Version 0.77.2:
- Robbing now works (was broken in 0.77)
- Can't get infinite money from a glitch that I will not mention
- Fixed ammo buying stuff

Version 0.77:
- All code is indented nicely
- Added auto-pruning
- Improved saving a little bit
- Made a ton of things cvars
- Uses show_hudmessage instead of amx_tsay for some messages
- Fixed some bugs with ATM positions
- Fixed all other bugs

Plans:
- amx_placegunshop
- amx_addcell
- amx_removecell
- amx_showcells
- amx_addatm
- amx_removeatm
- amx_showatms
- Automatic correction for b8v6

Downloads:

(models are no longer available, sorry)

TotalNoobScripter 02-07-2005 09:14

i thought u discontinued this?

Twilight Suzuka 02-07-2005 10:42

Yo avalanche, since your restarting this, want my inv mod code, and the rest of the stuff I worked on putting into TSXMOD?

I really hate working on RP plugins now a days, and want to get into the HL2 RP scheme. I figure you can do more with my code.

harbu 02-07-2005 13:13

Quote:

Originally Posted by TotalNoobScripter
i thought u discontinued this?

Appearently not.. Well nice to see Avalanche back at the TSRP

XxAvalanchexX 02-07-2005 17:14

It was discontinued. People kept asking and asking for it and telling me things about it, I finally decided to put this new version out there for those faithful users of it.

XxAvalanchexX 02-08-2005 20:20

Now I await approval as the first approved "The Specialists" mod on AMXx and let my topic sink down.

TotalNoobScripter 02-09-2005 20:26

Was the discontinured version approved?

XxAvalanchexX 02-09-2005 22:15

Yes, it was approved by devicenull.

Kamikaze189 02-10-2005 09:46

The only problem I have with these rp mods is the inability to set the coordinates in game, or for each map.

(Mecklenburg doesn't work, and even if it did, I don't want to play just one map!)

The rp mod that adds the ability to add the bank and barry etc in game or through .cfg files will be the ultimate one. 8)

XxAvalanchexX 02-10-2005 13:13

I was actually thinking of having a command where you can stand in a spot and use "amx_setgunshopowner", for example, and he will be moved to your location. But I won't get around to doing anything like that for a while, as I'm working on another plugin at the moment.


All times are GMT -4. The time now is 05:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.