PenUltima Online

It is currently Wed Aug 20, 2008 2:13 pm

All times are UTC - 4 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: custom mounts
PostPosted: Wed Mar 26, 2008 8:04 am 
Offline
User avatar

Joined: Tue Mar 25, 2008 3:17 pm
Posts: 11
Fellows...

I'm having some problems to add custom mounts to 95 core...
By default I can only mount on horses or ostards...
I think it could be something related to the npc's graphic.

That's what the far I could go digging into the conf files:

Code:
if(pncfg[who.npctemplate].mount)
        var mymount := CreateItemAtLocation(5288,1176,0,0xf021,1);
        var mountparms := splitwords(pncfg[who.npctemplate].mount);
        mymount.graphic := Cint(mountparms[1]);
        mymount.color := Cint(mountparms[2]);
        EquipItem(who, mymount);
      endif


seems that it reads npcdesc.cfg to pull this info...
I've tried to add a few on the npcdesc, like
Code:
mount <graphic> <color>

but itn't work :(


seems that it is executed by NPCKeeper, what I couldn't find is... What is the action trigger (dblclick) that sends it to NPCKeeper, as well as how can I set that "mount" property to another graphic...

Someone?
thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 26, 2008 8:43 am 
Offline
User avatar

Joined: Tue Mar 25, 2008 3:17 pm
Posts: 11
I forgot to mention that...
when I add the parametters
Code:
mount <graphic> <color>

to a template on npcdesc.cfg, it "bugs" the npc, and it even shows it graphic correctly.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 26, 2008 5:17 pm 
Offline
User avatar

Joined: Tue Mar 25, 2008 3:17 pm
Posts: 11
find it!
Code:
   0xcc: mounttype := 0x3ea2;
      0xc8: mounttype := 0x3e9f;
      0xe2: mounttype := 0x3ea0;
      0xe4: mounttype := 0x3ea1;
      0xdc: mounttype := 0x3ea6;
      0xd2: mounttype := 0x3ea3;
      0xda: mounttype := 0x3ea4;
      0xdb: mounttype := 0x3ea5;


this in the tamed.src script...

BUT, where can I find more of that "mounttypes" there?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 03, 2008 11:25 am 
Offline
User avatar

Joined: Tue Mar 25, 2008 3:17 pm
Posts: 11
that was the far I could get till now
Code:
    case(me.graphic)
      0xcc: mounttype := 0x3ea2;
      0xc8: mounttype := 0x3e9f;
      0xe2: mounttype := 0x3ea0;
      0xe4: mounttype := 0x3ea1;
      0xdc: mounttype := 0x3ea6;
      0xd2: mounttype := 0x3ea3;
      0xda: mounttype := 0x3ea4;
      0xdb: mounttype := 0x3ea5;
          ///////////Ethereal///////////
         0x73: // Horse Ethereal
         mounttype := 0x3eaa;
         0xaa: // Lhama Ethereal
         mounttype := 0x3eab;
         0xab: // Ostard Ethereal
         mounttype := 0x3eac;
         /////////// NEWWWWWWWWWWWWWWWWWW :D
         //://white horse
         //: mounttype := 0x3eb4;
        0x114 ://chimera
            mounttype := 0x3e90;
          0x115 ://cu-sidhe
            mounttype := 0x3e91;
        0x11c ://mondains steed
            mounttype := 0x3e92;
        0xf3:  //hiryu
            mounttype := 0x3e94;
    endcase


I ran into all the types that are "equipable" and layeer 25...
Still couldn't find the most part of ML mountables....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 4 hours


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl