Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
> Oni Series Pack, My Library (Updated 7/4/09, 14:25)
KPaxian
post Jul 12 2009, 07:17 AM
Post #41


Level 5
Group Icon

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




1. Wish you luck.
2. It's a pity.
aaand
3. Top right, thank you smile.gif
Go to the top of the page
 
+Quote Post
   
Khev
post Jul 12 2009, 07:48 AM
Post #42


I'm sorry.. What?
Group Icon

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




How about some RGSS2 tutorials for some brazilian fellas ;D


__________________________

Go to the top of the page
 
+Quote Post
   
onidsouza
post Jul 13 2009, 04:26 PM
Post #43


image master of doom
Group Icon

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


__________________________
Gabba Gabba Hey! enjoy your life ^^
lol (by keet's brother)
some lol
more lol
even MORE lol
Serious Discussion
why all my lol's have Teh Parakeet involved?

me ^^

bacon

Spamming is always better with bacon
Go to the top of the page
 
+Quote Post
   
KPaxian
post Jul 14 2009, 01:20 AM
Post #44


Level 5
Group Icon

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




When you are ready. It's not so urgent.
Go to the top of the page
 
+Quote Post
   
KPaxian
post Aug 2 2009, 11:31 AM
Post #45


Level 5
Group Icon

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?
Go to the top of the page
 
+Quote Post
   
onidsouza
post Aug 2 2009, 01:13 PM
Post #46


image master of doom
Group Icon

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



__________________________
Gabba Gabba Hey! enjoy your life ^^
lol (by keet's brother)
some lol
more lol
even MORE lol
Serious Discussion
why all my lol's have Teh Parakeet involved?

me ^^

bacon

Spamming is always better with bacon
Go to the top of the page
 
+Quote Post
   
KPaxian
post Aug 2 2009, 11:26 PM
Post #47


Level 5
Group Icon

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 biggrin.gif Sorry about rushing but I've promised a demo to a friend.. laugh.gif
Go to the top of the page
 
+Quote Post
   
onidsouza
post Aug 3 2009, 02:16 PM
Post #48


image master of doom
Group Icon

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




No, i'm sorry.
I totally forgot about your request!


__________________________
Gabba Gabba Hey! enjoy your life ^^
lol (by keet's brother)
some lol
more lol
even MORE lol
Serious Discussion
why all my lol's have Teh Parakeet involved?

me ^^

bacon

Spamming is always better with bacon
Go to the top of the page
 
+Quote Post
   
KPaxian
post Aug 3 2009, 11:50 PM
Post #49


Level 5
Group Icon

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




I guess you were right about the hud. My screen is way too overcrowded with huds and stuff... Perhaps I'll go back to the previous script.
Go to the top of the page
 
+Quote Post
   
Kiku Maru Xtreme
post Aug 4 2009, 12:38 AM
Post #50


Level 4
Group Icon

Group: Member
Posts: 51
Type: Developer
RM Skill: Intermediate




Do you take requests here???


__________________________
[Show/Hide] Sigs And Stuffs



Go to the top of the page
 
+Quote Post
   
KPaxian
post Aug 4 2009, 02:51 AM
Post #51


Level 5
Group Icon

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! biggrin.gif
Go to the top of the page
 
+Quote Post
   
Kiku Maru Xtreme
post Aug 4 2009, 03:00 AM
Post #52


Level 4
Group Icon

Group: Member
Posts: 51
Type: Developer
RM Skill: Intermediate




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.


__________________________
[Show/Hide] Sigs And Stuffs



Go to the top of the page
 
+Quote Post
   
KPaxian
post Aug 4 2009, 09:54 AM
Post #53


Level 5
Group Icon

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
Go to the top of the page
 
+Quote Post
   
onidsouza
post Aug 5 2009, 01:18 PM
Post #54


image master of doom
Group Icon

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




Well, as KXPaxian sais, there already are time scripts. And about joining your team, i'm sorry. I'm working in my last three RPG Maker projects. Now i'm definitivaly changing no XNA and Source. But i still will be making scripts and fixing compatibility for RGSS2. Any help just ask.

And KPaxian, i'm far from beign the best. There still a lot to learn, but thanks.


__________________________
Gabba Gabba Hey! enjoy your life ^^
lol (by keet's brother)
some lol
more lol
even MORE lol
Serious Discussion
why all my lol's have Teh Parakeet involved?

me ^^

bacon

Spamming is always better with bacon
Go to the top of the page
 
+Quote Post
   
Dark Raccoon
post Aug 5 2009, 03:09 PM
Post #55


Level 1
Group Icon

Group: Member
Posts: 7
Type: Scripter
RM Skill: Intermediate




"Oni Widescreen Cutscene"

What does this do?


__________________________
Go to the top of the page
 
+Quote Post
   
Khev
post Aug 5 2009, 03:10 PM
Post #56


I'm sorry.. What?
Group Icon

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.


__________________________

Go to the top of the page
 
+Quote Post
   
onidsouza
post Aug 5 2009, 03:26 PM
Post #57


image master of doom
Group Icon

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




*and resizing windows, tiles, characters, and hiding HUD's.

smile.gif


__________________________
Gabba Gabba Hey! enjoy your life ^^
lol (by keet's brother)
some lol
more lol
even MORE lol
Serious Discussion
why all my lol's have Teh Parakeet involved?

me ^^

bacon

Spamming is always better with bacon
Go to the top of the page
 
+Quote Post
   
Khev
post Aug 5 2009, 03:48 PM
Post #58


I'm sorry.. What?
Group Icon

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




Talking about resizing windows.. is there any possible way to resize the window without altering the tileset/character size?

What I mean is, making it so the resolution changes from 540x420 to 800x600, and you can see MORE tiles on the map, rather than them changing and getting proportionally bigger as well...


__________________________

Go to the top of the page
 
+Quote Post
   
onidsouza
post Aug 5 2009, 04:21 PM
Post #59


image master of doom
Group Icon

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




Probally yes, but it can be very hard. If you really wan't that, i can try to make it for you.


__________________________
Gabba Gabba Hey! enjoy your life ^^
lol (by keet's brother)
some lol
more lol
even MORE lol
Serious Discussion
why all my lol's have Teh Parakeet involved?

me ^^

bacon

Spamming is always better with bacon
Go to the top of the page
 
+Quote Post
   
Khev
post Aug 5 2009, 04:23 PM
Post #60


I'm sorry.. What?
Group Icon

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




In fact I really do !

But I think people would enjoy if you posted it in a new topic, I'm sure it wasn't made before smile.gif


__________________________

Go to the top of the page
 
+Quote Post
   

4 Pages V  < 1 2 3 4 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 20th June 2013 - 12:25 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker