Jump to content

Help Custom Weapon Icon Goes Black


DreaMeR
 Share

Recommended Posts

Hi there. I have a lil' problem. I got a custom weapons pack, and they work as they should, but with one problem. After I get a weapon augmented, its icon goes black. When you drag it you can't see the icon like you should with any other item, but still you can drop it down, or remove its augmentation. When I remove the augmentation, the proper weapon icon comes black like normal. Thanks in advance. :)

P.S. The weapons pack is "Blessed Kaliel Weapons By WariinG (Perfect Team)". Here's the link if you can fix the problem with the icons. I suppose it's in the textures or animation or something. I can't really get to it. :( http://www.mediafire.com/?mccm1qir2nopmsa

Link to comment
Share on other sites

1: the dragging problem is due to bad compression when importing. export them and reimport as dxt1 (you might need to resave as tga if doesnt work)

2: black icon is due to wrong weapongrp icon when augmented. look at the very end of the weapongrp line

Link to comment
Share on other sites

Any chance you could explain to me how to do it? I know nothing of texturing/animation and stuff. Any change you could maybe fix the UTX files for me? :D And what should i edit exactly at the weapongrp.dat file? And also I'll have to modify and all the other weapons' lines too. Would it be to greedy to ask for some fixed files? :P

Link to comment
Share on other sites

0	5620	0	3	2	5	0	LineageWeapons.blood_tornado_m00_wp	LineageWeapons.blood_tornado_m00_wp		LineageWeaponsTex.blood_tornado_t00_wp	LineageWeaponsTex.blood_tornado_t00_wp		icon.weapon_blood_tornado_i01					-1	1370	48	1	0	14	7	2	LineageWeapons.blood_tornado_m00_wp	LineageWeapons.blood_tornado_m00_wp	2	LineageWeaponsTex.blood_tornado_t00_wp	LineageWeaponsTex.blood_tornado_t00_wp		4	Itemsoundd.sword_small_2	Itemsoundd.sword_big_8	Itemsoundd.sword_small_7	Itemsoundd.dagger_4	Itemsoundd.itemdrop_fist	Itemsoundd.itemequip_fist		5	259	107	5	4	4	4	0	0	0	325	0	1	1	1000	0	-1	0	LineageEffect.c_u001	LineageEffect.c_u001	0.00000000	1.00000000	0.00000000	0.00000000	1.00000000	0.00000000	0.44999999	0.44999999	0.25000000	0.25000000	LineageWeapons.rangesample	LineageWeapons.rangesample	0.75000000	0.75000000	0.75000000	0.75000000	0.75000000	0.75000000	0.00000000	5.00000000	0.00000000	0.00000000	5.00000000	0.00000000	1	1	-1	-1	icon.weapon_blood_tornado_i01			

example line

icon.weapon_blood_tornado_i01    

at the very end is your augmented icon

Edited by Ellen De La Generes
Link to comment
Share on other sites

0 9513 1 1 7 10 0 R97_fetron_m00_WariinG.R97_fetron_m00_WariinG KalielWeaponsTex_WariinG.R97_fetron_t00 KalielWeaponsTex_WariinG.weapon_R99_dagger_pvp_i11 -1 1520 1 1 0 14 1 1 R97_fetron_m00_WariinG.R97_fetron_m00_WariinG 1 KalielWeaponsTex_WariinG.R97_fetron_t00 4 ItemSound.dagger_6 ItemSound.sword_small_2 ItemSound.sword_mid_2 ItemSound.public_sword_shing_7 ItemSound.itemdrop_dagger ItemSound.itemequip_dagger 5 346 176 3 5 12 -3 0 0 0 433 0 1 1 1000 0 -1 0 LineageEffect.c_u002 6.50000000 0.00000000 0.00000000 1.45000005 0.69999999 LineageWeapons.rangesample 0.75000000 0.40000001 0.40000001 12.00000000 0.00000000 0.00000000 4 -1 -1 -1 KalielWeaponsTex_WariinG.weapon_vesper_shaper_i03

 

That's the code from the example weapon. I don't know if that can help you out. :/

Link to comment
Share on other sites

KalielWeaponsTex_WariinG.weapon_vesper_shaper_i03

 

heres the part, you are likely missing this texture. change it to KalielWeaponsTex_WariinG.weapon_R99_dagger_pvp_i11

Link to comment
Share on other sites

It's fixed! :D So, I suppose that all i have to do is replace the last part of these weapons, and add the its own specific weapon the files that have 99R I guess?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Posts

    • try to do this:   Magic Human -> Fighter Human Magic Orc       -> Fighter Orc   or vice versa   stuck will happen ALWAYS
    • player.decayMe(); player.spawnMe();   mobius c6 does use it. dunno if other c6 use it tho. but if im not wrong mobius is based on acis   below u can see the code for the item im using. most likely can be improved since im a beginer. (note that this code is not from c6 but newer version so it needs changes but .decayMe and .spawnMe where used in c6).   /* * This file is part of the L2J Mobius project. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package handlers.itemhandlers; import org.l2jmobius.gameserver.handler.IItemHandler; import org.l2jmobius.gameserver.model.actor.Playable; import org.l2jmobius.gameserver.model.actor.Player; import org.l2jmobius.gameserver.model.item.instance.Item; import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUse; import org.l2jmobius.gameserver.util.Broadcast; /** * @author Drazeal */ public class SexChange implements IItemHandler { /* * (non-Javadoc) * @see org.l2jmobius.gameserver.handler.IItemHandler#useItem(org.l2jmobius.gameserver.model.actor.Playable, org.l2jmobius.gameserver.model.items.instance.ItemInstance, boolean) */ @Override public boolean useItem(Playable playable, Item item, boolean forceUse) { if (!(playable instanceof Player)) { return true; } Player player = (Player) playable; MagicSkillUse msk; if (player.isInCombat()) { player.sendMessage("Cannot use while in combat."); return false; } if (player.isInOlympiadMode() || player.isInDuel() || player.isOnEvent()) { player.sendMessage("Cannot use while in Olympiad/Duel/Event."); return false; } if (player.getAppearance().isFemale()) { player.getAppearance().setMale(); } else { player.getAppearance().setFemale(); } msk = new MagicSkillUse(player, player, 837, 1, 1000, 0); Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 1500); player.sendMessage("Your gender has been changed"); player.broadcastUserInfo(); player.decayMe(); player.spawnMe(); player.destroyItem("Consume", item.getObjectId(), 1, null, false); return false; } }  
    • Any news????? Is anything aight so far?
    • Hello can anyone share the russian system folder master class (latest from official 4games)?   ty
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock