RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Battle whislt on vehicle

0 Members and 1 Guest are viewing this topic.

*
Rep:
Level 73
VIII or DIE!
Was wondering if there was a script that existed that allowed you to battle whilst driving in a vehicle, if not could some one make one?

Please and thanks :)
The only limit is your imagination.

My artwork:
http://jameswhite89.deviantart.com/

My Music:
http://uk.myspace.com/jamescoversall

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, I'd suggest putting this in its own slot below the default scripts but above any other custom scripts since it overwrites a method, but it might do the trick:

Code: [Select]
class Game_Player
  #--------------------------------------------------------------------------
  # * Update Encounter
  #--------------------------------------------------------------------------
  def update_encounter
    return if $TEST and Input.press?(Input::CTRL)   # During test play?
#~     return if in_vehicle?                           # Riding in vehicle?
    if $game_map.bush?(@x, @y)                      # If in bush
      @encounter_count -= 2                         # Reduce encounters by 2
    else                                            # If not in bush
      @encounter_count -= 1                         # Reduce encounters by 1
    end
  end
end

All I did was comment out the line which prevents the encounter count and I never tested anything. I don't know if it will do anything weird once you leave battle, but hopefully not. If it does though, let me know and I will look at the problem in more detail.

*
Rep:
Level 73
VIII or DIE!
Thanks alot ill give it a whirl now :)
The only limit is your imagination.

My artwork:
http://jameswhite89.deviantart.com/

My Music:
http://uk.myspace.com/jamescoversall