(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-02-24 05:34 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Idea for night and day in R/S/E New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
amnesiahacker

Red Goomba


 





Since: 12-21-05

Last post: 6489 days
Last view: 6489 days
Posted on 07-17-06 04:08 PM Link | Quote
Hey everyone I started thinking today about how the day and night function is not included in R/S/E but more importantly how to implement it. I'm not really much of a R/S/E hacker but I have a lot of knowledge for hacking this genre. I first started thinking about this idea when I was doing my Gold Remake hack ages ago (I'd post it but it crashed with my HDD) I was thinking of how to change the lighting via a weather change script.
eg:
setweather 0xB 'the darkness effect - palletes in this area can be edited and darkened vastly as they are separate from the light/daytime palletes
doweather
So now you have the night time script but everyone had that before! You need a timed script for it to occur at e.g 20:00 goes dark. Now i was investigating the script in a certain area (cant remeber whic one but i should have it soon so everyone can analyze it for themselves) but i found elements of a time executed script! :O:O so I manipulated this script so that the area in which the script is executed in will become dark at a certain time but i had it set as a trigger so when you step on that trigger at >20:00 the area turns dark (no very suttle but you get it - fade weather would work smoother) I thought long and hard about this and it didnt seem possible unless you put a trigger on every walkable tile of the game so it can't possibly fail. Then it hit me WHAM!!! the level script! by simply adding a bit more at the start of a level script you could have Day and Night! (as upon entry of any town the level script is executed before anything else
Now what i am about to say is incorrect and no such commands exist but it will give you a better idea of what i mean and how it would work


#org 0xBlank Space
Checktime 'command doesnt exist
If >20 0xYYYYYY
If <20 0xZZZZZZ
end

Repoint level script to the area you have inserted this and continue below
so at YYYYYY it would have the checktime and weather script then a pointer to the original map script
ZZZZZZ is the original map script

So in conclusion if its less than 8pm it will be light if its greater than 8pm it will be dark!

Now that i have got that off my chest time for sleep! Tomorrow i reveal the area where i found the timed script (search the remnants of my recovered HDD).


(edited by amnesiahacker on 07-17-06 03:09 PM)
(edited by amnesiahacker on 07-17-06 03:41 PM)
Darkdata

980








Since: 02-25-06
From: Newfoundland

Last post: 6282 days
Last view: 6282 days
Posted on 07-17-06 04:36 PM Link | Quote
Now i was investigating the script in a certain area (not going to reveal just yet) but i found elements of a time executed script!


A.) If you are going to talk about something you found tell us.

B.) There is a thread that is talking about Day and night already. You should of posted it there.

But I am not a mod so I can't really say anything.

However is what you found is true it could be useful.


(edited by Darkdata on 07-17-06 03:36 PM)
amnesiahacker

Red Goomba


 





Since: 12-21-05

Last post: 6489 days
Last view: 6489 days
Posted on 07-17-06 04:40 PM Link | Quote
Originally posted by Darkdata
Now i was investigating the script in a certain area (not going to reveal just yet) but i found elements of a time executed script!


A.) If you are going to talk about something you found tell us.

B.) There is a thread that is talking about Day and night already. You should of posted it there.

But I am not a mod so I can't really say anything.

However is what you found is true it could be useful.


I meant to say i cant reveal it yet as i can't remember and i dont know where it is in my HDD
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - Idea for night and day in R/S/E |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.013 seconds; used 359.02 kB (max 426.89 kB)