The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Animations: multipe types of one anim
Author Message
Apocalypse
Journeyman
*

Posts: 56
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Jan 2016
Reputation: 0



Post: #1
Animations: multipe types of one anim
hey guys, i want to know if animations such as the Dread Spider and The Frost spider are in fact 2 separate animations like im seeing in UO Fiddler or do they feed off a single animation? these days with limited abilities to add animations to newer patched UO clients, im wondering if i can replace (lets say the frost spider) with a new animation while keeping the dread spider in the game? im just getting back into this and exploring my options. Thank you.
12-23-2017 03:23 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Animations: multipe types of one anim
Each slot is a separate animation, check: http://sorea.profitux.cz/patching/#body_def
12-24-2017 12:35 AM
Find all posts by this user Like Post Quote this message in a reply
Apocalypse
Journeyman
*

Posts: 56
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Jan 2016
Reputation: 0



Post: #3
RE: Animations: multipe types of one anim
Thank you for that page and the info! That helped me a lot!
12-24-2017 09:57 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Apocalypse's post
Apocalypse
Journeyman
*

Posts: 56
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Jan 2016
Reputation: 0



Post: #4
RE: Animations: multipe types of one anim
So i went in to replace one anim and the others like the ice troll was also replaced. is there anyway to unlink those animations into their own separate ones? i know that some anims take the original anim and just put a hue on them for fire, ice etc but is there a way i can change that? maybe make it so i can use the ice troll animation slot for something else? or are they linked in the client under a hard code?
02-28-2018 05:24 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Animations: multipe types of one anim
they are handled in body.def and bodyconv.def
02-28-2018 06:13 PM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #6
RE: Animations: multipe types of one anim
As it says darksun84, you need to edit the body.def and bodyconf.def files

Body.def:

Code:
# Use: <Original Dec No. Gumps / Animation> {<Assigned Dec No. Gump / Animation>} <Color>
11 {28} 1401

Bodyconf.def:

Code:
#OBJ anim2 anim3 anim4 anim5
83 -1 83 -1 -1 # yetti

As you can see, the client reads only .mul versions of these files, not .uop. So if I put the animation stillti at position 83, in anim3, in bodyconf number 83 I will write the third in the order. The client knows that here and there the animation should read from anim3.mul from 83 positions.

In Body.def we basically only determine which animation or gump will be displayed in the game under the given ID. I will have an animation of the dog under number 11, but I will want to display the animation of the cat, which is under number 28. So I set it in body.def. The third item is the color of the animation displayed.
03-08-2018 02:03 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)