Character Emoji VXA
Version: 1.0
Author: Soulpour777
Description
This allows the player to create emoji (balloon emotions) on the map, either to show their emotion in game or express their emotions in game. Perfect for Online Games / Dating Simulation Games.
Features
- Displays Emotions on Map via Button
Screenshots
(https://rmrk.net/proxy.php?request=http%3A%2F%2Finfinitytears.files.wordpress.com%2F2014%2F02%2Fcharacter_emoji-vxa.jpg%3Fw%3D584&hash=ad9c7544a41542b58fcb91fc423037522b1bb626)
Instructions
Plug and Play. Place the script below Materials above Main.
Script
Please get it at Soulpour RGSS: http://infinitytears.wordpress.com/2014/02/15/rgss3-character-emoji-vxa/
Credit
Support
If you have any questions, comments, critiques, corrections or any other concern about the script, please do contact me here on RMRK, comment below or mail me in my website.
Known Compatibility Issues
None
Terms of Use
All my scripts are bound under my terms of use. If any terms on RMRK does not contradict my terms, please add those.
I like the concept behind this one. Great job.
You should think about maybe setting up a menu system for it so the players can change what emot they want to express with which buttons. If I am not mistaken you should also be able to use the F5 - F8 buttons too( It might be F1 - F5 I'm not sure but you can look up the buttons in the rgss help file.). You should think about using those for that as L and R are very common buttons and might become a problem with a lot of other scripts.
Quote from: vindaca on February 17, 2014, 11:17:35 PM
I like the concept behind this one. Great job.
You should think about maybe setting up a menu system for it so the players can change what emot they want to express with which buttons. If I am not mistaken you should also be able to use the F5 - F8 buttons too( It might be F1 - F5 I'm not sure but you can look up the buttons in the rgss help file.). You should think about using those for that as L and R are very common buttons and might become a problem with a lot of other scripts.
Hi :)
To be honest I am not still well versed in using windows nor making a selected command on windows. Proof being only a few of my scripts works with windows. If there are ways to achieve such, I am not still familiar with it. If you have some suggestions, please tell me how.
Thank you.
No problem at all. I will PM you later with some ways to do this.
K so I just got started on it, did you know this script is not working or finished?
*Edit~
Here are some tips. =)
# -----------------------------------------------------
# Update (Aliased)
# This is where I can check the updates, call the original method
# -----------------------------------------------------
def update
emotion_balloon_update() #Call Original Method
unless $game_message.visible
update_call_balloon if $game_system.map_emoji # this check is always going to return false, and is not needed.
end
end
# -=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~
# Check Emoji (Emoji Functions Per Trigger)
# -=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~
def self.check_emoji
$game_player.balloon_id = Character_Emoji::SHIFT_EMOJI if Input.trigger?(Character_Emoji::BUTTON_SHIFT)#this is a good enough check, and there should not be any problems.
$game_player.balloon_id = Character_Emoji::ALT_EMOJI if Input.trigger?(Character_Emoji::BUTTON_ALT)
$game_player.balloon_id = Character_Emoji::R_EMOJI if Input.trigger?(Character_Emoji::BUTTON_R)
$game_player.balloon_id = Character_Emoji::L_EMOJI if Input.trigger?(Character_Emoji::BUTTON_L)
end
This is my edit with your script as the base.
[spoiler]
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# Character Emoji VXA
# Author: Soulpour777
# Version 1.0
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# Description: This allows the player to create emoji (balloon emotions) on
# the map, either to show their emotion in game or express their emotions
# in game. Perfect for Online Games / Dating Simulation Games.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# Terms of Use:
#~ For Non-Commercial Use:
#~ You are free to use the script on any non-commercial projects.
#~ You are free to adapt the script. Any modifications are allowed as long as
# it is provided as a note on the script.
#~ Credits to SoulPour777 for the script.
#~ Preserve the Script Header.
#~ Claiming the script as your own is prohibited.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# Character Emoji
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This module handles the values and a function for the Character Emoji.
# ------------------------------------------------------------------------------
module Character_Emoji
# -=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~
# Emoji Table
# -=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~
# 1 - Exclamation Mark
# 2 - Question Mark
# 3 - Music Note Balloon
# 4 - Heart
# 5 - Anger
# 6 - Sweat
# 7 - Disheaveled
# 8 - Silence
# 9 - Idea
# 10 - Sleepy
# -=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~
# -=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~
# Start Configuring Emojis Here:
# -=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~-=~
BUTTON_SHIFT = Input::SHIFT
SHIFT_EMOJI = 6
BUTTON_ALT = Input::ALT
ALT_EMOJI = 1
BUTTON_R = Input::R
R_EMOJI = 2
BUTTON_L = Input::L
L_EMOJI = 3
end
#==============================================================================
# ** Scene_Map
#------------------------------------------------------------------------------
# This class performs the map screen processing.
#==============================================================================
class Scene_Map < Scene_Base
# -----------------------------------------------------
# Alias Listings
# -----------------------------------------------------
alias emotion_balloon_update update
# -----------------------------------------------------
# -----------------------------------------------------
# Update (Aliased)
# This is where I can check the updates, call the original method
# -----------------------------------------------------
def update
emotion_balloon_update() #Call Original Method
unless $game_message.visible
$game_player.balloon_id = Character_Emoji::SHIFT_EMOJI if Input.trigger?(Character_Emoji::BUTTON_SHIFT)
$game_player.balloon_id = Character_Emoji::ALT_EMOJI if Input.trigger?(Character_Emoji::BUTTON_ALT)
$game_player.balloon_id = Character_Emoji::R_EMOJI if Input.trigger?(Character_Emoji::BUTTON_R)
$game_player.balloon_id = Character_Emoji::L_EMOJI if Input.trigger?(Character_Emoji::BUTTON_L)
end
end
end
[/spoiler]
Thanks for pointing that out. :)