øAslickproductions.org/forum/index.php?topic=1500.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index6473-2.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1500.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index6473-2.html.zx¬og^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ]°v@ƒOKtext/htmlISO-8859-1gzip8:Ö@ƒÿÿÿÿÿÿÿÿTue, 10 Mar 2020 11:01:23 GMTƒ0ó°° ®0®P®€§²ð®yog^€@ƒ Random Value

Author Topic: Random Value  (Read 2217 times)

SwordmasterAbel

  • Mist Dragon
  • *
  • Posts: 3
    • View Profile
Random Value
« on: November 27, 2010, 06:25:10 PM »
Hello, everyone.  I've been wanting to make a hack that randomizes certain aspects of the game, such as characters joining and departing and items obtained by chests and searching.  My question, then, is this:  Is it even possible to utilize a random value in an event string?  Any feedback would be greatly appreciated.
« Last Edit: November 28, 2010, 07:39:51 AM by SwordmasterAbel »

SwordmasterAbel

  • Mist Dragon
  • *
  • Posts: 3
    • View Profile
Re: Random Value
« Reply #1 on: December 02, 2010, 09:34:58 PM »
So... nobody knows how?  Or... is it actually not possible?

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: Random Value
« Reply #2 on: December 02, 2010, 09:58:22 PM »
ANYTHING is possible, given hardware limitations and the amount of effort you're willing to put into it. :banonsmash:

If it's not possible, make it possible. It won't be easy, but rom hacking seldomly is, especially when nobody has done it before.

119 bugs fixed and counting.

SwordmasterAbel

  • Mist Dragon
  • *
  • Posts: 3
    • View Profile
Re: Random Value
« Reply #3 on: December 03, 2010, 06:39:40 PM »
Thanks so much for your reply.  Are you saying it's never been done in the romhacking community?  That's... amazing, really.  I wouldn't even know where to start.  I am merely a lowly noob in this area.  Hmm....

Imzogelmo

  • Ogopogo Aficianado
  • *
  • Posts: 241
  • Gender: Male
  • Ask me about my other job.
    • View Profile
    • NEPROMR
Re: Random Value
« Reply #4 on: December 04, 2010, 08:29:09 AM »
Hmmm, yeah, we've made some use of commands for random values. It's not really that hard, but the game doesn't natively use randoms in event code (with the exception of one command which randomly skips the next line). That command could be modified to take a parameter, or to simply generate a random number for later processing. Generating's the easy part; figuring out how to make it process those numbers and seamlessly flow as a more realistic simulation of how decisions occur-- that's hard.
But yeah, it's possible, up to the hardware limitations, which wouldn't be a problem for the simple cases.
5/31/16 - I have an assembly of the battle portion of C2, relocated to the F0 bank, which has both vanilla and patch code in my dropbox. I'll be updating it with additional patches as I have time. I will *not* be releasing it publicly, but ask me for the link and I'll share.

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: Random Value
« Reply #5 on: December 04, 2010, 12:24:42 PM »
Hmmm, yeah, we've made some use of commands for random values.
I don't know who "we" is, because I haven't really hacked FF4 at all. Well, there was that ass face incident... :celosa:

119 bugs fixed and counting.