regular cow skin/ crazy animals

Search and find cool skins and models, or introduce your own ones!
User avatar
Baardman
Skilled
Posts: 237
Joined: Mon Oct 02, 2017 9:39 am

regular cow skin/ crazy animals

Post by Baardman »

i just happened to make this cow skin for the nalicow in Unrealshare package. Was not a goal i had but i just played around with an old test map i made from n64 game Ocarina of time (lonlon ranche) and with help of buggie for fixing the cow so it does not run to the origin of the map. thought i might just share it.
regularCowskin.7z
regularCow2.jpg

Code: Select all

class MyCow expands Cow;

 state Grazing
{
    
    
    function bool TestDirection(vector dir, out vector pick, bool bAlongWall)
    {    
        local vector HitLocation, HitNormal;
        local float minDist, Dist;
        local actor HitActor;

        dir.Z = 0;
        dir = Normal(dir);
        minDist = FMin(180.0, 6*CollisionRadius); 
        pick = Location + dir * (minDist + FRand() * 900);

        HitActor = Trace(HitLocation, HitNormal, pick, Location, false);
        if (HitActor == None) {
            HitLocation = pick;
            HitNormal.Z = 1;
        }
        Dist = VSize(HitLocation - Location);
        if ( (Dist < minDist) && (HitNormal.Z < 0.7) )
        {
            if ( !bAlongWall )
                return false;
            pick = HitLocation - dir + (HitNormal Cross vect(0,0,1)) * 5 * CollisionRadius;
            HitActor = Trace(HitLocation, HitNormal, pick , Location, false);
            if (HitActor != None)
                return false;
        }
        else 
            pick = HitLocation - 4 * CollisionRadius * dir;

        return true; 
    }
}



btw had some fun adding some animals from Medors site
the elephant suddenly killed the dogs ( which seem to be a doing a bit weird cycling through animatons it seems)



anyone knows more regular animals? i like to add them
.
.
You do not have the required permissions to view the files attached to this post.