Raised This Month: $51 Target: $400
 12% 

Polymorph: Mod Manager


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-11-2014 , 22:39   Re: Polymorph: Mod Manager
Reply With Quote #821

If you are using mode 2 then you will only get a mod vote if you have played 2 maps (or the number of maps that you specify in your mod config file by "mapspermod"). So, if all your mods have "mapspermod 2" then you will only get a mod vote every other map.
__________________
fysiks is offline
killabotcz
Member
Join Date: Dec 2014
Old 12-29-2014 , 14:22   Re: Polymorph: Mod Manager
Reply With Quote #822

So, please forgive me I'm very new to this.

I have a server that has 3 bots against every 1 human (bot_quota_match 3)
How would I configure this to have a vote enabled to vote for bot_quota_match 2 or bot_quota_match 4?
Meaning I'd like to give the players the option to vote on how many bots they get to play against.

Thanks

Last edited by killabotcz; 12-29-2014 at 14:22.
killabotcz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-29-2014 , 18:54   Re: Polymorph: Mod Manager
Reply With Quote #823

Quote:
Originally Posted by killabotcz View Post
So, please forgive me I'm very new to this.

I have a server that has 3 bots against every 1 human (bot_quota_match 3)
How would I configure this to have a vote enabled to vote for bot_quota_match 2 or bot_quota_match 4?
Meaning I'd like to give the players the option to vote on how many bots they get to play against.

Thanks
That's not related to this plugin. You would need to request someone to write you a plugin to do the vote for that.
__________________
fysiks is offline
killabotcz
Member
Join Date: Dec 2014
Old 12-30-2014 , 12:53   Re: Polymorph: Mod Manager
Reply With Quote #824

Quote:
Originally Posted by fysiks View Post
That's not related to this plugin. You would need to request someone to write you a plugin to do the vote for that.

Would I not be able to put it in the cfg section of the ini file?

; Mod Cofiguration
; Comments here.

[mod]
name "Mod Name"
mapsfile maps1.ini
mapspermod 2

[cfg]
bot_quota_match 2


[plugins]
plugin1.amxx
plugin1b.amxx
killabotcz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-30-2014 , 13:00   Re: Polymorph: Mod Manager
Reply With Quote #825

Quote:
Originally Posted by killabotcz View Post
Would I not be able to put it in the cfg section of the ini file?

; Mod Cofiguration
; Comments here.

[mod]
name "Mod Name"
mapsfile maps1.ini
mapspermod 2

[cfg]
bot_quota_match 2


[plugins]
plugin1.amxx
plugin1b.amxx
Yes, you can put any cvar in the cfg section of the config file but that has nothing to do with your previous post.
__________________

Last edited by fysiks; 12-30-2014 at 13:00.
fysiks is offline
killabotcz
Member
Join Date: Dec 2014
Old 12-30-2014 , 13:33   Re: Polymorph: Mod Manager
Reply With Quote #826

So,

If I was to create 2 ini files

1_humanversus2bots.ini
2_humanversus4bots.ini

and change the cvars in the cfg section of each that would essentially achieve what I want?

Please help me out as I'm sure I'm missing something (important)

Thanks again for helping me with this

Last edited by killabotcz; 12-30-2014 at 13:33.
killabotcz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-31-2014 , 03:31   Re: Polymorph: Mod Manager
Reply With Quote #827

If you want them to be considered different "mods" then yes, that seems like it should work. I never thought of doing it that way.
__________________
fysiks is offline
killabotcz
Member
Join Date: Dec 2014
Old 01-01-2015 , 11:57   Re: Polymorph: Mod Manager
Reply With Quote #828

Thanks,

It seems the cvars are triggering after the first player joins which is messing me up slightly as I've got 'mod' that's assigning team based on vote.
killabotcz is offline
bsparty
Member
Join Date: Sep 2014
Location: India
Old 01-02-2015 , 14:43   Re: Polymorph: Mod Manager
Reply With Quote #829

Pls Help
L 01/03/2015 - 01:11:22: [AMXX] Displaying debug trace (plugin "polymorph.amxx")
L 01/03/2015 - 01:11:22: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 01/03/2015 - 01:11:22: [AMXX] [0] polymorph.sma::setDefaultNextmap (line 733)
L 01/03/2015 - 01:11:22: [AMXX] [1] polymorph.sma::plugin_cfg (line 23
bsparty is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-02-2015 , 15:50   Re: Polymorph: Mod Manager
Reply With Quote #830

Quote:
Originally Posted by bsparty View Post
Pls Help
L 01/03/2015 - 01:11:22: [AMXX] Displaying debug trace (plugin "polymorph.amxx")
L 01/03/2015 - 01:11:22: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 01/03/2015 - 01:11:22: [AMXX] [0] polymorph.sma::setDefaultNextmap (line 733)
L 01/03/2015 - 01:11:22: [AMXX] [1] polymorph.sma::plugin_cfg (line 23
Take a look at some of the other posts about this same error and see what I said and what they said afterwards.

https://forums.alliedmods.net/showth...ng#post1482259
https://forums.alliedmods.net/showth...ng#post2188215
__________________
fysiks is offline
Old 01-03-2015, 04:54
bsparty
This message has been deleted by bsparty. Reason: Noobness Srry :/
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:21.


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