|
You last visited: Today at 18:20
Advertisement
Model trees help
Discussion on Model trees help within the Flyff Private Server forum part of the Flyff category.
03/27/2018, 20:50
|
#1
|
elite*gold: 0
Join Date: Oct 2014
Posts: 31
Received Thanks: 0
|
Model trees help
Does anyone know the name of these two models of trees?
Type autumn trees ...
thank you.
I'm behind them but I do not know their names.
|
|
|
03/27/2018, 21:18
|
#2
|
elite*gold: 353
Join Date: Jan 2013
Posts: 923
Received Thanks: 616
|
|
|
|
03/28/2018, 02:33
|
#3
|
elite*gold: 60
Join Date: Sep 2017
Posts: 424
Received Thanks: 138
|
Open your WdMadrigal with ATools and Check the Model...
#Close #request #wrong #section #hashtag #is #useless ##
|
|
|
03/28/2018, 03:32
|
#4
|
elite*gold: 28
Join Date: Feb 2010
Posts: 463
Received Thanks: 277
|
Quote:
Originally Posted by Dr. Peacock
Open your WdMadrigal with ATools and Check the Model...
#Close #request #wrong #section #hashtag #is #useless ##
|
The trees change according to the seasons.
Code:
#ifdef __ENVIRONMENT_EFFECT
if( CEnvironment::GetInstance()->GetSeason() == SEASON_SPRING )
{
if( stricmp( m_szFileName, "obj_macoprtr16.o3d" ) == 0 || stricmp( m_szFileName, "obj_macoprtr17.o3d" ) == 0 )
{
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE2X );
}
else
{
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE );
}
}
#else // __ENVIRONMENT_EFFECT
#ifdef __JAPAN_SAKURA
if( stricmp( m_szFileName, "obj_macoprtr16.o3d" ) == 0 || stricmp( m_szFileName, "obj_macoprtr17.o3d" ) == 0 )
{
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE2X );
}
else
{
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE );
}
#else
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE );
#endif //__JAPAN_SAKURA
Code:
void CDPClient::OnEnvironmentSetting( CAr & ar )
{
int nSeason = SEASON_NONE;
ar >> nSeason;
CEnvironment::GetInstance()->SetSeason( nSeason );
if( CEnvironment::GetInstance()->GetSeason() == SEASON_SPRING || CEnvironment::GetInstance()->GetSeason() == SEASON_FALL )
{
CFixedArray< tagMODELELEM >* apModelElem = &(prj.m_modelMng.m_aaModelElem[OT_OBJ]);
for( int i = 0; i < apModelElem->GetSize(); ++i )
{
LPMODELELEM pModelElem = (LPMODELELEM) apModelElem->GetAt( i );
if( pModelElem )
{
if( _tcsicmp(pModelElem->m_szName, "MaCoPrTr01") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr03") == 0 ||
_tcsicmp(pModelElem->m_szName, "MaCoPrTr10") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr20") == 0 ||
_tcsicmp(pModelElem->m_szName, "MaCoPrTr14") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr11") == 0 )
{
pModelElem->m_fScale = 1.0f;
if( CEnvironment::GetInstance()->GetSeason() == SEASON_SPRING )
{
_tcscpy( pModelElem->m_szName, "MaCoPrTr16" );
}
else if( CEnvironment::GetInstance()->GetSeason() == SEASON_FALL )
{
_tcscpy( pModelElem->m_szName, "MapleTree01" );
}
}
else if( _tcsicmp(pModelElem->m_szName, "MaCoPrTr04") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr05") == 0 ||
_tcsicmp(pModelElem->m_szName, "MaCoPrTr12") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr15") == 0 ||
_tcsicmp(pModelElem->m_szName, "MaCoPrTr13") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr02") == 0 )
{
pModelElem->m_fScale = 1.0f;
if( CEnvironment::GetInstance()->GetSeason() == SEASON_SPRING )
{
_tcscpy( pModelElem->m_szName, "MaCoPrTr17" );
}
else if( CEnvironment::GetInstance()->GetSeason() == SEASON_FALL )
{
_tcscpy( pModelElem->m_szName, "MapleTree02" );
}
}
}
}
}
}
|
|
|
03/28/2018, 16:10
|
#5
|
elite*gold: 0
Join Date: Oct 2014
Posts: 31
Received Thanks: 0
|
Quote:
Originally Posted by naruto66620
The trees change according to the seasons.
Code:
#ifdef __ENVIRONMENT_EFFECT
if( CEnvironment::GetInstance()->GetSeason() == SEASON_SPRING )
{
if( stricmp( m_szFileName, "obj_macoprtr16.o3d" ) == 0 || stricmp( m_szFileName, "obj_macoprtr17.o3d" ) == 0 )
{
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE2X );
}
else
{
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE );
}
}
#else // __ENVIRONMENT_EFFECT
#ifdef __JAPAN_SAKURA
if( stricmp( m_szFileName, "obj_macoprtr16.o3d" ) == 0 || stricmp( m_szFileName, "obj_macoprtr17.o3d" ) == 0 )
{
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE2X );
}
else
{
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE );
}
#else
pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE );
#endif //__JAPAN_SAKURA
Code:
void CDPClient::OnEnvironmentSetting( CAr & ar )
{
int nSeason = SEASON_NONE;
ar >> nSeason;
CEnvironment::GetInstance()->SetSeason( nSeason );
if( CEnvironment::GetInstance()->GetSeason() == SEASON_SPRING || CEnvironment::GetInstance()->GetSeason() == SEASON_FALL )
{
CFixedArray< tagMODELELEM >* apModelElem = &(prj.m_modelMng.m_aaModelElem[OT_OBJ]);
for( int i = 0; i < apModelElem->GetSize(); ++i )
{
LPMODELELEM pModelElem = (LPMODELELEM) apModelElem->GetAt( i );
if( pModelElem )
{
if( _tcsicmp(pModelElem->m_szName, "MaCoPrTr01") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr03") == 0 ||
_tcsicmp(pModelElem->m_szName, "MaCoPrTr10") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr20") == 0 ||
_tcsicmp(pModelElem->m_szName, "MaCoPrTr14") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr11") == 0 )
{
pModelElem->m_fScale = 1.0f;
if( CEnvironment::GetInstance()->GetSeason() == SEASON_SPRING )
{
_tcscpy( pModelElem->m_szName, "MaCoPrTr16" );
}
else if( CEnvironment::GetInstance()->GetSeason() == SEASON_FALL )
{
_tcscpy( pModelElem->m_szName, "MapleTree01" );
}
}
else if( _tcsicmp(pModelElem->m_szName, "MaCoPrTr04") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr05") == 0 ||
_tcsicmp(pModelElem->m_szName, "MaCoPrTr12") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr15") == 0 ||
_tcsicmp(pModelElem->m_szName, "MaCoPrTr13") == 0 || _tcsicmp(pModelElem->m_szName, "MaCoPrTr02") == 0 )
{
pModelElem->m_fScale = 1.0f;
if( CEnvironment::GetInstance()->GetSeason() == SEASON_SPRING )
{
_tcscpy( pModelElem->m_szName, "MaCoPrTr17" );
}
else if( CEnvironment::GetInstance()->GetSeason() == SEASON_FALL )
{
_tcscpy( pModelElem->m_szName, "MapleTree02" );
}
}
}
}
}
}
|
Thanks.
It's because I did not find her in WorldEditor.
|
|
|
03/28/2018, 20:43
|
#6
|
wild wild son
elite*gold: 0
Join Date: Feb 2011
Posts: 5,830
Received Thanks: 3,369
|
Flyff PServer Guides & Releases -> Flyff PServer - D…
#moved
|
|
|
|
Similar Threads
|
Can i resize a model using Atools model Editor?
09/24/2017 - Flyff Private Server - 7 Replies
Can i resize a model using Atools model Editor?
|
[Help] Trees Textures
09/16/2016 - Metin2 Private Server - 1 Replies
Hello, who can help me to give me the leaves on the trees textures such as pink, red and blue or white if you want. I'm not good and when I wanted to try to change the texture of the leaves, I noticed that all files with the extension .dds and I could not open adobe photoshop.
I'll leave the list of names of trees here, if you want to help me.
:handsdown:
List:
-pink:umbrellathorn4 / umbrellathorn3 /umbrellathorn2 /umbrellathorn1 / pagoda2 / japanesemaple_fall1 /japanesemaple_fall2
...
|
(HELP ABOUT MODEL TYPE :NO MODEL)
12/08/2015 - Flyff Private Server - 0 Replies
Close Fix
|
Model viewer und model dateien finden und in cinema 4d importieren
09/20/2012 - Aion - 1 Replies
Hallo
Ich würde gerne mir die Aion Models fuer ein anderes Game nehmen und diese in cinema 4d importieren.
Bisher habe ich die .pak datei entpackt und in der dort entstandenen zip datei viele dateien gefunden. Nach suchen bin ich zur erkenntnis gekommen das ie .cgf dateien die model sind (richtig?)
MNun weiss ich aber nicht wie ich mir diese anschauen kann und dann in cinema 4d importieren kann.
gibt es dafuer irgendein tool?
|
about the 2012 new pets model files and the weapon model files!
09/19/2012 - SRO Private Server - 2 Replies
who can tell me how to add the new pets in silkroad?and who can tell me how te add the new weapons silkroad?
who can share 2012 new pets model files?THANKS!!!
|
All times are GMT +2. The time now is 18:20.
|
|