Events migrated to V18 do not work the same

Fiasom

Rookie
Member
Joined
Nov 17, 2018
Posts
6
I just migrated my game to V18. Trying to see whether my script changes to autoplay music work as expected, to my horror I found out that Player and NPC movements do not work the same in V18 events as they did in V17.2. NPCs are much, much slower, and feel like they are gliding through the air. Player skips some set movements. Is this due that frame rate agnosticism thing? If so, how do I disable it? 'Cause I have choreographed some really complex movements in some events. Having to re-do them all means the game is dead - at least unplayable on V18. I tried to see how things are working in the test maps, but there the most I got an NPC to move around was 2 tiles, and the issue is not apperant in two tiles.
 

NettoHikari

Trainer
Member
Joined
Jan 4, 2019
Posts
97
I also had that issue with NPCs being a lot slower - v18 pretty much changed movement speed values, so while speed 3 used to work great for me, it's too slow for me now. I fixed this by making a script to set all events that have speed 3 to speed 4 (and all move routes that set speed to 3 instead set speed to 4):
Ruby:
for n in 1..999
  map_name = sprintf("Data/Map%03d.rxdata", n)
  next if !(File.open(map_name,"rb") { true } rescue false)
  map = load_data(map_name)
  events = map.events
  for i in map.events.keys.sort
    event = map.events[i]
    for page_index in 0...event.pages.length
      page = event.pages[page_index]
      if page.move_speed == 3
        page.move_speed = 4
      end
      list = page.list
      for index in 0...list.length
        command = list[index]
        params = list[index].parameters
        if command == 209 # Set Move Route
          for j in params[1].list
            if j.code == 29 && j.parameters[0] == 3
              j.parameters[0] = 4
            end
          end
        end
      end
    end
  end
  save_data(map, map_name)
end
Put this script right above Main and run your game ONCE only, then close and reopen RPG Maker XP to see the effects in your events. Then delete this script or comment it out if you don't want it to run again. I'm not sure if speed 4 on v18 is the EXACT same as speed 3 on v17, but it definitely seems close enough.
 
Top