Print Version

View original submission

Models in map 1.2

Posted by: Diablo Jan 10 2020, 02:16 AM

This is a plugin that allows you to place in map models for all rounds and for every map. And ofcourse you can move them around aswell. It also allows to make props to rotate, set prop solid/not solid.

Over here are two examples of the plugin

There are two config files, but mainly you just need to use one - models.cfg (sourcemod/configs/models/models.cfg)

Every model that you add, can only be once placed in one map. If you want to place two same models in one map, then you need to create two same models with different name.

Example

CODE
"models"
{
    "Big banner"
    {
        "model_path"        "models/props/banner/mybanner.mdl"
        "solid"            "0"
        "rotate"            "0"
    }
    
    "Big banner 2"
    {
        "model_path"        "models/props/banner/mybanner.mdl"
        "solid"            "0"
        "rotate"            "1"
        "rotate_speed"        "20"
    }
}


!props - requires d flag(BAN)
It will open up menu, which will allow you to add models, that you have added in models.cfg.

You can move the block with E (When move models is turned on)
You can rotate block by 10° with R (When your holding the block)
You can push/pull block with Mouse 1, Mouse 2 (When your holding the block)

btw, after placing not solid block in the map, it will become non solid after round restart. 3.gif