AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] TFRP Mod (Update v1.3.0 7/1/2020) (https://forums.alliedmods.net/showthread.php?t=325009)

Thod_ 06-04-2020 19:36

[TF2] TFRP Mod (Update v1.3.0 7/1/2020)
 
2 Attachment(s)
This is my first post on here, please tell me if I did something wrong!
What is TFRP?

Team Fortress Roleplay (TFRP) is a modifcation for TF2 that aims to create an experience similar to HL2 Deathmatch's RP mod.
TFRP is inspired by HL2 : DM RP and a bit from DarkRP on Garry's Mod
I do understand how insane this sounds.

Changelog
v1.0 - Initial Release

v1.1
  • Changed messages for Sandvich making
  • Changed messages for Australium mining
  • All ents are stored in one array for owners
  • New array for ent's item type
  • Fixed bug related to using items
  • Shortened and improved lots of code related to money making systems

v1.2.0
  • Fully integrated SQL Support (Credits to The Illusion Squid)
  • Small overhaul to inventory (Also credited to The Illusion Squid)
  • Added /rotate - Horizontally rotate entities you own
  • Cleaned up Australium Mining
  • Cleaned up Sandvich Making
  • Added more weapons to shop
  • Added furniture

I took a 2 day break from the mod to work on other projects but I'm back

v1.2.1
  • Fixed new players not recieving start money
  • Fixed weapons having the wrong category
  • Fixed Australium Packages reaching max after being picked up
  • Fixed error related to doors owned by disconnected players
  • Revokekeys is now accessible
  • Messages now appear on givekeys errors
  • Message now appears when a government door is added

v1.2.2
All changes by The Illusion Squid
  • All (or at least most) config variables have been moved to cvars stored it enum.
  • Plugin now creates and executes /cfg/sourcemod/tfrp.cfg
  • The plugin now also loads players that are in the server upon SQL connected. (Meaning you can now actually reload the plugin without it being a huge problem if there's people on.(Still rather you'd restart the full server though.))

v1.3.0
  • *Added Bonk Mixer (Job)
  • *Added Bonk Mixer (Ent)
  • *Added Bonk Canner
  • *Added Bonk! Buyer
  • *Fixed weapons not getting removed from inventory after use
  • *Sell price of Australium Packs increased
  • *Price of Rocket Launcher and Flamethrower increased
  • *Functional radio
  • *Fixed multiple Mayors glitch
  • *Added help menu
  • *Moved welcome message to chat instead of HUD
  • *Clients connecting auto download TFRP models & materials
  • *Fixed bank robberies not stopping after robber dies
  • *Added time between bank robberies
  • *Fixed bank HUD
  • *Players' jobs can be seen when looking at them
  • *Players can now see enemies' healths and names (RED players can see BLU player's health and vise versa)
  • *All entities have a max now, determined in the shop cfg
  • *Officers are rewarded with cash for arresting a player that has a warrant
  • *Fixed setting warrants on arrested players
  • *Moved Warrant HUD to chat
Ingredients for Bonk! Atomic Punch:
Water, Sugar, Caesium

The models are my first modeling job so go easy, but I'll improve them in the future as I get better at Blender

v1.4.0
All changes by The Illusion Squid
  • SQL fixed to have no Duplicate rows inside the inventory table.
  • Inventory fixed for the new SQL system and made so it stays open if you have more of the item.
  • Shop fixed for the new SQL system and also made easier to buy/sell multiple of 1 item.
  • Wearable weapons like backpacks, boots, shields, etc. are now also removed on spawn.
  • The targeting for admin commands is now working the same as any other sourcemod command.

Commands

General Commands:
  • sm_jobs Opens Jobs menu
  • sm_shop Opens Shop
  • sm_items Opens inventory
  • sm_givemoney Give money to the player you're looking at
  • sm_pickup Picks up dropped/deployed entity you're looking at
  • sm_rotate Horizontally rotate entities you own

Door Commands:
  • sm_rphelp Help menu
  • sm_buydoor Buys the door you're looking at
  • sm_lock Locks the door you're looking at
  • sm_selldoor Sells the door you're looking at
  • sm_givekeys Opens player list to select who to give keys to the door you're looking at
  • sm_radiochannel Changes channel of radio you're looking at

Police Commands:
  • sm_pradio Sends message to all police
  • sm_arrest Arrest player you're looking at

Bank Robbing Commands:
  • sm_robbank Initiates bank robbery (must be looking at bank)

Hitman Commands:
  • sm_placehit Opens player list to select who you want to set a hit on (Must be looking at a Hitman)

Lottery Commands:
  • sm_setlottery Initiates a lottery
  • sm_joinlottery Join current lottery

Law Commands:
  • sm_addlaw Adds a law
  • sm_deletelaw Deletes a law
  • sm_laws Displays all laws

Warrant Commands
  • sm_setwarrant Opens menu to set who to put a warrant on
  • sm_ram Unlocks door you're looking at (Owner must have a warrant)

General Admin Commands:
  • sm_setcash Sets cash of specified player
  • sm_reloadconfig Reloads tfrp_config

Admin Teleport Commands:
  • sm_bring Teleports specified player to you
  • sm_goto Teleports you to specified player
Admin Door Commands:
  • sm_deletebuyabledoor Disables the buying of the door you're looking at
  • sm_addbuyabledoor Restores buying of door you're looking at
Admin Police Commands:
  • sm_setjail Sets jail at your location
  • sm_createbankvault Creates a bank vault your location
  • sm_addgovdoor Only allows government officals to use the door you're looking at
  • sm_deletegovdoor Allow anyone to buy and use the door you're looking at (Reverts changes of addgovdoor)

Want to modify TFRP? Take a look at tfrp.inc
You can make your own addons using the functions in there.

Installation

Prerequisites:
Before installing TFRP, you will need the following plugins:


Installation and configuration of TFRP can be found in the readme.txt

Maps
Link to the map shown in screenshots: https://www.dropbox.com/s/vwnn7u99gc...1_fix.bsp?dl=1
*I updated the map a little bit, I just fixed an areaportal and some displacements

If you want to make your own map for the mod, make sure all doors have "Touch Opens" flagged and are func_door_rotating , as these work the best with TF2

Images
https://cdn.discordapp.com/attachmen...04174247_1.jpg
https://cdn.discordapp.com/attachmen...04174355_1.jpg
https://cdn.discordapp.com/attachmen...04174448_1.jpg

Want to view/edit/make fun of the source code? Check out the
Github Repository

The Illusion Squid 06-05-2020 06:39

Re: [TF2] TFRP Mod
 
First of all really interesting plugin. However I can't seem to find any maps for it. Where can I find them?

I'll be checking it out.

Thod_ 06-05-2020 13:56

Re: [TF2] TFRP Mod
 
Quote:

Originally Posted by The Illusion Squid (Post 2704091)
First of all really interesting plugin. However I can't seem to find any maps for it. Where can I find them?

I'll be checking it out.

Ooh, I forgot to put a download for the map seen in the screenshots. I'll be doing that rn

EDIT: You can find the map link under the Maps section

The Illusion Squid 06-05-2020 14:22

Re: [TF2] TFRP Mod
 
Thanks for the map, now I can properly have a look at the plugin. Looking at the sourcecode though, I can see there is a lot to be improved upon. May I suggest you create a GitHub repo or something simmular so contribution is easier.

Thod_ 06-08-2020 23:21

Re: [TF2] TFRP Mod
 
Updated to v1.1 and put a link to the github

Thod_ 06-14-2020 18:28

Re: [TF2] TFRP Mod
 
Updated to v1.2!

Thod_ 06-15-2020 21:38

Re: [TF2] TFRP Mod
 
Updated to v1.2.1!
Fixed a bunch of bugs.

Thod_ 07-01-2020 23:17

Re: [TF2] TFRP Mod (Update v1.3.0 7/1/2020)
 
v1.3 released - Big update!
Finally got around to adding the radio system

Thod_ 08-19-2020 15:22

Re: [TF2] TFRP Mod (Update v1.3.0 7/1/2020)
 
v1.4.0 released - Thank you Illusion Squid!
Also, if you want to play around with the plugin, you can join this server: 66.42.119.27:27015


All times are GMT -4. The time now is 10:23.

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