- Joined
- Oct 10, 2008
- Messages
- 458
- Reaction score
- 79
Is there a way to speed up the pickup pet in the source?
//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
pProperty->fSpeed = scanner.GetFloat();
pProperty->fSpeed = scanner.GetFloat() * 10f;
if( pProperty->dwAI == AII_PET )
pProperty->fSpeed = (pProperty->fSpeed * 10.0f);
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?
why not just search this in your vs 2003?
if( pProperty->dwAI == AII_PET )
You can edit from resource one by one. Also an easier form will be
BOOL CProject::LoadPropMover( LPCTSTR lpszFileName )
just read caja's post