Monday, August 26, 2013

Theo - Anywhere Texts on Screen

English Version Avalaible
Version : 1.0
Inspiration : RMWeb RGSS3 Request
Pembukaan :
Script ini ngebikin kamu bisa nulis text di screen

Screenshot :

Place your text anywhere

Cara penggunaan :
Pasang dibawah material namun diatas main
Gunakan script callnya kek gini.

Script call
Instruksi lebih jelasnya baja aja sendiri di scriptnya

Download :
 

22 comments:

  1. This script looks amazing! Great work! :D

    ReplyDelete
  2. NoMethodError occurred on line 200. undefined method 'keys' for nil:NilClass

    ReplyDelete
  3. Hello all!
    Many thanks for this cool script!
    I use a Quest system that use Script calls and conditions to work… and i want to show text and pictures easily on screen.

    Your script is good, well it's simple but i don't have the real comprehension of ruby and rgss for now…

    it will be cool if we can change the color and size of the font, i search how to make this but more i read the conditions and more i am at loose ^^"

    at the end i think to search to show automaticaly my script calls on screen, but i need to create a new script to extend the quest system or to update it.

    Thanks in advance !

    ReplyDelete
    Replies
    1. You're welcome! :D
      You can easily change the font color by putting \\C[n] and such just like when you make show text in eventing

      Delete
  4. I'm trying to put a fading black box behind the text like you have on the corner text in the example, but no matter what color I type I just get an error.
    I tried the ones you had written in the script (red,green,blue,alpha)
    I tried numbers (like /c[1] or just 1), both gave me errors
    and I tried putting it in a string (cannot convert string to color)

    Can I get a hand please? Thanks!

    ReplyDelete
    Replies
    1. Maybe, it was because your script call is too long. You could try to "simplify" it, for example

      k = '1'
      x = 0
      y = 0
      t = "Whatever"
      z = 1
      s = 0
      w = 150
      h = 24
      c1 = Color.new(0,0,0,128)
      c2 = Color.new(0,0,0,0)

      text(k,x,y,t,z,s,w,h,c1,c2)

      Delete
    2. http://www.theolized.com/2014/09/theo-notification-window.html

      perhaps , the black box behind the text is a notification window that theo made

      Delete
  5. Made a cool feature using this script, it displays damage and healing on screen on the
    map, but only damage/healing inflicted through the change_hp method. Here it is:

    class Game_BattlerBase
    alias show_change_hp change_hp
    def change_hp(value, enable_death)
    show_change_hp(value, enable_death)
    if $game_map != 0
    if self.respond_to?(:actor)
    if self.actor.name == $game_player.actor.name
    actor_x = $game_player.screen_x - 26
    actor_y = $game_player.screen_y - 26
    end
    end
    if self.respond_to?(:name)
    $game_player.followers.each do |follower|
    if follower.actor != nil
    if follower.actor.name == self.name
    actor_x = follower.screen_x - 26
    actor_y = follower.screen_y - 26
    end
    end
    end
    end
    @@text ||= 0
    @@text += 1
    if value < 0
    $game_map.interpreter.text(@@text,actor_x,actor_y,"\\C[10]#{value}",0,30,50,50,Color.new(0, 0, 0, 0))
    elsif value > 0
    $game_map.interpreter.text(@@text,actor_x,actor_y,"\\C[3]+#{value}",0,30,50,50,Color.new(0, 0, 0, 0))
    end
    end
    end
    end

    ReplyDelete
    Replies
    1. Is this kind of addon to my script? Cool if this is it!

      Delete
  6. Holy crap. This is compatible with Modern Algebra's ATS scripts. Which means you can type \\pg to display party gold, \\i[n] to display icons, \\fn[Textnamehere] to change fonts. The possibilities this opens up are interesting. This is a cool script with a lot of uses!

    ReplyDelete
    Replies
    1. Glad it won't make any issue with text related script. Thank you for the discovery :D

      Delete
  7. Can you make it for RPG maker VX?

    ReplyDelete
  8. I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot!
    RMMV Resources

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. How do i use it to show variables?

    ReplyDelete
  11. Hey there, really cool script!
    I'd like the text to float around, any idea how to do this?

    ReplyDelete
    Replies
    1. You could use variables for the x and y stats.
      Using an even to change these will make the text move.
      But it will more plop or jump araound then actually float.

      Delete
    2. How do you sub variables for the numbers in the script call?

      Delete
  12. Actually, I figured it out. When you make the script call, do something like this

    xvar = $game_variables[1]
    yvar = $game_variables[2]

    text(,xvar,yvar,,)

    But you're right about it jumping instead of floating.

    THE POSITION WON'T AUTOMATICALLY UPDATE : You'll need to delete the key then use the script call again after changing the variables. Also you'll probably want two pairs of variables for each text box individually in the event you want to display more than one.

    ReplyDelete
  13. Can this be used as subtitle function when audio dialogue plays instead of using the built-in $game_message.add()?

    ReplyDelete

Comment rules :
1. Stay in topic or I will ignore
2. Comment must be in either Bahasa Indonesian or English.

I appreciate any form of comments. However, please do not spam!