Anyone knows how to make the enemy walk up to the hero like how the hero attacks the enemy?
Side view battle system
Script ArchiveMy mistake rye, you're right that your script has nothing to do with the X and Y coordinates of the command window.. which leads me to my next question =p
The battle system I was using before yours (which is attached to this post as system.txt) had it to where the command window would appear beside each of the characters.
Is it possible to continue doing this with your battle system? I don't have enough scripting knowledge to be able to get by on this.
The battle system I was using before yours (which is attached to this post as system.txt) had it to where the command window would appear beside each of the characters.
Is it possible to continue doing this with your battle system? I don't have enough scripting knowledge to be able to get by on this.
Umm for some reason when i just post it in a new thing above main, I get an error message saying right when I enter battle:
Script 'Enemy_HP' line 152: NoMethodError occurred
undefined method 'contents_opacity=' for nil:NilClass
Why does it do this and what does it mean?
Script 'Enemy_HP' line 152: NoMethodError occurred
undefined method 'contents_opacity=' for nil:NilClass
Why does it do this and what does it mean?
Maybe, I think it is good in this.
module SDVA
PARTY_POS = 1
end
class Scene_Battle
#--------------------------------------------------------------------------
# ? ????????????????????
#--------------------------------------------------------------------------
alias phase3_setup__window_sdva phase3_setup_command_window
def phase3_setup_command_window
phase3_setup_command_window_sdva
if SDVA::WINDOWPOS_CHANGE
# ???????????????????
case SDVA::PARTY_POS
when 0
x_pos = @active_battler.base_x - (@actor_command_window.width/2)
y_pos = @active_battler.base_y
when 1
x_pos = @active_battler.base_x - @actor_command_window.width - 16
y_pos = @active_battler.base_y - @actor_command_window.height
when 2
x_pos = @active_battler.base_x + 16
y_pos = @active_battler.base_y - @actor_command_window.height
when 3
x_pos = @active_battler.base_x - (@actor_command_window.width/2)
y_pos = @active_battler.base_y - @actor_command_window.height - 48
end
@actor_command_window.x = x_pos >= 0 ? x_pos : 0
@actor_command_window.x = x_pos+@actor_command_window.width <= 640 ? x_pos : [email]640-@actor_command_window.widt[/email]h
@actor_command_window.y = y_pos >= 0 ? y_pos : 0
@actor_command_window.y = y_pos+@actor_command_window.height <= 480 ? y_pos : [email]480-@actor_command_window.heig[/email]ht
# ??????????????????
@actor_command_window.z = 9999
end
end
if Using RTAB
module SDVA
PARTY_POS = 1
end
class Scene_Battle
#--------------------------------------------------------------------------
# ? ????????????????????
#--------------------------------------------------------------------------
alias phase3_setup__window_sdva phase3_setup_command_window
def phase3_setup_command_window
phase3_setup_command_window_sdva
if SDVA::WINDOWPOS_CHANGE
# ???????????????????
case SDVA::PARTY_POS
when 0
x_pos = @active_actor.base_x - (@actor_command_window.width/2)
y_pos = @active_actor.base_y
when 1
x_pos = @active_actor.base_x - @actor_command_window.width - 16
y_pos = @active_actor.base_y - @actor_command_window.height
when 2
x_pos = @active_actor.base_x + 16
y_pos = @active_actor.base_y - @actor_command_window.height
when 3
x_pos = @active_actor.base_x - (@actor_command_window.width/2)
y_pos = @active_actor.base_y - @actor_command_window.height - 48
end
@actor_command_window.x = x_pos >= 0 ? x_pos : 0
@actor_command_window.x = x_pos+@actor_command_window.width <= 640 ? x_pos : [email]640-@actor_command_window.widt[/email]h
@actor_command_window.y = y_pos >= 0 ? y_pos : 0
@actor_command_window.y = y_pos+@actor_command_window.height <= 480 ? y_pos : [email]480-@actor_command_window.heig[/email]ht
# ??????????????????
@actor_command_window.z = 9999
end
end
module SDVA
PARTY_POS = 1
end
class Scene_Battle
#--------------------------------------------------------------------------
# ? ????????????????????
#--------------------------------------------------------------------------
alias phase3_setup__window_sdva phase3_setup_command_window
def phase3_setup_command_window
phase3_setup_command_window_sdva
if SDVA::WINDOWPOS_CHANGE
# ???????????????????
case SDVA::PARTY_POS
when 0
x_pos = @active_battler.base_x - (@actor_command_window.width/2)
y_pos = @active_battler.base_y
when 1
x_pos = @active_battler.base_x - @actor_command_window.width - 16
y_pos = @active_battler.base_y - @actor_command_window.height
when 2
x_pos = @active_battler.base_x + 16
y_pos = @active_battler.base_y - @actor_command_window.height
when 3
x_pos = @active_battler.base_x - (@actor_command_window.width/2)
y_pos = @active_battler.base_y - @actor_command_window.height - 48
end
@actor_command_window.x = x_pos >= 0 ? x_pos : 0
@actor_command_window.x = x_pos+@actor_command_window.width <= 640 ? x_pos : [email]640-@actor_command_window.widt[/email]h
@actor_command_window.y = y_pos >= 0 ? y_pos : 0
@actor_command_window.y = y_pos+@actor_command_window.height <= 480 ? y_pos : [email]480-@actor_command_window.heig[/email]ht
# ??????????????????
@actor_command_window.z = 9999
end
end
if Using RTAB
module SDVA
PARTY_POS = 1
end
class Scene_Battle
#--------------------------------------------------------------------------
# ? ????????????????????
#--------------------------------------------------------------------------
alias phase3_setup__window_sdva phase3_setup_command_window
def phase3_setup_command_window
phase3_setup_command_window_sdva
if SDVA::WINDOWPOS_CHANGE
# ???????????????????
case SDVA::PARTY_POS
when 0
x_pos = @active_actor.base_x - (@actor_command_window.width/2)
y_pos = @active_actor.base_y
when 1
x_pos = @active_actor.base_x - @actor_command_window.width - 16
y_pos = @active_actor.base_y - @actor_command_window.height
when 2
x_pos = @active_actor.base_x + 16
y_pos = @active_actor.base_y - @actor_command_window.height
when 3
x_pos = @active_actor.base_x - (@actor_command_window.width/2)
y_pos = @active_actor.base_y - @actor_command_window.height - 48
end
@actor_command_window.x = x_pos >= 0 ? x_pos : 0
@actor_command_window.x = x_pos+@actor_command_window.width <= 640 ? x_pos : [email]640-@actor_command_window.widt[/email]h
@actor_command_window.y = y_pos >= 0 ? y_pos : 0
@actor_command_window.y = y_pos+@actor_command_window.height <= 480 ? y_pos : [email]480-@actor_command_window.heig[/email]ht
# ??????????????????
@actor_command_window.z = 9999
end
end
[QUOTE=Nightmare Omnizohar;134699]Anyone knows how to make the enemy walk up to the hero like how the hero attacks the enemy?[/QUOTE]
354th Line in my script
return BattleActions::Actions["Enemy Attack"] # default
Please change!
return BattleActions::Actions["Normal Attack"] # default
354th Line in my script
return BattleActions::Actions["Enemy Attack"] # default
Please change!
return BattleActions::Actions["Normal Attack"] # default
[QUOTE=whiteshadow;135472]Umm for some reason when i just post it in a new thing above main, I get an error message saying right when I enter battle:
Script 'Enemy_HP' line 152: NoMethodError occurred
undefined method 'contents_opacity=' for nil:NilClass
Why does it do this and what does it mean?[/QUOTE]
i dont know "Enemy_HP" script.
who made it?
and Where is it?
If it is not understood, your question is not answered to me.
Script 'Enemy_HP' line 152: NoMethodError occurred
undefined method 'contents_opacity=' for nil:NilClass
Why does it do this and what does it mean?[/QUOTE]
i dont know "Enemy_HP" script.
who made it?
and Where is it?
If it is not understood, your question is not answered to me.
rye i think he has a script to show the hp of the enemies maybe it's not compatible could you post it here?
rye, that isnt exactly what i'm asking =p
what i'm wanting to know is if i can position the command windows using your script similar to the way the command windows were positioned in the other script.
what i'm wanting to know is if i can position the command windows using your script similar to the way the command windows were positioned in the other script.
[QUOTE=Kaoii;135952]rye, that isnt exactly what i'm asking =p
what i'm wanting to know is if i can position the command windows using your script similar to the way the command windows were positioned in the other script.[/QUOTE]
Please change "screen_x" and "screen_y" to "base_x" and "base_y".
I am embarrassed because I do not so understand English. ':|
what i'm wanting to know is if i can position the command windows using your script similar to the way the command windows were positioned in the other script.[/QUOTE]
Please change "screen_x" and "screen_y" to "base_x" and "base_y".
I am embarrassed because I do not so understand English. ':|
Don't be embarrassed Rye, you've brought an amazing script to a group of people who don't speak your language. And...you're still providing support. We'll just have to be patient.
Keep up the good work! :yes:
Rytheon
Keep up the good work! :yes:
Rytheon
[QUOTE=rye.jp]I am embarrassed because I do not so understand English. [/QUOTE]
There's no reason at all to be embarassed. You're doing the best you can and that's all that matters.
There's no reason at all to be embarassed. You're doing the best you can and that's all that matters.
An incredible amount of work has been done to this script, I would say that this has risen to be one of the more popular battle systems.
And rye, there is no need to be embarrassed. Realize that there are other users on the discussion board that do not speak English as a primary language.
仕事ã®ä¿¡ã˜ã‚‰ã‚Œãªã„ã„é‡ã¯ã“ã®åŽŸç¨¿ã«çµ‚ã£ãŸã€ã“れãŒã‚ˆã‚Šæ™®åŠã—ãŸæˆ¦ã„システムã®1 ã¤ã§ã‚ã‚‹ãŸã‚ã«ä¸ŠãŒã£ãŸã¨ç§ã¯è¨€ã†ã€‚ ãã—ã¦ãƒ©ã‚¤ãƒ ã‚®ã¯ã€ãã“ã«å½“惑ã™ã‚‹å¿…è¦æ€§ã§ãªã„。第一次言語ã¨ã—ã¦è‹±èªžã‚’話ã•ãªã„è°è«–æ¿ã«ä»–ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã‚ã‚‹ã“ã¨ã‚’ã‚ã‹ã‚Šãªã•ã„。
And rye, there is no need to be embarrassed. Realize that there are other users on the discussion board that do not speak English as a primary language.
仕事ã®ä¿¡ã˜ã‚‰ã‚Œãªã„ã„é‡ã¯ã“ã®åŽŸç¨¿ã«çµ‚ã£ãŸã€ã“れãŒã‚ˆã‚Šæ™®åŠã—ãŸæˆ¦ã„システムã®1 ã¤ã§ã‚ã‚‹ãŸã‚ã«ä¸ŠãŒã£ãŸã¨ç§ã¯è¨€ã†ã€‚ ãã—ã¦ãƒ©ã‚¤ãƒ ã‚®ã¯ã€ãã“ã«å½“惑ã™ã‚‹å¿…è¦æ€§ã§ãªã„。第一次言語ã¨ã—ã¦è‹±èªžã‚’話ã•ãªã„è°è«–æ¿ã«ä»–ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã‚ã‚‹ã“ã¨ã‚’ã‚ã‹ã‚Šãªã•ã„。
[QUOTE=rye.jp]Please change "screen_x" and "screen_y" to "base_x" and "base_y". [/QUOTE]
Alright, I have no idea what I'm supposed to do. Do I change that in your script, in RTAB, or in both? What am I supposed to do with the code you posted earlier?
Alright, I have no idea what I'm supposed to do. Do I change that in your script, in RTAB, or in both? What am I supposed to do with the code you posted earlier?
[QUOTE=Kaoii;136581]Alright, I have no idea what I'm supposed to do. Do I change that in your script, in RTAB, or in both? What am I supposed to do with the code you posted earlier?[/QUOTE]
you change that in SDVA script "phase3_setup_command_window"
Please see this script. I made the simple script.
[ATTACH]1012[/ATTACH]
you change that in SDVA script "phase3_setup_command_window"
Please see this script. I made the simple script.
[ATTACH]1012[/ATTACH]
There's no change to the command window after I put that in my game =/
do u know if we can change the picture it uses? (this is really hard to say)
i mean: i was once used a starter kit, which on the status menu showed a picture of the character. it would retrieve the file "battlerfile_front]
all i'm saying is that it is possible to somehow tell this thing to load a different file, perhaps a file labeled "charset_battle"
then you could make separate LARGER charsets that had the same filename as the original of the character, only with _battle added, and then they'd have batllesprites!
my actual ? is: where is the line specifying what img to load?
i mean: i was once used a starter kit, which on the status menu showed a picture of the character. it would retrieve the file "battlerfile_front]
all i'm saying is that it is possible to somehow tell this thing to load a different file, perhaps a file labeled "charset_battle"
then you could make separate LARGER charsets that had the same filename as the original of the character, only with _battle added, and then they'd have batllesprites!
my actual ? is: where is the line specifying what img to load?
I couldn't understand what you said why don't you make a screenshot of what you would like?
Hey , I want to ask something :
1. How to change Coords of Allies's Charset Battler
2. How to change the speed of Allies ? They move and slash Enemies so fast , I want to change that speed
Help me , please ! Thanks !
.
1. How to change Coords of Allies's Charset Battler
2. How to change the speed of Allies ? They move and slash Enemies so fast , I want to change that speed
Help me , please ! Thanks !
.
[QUOTE=Keke]1. How to change Coords of Allies's Charset Battler
2. How to change the speed of Allies ? They move and slash Enemies so fast , I want to change that speed[/QUOTE]
Those questions have already been answered in the post.
rye, will you please give another look at my problem?
edit: nevermind, i finally fixed it. the problem was Wulfman's battle status modification interfering with the fix.
2. How to change the speed of Allies ? They move and slash Enemies so fast , I want to change that speed[/QUOTE]
Those questions have already been answered in the post.
rye, will you please give another look at my problem?
edit: nevermind, i finally fixed it. the problem was Wulfman's battle status modification interfering with the fix.
I have seen this before but i lost the site to where it was at! Thanks for the find!
No problem, but do not thank only me for finding it thank rye for making it right?
You've done a great job making this rye. I really like it a lot.
I'm not really a good scripter so I've got a few questions about the side view system where both heros as enemies have a side view:
All the enemies line up at the bottom of the screen. How can I make them line up like the party? And if there're more than 4 enemies how can I make them line up in two rows or all in the same row?
How can I make the the hp and sp bar show above the caracters?
How can I make the caracters also show up on the stats bar? So they show up like in the front view but also can be seen in side view (and the enemies too).
Thanking in ancitipation.
I'm not really a good scripter so I've got a few questions about the side view system where both heros as enemies have a side view:
All the enemies line up at the bottom of the screen. How can I make them line up like the party? And if there're more than 4 enemies how can I make them line up in two rows or all in the same row?
How can I make the the hp and sp bar show above the caracters?
How can I make the caracters also show up on the stats bar? So they show up like in the front view but also can be seen in side view (and the enemies too).
Thanking in ancitipation.
[QUOTE=Edofighter;139718]You've done a great job making this rye. I really like it a lot.
I'm not really a good scripter so I've got a few questions about the side view system where both heros as enemies have a side view:
All the enemies line up at the bottom of the screen. How can I make them line up like the party? And if there're more than 4 enemies how can I make them line up in two rows or all in the same row?
How can I make the the hp and sp bar show above the caracters?
How can I make the caracters also show up on the stats bar? So they show up like in the front view but also can be seen in side view (and the enemies too).
Thanking in ancitipation.[/QUOTE]
The enemies alignment isn't set by the script. Go into the database then to the troops tab, click on the enemy party and then click on an enemy and move him on the screen to the positions you want.
I'm not really a good scripter so I've got a few questions about the side view system where both heros as enemies have a side view:
All the enemies line up at the bottom of the screen. How can I make them line up like the party? And if there're more than 4 enemies how can I make them line up in two rows or all in the same row?
How can I make the the hp and sp bar show above the caracters?
How can I make the caracters also show up on the stats bar? So they show up like in the front view but also can be seen in side view (and the enemies too).
Thanking in ancitipation.[/QUOTE]
The enemies alignment isn't set by the script. Go into the database then to the troops tab, click on the enemy party and then click on an enemy and move him on the screen to the positions you want.
Lol I didn't know that you could even move them on that screen ':|
Thanks for clearing that.
Thanks for clearing that.
It's a great script, but can you make the enemies like the heroes you know use the same formula or do I use side view enemies.
[QUOTE=Kaoii;138922]Those questions have already been answered in the post.
rye, will you please give another look at my problem?
edit: nevermind, i finally fixed it. the problem was Wulfman's battle status modification interfering with the fix.[/QUOTE]
Thanks , but please give me the link , this topic is so many , I can't fint out
.
rye, will you please give another look at my problem?
edit: nevermind, i finally fixed it. the problem was Wulfman's battle status modification interfering with the fix.[/QUOTE]
Thanks , but please give me the link , this topic is so many , I can't fint out
.
I started using this script, and I noticed a small issue. During a battle I can not find out how to make a monster or an actor to just simply dissapear. (Useful for summoning and enhanced combat using animations) Change actor graphic doesn't work. I used the same "insert" with and without this script. The change actor graphic works while I am not using the script.
Any thoughts?
Any thoughts?
[QUOTE=Reaper*;139662]No problem, but do not thank only me for finding it thank rye for making it right?[/QUOTE]
1. I'm using " English Version " and the Enemies's Battler is CharacterSet . But I want to use normal Battler . So ... please show me the way .
2. I could edit the speed of Players's Movement in Battle . But they slash and use Skill so fast , please help me !
.
1. I'm using " English Version " and the Enemies's Battler is CharacterSet . But I want to use normal Battler . So ... please show me the way .
2. I could edit the speed of Players's Movement in Battle . But they slash and use Skill so fast , please help me !
.
any advice how I get my archer and gunner to stand still while executing a special attack?
I like how this system is done but, because the comments are in a different language I can't understand how to make the enemy go on side view as well. If it uses the graphic, of the monster that you provide, then I wouldn't want it like that because the monster I have has no graphic so you can't see when your going to encounter a battle.
Original thread: https://www.hbgames.org/forums/viewtopic.php?t=9886