Multyplying NPCs

mishadude

New member
Hello everyone. I wanted to increase the amount of squirrels Squirrel Girl summons at once as her special attack (not ultra) in Marvel Infinity War. Can anyone tellme how to do that, please?
 
Hi mishadude and welcome to the forum. Maybye you can contact the author who is ZVitor first for your suggestion of increasing the squirrels number.
You'll surely find a spawn function like spawn01, spawnM...
 
look for it on her file:
Code:
anim	freespecial4
	com	A3 freespecial4
	energycost	10
	mponly	1
	loop	0
	delay	6
	bbox	26 11 33 78
	offset	41 89
	sound	data/sounds/sg4.wav
	frame	data/chars/sg/a5.gif
	bbox	30 22 47 70
	frame	data/chars/sg/a6.gif
	@cmd	spawn01 "Esquilo" 50 250 0
	delay	28
	jugglecost	1
	frame	data/chars/sg/a7.gif
	delay	9
	frame	data/chars/sg/a6.gif

and add more lines:
@cmd spawn01 "Esquilo" 50 250 0
 
ZVitor said:
look for it on her file:
Code:
anim	freespecial4
	com	A3 freespecial4
	energycost	10
	mponly	1
	loop	0
	delay	6
	bbox	26 11 33 78
	offset	41 89
	sound	data/sounds/sg4.wav
	frame	data/chars/sg/a5.gif
	bbox	30 22 47 70
	frame	data/chars/sg/a6.gif
	@cmd	spawn01 "Esquilo" 50 250 0
	delay	28
	jugglecost	1
	frame	data/chars/sg/a7.gif
	delay	9
	frame	data/chars/sg/a6.gif

and add more lines:
@cmd spawn01 "Esquilo" 50 250 0

Thanks Zvitor! My Squirrel Girl now summons a hundred (100!) squirrels at once. My 6 year old son thinks it's the best thing ever.

I have some other questions about multiple NPCs

1. Can characters have multiple different NPCs as subentities that they can spawn in their spawn animation? Like, say I play as Spider-Man and want to spawn Human Torch and Black Cat as NPCs as soon as Spider-Man spawns (I already have their copies as NPCs)

2. Is there a way to increase the max number of enemies onscreen at once for 1 player or even remove that limit altogether?
 
mishadude: 100 squirrels is a bit too much on screen, no?
1) Yes you can spawn multiple npc using this kind of function or an other command.
2) Yes, you can set how many enemies you want on screen in levels with this:
Code:
group {min} {max}

    ~Also not an entity spawn, also should be followed by 'at'.
    ~Causes entities to be spawned in groups. When the number of enemies goes below {min} (not equal to, below), entities will be spawned until there are {max} enemies onscreen or there aren't any more enemies to spawn in the group.
    ~Group size declarations remain in effect until changed. So use a large group size like 'group 100 100' to "cancel" the grouping.
    ~'wait' is also counted to 'group' so it's best to put 'wait' first to prevent it being limited by 'group'.
    ~This only prevent enemies and other entities spawned with 'spawn' command above. Entities spawned with 'spawnframe' and 'summonframe' (see above) won't be prevented even if max value has been reached.

 
kimono said:
mishadude: 100 squirrels is a bit too much on screen, no?
No, but when you summon another hundred and the first one is still on the screen, then the game starts lagging
kimono said:
1) Yes you can spawn multiple npc using this kind of function or an other command.
So what are the actual lines for setting multiple subentities? Torch and Bcat for example
 
mishadude: I'm not very at ease changing everything without ZVitor agreement.

Why don't you start your own project, you surely dream about a game that you wish to create?
In this case, I can show you how to integer this kind of feature.
 
kimono said:
mishadude: Why don't you start your own project, you surely dream about a game that you wish to create?
In this c
Well, I do have a couple of game ideas that I'm not bold enough to try yet, so for now I'm just experimenting with existing games to better understand how to do stuff.

One idea is playing as a cop (or cops) in a superhero universe (haven't decided which one yet) where you assist npc superheroes in fighting thugs, supervillains and other menaces and maybe even rescue innocent bystanders along the way.

Another is a game where you play as supervillains and fight superheroes and police while trying to achieve your master plan (getting rich or taking over the world or something else, depending on who you play as)
 
mishadude said:
One idea is playing as a cop (or cops) in a superhero universe (haven't decided which one yet) where you assist npc superheroes in fighting thugs, supervillains and other menaces and maybe even rescue innocent bystanders along the way.

This is a great idea for a game, especially if it was more adult themed
 
Hehe, its also something that NIghtslashers sorely needs on some levels & it applies to other things too.

danno would you be able to share you binded Robocop character so i can try in figure out how it works?  my binding experiments for "costumes" & mutlilayered entities dont seem to be doing too well ...
 
Hey oldyz, I've still not been able to get it working correctly, I need to figure out how to unbind on key release, so I just have a set of legs, press forward and upper body binds but in releasing forward key I can't get upper body to unbind, it drove me slightly insane and I moved onto another project for the time being
 
danno
Oh i don't mind if it does not work , but im trying to understand how they function , when i saw your video, it seems to do the basic thing that i need, but i have not been able to replicate it...
either way if i might get it to work on one of my usual "flukes" during trials
 
Back
Top Bottom