[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
The Exiled • View topic - How to make a randomly generated maze

The Exiled

Shunned by Man, Accepted by Gods
* FAQ    * Search   * Members
* Login   * Register
It is currently Wed Jul 08, 2020 4:04 pm 

 View unanswered posts | View active topics


 Board index » General Area » Mapping

Post new topic Reply to topic Users browsing this forum: No registered users and 1 guest
Author
Message
perrinoia
Newbie

User avatar
Joined: Wed Oct 03, 2007 9:05 pm
Posts: 18
Location: New Hampshire or Rhode Island
Post Posted: Tue Oct 20, 2009 1:27 pm    Post subject: How to make a randomly generated maze
 




 Top Offline
Profile WWWYIM
Author
Message
perrinoia
Newbie

User avatar
Joined: Wed Oct 03, 2007 9:05 pm
Posts: 18
Location: New Hampshire or Rhode Island
Post Posted: Tue Oct 20, 2009 1:36 pm    Post subject: Re: How to make a randomly generated maze
 
Oh, your also welcome to download the whole map (using that link at the bottom of my post) and edit it to your liking, use different bases, what ever floats your minotaur.
Image




 Top Offline
Profile WWWYIM
Author
Message
TE-Starseeker
Genisidal
Joined: Tue Oct 25, 2005 2:25 am
Posts: 297
Location: Finland
Post Posted: Tue Oct 20, 2009 2:59 pm    Post subject: Re: How to make a randomly generated maze
 
Nice one!

Any objectives? Find the goal or something?



Image
 Top Offline
Profile
Author
Message
perrinoia
Newbie

User avatar
Joined: Wed Oct 03, 2007 9:05 pm
Posts: 18
Location: New Hampshire or Rhode Island
Post Posted: Tue Oct 20, 2009 6:03 pm    Post subject: Re: How to make a randomly generated maze
 
Yeah, if you look at the last 2 pictures which were taken from an Observers point of view, you'll see the float base from Roller Coaster that houses the flags in the middle of the maze, although, in this case it houses a tower switch, which when claimed will change the team of all of the walls and the arena itself to match the colliding player's team, which means that the other team can no longer deploy turrets on any of those surfaces, makes it pretty difficult to defend your base. You may also notice in the middle and ontop of the newDam object which makes each team's base, that there is a flag stand, with a flag ontop.

I think I made it 8 team points to win, towerswitch = 1, which means you can either hold the objective and capture the enemy's flag 7 times, or capture the enemy's flag 8 times to win.

I'm gonna edit the map and add some bots... There will be one fat bot named Minotaur which will vigorously defend the objective, and one meak little bot per team, named MickyMouse and MiniMouse which will spawn near the flag and navigate the maze randomly in search for stray noobies. There may also be some cheese at the end of the maze.

I'll share the mice navigation code when I create it, but off the top of my head, I'm thinking it will probably use if(!GameBase::getLOSInfo(%mouse, 32, "0 0 "@ %r[%rnd])) to determine that there is no wall blocking that random direction, then set a waypoint at $LOS::Position, and the function will be called each time the mouse reaches it's waypoint that was randomly choosen the last time it reached a waypoint. Should be rather simple.




 Top Offline
Profile WWWYIM
Display posts from previous:  Sort by  
Post new topic Reply to topic Board index » General Area » Mapping
Previous topic :: Next topic  
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group