Multiverse Forum Notes

From Flagon with the Dragon
Jump to: navigation, search

These are some Gems I found on the Multiverse Forums about customizing, modifying or coding inside of Multiverse.

The Server

The Client

Changing Cursor Image

[1] I changed the cursors in Forgotten Legends just by altering the image file. The way it works is you have a image file and you have an image set file. The imageset file outlines which texture is from which part of the image.

The imageset file for the cursors is called cursor.xml in the Interface/Imageset folder. The text inside looks like:

<?xml version="1.0" ?>
<Imageset Name="Cursor" Imagefile="Cursor.tga" NativeHorzRes="512" NativeVertRes="32" AutoScaled="false">
    <Image Name="Attack" XPos="0" YPos="0" Width="32" Height="32" />
    <Image Name="Pickup" XPos="32" YPos="0" Width="32" Height="32" />
    <Image Name="Point" XPos="64" YPos="0" Width="32" Height="32"/>
    <Image Name="Speak" XPos="96" YPos="0" Width="32" Height="32" />
    <Image Name="UnableAttack" XPos="256" YPos="0" Width="32" Height="32" />
    <Image Name="UnablePickup" XPos="288" YPos="0" Width="32" Height="32" />
    <Image Name="UnablePoint" XPos="320" YPos="0" Width="32" Height="32" />
    <Image Name="UnableSpeak" XPos="352" YPos="0" Width="32" Height="32" />
</Imageset>


Here you can make names etc. which other interface files will reference. so if we look at the Speak image it says it starts at position 96 from the left and 0 from the top and is 32 pixels wide/high. (You probably already figured that out haha).

Now the top of the file lists the texture name which is Cursor.tga. So by editing Cursor.tga and the imageset file you can get your own custom cursors in there.

As for how the game knows when to display each cursor type, I have yet to figure that out.

Doomsberg Entertainment Team Leader. http://www.doomsberg.com

Personal tools