Author Topic: General RGSS/RGSS2/RGSS3 Help  (Read 104322 times)

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2222
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #20 on: March 14, 2009, 11:18:51 AM »
Change the @column_max variable to @item_max in Window_Selectable. You might have to tinker with update_cursor_rect.
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #21 on: March 14, 2009, 04:14:07 PM »
Thanks fantasist now I can make my cms I had in mind.
Okay it works but I still dont know how to lay the choices together.
Instead of
Items
Skills
Etc.

I want this but I dont know how to do this
Items Skills Etc.

The window selectable thing works but I started up title screen and it showed all three options the same but the selection was different.
« Last Edit: March 14, 2009, 04:21:15 PM by game_guy »

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4505
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #22 on: March 14, 2009, 04:40:51 PM »
you need to change the dimensions of the window (in the constructor, where it says 'def initialize), then change draw_item.  Or whatever that method is called.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #23 on: March 14, 2009, 04:55:26 PM »
Well I still dont know exactly what to change. I tried changing a few things just now but it started only showing the New Game option. So then I changed it back.

EDIT: Okay I just made a new window based off of ShopCommand so I got it now.
« Last Edit: March 14, 2009, 07:44:53 PM by game_guy »

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #24 on: March 17, 2009, 01:18:42 AM »
New question:
 is it possible to have a message thing have to use more than one letter? Like the name thing is \n[1] but I need to know if its possible to have something like \sd[1] and if so how?

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4505
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #25 on: March 17, 2009, 02:31:54 AM »
yes.  Just search for the string like you would any other.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #26 on: March 17, 2009, 04:17:02 AM »
well I wouldnt know what to do. I had the thing setup in the code like this
[SDsd] but that didnt work and I wouldnt know what else to try.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4505
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #27 on: March 17, 2009, 05:33:30 AM »
its in Blizz-ABS.  here, let me find it...

Code: [Select]
event.name.clone.gsub!('\spc') {''}
thats how it looks through event names in blizzabs.

For messages, replace event.name with whatever you get the message text from.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #28 on: March 17, 2009, 05:44:40 AM »
It doesnt work :( heres the code I have
(click to show/hide)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19898
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #29 on: March 17, 2009, 09:28:20 AM »
That's for "\spc", not for "[spc]".
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #30 on: March 17, 2009, 11:14:42 PM »
What do you mean its for "\spc"?

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #31 on: March 17, 2009, 11:30:23 PM »
Two things:

1) He meant that it checked the event's name for \spc, not [spc].

2) I'm fairly sure you can just use
Code: [Select]
event.name.gsub('[spc]') do '' end
Since regular gsub copies on its own 0_o

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #32 on: March 18, 2009, 12:44:51 AM »
I dont want to see what an events name is its for a message system. The message system uses this \n[1] to display a name. I want this
\ah[1] to display Game_actor 1's hp.

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #33 on: March 18, 2009, 02:57:09 AM »
Like this?

Code: [Select]
text.gsub!(/\\[Aa][Hh]\[([0-9]+)\]/) { $game_actors[$1.to_i].hp.to_s }
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #34 on: March 18, 2009, 04:33:09 AM »
Will that work? I'll try it once rpg maker xp is re-installed.

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #35 on: March 18, 2009, 04:36:34 AM »
Good luck. And yes, that will almost definitely work just by glancing at the code.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #36 on: March 18, 2009, 04:41:06 AM »
YES IT WORKS FINALLY!!!! I've been trying to get it to work forever thank you shdwlink!! *powers up*

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #37 on: March 20, 2009, 09:02:50 PM »
Another question  :^_^':
How do we check an events x or y coordinate through script call?

Offline Landith

  • Astral Trancist
  • *****
  • Posts: 947
  • LV: 59
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #38 on: March 20, 2009, 09:07:14 PM »
$game_map.events[@event_id].x

$game_map.events[@event_id].y

I think... :/

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: General RGSS/RGSS2/RGSS3 Help
« Reply #39 on: March 20, 2009, 10:01:49 PM »
it doesnt work :(