• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua [creature] man on mount

Evan

A splendid one to behold
Senator
Premium User
Joined
May 6, 2009
Messages
7,019
Solutions
1
Reaction score
1,029
Location
United States
Is it possible to have a monster that looks like a person on a mount instead of the mount itself?
 
@Johanz
Ye then try to add your sprites to your database XD

@topic
I think it should be something like: lookType = the outfit and there should be a attribute to add the mount, maybe like lookMount or something.
Didnt take a look in the sources
 
@Johanz
No, not what I mean.

In 8.7 we have mounts now, right? So, lets grab a mount, draptor for example. Now, add a human on it, just like us players riding on a mount.
Now, put those together to get a monster.

Is that possible?
 
@Johanz
Ye then try to add your sprites to your database XD

@topic
I think it should be something like: lookType = the outfit and there should be a attribute to add the mount, maybe like lookMount or something.
Didnt take a look in the sources

Yeah, I tried pretty much everything, even mount="385".
Nothing is working.
 
I checked source and it doesn't seem that there is something for mount..
[cpp]else if(!xmlStrcmp(p->name, (const xmlChar*)"look"))
{
if(readXMLInteger(p, "type", intValue))
{
mType->outfit.lookType = intValue;
if(readXMLInteger(p, "head", intValue))
mType->outfit.lookHead = intValue;

if(readXMLInteger(p, "body", intValue))
mType->outfit.lookBody = intValue;

if(readXMLInteger(p, "legs", intValue))
mType->outfit.lookLegs = intValue;

if(readXMLInteger(p, "feet", intValue))
mType->outfit.lookFeet = intValue;

if(readXMLInteger(p, "addons", intValue))
mType->outfit.lookAddons = intValue;
}
else if(readXMLInteger(p, "typeex", intValue))
mType->outfit.lookTypeEx = intValue;
else
SHOW_XML_WARNING("Missing look type/typeex");

if(readXMLInteger(p, "corpse", intValue))
mType->lookCorpse = intValue;

if(readXMLInteger(p, "corpseUniqueId", intValue) || readXMLInteger(p, "corpseUid", intValue))
mType->corpseUnique = intValue;

if(readXMLInteger(p, "corpseActionId", intValue) || readXMLInteger(p, "corpseAid", intValue))
mType->corpseAction = intValue;
}[/cpp]
 
My idea was to make an NPC that is riding a mount but I guess that's not possible seeing what Summ posted, It's a shame It'd fit well with my idea "You see the npc with the mount you want the mount so you ask him about it and he gives you missions to get the mount"
 
For npcs it is possible. This should work:
<look type="128" head="17" body="54" legs="114" feet="0" addons="2" mount="~"/>
 
Back
Top