Jump to content

Announcing our new website

To find out the latest about our new website, visit Game Dev Unlimited

Rmxp actor graphic help


  • You cannot reply to this topic
20 replies to this topic

#1 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 07 February 2012 - 10:13 PM

Hey, this is my first posting on this site so i hope im at the right place.
Just wondering if anyone could help me with a couple of problems im running into
with my game. Basically what it is, my player starts out in water, portrayed by his swimming graphic,
and ive made an event where as soon as he steps out of the water his graphic changes to a walking
actor, but i cant seem to get it where if i walk back into the water his graphic changes back to swimming.
I hope im explaining this ok. The other problem is i have an npc on the map which i can talk to, is there any way of not being able to speak to him a 2nd time without his graphic dissapearing ? Ive made the the event where we have the conversation but the only thing i can seem to find to stop the event once weve had the convo is ERASE EVENT, but then that makes the npc dissapear ?

Hope someone can help me, Thanks in advance =)

#2 kare3

    Loyal Member

  • Member
  • 100 posts

Posted 07 February 2012 - 10:31 PM

I could help you with those eventing problems, it's just that I'm not really in the mood to event o.o....

#3 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 07 February 2012 - 10:39 PM

okay Posted Image

#4 kare3

    Loyal Member

  • Member
  • 100 posts

Posted 07 February 2012 - 10:45 PM

o.o Maybe later..

#5 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 07 February 2012 - 10:49 PM

Ok lol, just tell me is it something to do with a LOOP ?

#6 CrimsonInferno

    Child of the North . ∙ : ∙ . ¤

  • Member
  • 2,072 posts

Posted 07 February 2012 - 10:50 PM

For the swimming problem, I'll see if I can do something about it. I'll need to find a swimming graphic before I can try it though.

Quote

The other problem is i have an npc on the map which i can talk to, is there any way of not being able to speak to him a 2nd time without his graphic dissapearing ? Ive made the the event where we have the conversation but the only thing i can seem to find to stop the event once weve had the convo is ERASE EVENT, but then that makes the npc dissapear ?

You have to use switches (etc etc) to do that, so erase event is a bad idea here. Would a screenshot help? Also, I reccomend playing the RMVX School game, it helps with XP and VX.

#7 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 07 February 2012 - 10:59 PM

Here are my 2 graphics im using if this helps ? Thanks
p.s a screenshot would be a massive help if thats okay ?
Thanks

Attached Files


Edited by Dannyboi1989, 07 February 2012 - 11:05 PM.


#8 bigace

    King of Spades

  • Member
  • 733 posts

Posted 08 February 2012 - 01:27 AM

Here's a script I've had for a while that allows your chracter to change into a swimming character and back without any problems.
Spoiler

Just add the word -SWIM to the end of the characters graphic file name and there you go.

#9 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 08 February 2012 - 02:33 AM

i copied all the script and pasted it into my script database but its pasting all of it onto one line ? shouldn't it look like above ?
and do i just literally change the actors graphic name to -SWIM at the end and thats it, it will automatically change from walking
actor to swimming actor everytime i step in and out of the water ? how does it know what actor graphic to change to once i step out
of the water ? do i have to change the walking actor graphics name aswell ?
Thanks a lot for this really appreciate it =)

#10 Jon Bon

    Idealistic Realist

  • PR/Contest Coordinator
  • 471 posts

Posted 08 February 2012 - 02:50 AM

I am not sure why it is copying onto one line, it should definitely look like it does above once it is inside your game.
As for how it knows you are swimming, it appears to use terrain tags to tell what type of ground the character is standing on.
To set a certain tile to a specific terrain tag you must go to the tilesets tab in the database, and then select the terrain tag button on the right side. You should now see a bunch of numbers(most likely all zero) over each tile on that tile set. By left click you can increase the number and right clicking will decrease it. You can set the tiles to any number from 0 to 7.
I believe the script is set to run off of number 4.
Once your terrain tag is set to the correct number for all desired maps with water tiles the script should work perfectly.
Hope that helps.
-Cheers,
Jon Bon

#11 bigace

    King of Spades

  • Member
  • 733 posts

Posted 08 February 2012 - 02:53 AM

First, stop creating a new line in your post. It's irratating to read.

Second, for some reason this forum puts the whole script into one line. So what you do is first put it into Microsoft Word and then copy and paste it from there into the Script Database.

Third, Here's a example:
001-Fighter01 (Original RMXP file)
001-Fighter01-SWIM (Custom swim file)
Once you step in water your character will switch into the swim file.

Fourth, I forgot to tell you that you need to change the terrain Tag in the tileset Database to 3 or 4. Just put it over the water tile that you want your character to swim.

#12 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 08 February 2012 - 02:57 AM

Nope, still wont paste it like shown above... its still pasting all onto 1 line, cant figure it out. Tried it a few times now Posted Image

#13 bigace

    King of Spades

  • Member
  • 733 posts

Posted 08 February 2012 - 03:04 AM

View PostDannyboi1989, on 08 February 2012 - 02:57 AM, said:

Nope, still wont paste it like shown above... its still pasting all onto 1 line, cant figure it out. Tried it a few times now Posted Image

You put it in Microsoft Word right, as that always works for me.

#14 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 08 February 2012 - 03:05 AM

Thanks man its working great, really appreciate your help, p.s sorry about the new lines, didnt realise i was doing them

#15 CrimsonInferno

    Child of the North . ∙ : ∙ . ¤

  • Member
  • 2,072 posts

Posted 08 February 2012 - 05:03 AM

Oh man, sorry this is late. Do you still need help with the event, then?

#16 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 08 February 2012 - 07:12 PM

I seemed to solve the problem with the swimming, could still use a hand with the dissapearing npc. Thanks

#17 CrimsonInferno

    Child of the North . ∙ : ∙ . ¤

  • Member
  • 2,072 posts

Posted 08 February 2012 - 08:10 PM

Alright then, I'll start up the process and take some screenshots! Hold on a bit! :D

#18 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 08 February 2012 - 08:12 PM

Thankyou Posted Image

#19 CrimsonInferno

    Child of the North . ∙ : ∙ . ¤

  • Member
  • 2,072 posts

Posted 08 February 2012 - 09:07 PM

Sorry about the wait, notebook kinda sucks. Okay, here are two screenshots. Now, I didn't make it complicate and I only know you have a "graphic disappearing" problem, so that's what I worked for. If it helps, but not fully, just tell me what kind of event you are trying and I can offer help for it.

Posted Image

NOTES: For the above picture, you can see that I underlined something in red. This is a very important option that will help you in the long run of setting up events. "Control self switch" is an option you can find in the events tabs, and has some multiple selections: A, B, C (etc). Now, in my opinion and I'm not an expert at it, is to start with A if you have a NPC doing multiple things.

Anyways, what you want to do is make your event and the NPC's actions or text after you select a sprite/graphic for it to work. Next, if you want it to be activated by action button, select it or another "Trigger" you want as the way to start the event. Once you have done that, head to the left in the empty field and fill in your events/text. Next, put a Control Self Switch in AFTER all the other events, text etc etc.

Now create a NEW PAGE on that event. You should see a completely blank page now.


Posted Image

NOTES: As you can see in the image above, I boxed one thing and highlighted another. Let us take care of the red field first. Find the graphic you selected on the first page (unless the event is your actor morphing into a beast etc etc then select THAT sprite here) and then CHECK SELF CONTROL SWITCH and find the alphabet letter you select on the first page (should be A, especially if you followed the images) and then hit "APPLY".

Now go to the empty field text and start up your events, text, music or what you want the character to do. Now hit "APPLY" once more, and test the event.

The first time you talk to the NPC, they should say something. And then when you talk to the NPC the second time, they say something completely different and no longer offer the first text selection. And the graphic should still be there.

Does that work?

Edited by CrimsonInferno, 08 February 2012 - 09:12 PM.


#20 Dannyboi1989

    Member

  • Member
  • 26 posts

Posted 08 February 2012 - 11:57 PM

Thanks man this worked, didn't understand about setting self switches. Got it now. Thanks again !

#21 CrimsonInferno

    Child of the North . ∙ : ∙ . ¤

  • Member
  • 2,072 posts

Posted 09 February 2012 - 12:59 AM

I would highly suggest the VX school game. It might be for VX, but it will teach you stuff that will help in any RM maker.

http://www.rpgmakerv...?showtopic=5704





0 user(s) are reading this topic

members, guests, anonymous users