Removed: Model caching to reduce precast limit

Improved: coding style of readme true MD
This commit is contained in:
Deyan Dobromirov 2021-11-23 20:00:02 +02:00
parent dd0ab8457b
commit 3d281c6de5
2 changed files with 53 additions and 5 deletions

View File

@ -28,7 +28,6 @@ local function AddMediaPlayerModel( name, model, config)
AdminSpawnable = true,
DropToFloor = true,
Type = "anim",
Model = Model(model),
IconOverride = "materials/spawnicons/"..model:sub(1, -5)..".png",
Author = "Physics Dude",
KeyValues = { model = model },

View File

@ -1,2 +1,51 @@
# Media-Player-Extended-Props
see here: https://steamcommunity.com/sharedfiles/filedetails/?id=2546524440
### Description
This addon aims to add easy development and more custom screens
as a database extention for the base Garry's mod
media player addon.
### Target
Tired of the same basic sizes of Media Player?
Don't want to download tons of custom models? Then this addon is for you!
It uses props `YOU ALREADY HAVE` installed from vanilla game,
mounted Source games, and other workshop addons!
### Requirements:
1. This extension needs the [base addon][ref-repo-base] to work so you can subscribe to it [here][ref-base].
2. The media player currently works only on [`Chromium x64`][ref-def-sw] branch of the game.
You can follow the development in [the official discord thead][ref-gmod-dc].
### Installation
You can clone this repository in your addons folder or subscribe to it [here][ref-mpext].
### Troubleshooting
When you are new to the media player or the videos are not loading
![][ref-fix]
### Features:
* 100% LUA!
* All screens face toward you when spawned
* Works with other addons' props (see list below)
* More third-party props added over time
* A Microwave
* Pixel-perfect alignment (i spent a lot of time aligning each screen. please like it and share.)
### Supported Addons (not required):
* [Wiremod](https://steamcommunity.com/workshop/filedetails/?id=160250458)
* [SProps](https://steamcommunity.com/sharedfiles/filedetails/?id=173482196)
* [Steventechno's Electronics Pack](https://steamcommunity.com/sharedfiles/filedetails/?id=111517484)
* [RolePlay Props Extended](https://steamcommunity.com/sharedfiles/filedetails/?id=1246554779)
* [Fallout 4 Devices Pack](https://steamcommunity.com/sharedfiles/filedetails/?id=2376740529)
* [1950s Prop packs](https://steamcommunity.com/workshop/filedetails/?id=663134543)
* [Retro Television](https://steamcommunity.com/sharedfiles/filedetails/?id=2107060499)
* [HL:A Computer Prop pack](https://steamcommunity.com/sharedfiles/filedetails/?id=2651929452)
Suggest new addons or props to support in the comments!
Note: If you are missing some spawn icons for these addons, be sure to render the prop's icon first by simply visiting it in your prop spawnmenu.
[ref-base]: https://steamcommunity.com/sharedfiles/filedetails/?id=546392647
[ref-repo-base]: https://github.com/samuelmaddock/gm-mediaplayer
[ref-mpext]: https://steamcommunity.com/sharedfiles/filedetails/?id=2546524440
[ref-fix]: https://i.imgur.com/ay8wpNd.png
[ref-def-sw]: https://steamcommunity.com/linkfilter/?url=https://wiki.facepunch.com/gmod/Dev_Branch
[ref-gmod-dc]: https://steamcommunity.com/linkfilter/?url=https://discordapp.com/invite/gmod