PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
custom mounts

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095)
Display posts from previous:   

Author Message
hunt3r



Joined: 25 Mar 2008
Posts: 11

PostPosted: Wed Mar 26, 2008 8:04 am    Post subject: custom mounts Reply with quote

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 Sad


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

Author Message
hunt3r



Joined: 25 Mar 2008
Posts: 11

PostPosted: Wed Mar 26, 2008 8:43 am    Post subject: Reply with quote

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.

Author Message
hunt3r



Joined: 25 Mar 2008
Posts: 11

PostPosted: Wed Mar 26, 2008 5:17 pm    Post subject: Reply with quote

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?

Author Message
hunt3r



Joined: 25 Mar 2008
Posts: 11

PostPosted: Thu Apr 03, 2008 11:25 am    Post subject: Reply with quote

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....

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095) All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty