King of Rage

In Progress King of Rage v 0.1

No permission to download
The project is currently under development.
Great job, the game is looking great!!!
How do you get enemies to bounce off the wall, instead of going through it? @

DD Tokki

Code:
void main()
{//Lock the screen edge (for enemies) if take any damage, like SOR4
    void self    = getlocalvar("self");
    void vType    = getentityproperty(self,"type");
    void sType    = getentityproperty(self,"subtype");
    int dead    = getentityproperty(self, "dead");

    if(vType == openborconstant("TYPE_ENEMY")){
        if(sType != openborconstant("SUBTYPE_NOTGRAB")){
            if(!dead){
                changeentityproperty(self, "subject_to_screen", 1);
            }
        }
    }
}

takedamagescript data/scripts/edgeLock.c

--------------------------------------------------------------------------------------------------------------------------------------------

Code:
void main()
{// Wall bounce on falling state
    void self = getlocalvar("self");
    int Vx = getentityproperty(self,"xdir");
    int Vy = getentityproperty(self,"tossv");
    int Vz = getentityproperty(self,"zdir");
    int Fall = getentityproperty(self, "aiflag", "drop");
    int height    = getentityproperty(self, "y");
    int limit        = 20;

    if(Fall==1){
      if(height >= limit){
        tossentity(self, NULL(), -Vx, 0);
        //changeentityproperty(self, "velocity", -Vx*0.5, -Vz*0.5, Vy+1); // bounced
      }
    }
}

onblocksscript data/scripts/wallbons.c



You can save these two as a script file and write them in the header.
 
Code:
void main()
{//Lock the screen edge (for enemies) if take any damage, like SOR4
    void self    = getlocalvar("self");
    void vType    = getentityproperty(self,"type");
    void sType    = getentityproperty(self,"subtype");
    int dead    = getentityproperty(self, "dead");

    if(vType == openborconstant("TYPE_ENEMY")){
        if(sType != openborconstant("SUBTYPE_NOTGRAB")){
            if(!dead){
                changeentityproperty(self, "subject_to_screen", 1);
            }
        }
    }
}

takedamagescript data/scripts/edgeLock.c

--------------------------------------------------------------------------------------------------------------------------------------------

Code:
void main()
{// Wall bounce on falling state
    void self = getlocalvar("self");
    int Vx = getentityproperty(self,"xdir");
    int Vy = getentityproperty(self,"tossv");
    int Vz = getentityproperty(self,"zdir");
    int Fall = getentityproperty(self, "aiflag", "drop");
    int height    = getentityproperty(self, "y");
    int limit        = 20;

    if(Fall==1){
      if(height >= limit){
        tossentity(self, NULL(), -Vx, 0);
        //changeentityproperty(self, "velocity", -Vx*0.5, -Vz*0.5, Vy+1); // bounced
      }
    }
}

onblocksscript data/scripts/wallbons.c



You can save these two as a script file and write them in the header.
Thank you very much!!!

@DD Tokki

I've been trying and it really looks very cool, it has been very useful
 
Since this story is based on beats of rage, it may feel like a parallel world. I wrote the content, but can you correct the sentence naturally?


-king of rage-

There was a dark organization that turned the city into despair and fear.
They are being called Organization "R".
It was so huge and powerful that no one could control it.
Like-minded thugs and scoundrels also joined Organization "R".
As "R" grew in power, the world became their stage.

However, at this hopeless time, three heroes appeared and confronted them.
The three finally reached the final gateway while defeating the organization with a strong will.
Who is the leader of "R" that engulfed the city? The final story begins.



---------When the game is cleared---------



The organization's leader, "R", was the dark boss, Rugal.
He met his end by three heroes. and
I thought organization "R" would also disappear. but
he wasn't defeated

By some unknown force, he was still alive.
and declare

Rugal: You made me have fun. Don't think you beat me to this.
Alright, it's the start of round 2. I will welcome you more sincerely than before.

The fight so far was only the beginning.
 
Very good! Yes, in the source game she's not very well animated.
I like the result of your edit. overall !!
I can't wait to finally see this character in action. I know it's not the main priority for now, and it's long to edit.
I'll upload a test video after making Kisarah's special move.
 
  • Love
Reactions: NED
oume.PNG

While looking at the character to play, this time the young version of Oume's arm-to-body ratio was disappointing, so I'm editing it once more. The difference isn't that great.
 
Last edited:
  • Like
Reactions: NED
Back
Top Bottom