iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

Keep an eye out for the upcoming 3rd Quarter Contest!
 
Closed TopicStart new topic
> ISS - SwapXT V0.9, A rewrite of SwapXT to improve compatability
IceDragon
post May 13 2011, 07:26 PM
Post #1


I demand cookies.
Group Icon


Type: Coder
Alignment: Neutral Good




ISS - SwapXT


Original SwapXT here: http://www.rpgmakervx.net/index.php?showto...t=0&start=0

Version 0.9

-Introduction

Though this may not be useful to many, its a rewrite of BulletXt's SwapXT.
The reason for the rewrite, was because of the pain of patching swapxt to work with other scripts.
So I decided to rewrite it a bit.
If your using the old system for swapxt, >.> it's not supported here.
<.< Also all those global variables ($swap_nnnn) is no longer used.

Anyway I just felt like sharing it, even if not many find it useful.

Also the Version 0.9, errr, thats because the realtime swapping is still not implemented... ;A; Sorry. (I don't really use it, so sorry .x.)


-Scripts

-Main Script-
http://pastebin.com/V8JteHpJ

-Patch for Wall Tile Extension-
Spoiler:

CODE
#=*==========================================================================*=#
# ISS-SwapXT and Wall Tile Extension Patch by IceDragon
# SwapXT by BulletXT
# Wall Tile Extension by Moonman
# ISS-SwapXT (rewrite) by IceDragon
#=*==========================================================================*=#
#==============================================================================#
# Game_Map
#==============================================================================#
class Game_Map
  
  alias iss_sxt_wte_gmp_setup setup unless $@
  def setup( map_id )
    iss_sxt_wte_gmp_setup( map_id )
    unless $game_swapxt.loaded_system.nil?()
      @ex_passages = $game_swapxt.loaded_system.passages
    end  
  end
  
end

#==============================================================================#
# Spriteset_Map
#==============================================================================#
class Spriteset_Map
  
  alias iss_sxt_wte_spmp_create_tilemap create_tilemap unless $@
  def create_tilemap()
    iss_sxt_wte_spmp_create_tilemap()
    set_tilemapBitmaps( @ex_tilemap )
  end
  
end
#=*==========================================================================*=#
# ** END OF FILE
#=*==========================================================================*=#



-Patch for SRPG2-
Spoiler:

CODE
#=*==========================================================================*=#
# ISS-SwapXT SRPG Patch by IceDragon
# SwapXT by BulletXT
# SRPG2 by Tomokay
# ISS-SwapXT (rewrite) by IceDragon
#=*==========================================================================*=#
#==============================================================================#
# Game_Srpg
#==============================================================================#
class Game_Srpg < Game_Map
  
  #--------------------------------------------------------------------------#
  # * alias method :setup
  #--------------------------------------------------------------------------#
  alias iss_swapxt_gmrpg_setup setup unless $@
  def setup( map_id )
    iss_swapxt_gmrpg_setup( map_id )
    $game_swapxt.setup( map_id )
    unless $game_swapxt.loaded_system.nil?()
      @passages = $game_swapxt.loaded_system.passages
      setup_pass_table # // Rebuild Passability Table                            
    end  
  end
  
end

#==============================================================================#
# Spriteset_Srpg
#==============================================================================#
class Spriteset_Srpg < Spriteset_Map
  
  #--------------------------------------------------------------------------#
  # * alias method :create_tilemap
  #--------------------------------------------------------------------------#  
  alias iss_swapxt_sprpg_create_tilemap create_tilemap unless $@
  def create_tilemap()
    iss_swapxt_sprpg_create_tilemap()
    set_tilemapBitmaps( @tilemap )
  end
  
end  

#=*==========================================================================*=#
# ** END OF FILE
#=*==========================================================================*=#



If you need a script patched, to work with this, feel free to post here.

Final Notes

I did not make SwapXT. >_>
>.> The rewrite's code may looooooook TOTALLY DIFFERENT (which it is), but it does basically the same thing (just a bit more controlled)
Anyway if you end up using this, credit BulletXT, and drop a little line for me also.


This post has been edited by IceDragon: May 13 2011, 07:34 PM


--------------------
Spoiler:





To be Hexa-fied


Spoiler:
Other/Reminders--
Support your cookie loving dragon!

CODE
[url="http://www.rpgmakervx.net/index.php?showuser=52960"][img]http://i56.tinypic.com/2d1pfmw.png[/img][/url]


http://www.rpgmakervx.net/index.php?showto...amp;#entry48215 HA AUTOTILES
Pine's Birthday is the 2th of July

WORK ON YOUR TIME MEMORY @___@
Go to the top of the page
 
+Quote Post
   
Kaptain J
post May 14 2011, 04:49 AM
Post #2


Death says "Hi"
Group Icon


Type: Writer
Alignment: Lawful Evil




If I hadn't gotten into parallax mapping, this would be extremely useful to me. Great job, here ;D

Actually, I still do work on games using regular mapping, so I could very well use this...


--------------------


Come join Team Smash today!


Other stuffz:
Spoiler:






RPGMakerVX.net Awards:
Spoiler:




Check out my tutorial and articles:
How to Write a Story
The Kaptain's Article Dump

Go to the top of the page
 
+Quote Post
   
Vanx
post Nov 3 2011, 09:22 AM
Post #3



Group Icon


Type: Coder




5 stars for you icy, i am really overjoyed by your releases, keep it coming if you have time k!, though i really want a function that instead of equipment icons, you will use sprites like when you attack, your character will display different frames of its sprites and mixed with animations and 2-tile sprites and boom extravagant for graphical enhancements and audible character appearance. Anyway just an out of the mind suggestion, and anyway, good work
Go to the top of the page
 
+Quote Post
   

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 28th August 2014 - 02:15 PM

RPGMakerVX.net is an Privacy Policy, Legal.