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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom mount issue I cannot figure out.
Author Message
Murmur
Apprentice
*

Posts: 33
Likes Given: 3
Likes Received: 2 in 2 posts
Joined: Feb 2013
Reputation: 0



Post: #1
Information Custom mount issue I cannot figure out.
Hello everyone, hail, and well met.

Trying to figure something out, I'm really close to having this finished.

I've seen a few posts about making custom mounts, but none of them are definitive and complete.

I figured I'll post everything I've done so far, and I'm pretty sure this is pretty simple and someone will fill in the blanks for me, then I'll make sure I make a complete tutorial on how to create custom mounts for new people like me.

Here is the item I created:

[ITEMDEF 03ffc]
//?
DEFNAME=i_mt_stag
TYPE=T_EQ_HORSE
LAYER=layer_horse
TDATA3=c_stag

It's sitting in its own .scp file.

I added this line below [DEFNAME mount_items] in sphere_defs.scp:

mount_0xea 03ffc // Stag

I used mulpatcher, and put 0xea as the AnimID in the 0x3ffc tiledata.

Ok, so you probably already know what I'm going to say, but I type .add i_mt_stag and it creates an unknown tile on the ground, I double click the tile and I mount the stag.

I can dismount the stag and remount the stag just fine.

The question I have is, first, how do I make it so that when I create i_mt_stag, I get a miniature stag item, like an ethereal, then double click it to mount it, then when I dismount it, it goes back to a miniature stag item in my pack?

I've accumulated hundreds of scripts over the last few days, and I'm really having trouble understanding how to get this to work.

It seems like everyone's rendition of ethereals is different, and the tutorials on this site, while helpful in many ways, does not talk about this stuff.

I've noticed that there isn't a lot of documentation on teaching people how to use this script language, and I'm going to do everything I can to start documenting every script I make, in a step by step fashion assuming whoever is reading it knows absolutely nothing about the syntax, so that we can keep sphere alive and well for decades to come.

Thanks for any advice you share with me.

*you glance to your left to a region you just surveyed... you glimpse a magical being, more shadow than substance, caught midway in transformation... the figure smiles, the corners of his mouth jut upwards slightly on the edges, suddenly stretched to a length not at all human...*
02-28-2013 04:48 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Custom mount issue I cannot figure out. - Murmur - 02-28-2013 04:48 PM

Forum Jump:


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