Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

11 Pages V  « < 2 3 4 5 6 > »   
Reply to this topicStart new topic
> RMVX Caterpillar Script
Ilikepie123
post Mar 9 2008, 04:09 PM
Post #61


Sir Jacketh
Group Icon

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?
Go to the top of the page
 
+Quote Post
   
Diedrupo
post Mar 10 2008, 09:13 AM
Post #62


Level 10
Group Icon

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).
Go to the top of the page
 
+Quote Post
   
Master Shwuan
post Mar 10 2008, 11:25 AM
Post #63



Group Icon

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..
Go to the top of the page
 
+Quote Post
   
Diedrupo
post Mar 10 2008, 11:27 AM
Post #64


Level 10
Group Icon

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)
Go to the top of the page
 
+Quote Post
   
Master Shwuan
post Mar 10 2008, 11:36 AM
Post #65



Group Icon

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...
Go to the top of the page
 
+Quote Post
   
demonin
post Mar 10 2008, 02:27 PM
Post #66


Level 1
Group Icon

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! laugh.gif
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! laugh.gif

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!!!
Go to the top of the page
 
+Quote Post
   
voodooKobra
post Mar 10 2008, 06:46 PM
Post #67


Level 2
Group Icon

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 sad.gif

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
Attached File(s)
Attached File  largespritefail.PNG ( 159.68K ) Number of downloads: 89
 
Go to the top of the page
 
+Quote Post
   
Diedrupo
post Mar 11 2008, 08:30 AM
Post #68


Level 10
Group Icon

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 sad.gif

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.
Go to the top of the page
 
+Quote Post
   
voodooKobra
post Mar 12 2008, 08:43 AM
Post #69


Level 2
Group Icon

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 sad.gif

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?
Go to the top of the page
 
+Quote Post
   
Diedrupo
post Mar 12 2008, 11:19 AM
Post #70


Level 10
Group Icon

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 sad.gif

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.
Go to the top of the page
 
+Quote Post
   
voodooKobra
post Mar 12 2008, 04:15 PM
Post #71


Level 2
Group Icon

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 biggrin.gif.

This post has been edited by voodooKobra: Mar 12 2008, 06:14 PM
Go to the top of the page
 
+Quote Post
   
CaptainDraco
post Mar 16 2008, 07:31 PM
Post #72


Level 1
Group Icon

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.


__________________________
Go to the top of the page
 
+Quote Post
   
svispo
post Mar 20 2008, 07:06 AM
Post #73



Group Icon

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?
Go to the top of the page
 
+Quote Post
   
Diedrupo
post Mar 20 2008, 10:26 AM
Post #74


Level 10
Group Icon

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? happy.gif


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
Go to the top of the page
 
+Quote Post
   
FragmentSnake
post Mar 20 2008, 05:58 PM
Post #75



Group Icon

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!
Go to the top of the page
 
+Quote Post
   
voodooKobra
post Mar 21 2008, 05:05 PM
Post #76


Level 2
Group Icon

Group: Member
Posts: 22




Where did you put the script?
Go to the top of the page
 
+Quote Post
   
FragmentSnake
post Mar 21 2008, 05:58 PM
Post #77



Group Icon

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
Go to the top of the page
 
+Quote Post
   
TLOAJohn
post Mar 21 2008, 06:05 PM
Post #78



Group Icon

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




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 sad.gif
Go to the top of the page
 
+Quote Post
   
AlyxO
post Mar 22 2008, 12:19 PM
Post #79


Level 2
Group Icon

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




Is it somehow possible to change the charackters who follow with the first one?
Go to the top of the page
 
+Quote Post
   
voodooKobra
post Mar 22 2008, 02:07 PM
Post #80


Level 2
Group Icon

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 sad.gif

If Switch 2 is on, the caterpillar is deactivated. You can change the switch # in the script.
Go to the top of the page
 
+Quote Post
   

11 Pages V  « < 2 3 4 5 6 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 05:20 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker