How to speed up pick up pet

Status
Not open for further replies.
Code:
//dwID	szName	dwAI	dwStr	dwSta	dwDex	dwInt	dwHR	dwER	
dwRace	dwBelligerence	dwGender	dwLevel	dwFilghtLevel	dwSize	dwClass	
bIfPart	dwKarma	dwUseable	dwActionRadius	dwAtkMin	dwAtkMax	dwAtk1	
dwAtk2	dwAtk3	dwHorizontalRate	dwVerticalRate	dwDiagonalRate	dwThrustRate	
dwChestRate	dwHeadRate	dwArmRate	dwLegRate	dwAttackSpeed	
dwReAttackDelay	dwAddHp	dwAddMp	dwNaturealArmor	nAbrasion	nHardness	
dwAdjAtkDelay	eElementType	wElementAtk	dwHideLevel	[COLOR="Red"]fSpeed	
[/COLOR]dwShelter	bFlying	dwJumpIng	dwAirJump	bTaming	dwResisMagic	
fResistElecricity	fResistFire	fResistWind	fResistWater	fResistEarth	
dwCash	dwSourceMaterial	dwMaterialAmount	dwCohesion	dwHoldingTime	
dwCorrectionValue	dwExpValue	nFxpValue	nBodyState	dwAddAbility	
bKillable	dwVirtItem1	dwVirtType1	dwVirtItem2	dwVirtType2	
dwVirtItem3	dwVirtType3	dwSndAtk1	dwSndAtk2	dwSndDie1	
dwSndDie2	dwSndDmg1	dwSndDmg2	dwSndDmg3	dwSndIdle1	
dwSndIdle2	szComment

You can edit from resource one by one. Also an easier form will be

BOOL CProject::LoadPropMover( LPCTSTR lpszFileName )

Replace this

Code:
pProperty->fSpeed				= scanner.GetFloat();
by this
Code:
pProperty->fSpeed				= scanner.GetFloat() * 10f;
 
Slight problem with your LoadPropMover code Caja.
The way you did it, will make every NPC/Monster faster.
You need to leave the original coding and add this after it:
Code:
if( pProperty->dwAI == AII_PET )
	pProperty->fSpeed = (pProperty->fSpeed * 10.0f);

Keep in mind, that increases the speed by 10x lol if you want smaller adjustments, use +1.5f or something similar instead of multiplying.
 
Slight problem with your LoadPropMover code Caja.
The way you did it, will make every NPC/Monster faster.
You need to leave the original coding and add this after it:
Code:
if( pProperty->dwAI == AII_PET )
	pProperty->fSpeed = (pProperty->fSpeed * 10.0f);

Keep in mind, that increases the speed by 10x lol if you want smaller adjustments, use +1.5f or something similar instead of multiplying.

Where do you put this code? what file?
 
just read caja's post then you will see this

Code:
You can edit from resource one by one. Also an easier form will be 
 
BOOL CProject::LoadPropMover( LPCTSTR lpszFileName )
 
Status
Not open for further replies.
Back