Setting m_fScale in Source

11/18/2016 12:55 raventh1984#1
hi elitepvpers,

I am replacing NewFlCenter with an christmas tree.
Code:
if (CEnvironment::GetInstance()->GetSeason() == SEASON_WINTER)
					{
						_tcscpy(pModelElem->m_szName, "EveXmasTree2");
					}
However the xMastree is real small.
So i changed MdlObj.inc
Code:
"EveXmasTree2" 1182 MODELTYPE_MESH "" 0 0 0 5.000000 0 0 0 1
When i open Atlas WorldEditor its an nice big tree like it should.
However in game its still is an small tree with an scale of 1 instead of 5

I also added pModelElem->m_fScale = 5.0f;
But that isn't working

Anytips?

I prefer not to include it into Atlas but rather true the source.
If its an no go then my last option would be Adding it to WdMadrigal.
11/19/2016 09:24 yazuka21#2
I suggest ATools WorldEditor
11/24/2016 20:00 alfredico#3
Could try using D3DXMatrixScaling