|
  |
RMVX Caterpillar Script |
|
|
|
|
Mar 9 2008, 04:09 PM
|

Sir Jacketh

Group: Revolutionary
Posts: 137
Type: Artist
RM Skill: Undisclosed

|
QUOTE (Ilikepie123 @ Mar 9 2008, 02:27 PM)  QUOTE (SeeYouAlways @ Mar 8 2008, 08:15 PM)  In RPG Maker VX's script editor, there are default scripts already. On the bottom there is a script called "Main". You need to post custom scripts above this script, and preferably below the "Materials" section of scripts that RPG Maker VX has defined for you. I hope this helps. Okay yeah, I figured that out lol, its not pasting onto one line now, BUT, now it doesnt work T.T It pasted so its not just one line, and I had an error msg, I repasted it, now there is no error message, but it doesnt catarpillar.. Do I have to edit the script so that certain actors follow the leader? Or is it something else? Im confused T.T please help Okay, now I know thats not the problem... I start the game out with one actor, is that the problem? I know for SURE its not because of the script. I tried it in a test project, with a script I was using (Day and Night script) and that worked, so I have no idea what it could be... But just for future reference: I have an event in the character's house that when you touch it, your character graphic turns to normal... And the screen tint changed to normal... I have the game started out with an event that gives you 5k Gold.. Is that it? (its below the player, when you touch it it triggers a switch turning off the event) I think that would most likely be it... But I really need help...
__________________________
Hmwut?
|
|
|
|
|
|
|
|
|
Mar 10 2008, 09:13 AM
|
Level 10

Group: Revolutionary
Posts: 150
Type: Event Designer
RM Skill: Undisclosed

|
QUOTE (Ilikepie123 @ Mar 9 2008, 06:16 PM)  QUOTE (Ilikepie123 @ Mar 9 2008, 02:27 PM)  QUOTE (SeeYouAlways @ Mar 8 2008, 08:15 PM)  In RPG Maker VX's script editor, there are default scripts already. On the bottom there is a script called "Main". You need to post custom scripts above this script, and preferably below the "Materials" section of scripts that RPG Maker VX has defined for you. I hope this helps. Okay yeah, I figured that out lol, its not pasting onto one line now, BUT, now it doesnt work T.T It pasted so its not just one line, and I had an error msg, I repasted it, now there is no error message, but it doesnt catarpillar.. Do I have to edit the script so that certain actors follow the leader? Or is it something else? Im confused T.T please help Okay, now I know thats not the problem... I start the game out with one actor, is that the problem? I know for SURE its not because of the script. I tried it in a test project, with a script I was using (Day and Night script) and that worked, so I have no idea what it could be... But just for future reference: I have an event in the character's house that when you touch it, your character graphic turns to normal... And the screen tint changed to normal... I have the game started out with an event that gives you 5k Gold.. Is that it? (its below the player, when you touch it it triggers a switch turning off the event) I think that would most likely be it... But I really need help... you're not using switch 2 are you? in the script, that switch determines whether to show the caterpillar or not (you can change it to whatever you want).
|
|
|
|
|
|
|
|
|
Mar 10 2008, 11:25 AM
|

Group: Member
Posts: 2
Type: Developer
RM Skill: Skilled

|
hey can anyone tell me what I am doing wrong..im a noob..lol
I took the scrpit offf this page added it just below main..game works fine its just the fact that I cannot get any of my characters to follow me..maybe im just retarded..
|
|
|
|
|
|
|
|
|
Mar 10 2008, 11:27 AM
|
Level 10

Group: Revolutionary
Posts: 150
Type: Event Designer
RM Skill: Undisclosed

|
QUOTE (Master Shwuan @ Mar 10 2008, 01:32 PM)  hey can anyone tell me what I am doing wrong..im a noob..lol
I took the scrpit offf this page added it just below main..game works fine its just the fact that I cannot get any of my characters to follow me..maybe im just retarded.. It doesn't go below main, it goes in the empty section for new scripts (which should be the first one above main)
|
|
|
|
|
|
|
|
|
Mar 10 2008, 11:36 AM
|

Group: Member
Posts: 2
Type: Developer
RM Skill: Skilled

|
I have the scrpit above main..and everytime I do so..when i try to start the game it would refer me to line 62 and say syntax error..but if I put it below main the game seems to work fine but I cannot get the characters to follow me..? and I have used a few scripts from here earlier today and I have only encountered this problem just recently...
|
|
|
|
|
|
|
|
|
Mar 10 2008, 02:27 PM
|

Level 1

Group: Member
Posts: 5
Type: Developer
RM Skill: Skilled

|
Hi, I just wanted to say "Great Job" on this script! It took me all of 3 seconds to copy and paste into my project and it worked instantly with no problems! Also, I wanted to mention that it did slow my FPS down a bit and made it lag noticeably occasionally... But I can live with it, great job again!  Question: Is there anyway to use the moving sprites during battle? Like in the early FF side-view battles? Thanks
__________________________
"This isn't just about the sex. You like her personality. You like that she's conniving. You like that she has no regard for consequences. You like that she can humiliate someone if it serves.. Oh my God. You're sleeping with me." - Don't Ever Change
“You got three choices in life: be good, get good or give up. You’ve gone for column D; why? The simple answer is: if you don’t try, you can’t fail. Are you really that simple?” - Games
Gifts allow us to demonstrate exactly how little we know about a person. And nothing pisses a person off more than being shoved into the wrong pigeonhole. -It’s a Wonderful Lie
Dam I Love That Show!!!
|
|
|
|
|
|
|
|
|
Mar 10 2008, 06:46 PM
|
Level 2

Group: Member
Posts: 22

|
I don't know if it's this script or another, but large sprites don't display the way I want them to  EDIT: Also, how would I go about controlling the sprites that are following the hero via events? I'd really like to code a Chrono Trigger style battle system, or an ABS if all else fails. EDIT 2: I fixed it by changing the priority_type to 1. Is there any way I can store/set the caterpillar's X and Y variables through event/scripting? I can't seem to make sense of some of the code. Sorry for all the questions.
This post has been edited by voodooKobra: Mar 10 2008, 07:00 PM
|
|
|
|
|
|
|
|
|
Mar 11 2008, 08:30 AM
|
Level 10

Group: Revolutionary
Posts: 150
Type: Event Designer
RM Skill: Undisclosed

|
QUOTE (voodooKobra @ Mar 10 2008, 08:53 PM)  I don't know if it's this script or another, but large sprites don't display the way I want them to  EDIT: Also, how would I go about controlling the sprites that are following the hero via events? I'd really like to code a Chrono Trigger style battle system, or an ABS if all else fails. EDIT 2: I fixed it by changing the priority_type to 1. Is there any way I can store/set the caterpillar's X and Y variables through event/scripting? I can't seem to make sense of some of the code. Sorry for all the questions. Thanks for the update on the priority_type. I only noticed that problem recently (though I hadn't bothered to fix it yet). Unfortunately this script won't be able to handle doing anything with the followers. All it does is draw them on the screen. A Chrono Trigger style script would need to be written from the ground up.
|
|
|
|
|
|
|
|
|
Mar 12 2008, 08:43 AM
|
Level 2

Group: Member
Posts: 22

|
QUOTE (Diedrupo @ Mar 11 2008, 11:37 AM)  QUOTE (voodooKobra @ Mar 10 2008, 08:53 PM)  I don't know if it's this script or another, but large sprites don't display the way I want them to  EDIT: Also, how would I go about controlling the sprites that are following the hero via events? I'd really like to code a Chrono Trigger style battle system, or an ABS if all else fails. EDIT 2: I fixed it by changing the priority_type to 1. Is there any way I can store/set the caterpillar's X and Y variables through event/scripting? I can't seem to make sense of some of the code. Sorry for all the questions. Thanks for the update on the priority_type. I only noticed that problem recently (though I hadn't bothered to fix it yet). Unfortunately this script won't be able to handle doing anything with the followers. All it does is draw them on the screen. A Chrono Trigger style script would need to be written from the ground up. Is there any way to store their X, Y, and facing directions into non-script variables to use for positioning events on the map?
|
|
|
|
|
|
|
|
|
Mar 12 2008, 11:19 AM
|
Level 10

Group: Revolutionary
Posts: 150
Type: Event Designer
RM Skill: Undisclosed

|
QUOTE (voodooKobra @ Mar 12 2008, 10:50 AM)  QUOTE (Diedrupo @ Mar 11 2008, 11:37 AM)  QUOTE (voodooKobra @ Mar 10 2008, 08:53 PM)  I don't know if it's this script or another, but large sprites don't display the way I want them to  EDIT: Also, how would I go about controlling the sprites that are following the hero via events? I'd really like to code a Chrono Trigger style battle system, or an ABS if all else fails. EDIT 2: I fixed it by changing the priority_type to 1. Is there any way I can store/set the caterpillar's X and Y variables through event/scripting? I can't seem to make sense of some of the code. Sorry for all the questions. Thanks for the update on the priority_type. I only noticed that problem recently (though I hadn't bothered to fix it yet). Unfortunately this script won't be able to handle doing anything with the followers. All it does is draw them on the screen. A Chrono Trigger style script would need to be written from the ground up. Is there any way to store their X, Y, and facing directions into non-script variables to use for positioning events on the map? Yes, that should be possible. I'll think about adding it sometime.
|
|
|
|
|
|
|
|
|
Mar 12 2008, 04:15 PM
|
Level 2

Group: Member
Posts: 22

|
I found a way to do it. Keep in kind that I use variables 21, 22, and 23 for ally 1 and 24, 25, and 26 for ally 2. CODE $game_variables[21+(3*i)] = @followers[i].x $game_variables[22+(3*i)] = @followers[i].y $game_variables[23+(3*i)] = @move_list[i].type Add to move_party (at about line 190) above the case @move_list[i].type line It's not perfect, but I think I can get it to work for my purpose  .
This post has been edited by voodooKobra: Mar 12 2008, 06:14 PM
|
|
|
|
|
|
|
|
|
Mar 16 2008, 07:31 PM
|
Level 1

Group: Member
Posts: 14
Type: Event Designer
RM Skill: Skilled

|
I'm not having the dashing problem with the original script! Just thought I;d let you know.
__________________________
|
|
|
|
|
|
|
|
|
Mar 20 2008, 07:06 AM
|

Group: Member
Posts: 2
Type: None
RM Skill: Undisclosed

|
I have a problem ... when I quit the game: "Error 130 $ game_party.followers.each do | char |" What should I do?
|
|
|
|
|
|
|
|
|
Mar 20 2008, 10:26 AM
|
Level 10

Group: Revolutionary
Posts: 150
Type: Event Designer
RM Skill: Undisclosed

|
QUOTE (svispo @ Mar 20 2008, 09:50 AM)  I have a problem ... when I quit the game: "Error 130 $ game_party.followers.each do | char |" What should I do?  It looks like you might have inadvertedly put a space in between $ and game_party, delete that space.
This post has been edited by Diedrupo: Mar 20 2008, 10:26 AM
|
|
|
|
|
|
|
|
|
Mar 20 2008, 05:58 PM
|

Group: Member
Posts: 2
Type: None
RM Skill: Undisclosed

|
...I'm kinda dumb on this kind of things , but I always keep getting supperclass error Game_Character it's something like that! what the hell can I do?! HELP!
|
|
|
|
|
|
|
|
|
Mar 21 2008, 05:05 PM
|
Level 2

Group: Member
Posts: 22

|
Where did you put the script?
|
|
|
|
|
|
|
|
|
Mar 21 2008, 05:58 PM
|

Group: Member
Posts: 2
Type: None
RM Skill: Undisclosed

|
QUOTE (voodooKobra @ Mar 21 2008, 04:12 PM)  Where did you put the script? mm...well I putted where the pencil icon is, in the script mode i believe, sorry really I'm not that good with codes and scripts, but if you could help me get this clear it would be great, really ! :S
|
|
|
|
|
|
|
|
|
Mar 22 2008, 02:07 PM
|
Level 2

Group: Member
Posts: 22

|
QUOTE (TLOAJohn @ Mar 21 2008, 09:12 PM)  This is wierd and strange. Whenever I make a switch and it gets activated. My party dissapears and doesnt come back. What can I do to fix this? Its making me mad  If Switch 2 is on, the caterpillar is deactivated. You can change the switch # in the script.
|
|
|
|
|
|
|
|
  |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
RPG RPG Revolution is an Privacy
Policy and Legal
|
|