Gambling Arena
Moderator: Forum Moderators
Gambling Arena
I recently made and uploaded a multiplayer scenario called Gambling Arena to the 1.12 add-ons.
A king is hosting a gladiator tournament using all his slaves.(The 5 AI sides, the Human Gladiators, the Elvish Gladiators, the Dwarvish Gladiators, the Undead Gladiators, and the Orcish Gladiators).
He has invited the the human players to bet on the winners of each round. If you get a bet correct, you are rewarded with a unit at the bottom of the screen.
After all 8 rounds of betting, the human players must fight to the death with the units they earned.
UPDATE: Gambling Arena has been remade from scratch and uploaded to 1.14 Add-ons. Most of the bugs have been fixed and there are 10 rounds with several different types
Players bet on who they believe will win each round
Example of a Gladiator Round
Players are awarded a unit and gold whenever they win a bet. After the last round, all players will use their rewards to battle it out.
There are several different round types with varying playing styles. Randomization is used in all rounds for replayability.
Please post any bugs/suggestions/replays you have here.
A king is hosting a gladiator tournament using all his slaves.(The 5 AI sides, the Human Gladiators, the Elvish Gladiators, the Dwarvish Gladiators, the Undead Gladiators, and the Orcish Gladiators).
He has invited the the human players to bet on the winners of each round. If you get a bet correct, you are rewarded with a unit at the bottom of the screen.
After all 8 rounds of betting, the human players must fight to the death with the units they earned.
UPDATE: Gambling Arena has been remade from scratch and uploaded to 1.14 Add-ons. Most of the bugs have been fixed and there are 10 rounds with several different types
Players bet on who they believe will win each round
Example of a Gladiator Round
Players are awarded a unit and gold whenever they win a bet. After the last round, all players will use their rewards to battle it out.
There are several different round types with varying playing styles. Randomization is used in all rounds for replayability.
Please post any bugs/suggestions/replays you have here.
Last edited by Glen on August 25th, 2021, 7:10 am, edited 15 times in total.
Re: Gambling Arena
Cool looks good I'll post comments once I've tried it out (I like the unique idea)
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
Re: Gambling Arena
Hi i am right now playing gambling arena and thought i would just post my comments as i went along.
- I am playing versus three ai players and they obviously don't choose options which is too bad. What i was thinking is that you could check if the player is human at the start of the event with a filter and then if it is create a random variable to choose one of the four.
you probably could do something like this:
You then could do the same thing for the weapon upgrades for the ai or you could just have them always choose do nothing!
Hopefully you'll add this because i think it would be a really good improvement!
Overall i think the only thing you need to change is the betting and choosing abilities for their team like i said at the top. I think all the other problems are just me
ANOTHER EDIT: yep i've tested and proven that the 5 lords default unit advancements modification when active messes up the gameplay (as author of the 5 lords default unit advancement modification i'll see if i can fix this)
also i was thinking round 1 should have a randomizer for the initial units.
- I am playing versus three ai players and they obviously don't choose options which is too bad. What i was thinking is that you could check if the player is human at the start of the event with a filter and then if it is create a random variable to choose one of the four.
you probably could do something like this:
A [if] statement dependency for the solution offered below
Code i found from watbesh needed for the solution below
What you could do to fix this problem
Hopefully you'll add this because i think it would be a really good improvement!
Other things i saw
ANOTHER EDIT: yep i've tested and proven that the 5 lords default unit advancements modification when active messes up the gameplay (as author of the 5 lords default unit advancement modification i'll see if i can fix this)
also i was thinking round 1 should have a randomizer for the initial units.
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
Re: Gambling Arena
Hi Glen,
As you probably could tell from my comments i was quite enthusiastic about your addon i decided to go along and implement my idea about the ai. Looking through your code it is quite complicated, and i give you much respect for writing it all!
I have completed a modified version of the gambling arena with the ai randomly choosing who to bet on and weapon modifications. It is unfortunately not very thoroughly tested yet so may have some errors. I have uploaded it to this message. It has only a few minor edits to your main scenario file (a method at the start to check which sides are ai and human, and a method at the start of each players turn to check wether that player is a ai or human and act accordingly). It did take however a large amount of code which is included in the utils folder under the various files. The main.cfg has been edited to load the utils. Hopefully you'll implement this addition in your next addon's update! Even if not i really enjoy playing your modification versus the ai now!
As you probably could tell from my comments i was quite enthusiastic about your addon i decided to go along and implement my idea about the ai. Looking through your code it is quite complicated, and i give you much respect for writing it all!
I have completed a modified version of the gambling arena with the ai randomly choosing who to bet on and weapon modifications. It is unfortunately not very thoroughly tested yet so may have some errors. I have uploaded it to this message. It has only a few minor edits to your main scenario file (a method at the start to check which sides are ai and human, and a method at the start of each players turn to check wether that player is a ai or human and act accordingly). It did take however a large amount of code which is included in the utils folder under the various files. The main.cfg has been edited to load the utils. Hopefully you'll implement this addition in your next addon's update! Even if not i really enjoy playing your modification versus the ai now!
- Attachments
-
- Gambling_Arena.zip
- Here is my modified version of the gambling arena EDIT: A new version has been created and uploaded to the add-on server THIS IS OUTDATED
- (31.95 KiB) Downloaded 387 times
Last edited by The_Gnat on November 19th, 2016, 10:39 pm, edited 1 time in total.
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
Re: Gambling Arena
Hello, Glen has allowed me to release a new version of gambling arena. This new release is a beta version that includes support for AI to bet and gain units like human players. This beta is currently not entirely stable so please report any bugs encountered so i can resolve them!
Currently Bugs:
- Error where occasionally the peasant and guards on the edge of the map attack you
- Error where after certain units advancing the round no longer ends
Thank you and please comment and say comments and thoughts!
Currently Bugs:
- Error where occasionally the peasant and guards on the edge of the map attack you
- Error where after certain units advancing the round no longer ends
Thank you and please comment and say comments and thoughts!
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
Re: Gambling Arena
Gambling Arena has been massively buggy so i have decided to re-write the scenario. It will probably take some time because it has a large amount of code but i hope to complete it in around a month.
Feedback and ideas are welcome as now this is the stage to add components.
Thank you!
Feedback and ideas are welcome as now this is the stage to add components.
Thank you!
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
- Atreides
- Posts: 1074
- Joined: March 30th, 2019, 10:38 pm
- Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off
Re: Gambling Arena
Latest patch works. Partly. For the draft round the AI once again don't bet and you are asked to do it. The other thing I saw was that after the siege round losers were supposed to lose all their gold but it didn't happen. (Oh snap I just realized I've been hoarding gold for nothing, gotta spend it on upgrades doh!) Err back on track, I also _may_ have observed units vanishing rather than dieing. I'll keep an eye on that and confirm or deny it when I can.
- Atreides
- Posts: 1074
- Joined: March 30th, 2019, 10:38 pm
- Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off
Re: Gambling Arena
1.16 version won't load. Missing menu_img_txt I think it said.