AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   choosemap plugin (https://forums.alliedmods.net/showthread.php?t=332123)

LondoN 04-24-2021 08:49

choosemap plugin
 
https://i.imgur.com/7jacpoM.png

know somebody how can i do somethink like that?
(code examples)

Shadows Adi 04-24-2021 09:32

Re: choosemap plugin
 
First you need to fade screen to black during voting
Second you need to create an entity which pointing to another entity
Third, just locate the entity's coordinates when the mouse button is pressed
Fourth, you can use a model to store map's models into and apply each one onto player's view.

Btw, it's scripting help section not "do it for me section"

fysiks 04-24-2021 14:30

Re: choosemap plugin
 
You wouldn't be able to have that many models since there is a limit on the number of models that can be precached. Some of the maps I play have so many models that I have to even disable even the few plugins that I have precaching models in the first place.

The only realistic way that I could conceive of this being done is via the MOTD where you have a website/page that shows the images (something I have already). Your webserver would then need to be able to interact with the game server (something my web host doesn't allow).

Shadows Adi 04-24-2021 14:59

Re: choosemap plugin
 
Quote:

Originally Posted by fysiks (Post 2745008)
You wouldn't be able to have that many models since there is a limit on the number of models that can be precached. Some of the maps I play have so many models that I have to even disable even the few plugins that I have precaching models in the first place.

The only realistic way that I could conceive of this being done is via the MOTD where you have a website/page that shows the images (something I have already). Your webserver would then need to be able to interact with the game server (something my web host doesn't allow).

You can do it with only a single model by using submodels, because it's an entity not a viewmodel.


All times are GMT -4. The time now is 20:27.

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