Author Topic: Editing the battle scripts  (Read 3813 times)

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Editing the battle scripts
« on: 2017-05-09 20:19:35 »
Is there a way that the battle and field scripts communicate?

I have found a way to make it rain on certain fields randomly.
What i'm gonna need is to be able to make random encounters have the rain effect if in the scene has the correct var=1

Or i guess if anyone happens to know about the attempts at random weather effects that have tried it before lemme know how because i wanna play with it

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: Editing the battle scripts
« Reply #1 on: 2017-05-09 20:25:48 »
Both the field and the battle scripts have access to the entirety of the savemap.

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Editing the battle scripts
« Reply #2 on: 2017-05-09 20:29:38 »
In MR it says the battle between Sephi and Cloud vs that dragon has rain. It is battle 292.
It seems that the scene ID 3a is the only scene that has rain.

But im new to this so im stuck. Got any ideas?

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: Editing the battle scripts
« Reply #3 on: 2017-05-09 20:43:58 »
You can't just add a screen filter to the battles. The rain is part of the battle stage.

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Editing the battle scripts
« Reply #4 on: 2017-05-09 20:49:09 »
I need a way where:

In flevel using MR, i'll use a create random number for var X making it rain.
I'll then use a invisible timer till when it stops raining.
Unless there's a better way.

Then try to have the random battles during this time also have the rain script applied.



I don't where the rain script is in battle, or where to find it. I'm using Proud Clod but to no success yet

ALso if i can edit the world map scripts for a simmilar thing that would be amazing.


There must be a script attached to that scene somewhere
« Last Edit: 2017-05-09 20:52:41 by Tsunamix »

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: Editing the battle scripts
« Reply #5 on: 2017-05-09 20:54:40 »
It's part of the animations of that stage. I can't be certain, but check the **ab file of that stage and see what is going on. That's likely where it is.

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Editing the battle scripts
« Reply #6 on: 2017-05-09 20:55:36 »
Oooh that sounds plausible.

Unsure how to edit that scene specifically though.
I just got the battle itself not the scene