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:



Go to page : 1, 2  Next

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

EVENTALIST
EVENTALIST
#1 default XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
XAS - Hot Keys
Version: 1.3
Author: Mr Wiggles
Date: July 6, 2010

Version History



  • Version 1.3 7/6/10 - Bug with Input Module
  • Version 1.0 7/3/10 - Original Release


Planned Future Versions

  • Nothing that i know of.


Description


This makes it so that the player can hot key an item, weapon, shield, or a skill to any of the 1-5 number keys, and will display the hot keys in a HUD.

Features

  • They where listed in the description.


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

Instructions
Fill in the constants bellow, paste this script above main and bellow XAS in your script data base. BE SURE TO SET TO THE RIGHT XAS VERSION!!
Place the "Hot_Keys_HUD" picture file into your game directory Graphics/Pictures folder.

script


"Hot_Keys_HUD" picture:
[You must be registered and logged in to see this image.]

#===============================================================================
# XAS - Hot Key HUD
#===============================================================================
# By Mr_Wiggles
# Version 1.3
# 7/6/10
#-------------------------------------------------------------------------------
# Instructions:
# Fill in the constants bellow, paste this script above main and bellow XAS in
# your script data base. BE SURE TO SET TO THE RIGHT XAS VERSION!!
#
# Place the "Hot_Keys_HUD" picture file into your game directory
# Graphics/Pictures folder.
#-------------------------------------------------------------------------------
# Directions of Use:
# Simple just press a number key (1 - 5) when the quick skill or item menu is
# Showing.
#===============================================================================
HUD_X = 0 # X pos of HUD
HUD_Y = 0 # Y pos of HUD

# Set true if XAS 3.7f
# set false if XAS 3.6
XASVER_37 = true

#===============================================================================
# Numkeys Module
#===============================================================================
module Input
Numkey = {1 => 1049, 2 => 1050, 3 => 1051, 4 => 1052, 5 => 1053}
class << self
Key = Win32API.new('user32','GetAsyncKeyState',['i'],'i')

def testkey(key)
Key.call(key) & 0x01 == 1
end

alias hud_key_update update
def update
hud_key_update
@pressed = []
for key in Numkey.values
key -= 1000
@pressed.push(key) if testkey(key)
end
end

def pressed?(key)
key -= 1000
@pressed = [] if @pressed.nil?
return true if @pressed.include?(key)
return false
end

alias hud_key_press? press?
def press?(key)
return pressed?(key) if key.to_f > 1000
hud_key_press?(key)
end
end
end

#===============================================================================
# Game Player
#===============================================================================
class Game_Player < Game_Character
attr_accessor :hud_equip

alias hot_key_hud_init initialize
def initialize
hot_key_hud_init
@hud_equip = []
end

def equip_item_to_hud(n, item)
if item.nil?
$game_system.se_play($data_system.buzzer_se)
return
end
$game_system.se_play($data_system.decision_se)
@hud_equip[@hud_equip.index(item)] = nil if @hud_equip.include?(item)
@hud_equip[n] = item
end
end

#===============================================================================
# Quick Skill Window
#===============================================================================
if XASVER_37 == false
class Xas_Scene_Skill
alias hud_quick_menu_main main
def main
@hot_key_hud = Hot_Key_HUD.new
hud_quick_menu_main
@hot_key_hud.dispose
end

alias hotkey_hud_qucik_menu_update update
def update
hotkey_hud_qucik_menu_update
# Hot Key num 1
if Input.press?(Input::Numkey[1])
$game_player.equip_item_to_hud(0, @skill_window.skill)
# Hot Key num 2
elsif Input.press?(Input::Numkey[2])
$game_player.equip_item_to_hud(1, @skill_window.skill)
# Hot Key num 3
elsif Input.press?(Input::Numkey[3])
$game_player.equip_item_to_hud(2, @skill_window.skill)
# Hot Key num 4
elsif Input.press?(Input::Numkey[4])
$game_player.equip_item_to_hud(3, @skill_window.skill)
# Hot Key num 5
elsif Input.press?(Input::Numkey[5])
$game_player.equip_item_to_hud(4, @skill_window.skill)
end
@hot_key_hud.update
end
end
else
class Quick_Menu_Skill
alias hud_quick_menu_main main
def main
@hot_key_hud = Hot_Key_HUD.new
hud_quick_menu_main
@hot_key_hud.dispose
end

alias hotkey_hud_qucik_menu_update update
def update
hotkey_hud_qucik_menu_update
# Hot Key num 1
if Input.press?(Input::Numkey[1])
$game_player.equip_item_to_hud(0, @skill_window.skill)
# Hot Key num 2
elsif Input.press?(Input::Numkey[2])
$game_player.equip_item_to_hud(1, @skill_window.skill)
# Hot Key num 3
elsif Input.press?(Input::Numkey[3])
$game_player.equip_item_to_hud(2, @skill_window.skill)
# Hot Key num 4
elsif Input.press?(Input::Numkey[4])
$game_player.equip_item_to_hud(3, @skill_window.skill)
# Hot Key num 5
elsif Input.press?(Input::Numkey[5])
$game_player.equip_item_to_hud(4, @skill_window.skill)
end
@hot_key_hud.update
end
end
end

#===============================================================================
# Quick Item Window
#===============================================================================
if XASVER_37 == false
class Xas_Scene_Item
alias hud_quick_menu_main main
def main
@hot_key_hud = Hot_Key_HUD.new
hud_quick_menu_main
@hot_key_hud.dispose
end

alias hud_key_update update
def update
hud_key_update
# Hot Key num 1
if Input.press?(Input::Numkey[1])
$game_player.equip_item_to_hud(0, @item_window.item)
# Hot Key num 2
elsif Input.press?(Input::Numkey[2])
$game_player.equip_item_to_hud(1, @item_window.item)
# Hot Key num 3
elsif Input.press?(Input::Numkey[3])
$game_player.equip_item_to_hud(2, @item_window.item)
# Hot Key num 4
elsif Input.press?(Input::Numkey[4])
$game_player.equip_item_to_hud(3, @item_window.item)
# Hot Key num 5
elsif Input.press?(Input::Numkey[5])
$game_player.equip_item_to_hud(4, @item_window.item)
end
@hot_key_hud.update
end
end
else
class Quick_Menu_Item
alias hud_quick_menu_main main
def main
@hot_key_hud = Hot_Key_HUD.new
hud_quick_menu_main
@hot_key_hud.dispose
end

alias hud_key_update update
def update
hud_key_update
# Hot Key num 1
if Input.press?(Input::Numkey[1])
$game_player.equip_item_to_hud(0, @item_window.item)
# Hot Key num 2
elsif Input.press?(Input::Numkey[2])
$game_player.equip_item_to_hud(1, @item_window.item)
# Hot Key num 3
elsif Input.press?(Input::Numkey[3])
$game_player.equip_item_to_hud(2, @item_window.item)
# Hot Key num 4
elsif Input.press?(Input::Numkey[4])
$game_player.equip_item_to_hud(3, @item_window.item)
# Hot Key num 5
elsif Input.press?(Input::Numkey[5])
$game_player.equip_item_to_hud(4, @item_window.item)
end
@hot_key_hud.update
end
end
end

#===============================================================================
# HUD Window
#===============================================================================
class Hot_Key_HUD < Window_Base
def initialize(x = HUD_X - 10, y = HUD_Y - 15)
super(x, y, 220, 80)
self.contents = Bitmap.new(width - 32, height - 32)
self.opacity = 0
@actor = $game_party.actors[0]
refresh
end

def refresh
self.contents.clear
bitmap = RPG::Cache.picture("Hot_Keys_HUD")
self.contents.blt(0, 0, bitmap, Rect.new(0, 0, 160, 32))
for i in 0..4
x = 32 * i + 4
item = $game_player.hud_equip[i]
next if item.nil?
if item.is_a?(RPG::Weapon)
item = nil if $game_party.weapon_number(item.id) == 0 and
@actor.weapon_id != item.id
elsif item.is_a?(RPG::Armor)
item = nil if $game_party.armor_number(item.id) == 0 and
@actor.armor1_id != item.id
elsif item.is_a?(RPG::Item)
item = nil if $game_party.item_number(item.id) == 0 or
!$game_party.item_can_use?(item.id)
end
bitmap = RPG::Cache.icon(item.icon_name)
self.contents.blt(x, 4, bitmap, Rect.new(0, 0, 24, 24))
end
end

def equip(item)
if item.nil?
$game_system.se_play($data_system.buzzer_se)
return
end
if item.is_a?(RPG::Skill)
if !@actor.skill_can_use?(item.id)
$game_system.se_play($data_system.buzzer_se)
return
end
$game_system.xas_skill_id = item.id
elsif item.is_a?(RPG::Weapon)
@actor.equip(0, item.id)
elsif item.is_a?(RPG::Armor)
@actor.equip(1, item.id)
elsif item.is_a?(RPG::Item)
item_tool_id = XAS::XASITEM_ID[item.id]
if item_tool_id != nil
unless $game_party.item_can_use?(item.id)
$game_system.se_play($data_system.buzzer_se)
return
end
$game_system.xas_item_id = item.id
end
end
$game_system.se_play($data_system.equip_se)
end

def update
@actor = $game_party.actors[0]
@hot_keys = $game_player.hud_equip
refresh
return if !$scene.is_a?(Scene_Map)
if Input.press?(Input::Numkey[1])
equip($game_player.hud_equip[0])
elsif Input.press?(Input::Numkey[2])
equip($game_player.hud_equip[1])
elsif Input.press?(Input::Numkey[3])
equip($game_player.hud_equip[2])
elsif Input.press?(Input::Numkey[4])
equip($game_player.hud_equip[3])
elsif Input.press?(Input::Numkey[5])
equip($game_player.hud_equip[4])
end
end
end

#===============================================================================
# Scene Map
#===============================================================================
class Scene_Map
alias hot_key_hud_init main
def main
@hot_key_hud = Hot_Key_HUD.new
@hot_key_hud.visible = !$game_switches[XAS_HUDDISABLE_HUD_SWITCH]
hot_key_hud_init
@hot_key_hud.dispose
end

alias hot_key_hud_update update
def update
hot_key_hud_update
@hot_key_hud.update
@hot_key_hud.visible = !$game_switches[XAS_HUDDISABLE_HUD_SWITCH]
@hot_key_hud.update if !$game_switches[XAS_HUDDISABLE_HUD_SWITCH]
end
end


Support


Post and problems you may encounter here, or suggestions for an update.

Known Compatibility Issues
None that i know of.

Restrictions
Do not post this any place with out my permission.

EVENTALIST
Show Signature
EVENTALIST
Tutorial Wizardmaster
Tutorial Wizardmaster
#2 default Re: XAS - Hot Keys Script
Loading

calvin624

calvin624
Tutorial Wizardmaster
Tutorial Wizardmaster
Tutorial Wizardmaster
profile
Hey Wiggles,

I tried hotkeying nothing and got the following error:

"Hotkey Line 255: NoMethodError occurred. undefined method 'icon_name' for nil:NilClass."

Just a head's up.

Amazing script though, works beautifully.
Tutorial Wizardmaster
Show Signature
Tutorial Wizardmaster
http://xasabs.com
EVENTALIST
EVENTALIST
#3 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
yea, i did not try to hot key nothing... Razz

thanks for the heads up its a simple fix.

[edited script]
EVENTALIST
Show Signature
EVENTALIST
Tutorial Wizardmaster
Tutorial Wizardmaster
#4 default Re: XAS - Hot Keys Script
Loading

calvin624

calvin624
Tutorial Wizardmaster
Tutorial Wizardmaster
Tutorial Wizardmaster
profile
I figured it would be Smile

This is something many XAS game creators have longed for, they're going to love it!

It adds so much functionality and doesn't break up the game like the Quick Menu does (having to go in and select a bow and arrow every time you need it).

Great work!
Tutorial Wizardmaster
Show Signature
Tutorial Wizardmaster
http://xasabs.com
EVENTALIST
EVENTALIST
#5 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
oh about your suggestion for using 6-0 as well for hot keys, the reason i made it (for right now) 1-5 is cause those keys are close to the action (A,S,D,Q,W), and i just thought that 6-0 where to much out of the way. (finger knots Razz )

but i can make a version that you can choose to use all 10 num keys if you wish, just that you'll have to edit the HUD gfx to account for the extra 5 icons.
EVENTALIST
Show Signature
EVENTALIST
Tutorial Wizardmaster
Tutorial Wizardmaster
#6 default Re: XAS - Hot Keys Script
Loading

calvin624

calvin624
Tutorial Wizardmaster
Tutorial Wizardmaster
Tutorial Wizardmaster
profile
That's true, I never thought of that.

Don't just do it on my account, see if there is any more demand for 6-0 to be included. I'll see if I can fashion a HUD in keeping with the rest of XAS v3.7f.

Might be an idea to include the 'FADE' functionality - if there are future versions.
Tutorial Wizardmaster
Show Signature
Tutorial Wizardmaster
http://xasabs.com
EVENTALIST
EVENTALIST
#7 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
yea i will add the 'fade' function in, its not that hard of a function to add really, also i add in some other things, like disable the keys when XAS commands are disabled and make the HUD not visible when the disable XAS HUD switch is on.

so yea in the future there will be an update for some stuff i have left out and didn't think of until now. Rolling Eyes
EVENTALIST
Show Signature
EVENTALIST
Active Member
Active Member
#8 default Re: XAS - Hot Keys Script
Loading

unrivaledneo

unrivaledneo
Active Member
Active Member
Active Member
profile
I did run into a problem maybe it is just me. But this script doesnt allow sprints, and jumps. I tried moving around the script but not really much you can move it around. But I have it in the Addon-Section with the other scripts and I cant run or Jump... though maybe its just me. Great script BTW works great other than that.
Active Member
Show Signature
Active Member
EVENTALIST
EVENTALIST
#9 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
I'll look into it.
EVENTALIST
Show Signature
EVENTALIST
EVENTALIST
EVENTALIST
#10 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
*new post to bump*

looked into it and i fixed the problem, and it wasn't you, it was an error on my part. its fixed now.
EVENTALIST
Show Signature
EVENTALIST
Active Member
Active Member
#11 default Re: XAS - Hot Keys Script
Loading

Legault123

Legault123
Active Member
Active Member
Active Member
profile
Another great Script, thank you again. I was thinking about something like.. Overdrive summon hot keys? I think that each overdrive could be useful in different times in a game, but XAS just let;s you level up your overdrive and use your current ovd level and loosing all your ovd points to 0. So, why not make the overdrive summons to be able to be hot keyed like any other skill? Just a tought.. Keep the good work!
Active Member
Show Signature
Active Member
Administrator
Administrator
#12 default Re: XAS - Hot Keys Script
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
@wiggles - you keep making the code explode (in a great way)
fast select = more action!!!

thanks again for sharing!

@Legault123 - hey not a bad idea! select the overdrive?
"it's crazy, but it just might work..."

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
#13 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
Legault123 wrote:I think that each overdrive could be useful in different times in a game, but XAS just let;s you level up your overdrive and use your current ovd level and loosing all your ovd points to 0. So, why not make the overdrive summons to be able to be hot keyed like any other skill?

That sounds like a cool idea, i'll take a look into it and see what i can do.
EVENTALIST
Show Signature
EVENTALIST
C.O.R.N.
C.O.R.N.
#14 default Re: XAS - Hot Keys Script
Loading

BluE

BluE
C.O.R.N.
C.O.R.N.
C.O.R.N.
profile
this is great for action RPGs. Imagine having to play an action rpg and trying to change weapons in battle. ESC, scroll, scroll, enter, scroll, scroll, enter, scroll, enter, enter, esc, esc, esc. SCHWEPPS!
C.O.R.N.
Show Signature


Want a real challenge? Try [You must be registered and logged in to see this link.]

If you read this message, please PM me. this is a test. And I'm serious, this isnt just some lousy time wasting paragraph that I wrote just to fill in my signature. It's here for a reason. PM ME.
C.O.R.N.
http://51s-seedy-masteroogway.blogspot.com
EVENTALIST
EVENTALIST
#15 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
Well blue in XAS you can press Q and then *scroll, scroll, scroll, enter, esc* but it pauses the game play when you do this.
EVENTALIST
Show Signature
EVENTALIST
C.O.R.N.
C.O.R.N.
#16 default Re: XAS - Hot Keys Script
Loading

BluE

BluE
C.O.R.N.
C.O.R.N.
C.O.R.N.
profile
still, hotkeys are instantaneous. faster. Action rpgs are for the action
C.O.R.N.
Show Signature


Want a real challenge? Try [You must be registered and logged in to see this link.]

If you read this message, please PM me. this is a test. And I'm serious, this isnt just some lousy time wasting paragraph that I wrote just to fill in my signature. It's here for a reason. PM ME.
C.O.R.N.
http://51s-seedy-masteroogway.blogspot.com
Administrator
Administrator
#17 default Re: XAS - Hot Keys Script
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
^ yes, thank wiggles for another killer XAS-script

(blue's using XAS now ^,^
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
ACTIVATED
ACTIVATED
#18 default Re: XAS - Hot Keys Script
Loading

Thunder

Thunder
ACTIVATED
ACTIVATED
ACTIVATED
profile
update @_@
ACTIVATED
Show Signature
ACTIVATED
C.O.R.N.
C.O.R.N.
#19 default Re: XAS - Hot Keys Script
Loading

BluE

BluE
C.O.R.N.
C.O.R.N.
C.O.R.N.
profile
there's no need for an update(I think..)
Wiggles is away :C cant update
C.O.R.N.
Show Signature


Want a real challenge? Try [You must be registered and logged in to see this link.]

If you read this message, please PM me. this is a test. And I'm serious, this isnt just some lousy time wasting paragraph that I wrote just to fill in my signature. It's here for a reason. PM ME.
C.O.R.N.
http://51s-seedy-masteroogway.blogspot.com
ACTIVATED
ACTIVATED
#20 default Re: XAS - Hot Keys Script
Loading

Thunder

Thunder
ACTIVATED
ACTIVATED
ACTIVATED
profile
Isnt working for 3.8 =/
ACTIVATED
Show Signature
ACTIVATED
C.O.R.N.
C.O.R.N.
#21 default Re: XAS - Hot Keys Script
Loading

BluE

BluE
C.O.R.N.
C.O.R.N.
C.O.R.N.
profile
then we've gotta wait then C:
C.O.R.N.
Show Signature


Want a real challenge? Try [You must be registered and logged in to see this link.]

If you read this message, please PM me. this is a test. And I'm serious, this isnt just some lousy time wasting paragraph that I wrote just to fill in my signature. It's here for a reason. PM ME.
C.O.R.N.
http://51s-seedy-masteroogway.blogspot.com
EVENTALIST
EVENTALIST
#22 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
yea, im back and i got school now so im gonna try to find the time to update this script to be compatible with 3.8
EVENTALIST
Show Signature
EVENTALIST
ACTIVATED
ACTIVATED
#23 default Re: XAS - Hot Keys Script
Loading

Thunder

Thunder
ACTIVATED
ACTIVATED
ACTIVATED
profile
=D
I will be waiting.
ACTIVATED
Show Signature
ACTIVATED
EVENTALIST
EVENTALIST
#24 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
yea but its the start of school, so im hectic till the weekend.
EVENTALIST
Show Signature
EVENTALIST
ACTIVATED
ACTIVATED
#25 default Re: XAS - Hot Keys Script
Loading

Thunder

Thunder
ACTIVATED
ACTIVATED
ACTIVATED
profile
No problem.
ACTIVATED
Show Signature
ACTIVATED
ACTIVATED
ACTIVATED
#26 default Re: XAS - Hot Keys Script
Loading

atish2010

avatar
ACTIVATED
ACTIVATED
ACTIVATED
profile
Hmm thats odd..I can't copy paste this script..it pastes it all on line 1 in the script menu...aww..was looking forward to this Sad
ACTIVATED
Show Signature
ACTIVATED
Morderator
Morderator
#27 default Re: XAS - Hot Keys Script
Loading

albertfish

albertfish
Morderator
Morderator
Morderator
profile
atish2010 wrote:Hmm thats odd..I can't copy paste this script..it pastes it all on line 1 in the script menu...aww..was looking forward to this Sad
It copy and pasted fine for me. Do you mind showing a screenshot of how yours looks after you copy and paste it?
Morderator
Show Signature


<'))))><
Morderator
ACTIVATED
ACTIVATED
#28 default Re: XAS - Hot Keys Script
Loading

nhokbutchi6

avatar
ACTIVATED
ACTIVATED
ACTIVATED
profile
[You must be registered and logged in to see this image.]
Help me! Sad
ACTIVATED
Show Signature
ACTIVATED
Morderator
Morderator
#29 default Re: XAS - Hot Keys Script
Loading

albertfish

albertfish
Morderator
Morderator
Morderator
profile
Try re-uploading the image, I am having trouble downloading it!
Morderator
Show Signature


<'))))><
Morderator
ACTIVATED
ACTIVATED
#30 default Re: XAS - Hot Keys Script
Loading

nhokbutchi6

avatar
ACTIVATED
ACTIVATED
ACTIVATED
profile
[You must be registered and logged in to see this image.]
Sorry! I come from Vietnam so my english very bad! I used XAS version 3.6, when I add this script to my project it show that error! Help me! Love you all who help me!!!!!
ACTIVATED
Show Signature
ACTIVATED
ACTIVATED
ACTIVATED
#31 default Re: XAS - Hot Keys Script
Loading

nhokbutchi6

avatar
ACTIVATED
ACTIVATED
ACTIVATED
profile
Someone help me!
ACTIVATED
Show Signature
ACTIVATED
Morderator
Morderator
#32 default Re: XAS - Hot Keys Script
Loading

albertfish

albertfish
Morderator
Morderator
Morderator
profile
The image wont load. Try uploading it to a different host.
Morderator
Show Signature


<'))))><
Morderator
ACTIVATED
ACTIVATED
#33 default Re: XAS - Hot Keys Script
Loading

Thunder

Thunder
ACTIVATED
ACTIVATED
ACTIVATED
profile
This version dont work for current versions of XAS.
XAS 3.82 I will come with a hotkey included.
ACTIVATED
Show Signature
ACTIVATED
EVENTALIST
EVENTALIST
#34 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
yea i know that it will, well oh well im sure that people that are to far along with there games in the older versions will still be able to use this script if they want this function. Smile
EVENTALIST
Show Signature
EVENTALIST
ACTIVATED
ACTIVATED
#35 default Re: XAS - Hot Keys Script
Loading

Pozinhofan

avatar
ACTIVATED
ACTIVATED
ACTIVATED
profile
Hey man, this work with xas 3.91? Hugs, this script is fantastic!
ACTIVATED
Show Signature
ACTIVATED
EVENTALIST
EVENTALIST
#36 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
Not sure, can you try for me?

if you encounter an error let me know and i will see what i can do to make it work.
EVENTALIST
Show Signature
EVENTALIST
ACTIVATED
ACTIVATED
#37 default Re: XAS - Hot Keys Script
Loading

Pozinhofan

avatar
ACTIVATED
ACTIVATED
ACTIVATED
profile
Does not work in 3.91, I made ​​some minor edits, but there in the end, you see that part of plaints former utilizes load command:
Code:
#============================================== =================================
# Scene Map
#================================================= ==============================
Scene_Map class
  alias hot_key_hud_init main
  def main
    @ = hot_key_hud Hot_Key_HUD.new
    hot_key_hud.visible @ =! $ game_switches [XAS_HUDDISABLE_HUD_SWITCH]
    hot_key_hud_init
    @ hot_key_hud.dispose
  end
 
  alias hot_key_hud_update update
  def update
    hot_key_hud_update
    @ hot_key_hud.update
    hot_key_hud.visible @ =! $ game_switches [XAS_HUDDISABLE_HUD_SWITCH]
    @ hot_key_hud.update if! $ game_switches [XAS_HUDDISABLE_HUD_SWITCH]
  end
end
To fix the error of 3.91 plaints, change the "XAS_HUDDISABLE_HUD_SWITCH" by the ID switch that connects your HUD. Only this will solve. Thanks!
ACTIVATED
Show Signature
ACTIVATED
Active Member
Active Member
#38 default Re: XAS - Hot Keys Script
Loading

LiTTleDRAgo

LiTTleDRAgo
Active Member
Active Member
Active Member
profile
I trying to edit this, but anyone know how to use T,Y,U,I,O,P,etc as well for hotkeys?
Thanks~
Active Member
Show Signature
Active Member
http://littledrago.blogspot.com
EVENTALIST
EVENTALIST
#39 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
Here just replace the Numkey hash with this one..

Code:

  Numkey = {
  #  T    ,    Y    ,    U    ,    O    ,    P
  1 => 1084, 2 => 1089, 3 => 1085, 4 => 1079, 5 => 1080,
  6 => 1054, 7 => 1055, 8 => 1056, 9 => 1057, 0 => 1048
  }
EVENTALIST
Show Signature
EVENTALIST
Active Member
Active Member
#40 default Re: XAS - Hot Keys Script
Loading

LiTTleDRAgo

LiTTleDRAgo
Active Member
Active Member
Active Member
profile
thanks, but where can I find a reference for other button?

T = 1084
Y = 1089 (T+5)?
U = 1085 (Y-4)?

I can't find the pattern of the button
Active Member
Show Signature
Active Member
http://littledrago.blogspot.com
EVENTALIST
EVENTALIST
#41 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
you can use this list to find out the values.

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

however with my script i have added 1000 to the values so they didn't interfere with the original Input module.
EVENTALIST
Show Signature
EVENTALIST
ACTIVATED
ACTIVATED
#42 default Re: XAS - Hot Keys Script
Loading

Thunder

Thunder
ACTIVATED
ACTIVATED
ACTIVATED
profile
LiTTleDRAgo wrote:thanks, but where can I find a reference for other button?

T = 1084
Y = 1089 (T+5)?
U = 1085 (Y-4)?

I can't find the pattern of the button

Alphabetical pattern:

T - 1084
U - 1085
V - 1086
W - 1087
X - 1088
Y - 1089
ACTIVATED
Show Signature
ACTIVATED
EVENTALIST
EVENTALIST
#43 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
im sorry but i dont understand what it is you want... as far as i know the ansi value of the keys are the alphabet patterrn like you said.

(posted f my phone)
EVENTALIST
Show Signature
EVENTALIST
ACTIVATED
ACTIVATED
#44 default Re: XAS - Hot Keys Script
Loading

Thunder

Thunder
ACTIVATED
ACTIVATED
ACTIVATED
profile
Littledrago said that dont understood the pattern, I just explained.
ACTIVATED
Show Signature
ACTIVATED
Active Member
Active Member
#45 default Re: XAS - Hot Keys Script
Loading

LiTTleDRAgo

LiTTleDRAgo
Active Member
Active Member
Active Member
profile
umm actually this already explains what I need

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

but thank you anyways
Active Member
Show Signature
Active Member
http://littledrago.blogspot.com
EVENTALIST
EVENTALIST
#46 default Re: XAS - Hot Keys Script
Loading

mr_wiggles

mr_wiggles
EVENTALIST
 EVENTALIST
EVENTALIST
profile
yea got confused, when viewing the site from my phone things get a little scrambled. :p
EVENTALIST
Show Signature
EVENTALIST
ACTIVATED
ACTIVATED
#47 default Re: XAS - Hot Keys Script
Loading

ladigi

ladigi
ACTIVATED
ACTIVATED
ACTIVATED
profile
who can make a demo for me
ACTIVATED
Show Signature
ACTIVATED
Administrator
Administrator
#48 default Re: XAS - Hot Keys Script
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
xin chào ladigi - welcome to the underground ^,^

what version of XAS are you using?
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
ACTIVATED
ACTIVATED
#49 default Re: XAS - Hot Keys Script
Loading

sirSLR

sirSLR
ACTIVATED
ACTIVATED
ACTIVATED
profile
Ok found a way for it to work in 3.91

go to the end of the script and eather add '#' in front or delete this part of the code

@hot_key_hud.visible = !$game_switches[XAS_HUDDISABLE_HUD_SWITCH]
ACTIVATED
Show Signature
ACTIVATED
ACTIVATED
ACTIVATED
#50 default Re: XAS - Hot Keys Script
Loading

Thunder

Thunder
ACTIVATED
ACTIVATED
ACTIVATED
profile
Change: XAS_HUDDISABLE_HUD_SWITCH
to: XAS_HUD::DISABLE_HUD_SWITCH
will give a better result.
ACTIVATED
Show Signature
ACTIVATED

Sponsored content

profile

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

Go to page : 1, 2  Next

 

Chatbox system disabled
Personal messaging disabled