Register for your free account! | Forgot your password?

You last visited: Today at 17:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Drop item Sfx

Discussion on Drop item Sfx within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2018
Posts: 26
Received Thanks: 1
Drop item Sfx

In what part of source can i add a sfx to a specific droped item , if is on ground ?
Olapelasd is offline  
Old 10/17/2018, 20:40   #2


 
Professor Linebeck's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 1,345
Received Thanks: 1,610
Item.cpp
CItem::Render

Example:
Code:
if (pItemProp->dwID == II_GEN_BOX_GOLDBOX)//Custom Item
{
	if (xRandom(50) == 1)
	{
	CreateSfx(pd3dDevice, XI_GEN_FLOOR_GOLD, GetPos());//Custom SFX
	}
}
else
{
	if( xRandom( 50 ) == 1 )
	{
	CreateSfx(pd3dDevice, XI_GEN_ITEM_SHINE01, GetPos());//Basic SFX
	}
}
Professor Linebeck is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
About sfx on item
02/18/2018 - Flyff Private Server - 28 Replies
how to add a sfx like a item? Like on insanity flyff, they has a cape of sfx, without time to use Tks advanced
Equip item with Sfx
12/22/2014 - Flyff Private Server - 0 Replies
Hi elitepvpers, I am having an bit of trouble to set an item with an SFX For example i want that the Wooden Sword is having an SFX. So i added the SFX to spec_item inside the row dwSfxObj/dwSfxObj2/dwSfxObj3 But it doesnt show the SFX. Do i need to change something inside the source to? And if so what.( or Where)
Item Drop Sfx
03/14/2014 - Flyff Private Server - 0 Replies
Weiß jemand wie der Item Drop Sfx heißt ? Ich meine das funkeln auf dem Boden, wenn die Items gedropt dort liegen. Entweder bin ich grad zu blind oder zu blöd den Effekt im Ordner zu finden o.o Eine Antwort wäre auf jeden Fall nice, falls jemand weiß wie das Ding heißt.
Common drop, mob drop item
04/27/2012 - Metin2 Private Server - 0 Replies
Hallo Ich habe zwei Fragen .. 1. Was und wie zu dienen COMMON DROP 2. wie ist es möglich, dass der Mob nicht abfällt und 691 padjí Elemente, die ich nicht mob_drop_item ... und Metin (Stein) negunguje alle. Bitte Beratung .. danke (Google Translate-CZE)



All times are GMT +2. The time now is 17:56.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.