|
  |
Oni Series Pack, My Library (Updated 7/4/09, 14:25) |
|
|
|
|
Jul 12 2009, 07:17 AM
|
Level 5

Group: Member
Posts: 74
Type: Scripter
RM Skill: Skilled

|
1. Wish you luck. 2. It's a pity. aaand 3. Top right, thank you
|
|
|
|
|
|
|
|
|
Jul 13 2009, 04:26 PM
|

image master of doom

Group: Revolutionary
Posts: 603
Type: None
RM Skill: Undisclosed

|
@KPaxian Almost done... maybe tomorrow @Khev Brazil? You can ask anything you want in my community, i will be glad to help: www.magnarpg.com.br
__________________________
|
|
|
|
|
|
|
|
|
Aug 2 2009, 11:31 AM
|
Level 5

Group: Member
Posts: 74
Type: Scripter
RM Skill: Skilled

|
QUOTE (KPaxian @ Jul 14 2009, 02:20 AM)  When you are ready. It's not so urgent. Okay I shouldn't have said it's not urgent, but I thought you'd finish it in a couple of days or so... Not more than 2 weeks! Isn't it ready?
|
|
|
|
|
|
|
|
|
Aug 2 2009, 01:13 PM
|

image master of doom

Group: Revolutionary
Posts: 603
Type: None
RM Skill: Undisclosed

|
QUOTE (KPaxian @ Aug 2 2009, 04:31 PM)  QUOTE (KPaxian @ Jul 14 2009, 02:20 AM)  When you are ready. It's not so urgent. Okay I shouldn't have said it's not urgent, but I thought you'd finish it in a couple of days or so... Not more than 2 weeks! Isn't it ready? Oh my god! I forgot your request! Making in 3 seconds! ^^ Sorry. Here: CODE #============================================================================== # ** Oni Feed Me #---------------------------------- # Developed by Onidsouza # Do not redestribute without permission #============================================================================== module FeedMe #======================================== # <<<<<<<<< NEED TO CONFIGURE >>>>>>>>>> #======================================== Time = 1 # Minutes to increase the Hungry and Thirst +1 ShowMenu = true # Show Hungry and Thirst in the Status Menu HungryColor = Color.new(255, 0, 0) # If in menu, what's the #color to represent hungry? ThirstColor = Color.new(0, 0, 255) # If in menu, what's the #color to represent thirst? RecoverHungry = {21 => 3, # Items that change the Hungry Value # Item ID => Value # To increase Hungry, use a negative value # To decrease Hungry, use a positive value 23 => -3} RecoverThirst = {22 => 3, # Items that change the Thirst Value # Item ID => Value # To increase Thirst, use a negative value # To decrease Thirst, use a positive value 23 => -3} #======================================== # <<<<<<<<< NEED TO CONFIGURE >>>>>>>>>> #======================================== end
class Game_Actor < Game_Battler alias feedMeInitialize initialize alias feedMeExecute execute_damage alias feedMeItemEffect item_effect attr_reader :hungry attr_reader :thirst attr_reader :time def initialize(actor_id) feedMeInitialize(actor_id) @hungry = 0 @thirst = 0 @time = 0 end def update @time += 1 unless (@time / Graphics.frame_rate) < (FeedMe::Time * 60) @time = 0 @hungry = [@hungry + 1, 10].min @thirst = [@thirst + 1, 10].min end end def food(level) @hungry = [[(@hungry - level), 0].max, 10].min end def drink(level) @thirst = [[(@thirst - level), 0].max, 10].min end def execute_damage(user) unless @hp_damage < 0 and @thirst == 10 feedMeExecute(user) end end def item_effect(user, item) unless FeedMe::RecoverHungry[item.id] == nil food(FeedMe::RecoverHungry[item.id]) end unless FeedMe::RecoverThirst[item.id] == nil drink(FeedMe::RecoverThirst[item.id]) end unless item.hp_recovery != 0 and @hungry == 10 feedMeItemEffect(user, item) end end end
class Game_Player < Game_Character alias feedMeDash dash? def dash? return false if $game_party.members[0].thirst == 10 feedMeDash end end
class Scene_Map < Scene_Base alias feedMeUpdate update def update feedMeUpdate for actor in $game_party.members actor.update end end end
class Window_Status < Window_Base alias feedMeRefresh refresh def refresh feedMeRefresh draw_hunger_status(300, 300) end def draw_hunger_status(x, y) self.contents.font.color = system_color self.contents.draw_text(x, y, 100, WLH, "Hunger") self.contents.draw_text(x, y + 30, 100, WLH, "Thirst") self.contents.font.color = normal_color self.contents.fill_rect(x + 100, y, 100, WLH, Color.new(0, 0, 0)) self.contents.fill_rect(x + 100, y + 30, 100, WLH, Color.new(0, 0, 0)) xx = x + 100 @actor.hungry.times do self.contents.fill_rect(xx, y, 10, WLH, FeedMe::HungryColor) xx += 10 end xx = x + 100 yy = y + 30 @actor.thirst.times do self.contents.fill_rect(xx, yy, 10, WLH, FeedMe::ThirstColor) xx += 10 end end end
class Window_FeedMe_HUD < Window_Base def initialize super(0, 0, 544, 416) self.opacity = 0 @actor = $game_party.members[0] end def refresh self.contents.clear draw_hunger_status(300, 0) end def draw_hunger_status(x, y) self.contents.font.color = system_color self.contents.draw_text(x, y, 100, WLH, "Hunger") self.contents.draw_text(x, y + 30, 100, WLH, "Thirst") self.contents.font.color = normal_color self.contents.fill_rect(x + 100, y, 100, WLH, Color.new(0, 0, 0)) self.contents.fill_rect(x + 100, y + 30, 100, WLH, Color.new(0, 0, 0)) xx = x + 100 @actor.hungry.times do self.contents.fill_rect(xx, y, 10, WLH, FeedMe::HungryColor) xx += 10 end xx = x + 100 yy = y + 30 @actor.thirst.times do self.contents.fill_rect(xx, yy, 10, WLH, FeedMe::ThirstColor) xx += 10 end end end
class Scene_Map < Scene_Base alias fmhudinit start alias fmhuddis terminate alias fmhudupdate update def start fmhudinit @fmhud = Window_FeedMe_HUD.new end def terminate fmhuddis @fmhud.dispose end def update fmhudupdate @fmhud.refresh end end
__________________________
|
|
|
|
|
|
|
|
|
Aug 2 2009, 11:26 PM
|
Level 5

Group: Member
Posts: 74
Type: Scripter
RM Skill: Skilled

|
QUOTE (onidsouza @ Aug 2 2009, 01:13 PM)  QUOTE (KPaxian @ Aug 2 2009, 04:31 PM)  QUOTE (KPaxian @ Jul 14 2009, 02:20 AM)  When you are ready. It's not so urgent. Okay I shouldn't have said it's not urgent, but I thought you'd finish it in a couple of days or so... Not more than 2 weeks! Isn't it ready? Oh my god! I forgot your request! Making in 3 seconds! ^^ Sorry. Here: CODE #============================================================================== # ** Oni Feed Me #---------------------------------- # Developed by Onidsouza # Do not redestribute without permission #============================================================================== module FeedMe #======================================== # <<<<<<<<< NEED TO CONFIGURE >>>>>>>>>> #======================================== Time = 1 # Minutes to increase the Hungry and Thirst +1 ShowMenu = true # Show Hungry and Thirst in the Status Menu HungryColor = Color.new(255, 0, 0) # If in menu, what's the #color to represent hungry? ThirstColor = Color.new(0, 0, 255) # If in menu, what's the #color to represent thirst? RecoverHungry = {21 => 3, # Items that change the Hungry Value # Item ID => Value # To increase Hungry, use a negative value # To decrease Hungry, use a positive value 23 => -3} RecoverThirst = {22 => 3, # Items that change the Thirst Value # Item ID => Value # To increase Thirst, use a negative value # To decrease Thirst, use a positive value 23 => -3} #======================================== # <<<<<<<<< NEED TO CONFIGURE >>>>>>>>>> #======================================== end
class Game_Actor < Game_Battler alias feedMeInitialize initialize alias feedMeExecute execute_damage alias feedMeItemEffect item_effect attr_reader :hungry attr_reader :thirst attr_reader :time def initialize(actor_id) feedMeInitialize(actor_id) @hungry = 0 @thirst = 0 @time = 0 end def update @time += 1 unless (@time / Graphics.frame_rate) < (FeedMe::Time * 60) @time = 0 @hungry = [@hungry + 1, 10].min @thirst = [@thirst + 1, 10].min end end def food(level) @hungry = [[(@hungry - level), 0].max, 10].min end def drink(level) @thirst = [[(@thirst - level), 0].max, 10].min end def execute_damage(user) unless @hp_damage < 0 and @thirst == 10 feedMeExecute(user) end end def item_effect(user, item) unless FeedMe::RecoverHungry[item.id] == nil food(FeedMe::RecoverHungry[item.id]) end unless FeedMe::RecoverThirst[item.id] == nil drink(FeedMe::RecoverThirst[item.id]) end unless item.hp_recovery != 0 and @hungry == 10 feedMeItemEffect(user, item) end end end
class Game_Player < Game_Character alias feedMeDash dash? def dash? return false if $game_party.members[0].thirst == 10 feedMeDash end end
class Scene_Map < Scene_Base alias feedMeUpdate update def update feedMeUpdate for actor in $game_party.members actor.update end end end
class Window_Status < Window_Base alias feedMeRefresh refresh def refresh feedMeRefresh draw_hunger_status(300, 300) end def draw_hunger_status(x, y) self.contents.font.color = system_color self.contents.draw_text(x, y, 100, WLH, "Hunger") self.contents.draw_text(x, y + 30, 100, WLH, "Thirst") self.contents.font.color = normal_color self.contents.fill_rect(x + 100, y, 100, WLH, Color.new(0, 0, 0)) self.contents.fill_rect(x + 100, y + 30, 100, WLH, Color.new(0, 0, 0)) xx = x + 100 @actor.hungry.times do self.contents.fill_rect(xx, y, 10, WLH, FeedMe::HungryColor) xx += 10 end xx = x + 100 yy = y + 30 @actor.thirst.times do self.contents.fill_rect(xx, yy, 10, WLH, FeedMe::ThirstColor) xx += 10 end end end
class Window_FeedMe_HUD < Window_Base def initialize super(0, 0, 544, 416) self.opacity = 0 @actor = $game_party.members[0] end def refresh self.contents.clear draw_hunger_status(300, 0) end def draw_hunger_status(x, y) self.contents.font.color = system_color self.contents.draw_text(x, y, 100, WLH, "Hunger") self.contents.draw_text(x, y + 30, 100, WLH, "Thirst") self.contents.font.color = normal_color self.contents.fill_rect(x + 100, y, 100, WLH, Color.new(0, 0, 0)) self.contents.fill_rect(x + 100, y + 30, 100, WLH, Color.new(0, 0, 0)) xx = x + 100 @actor.hungry.times do self.contents.fill_rect(xx, y, 10, WLH, FeedMe::HungryColor) xx += 10 end xx = x + 100 yy = y + 30 @actor.thirst.times do self.contents.fill_rect(xx, yy, 10, WLH, FeedMe::ThirstColor) xx += 10 end end end
class Scene_Map < Scene_Base alias fmhudinit start alias fmhuddis terminate alias fmhudupdate update def start fmhudinit @fmhud = Window_FeedMe_HUD.new end def terminate fmhuddis @fmhud.dispose end def update fmhudupdate @fmhud.refresh end end Thanks  Sorry about rushing but I've promised a demo to a friend..
|
|
|
|
|
|
|
|
|
Aug 4 2009, 02:51 AM
|
Level 5

Group: Member
Posts: 74
Type: Scripter
RM Skill: Skilled

|
QUOTE (Kiku Maru Xtreme @ Aug 4 2009, 12:38 AM)  Do you take requests here??? Of course! And he actually makes them. He's the best!
|
|
|
|
|
|
|
|
|
Aug 4 2009, 09:54 AM
|
Level 5

Group: Member
Posts: 74
Type: Scripter
RM Skill: Skilled

|
QUOTE (Kiku Maru Xtreme @ Aug 4 2009, 03:00 AM)  Ohhh, then why is there no request sheet? Can you help me make a simple time system??? the time system should only appear in the menu and in the script editor you can change the time to any time you like so may you help me???
Just asking if you can join my game as a scripter i am currently working on two games one on VX the other on XP. I can tell about 2 time scripts - Kylock's and KGC. Personally I'm using Kylock's. They both have day/night systems and the like. You can add names of days/weeks etc. Here's a link to Kylock's - Kylock's Time System
This post has been edited by KPaxian: Aug 4 2009, 09:54 AM
|
|
|
|
|
|
|
|
|
Aug 5 2009, 03:10 PM
|

I'm sorry.. What?

Group: Revolutionary
Posts: 217
Type: Event Designer
RM Skill: Skilled

|
QUOTE (Dark Raccoon @ Aug 5 2009, 08:09 PM)  "Oni Widescreen Cutscene"
What does this do? Promotes the Widescreen Effect (usually a change from 4:3 to 16:9 resolution displays) by showing 2 black rectangulars on top and bottom of the screen for a cutscene.
__________________________
|
|
|
|
|
|
|
|
  |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
RPG RPG Revolution is an Privacy
Policy and Legal
|
|