Raised This Month: $214 Target: $400
 53% 

Avalanche's TS Roleplaying


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   The Specialists        Category:   Fun Stuff       
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-07-2005 , 01:08   Avalanche's TS Roleplaying
Reply With Quote #1

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)
Attached Files
File Type: sma Get Plugin or Get Source (avaroleplay.sma - 5557 views - 114.2 KB)
File Type: zip otherplugins.zip (5.1 KB, 3029 views)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 12-20-2009 at 18:05.
XxAvalanchexX is offline
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-07-2005 , 09:14  
Reply With Quote #2

i thought u discontinued this?
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-07-2005 , 10:42  
Reply With Quote #3

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.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
harbu
Senior Member
Join Date: Aug 2004
Location: Finland
Old 02-07-2005 , 13:13  
Reply With Quote #4

Quote:
Originally Posted by TotalNoobScripter
i thought u discontinued this?
Appearently not.. Well nice to see Avalanche back at the TSRP
harbu is offline
Send a message via MSN to harbu
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-07-2005 , 17:14  
Reply With Quote #5

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.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-08-2005 , 20:20  
Reply With Quote #6

Now I await approval as the first approved "The Specialists" mod on AMXx and let my topic sink down.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-09-2005 , 20:26  
Reply With Quote #7

Was the discontinured version approved?
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-09-2005 , 22:15  
Reply With Quote #8

Yes, it was approved by devicenull.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Kamikaze189
New Member
Join Date: Feb 2005
Old 02-10-2005 , 09:46  
Reply With Quote #9

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.
Kamikaze189 is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-10-2005 , 13:13  
Reply With Quote #10

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.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:14.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode