LOGIN
SEARCH
PROFILE
keys: ↑ ↓
LOGOUT
INDEX
MEMBERS
keys: ↑ ↓
HOME
PORTAL
PLAY ALONG
PLAY with WORDS
PLAY with GRAPHICS
PLAY with SOUNDS
PLAY with CODES
PLAY with PROJECTS
keys: ← →
Guest Access
Register:
Members:



View previous topic View next topic Go down Message [Page 1 of 1]

Administrator
Administrator
#1 default RMXP + XAS Creep Script
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
XAS Creep
Version:v1.3
by gameface101
Date:2-7-2011

Press a button, slow players speed, turn enemy sensor off


  • Another simple experiment gone right but still needs a few touches to it.
    All in time like each of my scripting adventures...


Planned Future Versions

  • next version I would like to have this script override the XAS Battler script so that enemies with preset sensors will be set to 0
    also when the button is released it will default back to whatever variable 10 was set to and to the preset sensors on the XAS battler script.
    Plan to include a graphic change Hero_CREEP
    and opacity adjustment


Screenshots
Spoiler:
[You must be registered and logged in to see this link.]

Instructions
in the script

XAS Creep v1.3

Spoiler:

Code:
################################################################################
#=============== XAS Creep V1.3 by Gameface101.com 2/7/2011 ===================#
################################################################################
=begin
 Instructions: in RMXP Script Database(F11)
copy and paste above Main and below XAS - Movement
=end

#===============================================================================
module Xcreep
#CREEP OPTIONS =================================================================
  CREEP_BUTTON = Input::B
  CREEP_SPEED  = 2
  CREEP_FADE = 150
  CREEP_ANI = true
 
  PRESS_SENSOR = 0 #edit later
  REAPPEAR = 255
  RELEASE_SENSOR = 8 #edit later
end
#===============================================================================

  def self.creeping?
    if Input.press?(Xcreep::CREEP_BUTTON)
      return true
    else
      return false
    end
  end

  def self.creep_off
    $game_system.creep_on = false
  end

  def self.creep_on
    $game_system.creep_on = true
  end

#==============================================================================
class Game_System

  attr_accessor :creep_on

  alias xas_creep initialize
  def initialize
    @creep_on = true
    xas_creep
  end
end
#===============================================================================

class Game_Character
  attr_accessor :move_speed
  attr_reader  :opacity
end

#===============================================================================
class Scene_Map
  include Xcreep
  alias xas_creep_update update
  def update
      if Input.press?(CREEP_BUTTON)
        $game_system.creep_on
        $game_player.move_speed = CREEP_SPEED
        $game_player.opacity = CREEP_FADE
        $game_variables[10] = PRESS_SENSOR #will edit later
        if CREEP_ANI == true
      if Input.trigger?(CREEP_BUTTON)
        $game_player.animation_id = 220
        end
      end
    end
    xas_creep_update
        $game_player.opacity = REAPPEAR
        $game_variables[10] = RELEASE_SENSOR #will edit later
  end
end

Support
Gameface101.com



Known Compatibility Issues
let me know!

Restrictions
Free to use must give credit
Administrator
Show Signature


Hey Guest, check out my demos!
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]




G101's theme colors
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this image.]


shhh.... [You must be registered and logged in to see this link.]



[You must be registered and logged in to see this link.]
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch
EVENTALIST
EVENTALIST
#2 default Re: RMXP + XAS Creep Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
Very nice, i will be sure this will make a fine addition to Outbreak. Was thinking about doing something like this my self.
EVENTALIST
Show Signature
EVENTALIST
ACTIVATED
ACTIVATED
#3 default Re: RMXP + XAS Creep Script
Loading

nhokbutchi6

avatar
ACTIVATED
ACTIVATED
ACTIVATED
profile
When I stand next to monster, is sensor also set to 0?
ACTIVATED
Show Signature
ACTIVATED
Administrator
Administrator
#4 default Re: RMXP + XAS Creep Script
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
^at default yes, PRESS_SENSOR = 0
simply edit the module how ever you like ^,^



edit: newer version!

[You must be registered and logged in to see this link.]

+ easy settings for hero fade away and reappearance
+ easy animation assignment


still a work in progress, next version the release sensor will
default back to original enemy sensor setting or specific sensor for each enemy.
Administrator
Show Signature


Hey Guest, check out my demos!
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]




G101's theme colors
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this image.]


shhh.... [You must be registered and logged in to see this link.]



[You must be registered and logged in to see this link.]
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch

Sponsored content

profile

View previous topic View next topic Back to top Message [Page 1 of 1]

 

Chatbox system disabled
Personal messaging disabled