Little Fighter Empire - Forums
two dcing questions - 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: two dcing questions (/showthread.php?tid=7517)

Pages: 1 2


two dcing questions - nbaheen - 02-22-2012

Hi guys it's me again and i got a few dcing questions:

1.how to make the enemy char attack a char the most
for ex. normally the enemy's char attack us if there is more than one randomly but i want them to attack a specific char the most

2.how to make a char invincible...you know what I mean


RE: two dcing questions - MH-Razen - 02-22-2012

for 2:

http://lf-empire.de/en/lf2-empire/data-changing/types/167-type-0-characters

check out the part about next:

"next: ... If "wait" is down next is activated - here you note the next frame which should be shown. If you want Frame 0 to be the next frame you shouldn't write "next: 0" (that's only used for special frames, like "picked_caught"), you have to write "next: 999". "next: 1000" is for deleting an object from the game. Negative values cause a change of direction.
If you deal with characters next 1100-1299 have a special meaning, too - the figure is hidden for 0-199 TU's. After this duration you can see him again (Rudolf: Hide)."


RE: two dcing questions - nbaheen - 02-22-2012

ya thanks but I want him to be shown and i want him to get hit but don't get hurt



RE: two dcing questions - Rhino.Freak - 02-22-2012

why dont u remove its bdy? then probably he wont get hit by any attack?


RE: two dcing questions - nbaheen - 02-22-2012

no i wan't it to get hit but don't get hurt
right know the only thing i can think of is to make it heal it self while standing. in DC language make the 0 sanding next frame to be a state 1700 attack.

and can someone answer the first question please


RE: two dcing questions - Rhino.Freak - 02-22-2012

i think that the first question dont come under DC category.. it seems hex editing can help..


RE: two dcing questions - nbaheen - 02-22-2012

oh...i will just leave it there may be it does you never know:)


RE: two dcing questions - Silverthorn - 02-22-2012

The first question is dealing with AI itself. In general, any computer-player will charge towards the closest opponent, regardless of who that is. You can merely make coms go away from a certain character, but as for the opposite, I don't think that's even possible...


RE: two dcing questions - A-Man - 02-22-2012

For the second, spawn(opoint) an object with state 18 with injury: -500, fall: -1 and effect: 5, which will hit the character in one of his injury frame with no bdy(U delete the bdy from this injured frame) and then disappear(the ball).If U care about how the hp bar will look for this char hen spawn a milk bottle and make him drink it.


RE: two dcing questions - nbaheen - 04-14-2012

please don't take this as gravedigging
i think for Question 1 there is a possible way (at least in survival mode)
potions:the enemy always(i think) try to drink the potion and whenever they have the chance they do that even when they have full HP so can that be the done for a character?(i mean the AI take them as potions)