AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Automatic Map Generator/Remover v1.2 (https://forums.alliedmods.net/showthread.php?t=17240)

Xanimos 08-28-2005 02:36

Automatic Map Generator/Remover v1.2
 
1 Attachment(s)
Quote:

Originally Posted by $uicid3
--------------------
Installation:
Compile locally so you can configure.

Use the line starting with #define to deside wether or not
to list basic maps. Such as dust, dust2, etc...

Reason for this:
On windows the map files dont have to be in directory.
However if your running linux make sure that it is set to 0 or
else the basic maps will be double listed.
--------------------
Usage:
Load plugin. On map change all maps will be put into
maps.ini and mapcycle.txt.
This will remove any old maps and/or put new maps in.
--------------------
Credit:
pdoubleopdawg / DahVid - For Idea
Cheap Suit - For basic code
--------------------
Cvars:
amx_generate_maps
0 - Don't
1 - maps.ini
2 - maps.ini + mapcycle.txt
3 - mapcycle.txt
--------------------
Changelog:
1.2 - Changed cvar amx_generate_maps
1.1 - Fixed bug
1.0 - Initial release
-------------------
Enjoy!


pdoubleopdawg 08-28-2005 03:18

1 Attachment(s)
Thanks. Alot of custom maps and I'm too lazy to edit maps.ini! :)

Heres a version that does Modules, Plugins, and Maps.
I'll take it away if you want. I just didn't want seperate plugin so I combined them.

All credit to Cheap Suit + Suicid3

Sir Apocalypse 08-28-2005 05:20

I think if u want just generate one map u should do a cvar called: amx_generate_one etc.

Xanimos 08-28-2005 11:41

@pdoubleopdawg: You shouldnt combine both plugins. They dont have anything in common besides that they generate files. People can get both if they want both or not.

@Conando: No can do. That wouldnt make sense with the code.

Jordan 08-28-2005 13:56

I can't seem to use the CVAR on my server.. any ideas? Also now it says I have no maps in my map menu... when I go to a new server it doesn't add it to my maps.ini or my mapcycle.txt - when the vote comes up for new maps it only selects four now.

Xanimos 08-28-2005 20:50

Quote:

when I go to a new server it doesn't add it to my maps.ini
Are you saying that your using this as a client going to other servers to get maps?

Also i need more information. OS? amxx version? and how you have this compiled( with the #define START_WITH_BASIC set to 1 or 0), and what game your trying to use this for.

darkcloud9sgl 08-28-2005 22:39

Nice :)

Jordan 08-28-2005 22:52

Ahh ok I see how it works now ^^ Had to move the maps to a different file in my ftp >.<
Thanks for the plugin ^^ :lol:

Xanimos 09-07-2005 01:23

So has anyone had any errors or problems or bugs?

GHW_Chronic 09-07-2005 02:48

I must admit, original idea.


All times are GMT -4. The time now is 18:44.

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