Fix for WarNukingGround.CowAvenger

Share interesting stuff you have found or created yourself.
User avatar
Barbie
Godlike
Posts: 2911
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Fix for WarNukingGround.CowAvenger

Post by Barbie »

This package contains a fixed version of CowAvenger: avoid repeated Access Nones because of wrong mesh animation names.
Info/Download
"If Origin not in center it be not in center." --Buggie
User avatar
EvilGrins
Godlike
Posts: 10178
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA

Re: Fix for WarNukingGround.CowAvenger

Post by EvilGrins »

What was wrong with the original CowAvenger?

I mapped one into a Deathmatch map and didn't observe any issues.
User avatar
OjitroC
Godlike
Posts: 3746
Joined: Sat Sep 12, 2015 8:46 pm

Re: Fix for WarNukingGround.CowAvenger

Post by OjitroC »

A significant proportion of the animation calls in the code for the CowAvenger are to animations that are not found in the mesh that is used (Unrealshare.Cow) and so there are a significant number of AccessNones (basically loads of log spam). There will be oddities in the movement, etc of the CowAvenger as a result of calling animations that do not exist in the Cow mesh.

To me this raises the questions - why did the person doing the coding not call animations that are found in the UnrealShare.Cow mesh (ignorance, lack of care, lack of interest, etc) and, if there are these issues, are there other issues in the code, etc of the WarNukingGrounds package?
User avatar
Barbie
Godlike
Posts: 2911
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Fix for WarNukingGround.CowAvenger

Post by Barbie »

OjitroC wrote: Thu Jul 18, 2024 7:22 pm animation calls in the code for the CowAvenger are to animations that are not found in the mesh that is used (Unrealshare.Cow)
It is just the other way round: CowAvenger's mesh is EpicCustomModels' TCowMesh where the animations 'root' and 'Breath' do not exist but are requested by CowAvenger's inherited class'Cow'-code.
are there other issues in the code, etc of the WarNukingGrounds package?
I have not noticed any.

By the way: at least the following maps contain CowAvenger:
grep -i CowAvenger Maps/*.unr
  • MH-InscrutableCastle.unr
  • MH-UM-HillBase.unr
  • MH-UM-JunkYard-v3.unr
  • MH-UM-SpaceBeacon-V1.unr
   
Auto merged new post submitted 49 minutes later
Hint: for server usage a "ServerPackages=SBWarNukingGroundFixesV0.u" is needed if replacement by code on loading map.
"If Origin not in center it be not in center." --Buggie
User avatar
sektor2111
Godlike
Posts: 6435
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Fix for WarNukingGround.CowAvenger

Post by sektor2111 »

Because WarNukingGround is just a "perfect" package, in some map containing string "Catastrophic" I simply imported these in MyLevel and adjusting there other several things + getting rid of old EXU core file and allowing map to run with any of current versions. It was somehow entertaining to see monsters with height of the steps bigger than their size - mapping no doubts...
In other hand... if such a map is nice, and I want that one, it will go in the same way, not running extra codes for fixing trash but doing it correctly hard-coded. This will allow other players without skill in "fixing" maps to enjoy the game normally.