VERSALIA'S PROFILE

Versalia
must be all that rtp in your diet
1405
"I married him because his kid is strong and he doesn't wear a shirt" - craze

Search

Filter

Script Calls and Base Stats in VX/ YEM

author=yuhikaru
You may want to check the event command "change parameters" (command_317, i think) on the interpreter class, normally it helps.

I completely forgot those commands all exist within Interpreter. derp. derpreter


#--------------------------------------------------------------------------
# * Change Parameters
#--------------------------------------------------------------------------

def command_317
value = operate_value(@params, @params, @params)
actor = $game_actors[@params]
if actor != nil
case @params
when 0 # Maximum HP
actor.maxhp += value
when 1 # Maximum MP
actor.maxmp += value
when 2 # Attack
actor.atk += value
when 3 # Defense
actor.def += value
when 4 # Spirit
actor.spi += value
when 5 # Agility
actor.agi += value
end
end
return true
end


The problem is that I don't see any examples of "actor.dex += value" being used in any of the YEM scripts, which means this particular snippet of code won't work with the made-up stats I implemented. Hmmmm.

Script Calls and Base Stats in VX/ YEM

I'm trying to use script calls to modify the player's stats, like a reward during a cutscene. I figured I'd look at how items that add permanent stats do it, and use that as an example, but they just seem to add to the @stat_plus. I am thinking that another method actually recalculates and adds to the stats using these variables, but I can't track it down, if that is the case.

This is the example I'm looking at:

under default GAME_BATTLER (nothing I am using overwrites item_growth_effect)

#--------------------------------------------------------------------------
# * Item Growth Effect Application
# user : Item user
# item : item
#--------------------------------------------------------------------------

def item_growth_effect(user, item)
if item.parameter_type > 0 and item.parameter_points != 0
case item.parameter_type
when 1 # Maximum HP
@maxhp_plus += item.parameter_points
when 2 # Maximum MP
@maxmp_plus += item.parameter_points
when 3 # Attack
@atk_plus += item.parameter_points
when 4 # Defense
@def_plus += item.parameter_points
when 5 # Spirit
@spi_plus += item.parameter_points
when 6 # Agility
@agi_plus += item.parameter_points
end
end
end


I'm not really sure how to translate this into a sensible script call. D: Obviously I want to modify @STAT_plus variables, but I'm not sure how to determine which actor it is affecting without calling the item_growth_effect method itself and tying it to database items (clumsy workaround ew). Based on some existing scripts' examples, I also feel like the script call window in the eventing commands might have slightly different syntax than the normal script editor? I might just be imagining it, though.

Go Make me a Sandwich: Sexuality in Bayonetta (and other games)

author=prexus
she agrees fully in that "The women who are distressed about the sexual portrayal of women in video-games are likely insecure in their own appearance.
...
Except the females in Dragon Age. Why do 50-60 year old women look identical to mid-20s women except for a wrinkle or two, and sometimes grey hair?"


this is hilarious.

How to fully edit the title screen? *RMXP*

author=zackfair73195
Thanks for the help! It works pretty good now, but do you know how I could change the font color? The background is white but I want a black font color.

As one newb scripter to another, you should figure out some tricks to find what you're looking for in existing script. Here are two for you: Always try to think of something that already exists that does what you want, or is at least close! Message windows with font colors are everywhere.

The other thing is that Ctrl+SHIFT+F lets you search ALL scripts. You should CTRL+SHIFT+F "self.font" I believe - that should give you several examples of the script that is used to change font color in various windows.

edit: disclaimer - I have never used XP but that ctrl+shift+f works in VX. so I am sorry if it turns out that I have given you useless advice. :B

Go Make me a Sandwich: Sexuality in Bayonetta (and other games)

author=Cray
Your example is definitely more attractive than Kratos. But it's much more subtle than most female characters.

Are you shitting me, Al Cid is practically an 80s romance novel cover. I mean did you miss the part where he is charming and has a gun, all James Bondishly, with a Spanish accent thrown on top for extra extra classic romanticizing/sexualizing. rly. Pretty sure he kisses Ashe's hand and everything too. He embodies one of the major stereotypes of what is depicted as attractive to women: suave dark mysterious foreign men with romantic accents and chivalrous etiquette.

Someone else noted that a man does not need to have his dong swangin' around to be just as overtly sexual as big boobs. But his pants look pretty tight around the dong area to me

edit: my god he even has chest hair


edit edit: take everything I said an apply it to Balthier, except replace "dark foreigner" with "smartass/bad boy" and you have another character who is classically appealing

Go Make me a Sandwich: Sexuality in Bayonetta (and other games)

author=Cray
You are confusing a muscular a manly male with a oversexualized male, Kratos might be muscular and manly but he sure as hell isn't sexy to mostly any female.
To me a oversexualized man would wear something like tight clothes, and a nice athletic body, and a good looking face, that much more attractive than Kratos or any hulk character of WoW.


you mean like the example I provided?

still quietly fapping

Go Make me a Sandwich: Sexuality in Bayonetta (and other games)

author=newdisciples
No one's really answered this yet: What exactly is an oversexualized male image anyhow? Is Kratos not an example of this?

Al-Cid is so hot obviously megasexualized: long, full 'sensual' 'wild' hair, dark complexion (tall dark and handsome), sexy foreign accent, man-cleavage, IN FFTA-2 HE HAS AN ATTACK BASED ON HOW MANY FEMALES ARE ON THE BOARD

http://finalfantasy.wikia.com/wiki/Al-Cid_Margrace

basically, a wet dream.


also,


does homo-sexualized count?

dh_undead_lord.png

Did nobody point out yet that the boss is pixelated and a very poor resolution match, because the boss is pixelated and a poor resolution match

Dungeon Champion

author=Antilurker77
author=Crystalgate
When selecting commands in battles you can press left and right to enter commands for other characters instead. This has some rather wonky results.

I'll check to see if I can disable this.

YEM Battle Engine V. Comment this out:



#--------------------------------------------------------------------------
# overwrite method: update_party_command_selection
#--------------------------------------------------------------------------
def update_party_command_selection
if Input.trigger?(Input::C)
party_command_case
#~ elsif Input.repeat?(Input::RIGHT)
#~ Sound.play_cursor
#~ @actor_index = -1
#~ next_actor
#~ elsif Input.trigger?(Input::L)
#~ Sound.play_cursor
#~ @actor_index = @status_shortcut_index - 1
#~ next_actor




and under update_actor_command_selection:

if Input.trigger?(Input::B)
Sound.play_cancel
cancel_action
elsif Input.trigger?(Input::C)
actor_command_case
#~ elsif Input.repeat?(Input::LEFT)
#~ Sound.play_cursor
#~ prior_actor
#~ elsif Input.repeat?(Input::RIGHT)
#~ Sound.play_cursor
#~ next_actor




I also suggest taking basic steps like changing the default window skin to make your game look less like "another VX clone"

avatars

http://rpgmaker.net/users/sixe/

this person has an amazing avatar