Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
two dcing questions
#1
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
<a href="http://www.herofighter.com/" target="_blank" title="Hero Fighter"><img src="http://herofighter.com/banner/468x85.jpg" alt="Hero Fighter" border="0"></a>
my dragon (Click to View)
Reply
Thanks given by:
#2
for 2:

http://lf-empire.de/en/lf2-empire/data-c...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)."
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#3
ya thanks but I want him to be shown and i want him to get hit but don't get hurt
<a href="http://www.herofighter.com/" target="_blank" title="Hero Fighter"><img src="http://herofighter.com/banner/468x85.jpg" alt="Hero Fighter" border="0"></a>
my dragon (Click to View)
Reply
Thanks given by:
#4
why dont u remove its bdy? then probably he wont get hit by any attack?
Reply
Thanks given by:
#5
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
<a href="http://www.herofighter.com/" target="_blank" title="Hero Fighter"><img src="http://herofighter.com/banner/468x85.jpg" alt="Hero Fighter" border="0"></a>
my dragon (Click to View)
Reply
Thanks given by:
#6
i think that the first question dont come under DC category.. it seems hex editing can help..
Reply
Thanks given by:
#7
oh...i will just leave it there may be it does you never know:)
<a href="http://www.herofighter.com/" target="_blank" title="Hero Fighter"><img src="http://herofighter.com/banner/468x85.jpg" alt="Hero Fighter" border="0"></a>
my dragon (Click to View)
Reply
Thanks given by:
#8
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...
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#9
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.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#10
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)
<a href="http://www.herofighter.com/" target="_blank" title="Hero Fighter"><img src="http://herofighter.com/banner/468x85.jpg" alt="Hero Fighter" border="0"></a>
my dragon (Click to View)
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)