Author Topic: [XP] Continuous Maps  (Read 37092 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] Continuous Maps
« on: December 15, 2009, 01:25:25 AM »
Continuous Maps
Authors: Blizzard
Version: 1.41
Type: Custom Map System
Key Term: Environment Add-on

Introduction

This Script will allow you to make the game simulate a continuous map using smaller maps. The system displays the current map and the neighbor maps. Walking over a map border will cause the new map to be loaded as main map and the neighbor maps will be changed.

This work is protected by the following license:
Quote
Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
( http://creativecommons.org/licenses/by-nc-sa/3.0/ )

You are free:

to Share - to copy, distribute and transmit the work
to Remix - to adapt the work

Under the following conditions:

Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial. You may not use this work for commercial purposes.

Share alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

- For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.

- Any of the above conditions can be waived if you get permission from the copyright holder.

- Nothing in this license impairs or restricts the author's moral rights.

Features

  • virtually creates one continuous map from any number of map fragments
  • easy to configure
v1.2
  • fixed bug where transferring into a non-configured map would crash the game
  • fixed bug when teleporting into another set of maps would mess up everything
v1.3
  • added compatibility with Tons of Add-ons' Catepillar
v1.4
  • fixed crash caused by compatibility fix with Tons of Add-ons' Catepillar
  • added code for proper fog handling
v1.41
  • fixed bug with Blizz-ABS enemy positions

Screenshots



Demo

Continuous Maps

Script

Just make a new script above main and paste this code into it.
Script Download

Instructions

Inside the script in the first comment.

Compatibility

95% compatible with SDK v1.x. 80% compatible with SDK 2.x. WILL corrupt old savegames. Compatible with Blizz-ABS. Compatible with Tons of Add-ons' catepillar. Not compatible with Intelligent Passability from Blizz-ABS, it's being turned off. Not compatible with Blizz-ABS's caterpillar.

Credits and Thanks

  • Blizzard

Author's Notes

If you find any bugs, please report them here:
http://forum.chaos-project.com

That's it! N-Joy! =D
« Last Edit: May 14, 2013, 07:53:48 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] Continuous Maps
« Reply #1 on: December 15, 2009, 01:27:55 AM »
Yayz!
<3

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Continuous Maps
« Reply #2 on: December 15, 2009, 01:35:15 AM »
Works with Blizz-ABS. <3
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Continuous Maps
« Reply #3 on: December 15, 2009, 01:40:10 AM »
wow this is really what I needed, I'm terrible at mapping and can make decent small maps, now I can make several small maps and link them together

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Continuous Maps
« Reply #4 on: December 15, 2009, 01:43:07 AM »
And I'm planning to improve it as well. I'll add an option to load only the border of neighbor maps rather than loading the entire neighbor map to reduce lag. And I'll add a segmentation option for big maps. It will treat the big map as if it was composed of many small maps. This will also reduce lag. <3
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline C.C. rOyAl

  • Ethereal Devastator
  • ****
  • Posts: 381
  • LV: 2
  • Gender: Male
  • CP's only concept artist!
    • View Profile
Re: [XP] Continuous Maps
« Reply #5 on: December 15, 2009, 02:00:30 AM »
Blizz, you are the best person EVA
(click to show/hide)

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: [XP] Continuous Maps
« Reply #6 on: December 15, 2009, 02:33:39 AM »
Hey blizz, I had an idea kinda similar to this a while ago, and wanted to know if it was possible:  Only loading small portions of a big map at a time, specifically, only what is in ABSEAL range.  My thoughts were that it would probably cause even more lag because the only way that I could see to do it would be to load to region into a new map each time the screen moves =/

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] Continuous Maps
« Reply #7 on: December 15, 2009, 02:49:12 AM »
And I'm planning to improve it as well. I'll add an option to load only the border of neighbor maps rather than loading the entire neighbor map to reduce lag. And I'll add a segmentation option for big maps. It will treat the big map as if it was composed of many small maps. This will also reduce lag. <3

Errr... Is that what segmentation is? :P

If not...
In CP the game, Blizz has a way of only loading the parts of the map to where you can travel.  It's so cool :o

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: [XP] Continuous Maps
« Reply #8 on: December 15, 2009, 03:16:52 AM »
do you come up with a way for it to be compatible with RMX-OS?  :naughty:
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Continuous Maps
« Reply #9 on: December 15, 2009, 10:48:41 AM »
Making it compatible with RMX-OS would require to change the server itself and I'm not going to do that.

@winkio: Like Aqua said, that's what I meant with map segmentation. :)
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: [XP] Continuous Maps
« Reply #10 on: December 15, 2009, 08:48:19 PM »
okay.  I didn't know if that meant chopping it up into small maps with small neighboring maps, or dynamically loading the map inside an area.

Offline element

  • Ethereal Devastator
  • ****
  • Posts: 457
  • LV: 2
  • Gender: Male
  • Fountain of Inspiration
    • View Profile
Re: [XP] Continuous Maps
« Reply #11 on: December 15, 2009, 09:00:07 PM »
Yay ! no more transfer events !
blizz rules !  :evil:

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Continuous Maps
« Reply #12 on: December 15, 2009, 09:17:05 PM »
Well, this doesn't substitute map transfer events as you can't really combine different tilesets except if you use multiple tilesets in the same tileset.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Pragz

  • Guest
Re: [XP] Continuous Maps
« Reply #13 on: December 16, 2009, 07:00:27 AM »
This looks so cool! I'm definitely going to have to try this out some time. :D

Offline Holyrapid

  • Astral Trancist
  • *****
  • Posts: 749
  • LV: 0
  • Gender: Male
  • Credit to FreshL on Deviantart
    • View Profile
    • My new Youtube channel!
Re: [XP] Continuous Maps
« Reply #14 on: December 18, 2009, 04:24:21 PM »
Ok, help me out here... I can´t get this work in my game. I´m propably just configuring it wrong, so tell me how to properly confirgure this script... I want to use this, since i suck alot at making big maps... small and medium maps i manage...

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Continuous Maps
« Reply #15 on: December 18, 2009, 07:27:40 PM »
There's a demo for reason.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Nerd101

  • Guest
Re: [XP] Continuous Maps
« Reply #16 on: December 19, 2009, 04:38:21 AM »
Thanks, I really like this. I may be using RMXP-OS to make a game soon, so this will help me a lot-I suck at mapping-big time.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: [XP] Continuous Maps
« Reply #17 on: December 19, 2009, 04:40:25 AM »
RMX-OS dose not work with this script...
Blizzard said so when I asked him...
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3282
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP] Continuous Maps
« Reply #18 on: December 19, 2009, 06:07:50 AM »
What...I thought you weren't scripting completely new things anymore. Oh well. Delightful surprise. <3

Regardless, such a script like this deserves a very warm welcome. How do events correspond to the map borders? Are they able to cross them?

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Offline Holyrapid

  • Astral Trancist
  • *****
  • Posts: 749
  • LV: 0
  • Gender: Male
  • Credit to FreshL on Deviantart
    • View Profile
    • My new Youtube channel!
Re: [XP] Continuous Maps
« Reply #19 on: December 19, 2009, 11:03:29 AM »
There's a demo for reason.
I´m still unable to confirgure it... I´ll take another look, if i´d notice something that would help me...