Page 1 of 1

custom mounts

Posted: Wed Mar 26, 2008 4:04 am
by hunt3r
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: Select all

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: Select all

 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

Posted: Wed Mar 26, 2008 4:43 am
by hunt3r
I forgot to mention that...
when I add the parametters

Code: Select all

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

Posted: Wed Mar 26, 2008 1:17 pm
by hunt3r
find it!

Code: Select all

   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?

Posted: Thu Apr 03, 2008 7:25 am
by hunt3r
that was the far I could get till now

Code: Select all

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