Avengers United Battle Force

In Progress Avengers United Battle Force 2.7.41

No permission to download
The project is currently under development.
It seems a bug from game and not from openbor:
u can describe better you problem?

When you hit and you do pain3 you need to nullify the bind to kill the sparkle effect
and so you must set: bindentity(e,NULL());
 
bindentity(e, self,0,1,30,-1,4);
This would make the bindentity go away (and it works). The problem its on the hitflash.
I see that this happens only with moves which spawns something, if I hit the enemy with a normal attack, no bug happens.
I've sent you a beta.

By the way, I think there is a way to work: The arrow should not remove itself upon hit, and turns itself into the net animation, while it puts the enemy into a GRAB animation. But it should check if the target is hit then it should kill itself.

This would avoid this bug and would avoid me to make a pain3 for all chars. But I don't know how to do this, lol
 
You can do the first part of what you said. 
Bloodbane showed me this trick for projectiles, so they can play an animation on hit instead of making new hit flashes.

- Add 'remove 0' to the arrow entity, so it is not removed on hit. 
- Then add to idle anim 'followcond' and 'followanim'.

Code:
anim	idle
	followcond	2
	followanim	1

- Create 'follow1' animation and add this script to it.

Code:
anim   follow1
@script
    void self = getlocalvar("self");

   if (frame == 0){
      changeentityproperty(self, "velocity", 0, 0, 0);
      changeentityproperty(self, "speed", 0);
   }
	@end_script

Hope this helps
 
Ah, so this is why you asked about weapon select! It is for selecting Hawkeye's arrow.
Well, you need to show icon or something on HUD to show which arrow Hawkeye will shoot.
 
you cant find that code at some contra game?
nice ideia about several weapons.
 
O'! I found and fixed your problem.
Now I'm uploading your game for PM.
For a weird reason bindentity param value "6" or "4" (refer to die on no anim matching) doesn't work properly.
By this way you can proceed in a different way.

madam.txt (new pain3)
Code:
anim	pain3
	@script
	if(frame==0) {
    		void self = getlocalvar("self");
    		void e;

    		clearspawnentry();
    		setspawnentry("name", "net");
    		e = spawn();
    		changeentityproperty(e,"parent",self); // <--- ADDED
    		bindentity(e, self,0,1,30,-1,2); // <--- CHANGED
    	}
	@end_script

	loop	0
	bbox	230 161 23 56
	offset	240 217
	delay	5	
	frame	data/chars/bosses/madam/pain00.png
	offset	242 217
	delay	5
	frame	data/chars/bosses/madam/pain01.png
	offset	241 217
	delay	170
	frame	data/chars/bosses/madam/pain01.png
	offset	241 217
	delay	5
	frame	data/chars/bosses/madam/pain01.png
	offset	242 217
	delay	5
	frame	data/chars/bosses/madam/pain01.png
	offset	241 217
	delay	5
	frame	data/chars/bosses/madam/pain00.png
	offset	241 217
	delay	5
	frame	data/chars/bosses/madam/pain02.png

and net.txt (Whole entity):
Code:
name net
type	none
shadow	0
Antigravity 100


palette data/chars/misc/net/1.png
	

# ---------- ADDED ----------
ondrawscript @script
void main() {
	void self = getlocalvar("self");
	void parent = getentityproperty(self,"parent");

	if ( getentityproperty(parent,"exists") ) { // <--- ADDED
		int p_anim_id = getentityproperty(parent,"animationid");

		if ( p_anim_id != openborconstant("ANI_PAIN3") ) killentity(self);
	}
} 
@end_script



anim	idle
	@script
		void self = getlocalvar("self");
		void parent = getentityproperty(self,"parent");

		if( frame >= 7 ){
			killentity(self);
		}
	@end_script

	loop	0
	delay	5
	offset	40 40
	frame	data/chars/misc/net/3.png
	frame	data/chars/misc/net/2.png
	delay	170
	frame	data/chars/misc/net/1.png
	delay	5
	offset	42 40
	frame	data/chars/misc/net/1.png
	offset	40 40
	frame	data/chars/misc/net/1.png
	offset	42 40
	frame	data/chars/misc/net/1.png
	offset	40 40
	frame	data/chars/misc/net/2.png
	frame	data/chars/misc/empty.gif

anim	pain3
	@script
		void self = getlocalvar("self");
		void parent = getentityproperty(self,"parent");

		if( frame >= 7 ){
			killentity(self);
		}
	@end_script	

	loop	0
	delay	5
	offset	40 40
	frame	data/chars/misc/net/3.png
	frame	data/chars/misc/net/2.png
	delay	170
	frame	data/chars/misc/net/1.png
	delay	5
	offset	42 40
	frame	data/chars/misc/net/1.png
	offset	40 40
	frame	data/chars/misc/net/1.png
	offset	42 40
	frame	data/chars/misc/net/1.png
	offset	40 40
	frame	data/chars/misc/net/2.png
	frame	data/chars/misc/empty.gif
		
#|edited by openBor Stats v 0.62

now it works!! However I give you an advice to change weapon.
If I press down down + atk the chara change his weap.
But I don't know that weap!!
So you can spawn an icon (like player Arrow)  to identify new  weap.

 
Bloodbane said:
Ah, so this is why you asked about weapon select! It is for selecting Hawkeye's arrow.
Well, you need to show icon or something on HUD to show which arrow Hawkeye will shoot.
Yeah, I will use for that. Right now, if you wanna change from one weapon to another, you to keep using the command many times until you find the right one. I would like to make it simpler, like spawn an menu and people press right or left to choose it

O'! I found and fixed your problem.

oh man, you are my hero! I suspected that it was an engine bug, not my mistake. I've pmed DC, maybe I will PM Plombo and uTunnels about this.

About the weapon change, is what I will do. I just need to find a way to code the weapon select the way I wanted.

Have you enjoyed the game?

esn23 said:
O anyway you can show me a private video of emma :)

I will make a public one soon :)

zvitor said:
you cant find that code at some contra game?
nice ideia about several weapons.

its not exactly what I have in mind, but maybe I will use it.
 
I've been busy, but I managed to add grab for Hulk
aINQKYY.png

Pbf1JmN.png


His throw is not scripted, but will be on the future. Maybe I won't add grab for ALL chars, just for the big ones or skilled chars
 
Cool, I like all the updates to hulk you've done.  I think he's my fav to play so far. 
Is he going to have his bruce transformation thou?
 
New stage - This will be the one where you fight Madame Masque, inside Maggia's ship
99jzXfi.png


Dunno what voodoo had happened here, but some of my files on my external drive were replaced by old copies. so many things I did on last days...needs to be redone. Gosh.
 
Video preview of Emma Frost, which is a guest char in Avengers United Battle force.

She has a normal mode (where she can use her psychic powers) and Diamond Form mode, where she can't use her normal powers, but gets many benefits: more power, more defense, new moves and a super armor. Her mental powers doesn't works on non-human enemies. She still hit then, but she can't stun robotic enemies.

Plus, preview of Madame Masque (codes by Beastie) and a little part of Spiderman's stage.

Emma Frost Preview - Avengers United Battle Force


Sprites by Ens23.
 
Cool! Is she that strong in diamond form? I know she's hard but lifting that robot through the air (cool move btw)...

I'd recomend changing her astral projection colors to something different, it might be mistaken for her diamond form...
 
Great video! :D

It's funny when I hear her saying "Let's dance" while she tosses up enemies way up high and does her leg drop on the ground on air.
 
Emmas astral form is usually depicted as blueish white i like it all o but please remember to change that psybolt thing to her taking control of one npc for my game :) just the code the animation is fine the rest is great..  Also when emma is in diamond form she gets a lot stronger
 
erf_beto said:
Cool! Is she that strong in diamond form? I know she's hard but lifting that robot through the air (cool move btw)...
Indeed she is, take a look: http://marvel.wikia.com/Emma_Frost_(Earth-616)#Abilities

I'd recomend changing her astral projection colors to something different, it might be mistaken for her diamond form...
Her Diamond form is pale white, while her astral projection is blueish
200px-X-Men_Vol_2_167_Textless.jpg


but please remember to change that psybolt thing to her taking control of one npc for my game
So her astral projection will hit all the enemies and her psychic bolt will control the enemies? Won't it be too cheap?
 
Back
Top Bottom