New account registration is temporarily disabled.

QUASI'S PROFILE

College student and pretty hard core anime addict ( some call me an otaku ). I've been writing scenarios for a manga/comic I'd like to make once I'm satisfied with my art, till then I'll be making short games that take place in the world that manga will take place in.
I'm mainly a scripter, but I can do little spriting and drawing but my shading isn't all that good. My weak point is my writing, I can't describe scenes as well as I imagine them.

Search

Filter

(Script request) Advanced screen pan (Ace)

Yeah I'll give this a look, seems like a pretty big issue that I never caught. I'll have it done before the end of the week hopefully. Don't have much free time until Thursday.
Also for testing/fixing purposes, how far did you scroll and what speeds? I probably only need the distance though, it probably starts bugging after a few distances since I've never tried scrolling past 15 I think.

(Script Request) - Variable Text Popup

Yeah feel free to use it. Al my scripts are free to use as long as you don't claim it as your own.

(Script Request) - Variable Text Popup

Yeah some reason I was thinking I should add color, like heals be green and crits red. But I completely forgot lol
http://pastebin.com/rKiDnLwC
I updated it, just added color option to the end of the script call. Color is optional, if you leave it out it will use the default color which is white.

For color you have to set it as:
color = Color.new(red, green, blue, alpha)
values r 0-255, alpha isn't required.

To change the font go to line 64 and change it to w.e. font you want it to be.

As for showing the variable, (forgot brackets don't show on these forums ). you would do:
string = $game_variables[VARIABLE # IN HERE]

Example:
string = $game_variables[2]

would show w.e. is in variable 2

(Script Request) - Variable Text Popup

Here is something I wiped up really quick:
http://pastebin.com/rKiDnLwC

Here's an example of my event that called it

Ignore that comment, that's for a different script I made :P
just change the line
string = "test"
to
string = $game_variables

(Script request) Advanced screen pan (Ace)

I just finished editing last post, not sure if you saw it. My script should do all angles if you plugged in the numbers correct. That last method I just posted won't work if the script didn't do all angles, since I just converted the values for you and kept the rest the same.

(Script request) Advanced screen pan (Ace)

Like I said you can scroll in any direction, 9 is 0-90 degrees, 7 is 90-180 degrees, 1 is 180-270 degrees, 2 is 180-360 degrees.
Converting to degrees imo would be unneeded effort, since you should have a point that you want to scroll too in mind. All you have to do is make a triangle from that point to the center, put the opposite set as Y and adjacent as X

Example:


X would be 11/32.0, Y would be 100/32.0 with direction being 9.

Edited: I completely forgot in image editors, you can see the angle lol. So I was thinking it would be more trouble finding the angle then to just get the x/y.
Add this into my script, and you'll have the angle'd distances (Exactly the same, but converts angles into one of the number directions, then changes the distances to the x/y values)

#--------------------------------------------------------------------------
# * Start Scroll
#--------------------------------------------------------------------------
def start_angled(angle, distance, speed)
# convert distance to grid numbers
distance = distance/32.0

# Grab direction from angle
if angle == 0 || angle == 360
dir = 6
elsif angle > 0 && angle < 90
dir = 9
elsif angle == 90
dir = 8
elsif angle > 90 && angle < 180
dir = 7
elsif angle == 180
dir = 4
elsif angle > 180 && angle < 270
dir = 1
elsif angle == 270
dir = 2
elsif angle > 270 && angle < 360
dir = 3
end
@scroll_direction = dir

# Get X/Y Distance
radian = (angle/180.0) * Math::PI
x = distance * Math.cos(radian)
y = distance * Math.sin(radian)
@scroll_rest = x.abs
@scroll_rest2 = y.abs

# Speed is weird, needs more work
# idk what the 256.0 in def scroll_distance is for
# if I try to multiply it back in, scrolling will be instant
@scroll_speed = (@scroll_rest/distance) * speed
@scroll_speed2 = (@scroll_rest2/distance) * speed
end

To use it do a script call:
$game_map.start_angled(angle, distance, speed)

Angle should be between 0-259
Distance is just the distance of that line angle.
Speed is still weird, I couldn't really figure it out when I made my own scrolling, since I wanted it to be in frames instead but it just acts weird and I was too lazy to dig deep/back track it and modify. But it should be a low number, 0~10

(Script request) Advanced screen pan (Ace)

Not exactly what you want, but can work how you want it ( I think, unless I misunderstand you. )
http://quasixi.wordpress.com/2014/08/13/quasi-screen-scrolling/
For pixel scrolling do something like:

That would scroll side 40 pixels and up 10 pixels, ( with a smooth scroll of course. )
7 is just the general direction, so it would be within 90 to 180 degrees.

Only thing is this doesn't have the speed set up like you would like it.

Revealing unused skill types out of battle?


#==============================================================================
# ** Window_SkillCommand
#------------------------------------------------------------------------------
# This window is for selecting commands (special attacks, magic, etc.) on the
# skill screen.
#==============================================================================

class Window_SkillCommand < Window_Command
#--------------------------------------------------------------------------
# * Create Command List
#--------------------------------------------------------------------------
def make_command_list
return unless @actor
stype = @actor.added_skill_types
@actor.skills.each do |skill|
next if stype.include?(skill.stype_id)
stype.push(skill.stype_id)
end
stype.sort.each do |stype_id|
name = $data_system.skill_types[stype_id]
add_command(name, :skill, true, stype_id)
end
end
end

Here's a little snippet you can use. If understood correct you want a skills skill type to appear in the menu even if the actor doesn't have that skill type? With this, it checks all the actors skills skill types and adds them onto his unlocked skill types. This also only runs in the skill menu.

[RM Ace] Formula variables

Looks like he uses an
eval()
which replaces those letters with the set variables
(a, p=$game_party, t=$game_troop, s=$game_switches, v=$game_variables)

so if you know the possible methods that each of those variables can call you should be able to do something like
p.members.atk
(I think!)
Not sure what you can do with a since it doesn't have anything set to it, but it's probably the stuff from the normal formula box.

not completely sure on how eval() works so I don't want to touch up to much on it and be wrong.
There was a thread on a forum ( can't recall which) that was all about formulas and all the possible stuff you can do with them, in the lil formula box or through scripts.

Passive Skills? [RM Ace]

I wiped up a States version since I was having problems removing the passive if it was a % in my over complicated version.
http://quasixi.wordpress.com/2014/03/23/quasi-passive/

But you may be better off using GreatRedSpirits since it's a patch Yanfly's so no need to worry about compatibility.