Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Closed TopicStart new topic
> Have a question about airships!, A rather stupid one but...
Oaken
post Nov 10 2010, 06:24 PM
Post #1


Level 7
Group Icon

Group: Member
Posts: 95
Type: Artist
RM Skill: Intermediate




Hello everyone, for my game I would love to use airships as a main source of transportation... unfortunetly though, they move much to fast for it to be of any real use! Is there any way that I can edit this ship to move slower?


__________________________
Dont walk in my footsteps, I walk into walls...

Having prblems with RPG maker vx? feel free to PM me!
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Nov 11 2010, 01:16 AM
Post #2


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




Check the Game_Vehicle script section and search for this:
CODE
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    if @driving
      @map_id = $game_map.map_id
      sync_with_player
    elsif @map_id == $game_map.map_id
      moveto(@x, @y)
    end
    case @type
    when 0;
      @priority_type = 1
      @move_speed = 4
    when 1;
      @priority_type = 1
      @move_speed = 5
    when 2;
      @priority_type = @driving ? 2 : 0
      @move_speed = 6
    end
    @walk_anime = @driving
    @step_anime = @driving
  end

See the third @move_speed = 6? It's the speed of the airship. A lower value will slow it down.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
Oaken
post Nov 11 2010, 04:54 AM
Post #3


Level 7
Group Icon

Group: Member
Posts: 95
Type: Artist
RM Skill: Intermediate




Alright, thanks!

-This can be closed


__________________________
Dont walk in my footsteps, I walk into walls...

Having prblems with RPG maker vx? feel free to PM me!
Go to the top of the page
 
+Quote Post
   

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 04:06 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker