View Single Post
Author Message
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 08-28-2015 , 03:49   [CSGO] BlockBuilder v1.0.46 (2015-11-05)
Reply With Quote #1

The old thread can be found here.

Description
This mod gives you the ability to spawn a variety of blocks around a map and the ability to save/load them in the same exact location on new round or map.

Screenahot #1 | Screenahot #2 (By Oshizu)

Server running this plugin: hns.caosk.com:27016

Install
I've added a ZIP with all files in the right locations - Just drag and drop

Add this to your serverconfig
Quote:
// Prevent players from being able to pick up guns/drop guns (they'll have full ammo if you drop them and pick it up)
mp_death_drop_grenade "0"
mp_death_drop_gun "0"
// Setting the old ladder movement
sv_ladder_scale_speed "1"
Be sure to NOT run any skin-modification plugins like Weapon Paints with this plugin. Altering the weapon paints will give the players full ammo.

Features
- Say in chat !bb to open the blockbuilder menu
- To grab a block you must have spawned the block first and then by aiming at the block press the number 2 on the menu to grab and place the block.
- Create a block by aiming at the floor or a wall.
- Convert block you are aiming at to the selected block type.
- Delete block you are aiming at.
- Rotate the block you are aiming at.
- Optional noclip and godmode to make creating blocks easier.
- Snapping option so when creating and moving blocks, they snap into place next to, above or below other nearby blocks.
- Snapping gap option to leave a gap between blocks when they snap together.
- Save all blocks to file using mapname, will load on map load. Save folder: \sourcemod\data\
- Look at a block to see what type of block it is. (currently disabled, but can be enabled in source code.)
- Transparency options (changing the visibility of the block.)
-Server Ops can edit the 'blockbuilder.blocks.txt' file to specify alternative block models (path: \sourcemod\configs\)

Commands
- !bb / sm_bb (Activates Blockbuilder Menu!)
- !blocksnap (Enables/Disables Block Snapping... Shortcut to option in bb menu)
- !snapgrid <value> / sm_snapgrid (Sets distance between each block in snapgrid... Shortcut and alternate solution to values in BB Menu)
- !unitmover (Enables advanced block moving menu... Allows you manually set rotation/position... Aim at block and type !unitmover)
CVAR: sm_blockbuilder_prefix (Changes Blockbuilder messages prefix. Default: [BlockBuilder]
CVAR: sm_blockbuilder_random_cooldown (Changes cooldown between uses of Random block for each player. Default: 60 seconds a la 60
- +grab - Bindable command that grabs block
- -grab - Bindable command that releases block
- tgrab - Bindable command that grabs/releases block depending on it's state
- sm_bsave - Saves all blocks

If you use blockbuilder_give you can also use these commands:
sm_givebb <player> - Gives the player accessflag "o" temporary
sm_removebb <player> - Removes the temp accessflag from a player

Changelog
Quote:
1.046:
- Fixed issue where you can die from touching lower corners of a deathblock
- Fixed issue where you died/took damage from damage/death blocks while having godmode
- Fixed issue where heal/damage only worked for 1 player if multiple players stood on the block
- Fixed path to teleporters
- Fixed issue where values for large/small/pole blocks for delayed, trampoline, speedboost, etc did not save.
- Fixed issue where nofalldamage did not work for trampoline and speedboost
1.045:
- Included Models for pole, small and large in zip file
- Fixed issues with some blocks that did not work for the new sizes (heal, damage, fire, etc...)
1.044:
- Added blocksizes (Pole, Small, Large, Normal)
- Removed falldamage from Trampoline and Speedboost
- Fixed some minor issues
1.043:
- Fixed issue with +grab not working
- Added command for direct save-all-blocks (sm_bsave)
- Added external autosave plugin function
- Added console output messages when saving blocks
- Fixed stealth bug where players had infinite stealth
- Plugin now removes all breakables
- Replaced smoke blocks with decoy blocks since they are the frostnades in csgo
- Fixed so that you only receive 1 bullet from weapon blocks
- Nerfed AWP damage
- Changed deathblocks to only work from the top (Still needs some work)
- Minor changes in block menus
- Added external plugin for giving temp access to blockmaker (not save-all/delete-all)
- Changed the accessflag needed to the blockmaker to "O"
- Added needed accessflag "P" to use remove-all or save-all functions
Credits
- Credits to Necro for the original 1.6 version.

- Special thanks to Zephyrus for creating a css/csgo version through private request.

- Props to Techknow for creating/helping me with models.

- Much appreciation to Oshizu for helping with major code/bug fixes and additions. Aswell as being main programmer of the CS:GO Blockmaker project/plugin...

- Credits to the people who made the images I used for the models. (Google is your best friend )
Also thanks Arclight and others who helped and tested.

A lot of credits goes to the people who helped with this (1.043 version) even though I don't remember all the names.

Blocktypes
- Platform (A platform you can stand on)
- Bunnyhop (A platform that disappears for a short period of time after touching it)
- Damage (Hurts you if you stand on top of it)
- Healer (Heals you if you stand on top of it)
- No Fall Damage (You don't take any damage if you fall onto it)
- Ice (You slide around like you're on ice)
- Trampoline (Throws you up in the air)
- Speed Boost (Throws you forwards in the direction you're looking)
- Invincibility (Player becomes invincible for a set amount of time)(timer can be set in \sourcemod\configs\blockbuilder.blocks.txt)
- Stealth (Player becomes invisible for a set amount of time)(timer can be set in \sourcemod\configs\blockbuilder.blocks.txt)
- Death (Player dies instantly)
- Nuke (Destroys all players on the other team unless a player has invincibility)
- Camouflage (Player looks like the other team for a set amount of time)(timer can be set in \sourcemod\configs\blockbuilder.blocks.txt)
- Low Gravity (Jumping from this block you get low gravity for 3s)
- Fire (Another damage block)
- Slap (You get slapped!)
- Random (Random between Invincibility, Stealth, Camouflage, Boots Of Speed, a slap, deagle, grenades or death!)
- Honey (Player moves slowly like they're stuck in honey)
- CT Barrier (Only Terrorists can pass through these blocks, pushes back Counter-Terrorists)
- T Barrier (Only Counter-Terrorists can pass through these blocks, pushes back Terrorists)
- Boots Of Speed (Player runs fast for a set amount of time)(timer can be set in \sourcemod\configs\blockbuilder.blocks.txt)
- Glass (Same as platform but looks like a transparent pane of glass)
- Bunnyhop - No slow down (Same as bunnyhop block but you don't slow down after landing)(timer can be set in \sourcemod\configs\blockbuilder.blocks.txt)
- Delayed - same as the bunnyhop block but longer disappearance (timer can be set in \sourcemod\configs\blockbuilder.blocks.txt)
- Awp (Only terrorist can gain a Awp, has only 1 bullet, 1 Awp per round)
- Deagle (Only terrorist can gain a Deagle, has only 1 bullet, 1 Deagle per round)

Recommended Plugins
Hide n' Seek (Modified Version To Work With BlockBuilder)
[CS:GO] Movement Unlocker (Fixes duckhoping and bunnyhopping speed issues and such.)
[CS:GO] - ⋯ Ammo management (set the amount of bullets guns should have)

Note
want to create your own blockmodels? - look here!

If you can't compile the files make sure you've got the smlib inc in your scripting/includes folder
If you still can't compile try using this tool.
Attached Files
File Type: sp Get Plugin or Get Source (block_autosave.sp - 1712 views - 1.4 KB)
File Type: sp Get Plugin or Get Source (blockbuilder_give.sp - 878 views - 3.7 KB)
File Type: sp Get Plugin or Get Source (blockbuilder_public.sp - 848 views - 154.4 KB)
File Type: zip BlockBuilder.zip (4.02 MB, 2648 views)
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 01-06-2016 at 07:43.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii