Little Fighter Empire - Forums
About background dcing - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+--- Thread: About background dcing (/showthread.php?tid=7257)



About background dcing - FreezeLoverandpossiblyexpert - 11-22-2011

Erm,I just want to know how to dc the background such that fireballs and things like that appear from the sky and hit the ground(doing damage if hit character). I need it to dc my mod. Can someone help me and explain?
P.S: best if example is provided cause i learn better if there is an example.
P.P.S :Thanks if you do.


RE: About background dcing - mfc - 11-22-2011

It's almost same problem with this(v)
Check this thread: www.lf-empire.de/forum/showthread.php?tid=7215
So, you have 2 ways to solve it:

1) perspective tag way(recommended since you're preparing it for a new mod)
www.lf-empire.de/forum/showthread.php?tid=2470&highlight=perspective

2) weapon dependant way(it doesn't gives you instant spawn, so if you need to create an object from the beginning ofthe opening of the bg; you cannot use it.)(this way is better for random timed lightnings, meteors, icy things, rains etc etc..)
http://www.lf-empire.de/forum/showthread.php?tid=1703
Also if you need an example for #2 way; look for "Dark Lion Forest" bg. That have lightnings. That's probably in the LFE Fileplanet. Better, make a google search for it:P

Here is the Dark Lion Forest: www.lf-empire.de/en/lfe-fileplanet/backgrounds/474-darklionforest
Snotty Sorry that's not the one with ion storm

Euption bg: http://www.lf-empire.de/en/lfe-fileplanet/backgrounds/719-eruption
It uses that system:P


RE: About background dcing - FreezeLoverandpossiblyexpert - 11-22-2011

(11-22-2011, 03:05 AM)xmfcx Wrote:  It's almost same problem with this(v)
Check this thread: www.lf-empire.de/forum/showthread.php?tid=7215
So, you have 2 ways to solve it:

1) perspective tag way(recommended since you're preparing it for a new mod)
www.lf-empire.de/forum/showthread.php?tid=2470&highlight=perspective

2) weapon dependant way(it doesn't gives you instant spawn, so if you need to create an object from the beginning ofthe opening of the bg; you cannot use it.)(this way is better for random timed lightnings, meteors, icy things, rains etc etc..)
http://www.lf-empire.de/ forum/showthread.php?tid=1703
Also if you need an example for #2 way; look for "Dark Lion Forest" bg. That have lightnings. That's probably in the LFE Fileplanet. Better, make a google search for it:P
Here is the Dark Lion Forest: www.lf-empire.de/en/lfe-fileplanet/backgrounds/474-darklionforest

thanks so much:D
But can i make something like a temporary clone appear and do an attack then dissapear?
PS:the second link is broken O.O


RE: About background dcing - MH-Razen - 11-22-2011

yes you can, create an invisible weapon which fall down (probably heavy weapon, very easy to code since it`s just a few frames). WHen the invisible weaon is on floor do the width check - make sure your zboundary difference is unique, for example if you take zboundary 400 and 500, the difference is 100 - thats the area where objects can appear and this +15/-15 must not be used by any other background, thats the hard part :p

This width check works with two type 3 objects, they move up and down the zaxis quickly with hit_j, then move down and up again a certain z-distance, if they "meet" it`s the right object and a combination from itr/kind 9 and bdy works and bring one of the objects to frame 40 and let the other disappear at frame 30 or so .

when the background effect starts make this clone appear, do something and thats it...


RE: About background dcing - mfc - 11-22-2011

updated my post..
yea, mh explains rest of that..