Jump to content

Recommended Posts

Posted

New Share !

 

Screen

Version : High Five

 

9.jpg2.jpg1.jpg

 

 

xml skills

		<skill id="500246" levels="1" name="Monture Cheval Blanc">
	<set name="aggroPoints" val="1" />
	<set name="operateType" val="OP_ACTIVE" />
	<set name="skillType" val="BUFF" />
	<set name="target" val="TARGET_SELF" />
	<set name="transformId" val="500052" />
	<cond msgId="1509">
		<player olympiad="false" />
	</cond>
	<for>
		<effect name="Monture" abnormalTime="180000" val="0" abnormalLvl="1" abnormalType="transform" />
	</for>
</skill>
	<skill id="500247" levels="1" name="Monture Cheval Noir">
	<set name="aggroPoints" val="1" />
	<set name="operateType" val="OP_ACTIVE" />
	<set name="skillType" val="BUFF" />
	<set name="target" val="TARGET_SELF" />
	<set name="transformId" val="500053" />
	<cond msgId="1509">
		<player olympiad="false" />
	</cond>
	<for>
		<effect name="Monture" abnormalTime="180000" val="0" abnormalLvl="1" abnormalType="transform" />
	</for>
</skill>
	<skill id="500248" levels="1" name="Monture Cheval Brun">
	<set name="aggroPoints" val="1" />
	<set name="operateType" val="OP_ACTIVE" />
	<set name="skillType" val="BUFF" />
	<set name="target" val="TARGET_SELF" />
	<set name="transformId" val="500054" />
	<cond msgId="1509">
		<player olympiad="false" />
	</cond>
	<for>
		<effect name="Monture" abnormalTime="180000" val="0" abnormalLvl="1" abnormalType="transform" />
	</for>
</skill>	

 

scripts.cfg

 

transformations/ChevalBrun.java
transformations/ChevalNoir.java
transformations/ChevalBlanc.java

 

Transformation java

 

ChevalBlanc

package transformations;

import com.l2jserver.gameserver.datatables.SkillTable;
import com.l2jserver.gameserver.instancemanager.TransformationManager;
import com.l2jserver.gameserver.model.L2Transformation;

public class ChevalBlanc extends L2Transformation
{
private static final int[] SKILLS = {5491,839};
public ChevalBlanc()
{
	// id, colRadius, colHeight
	super(500052, 31, 32.5);
}

@Override
public void onTransform()
{
	if (getPlayer().getTransformationId() != 500052 || getPlayer().isCursedWeaponEquipped())
		return;

	transformedSkills();
}

public void transformedSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().addSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(SKILLS);
}

@Override
public void onUntransform()
{
	removeSkills();
}

public void removeSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(EMPTY_ARRAY);
}

public static void main(String[] args)
{
	TransformationManager.getInstance().registerTransformation(new ChevalBlanc());
}
}

 

ChevalNoir

 

package transformations;

import com.l2jserver.gameserver.datatables.SkillTable;
import com.l2jserver.gameserver.instancemanager.TransformationManager;
import com.l2jserver.gameserver.model.L2Transformation;

public class ChevalNoir extends L2Transformation
{
private static final int[] SKILLS = {5491,839};
public ChevalNoir()
{
	// id, colRadius, colHeight
	super(500053, 31, 32.5);
}

@Override
public void onTransform()
{
	if (getPlayer().getTransformationId() != 500053 || getPlayer().isCursedWeaponEquipped())
		return;

	transformedSkills();
}

public void transformedSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().addSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(SKILLS);
}

@Override
public void onUntransform()
{
	removeSkills();
}

public void removeSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(EMPTY_ARRAY);
}

public static void main(String[] args)
{
	TransformationManager.getInstance().registerTransformation(new ChevalNoir());
}
}

 

ChevalBrun

 

package transformations;

import com.l2jserver.gameserver.datatables.SkillTable;
import com.l2jserver.gameserver.instancemanager.TransformationManager;
import com.l2jserver.gameserver.model.L2Transformation;

public class ChevalBrun extends L2Transformation
{
private static final int[] SKILLS = {5491,839};
public ChevalBrun()
{
	// id, colRadius, colHeight
	super(500054, 31, 32.5);
}

@Override
public void onTransform()
{
	if (getPlayer().getTransformationId() != 500054 || getPlayer().isCursedWeaponEquipped())
		return;

	transformedSkills();
}

public void transformedSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().addSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(SKILLS);
}

@Override
public void onUntransform()
{
	removeSkills();
}

public void removeSkills()
{
	// Decrease Bow/Crossbow Attack Speed
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false);
	// Dismount
	getPlayer().removeSkill(SkillTable.getInstance().getInfo(839, 1), false);

	getPlayer().setTransformAllowedSkills(EMPTY_ARRAY);
}

public static void main(String[] args)
{
	TransformationManager.getInstance().registerTransformation(new ChevalBrun());
}
}

 

.dat

utx

ridedata.dat

 

BarraCouda  :-*

Posted

nice work, look very nice, maybe we can do new monture, adapting new horse or some mob for make -beep-table ^^

 

I work at present on the new. I would show him to you as soon as it will be ended. The horse being there only for a trial phase. ;)

 

(Sorry for my english, I use the translator)

Posted

I work at present on the new. I would show him to you as soon as it will be ended. The horse being there only for a trial phase. ;)

 

(Sorry for my english, I use the translator)

ok I'll be looking forward :)
  • 2 weeks later...
Guest
This topic is now closed to further replies.


  • Posts

    • ➡ Discount for your purchase: APRIL (10% discount) ➡ Our Online Shop: https://socnet.store ✅ ➡ Our SMM-Boosting Panel: https://socnet.pro ✅ ➡ Telegram Shop Bot: https://socnet.shop ✅ ➡ Telegram Support: https://t.me/solomon_bog ✅ ➡ Telegram Channel: https://t.me/accsforyou_shop ✅ ➡ Discord Support: @AllSocialNetworksShop ✅ ➡ Discord Server: https://discord.gg/y9AStFFsrh ✅ ➡ WhatsApp Support: https://wa.me/79051904467✅ ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ✅ ➡ Email Support: solomonbog@socnet.store ✅
    • ➡ Discount for your purchase: APRIL (10% discount) ➡ Our Online Shop: https://socnet.store ✅ ➡ Our SMM-Boosting Panel: https://socnet.pro ✅ ➡ Telegram Shop Bot: https://socnet.shop ✅ ➡ Telegram Support: https://t.me/solomon_bog ✅ ➡ Telegram Channel: https://t.me/accsforyou_shop ✅ ➡ Discord Support: @AllSocialNetworksShop ✅ ➡ Discord Server: https://discord.gg/y9AStFFsrh ✅ ➡ WhatsApp Support: https://wa.me/79051904467✅ ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ✅ ➡ Email Support: solomonbog@socnet.store ✅
    • Hey. I've been looking all over the internet about this but not being able to find anything about it. I have edited systemmsg using MSG editor changing colors etc. But now I want to change and add some of the sounds as well. But I need the sound IDs for each audiofile and I dont know how to find them. Ive found all the audio files but I cant use the filename as someone said in a thread here, it only seem to take numbers. I have looked into every guide about systemmsg on this website and no one mention anything about the sound, just that its possible to add sound but nothing more. So, do anyone know how to find these sound IDs? Preferably together with the soundname of the audio file that it plays so I know which ID to use for each soundfile. Thanks in advance!
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
  • Topics

×
×
  • Create New...