Canceled X-men Clone Wars

Project is halted prior to completion and will not receive further updates.

kmilloz

Member
Here some pictures of my new mod, the idea is to try to follow the story of the original, but with changes in characters because of the style of play, the characters will be selectable: nightcrawler, storm, cyclips, beast, gambit, wolverine and magneto.
bor-0004-1.png
bor-0003.png

bor-0002-1.png
bor-0000.png
 
right, you know working with script? I wanted to do the healing factor of Wolverine, when he stopped his energy back slowly ... have any idea that can help me? Thank you.

certo, vc sabe trabalhar com script? Queria fazer o fator de cura do wolverine, quando ele estiver parado a energia dele volta aos poucos... tem alguma idéia que possa me ajudar? obrigado.
 
You can save this on a .c script file or use directly on the char.
In both cases, you should call it on the idle animation.

On a script file:
void regen(int regH)
{// Spend some life
    void self = getlocalvar("self");// get caller
    void Life = getentityproperty(self,"health"); //get health
    changeentityproperty(self, "health", Life+regH);//add health
}

directly on the char (on the first frame of the idle anim):

@script
    void self = getlocalvar("self");// get caller
    void Life = getentityproperty(self,"health"); //get health
    int regH = 1; #how much life you want to recover
    changeentityproperty(self, "health", Life+regH);//add health
@end_script


Usage (in case of the script file):
@cmd regen 1 
#1 is how much you want to regenerate.
 
i have did it for wolverine in marvel wargems


here is my idle animation with code

anim idle
loop 1
delay 11
offset 50 79
bbox 18 1 47 79
@script
if(frame == 1){
void vSelf = getlocalvar("self");
int  iHP = getentityproperty(vSelf, "health");
changeentityproperty(vSelf, "health", iHP + 1);
}
@end_script
frame data/chars/ch4/idle1.pcx
offset 50 78
frame data/chars/ch4/idle2.pcx
offset 50 79
frame data/chars/ch4/idle3.pcx
offset 50 80
frame data/chars/ch4/idle4.pcx
 
Very good!
beside the fact some of your BG sprite seems blurry.
You should use a program like "sprite rotation" to scale it right.

You can find a link here:
http://forums.sonicretro.org/index.php?showtopic=8848

good luck!
 
You're welcome!

Originally it was made to do rotation on sprites, but there is a function for scalling sprites too without color loss, and with really nice results. :D
 
Here is a short video of the playable characters from my mod, now I can start devoting the creation of the "cutscenes" to finish my game.

https://www.youtube.com/watch?v=qbA7lT2APPE
 
I would consider going to 480x272 resolution for the whole mod before you start working on cutscenes.  It might take some messing around to adjust stages, but the end result will be better.
 
Back
Top Bottom