Little Fighter Empire - Forums

Full Version: [UPDATED]"perspective:" Tag in use
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Okay, YinYin was one of the people that couldn't get it to work. Well we worked together and I fixed it now.
[Image: yinyin-falcon.gif] Exe now has YinYin's seal of approval, therefore it must work :).


I'm not sure how many of you knew about this, but marti and starsky made a "perspective: " tag in lf2 and left it unused(it is for bgs). Well now I decided to give it some value!

Download:
http://www.mediafire.com/?z4gmnmmzjzn << Updated exe, approved by YinYin.

What it does:
Basically, what ever number you put into the perspective, it spawns the object(drops it from the sky).

example:
    DC-Code:
width: 2400   zboundary: 289 510 perspective: 78


If that is in your bg, then when you bg is loaded, (id)object 78 will be loaded dropped from the sky! :).

This only runs in VS mode... I don't know if it should be a "feature" or a "bug" :D.
Well, actually I had found it before but I didn't know it's a new tag and how it works.
Additionally, I also found "rect32:". I don't know whether this tag has been in 1.9c or not.
It probably means you can fill the area with 32bit color code.
This is a revolutionary EXE discovery!

Now we no longer have to use the long, complicated, and easily glitched-up 'Zwidth Detection System' for unique dynamic backgrounds. We can now simply use Silva's EXE to enable the 'perspective' tag, and that should create a foolproof method for dynamic backgrounds.

Sorry for the short post


~Solomon Leung
(03-28-2009, 02:55 PM)Lord Silva Wrote: [ -> ]This only runs in VS mode... I don't know if it should be a "feature" or a "bug" :D.
feature - in any case, always a feature - just gotta mention and sell it as one so noone complains
stage mode can be set up manually anway (like if this object might cause weather effects in normal vs mode you might want it to rain all the time in story/stage mode)

will be testing this in a few minutes :D
gotta test whether i can have multiple perspective tags - whether it drops only once on startup or more often - whether positioning works or whether its random
blahblahblah
(03-28-2009, 03:14 PM)xxtomnyxx Wrote: [ -> ]It probably means you can fill the area with 32bit color code.
quite sad it doesn work - the rect color system is still the only way - well at least this way my rcp isnt rendered useless yet

maybe that one could be used/enabled aswell?
OMG, this certainly IS revolutionary. I wonder what Marti and Starsky originally planned to use "perspective" for...
sorry for sounding noobish, but what does it actually do in the game?
something about backgrounds?
can some explain it to me like they were explaining it to someone with no or little knowledge about this stuff?
Enables you to spawn objects within the background, without getting a character or a weapon from the sky to do it.
OMG that sounds so awesome!
so you can have unique backgrounds, with for example, fire on the ground, that is constantly there? (with some tweaks and things)
that sounds so awesome

EDIT:
just tested it out...i couldnt get it to work. i tried changing the ids and everything, but nothing worked. suggestions?
Eh he's right. I tried to spawn Bandit in HK Coliseum but he never appeared.
[attachment=1329]

Place in : \bg\sys\ft

Spawns woody in forbidden tower... Works fine for me. Are you sure you are you are modified the correct bg?


Edit: I think I know the problem...

My code doesn't get executed in backgrounds with width under 794(backgrounds which don't scroll).

Explanation:

Lets say width is stored at X. Perspective is stored at X + C. So lets say width is stored at 400 which means perspective is stored at 40C. The problem is, X (400 in the example) is always changing, and somehow the exe through complex thingies knows how to find width (it doesn't ever load/use perspective because its not used :p).To get it to load perspective, I detour from a line which deals with width(at this point I know the location of width in memory), add C to the address( so I know where perspective is), then stored the value of perspective in a static address which I have set. Then when I get it to drop the item(modified version of F8), it reads from the address.

The problem is, the line I detoured from doesn't get executed when the width is less than 794... I think I can fix this because I remember seeing somewhere a line which compares the width with 794. I'm 99% sure that line will always get executed.


Edit 2: just checked on HKC, and it works working fine. Although I've been talking to YinYin and he can't get it to work. This makes me believe something funky is going on.
Pages: 1 2 3