Jump to content


Photo

help me with CAH speed and range please

cah speed range create a hero

  • Please log in to reply
2 replies to this topic

#1 platinumshadow

platinumshadow
  • Members
  • 38 posts

Posted 03 March 2012 - 02:22 AM

where do i modify the CAH characters' speed and bow range. i'm disappointed in the really slow speed and poor range of my elven archer. i've looked through i think all of the create a hero files in ini.big and i can't find the speed or range modifiers.

i've tried searching for this but nothing has come up on the forums

thanks in advance.

#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 03 March 2012 - 12:04 PM

\data\ini\object\createahero\createaheroweaponupgrades.inc find the weaponset used for the bow in there...
then in weapon.ini change the weapons...
//------------------------------------------------------------------------------
Weapon CreateAHeroBasicRangedWeapon
    AttackRange   = 350   
    LeechRangeWeapon    = Yes
    WeaponSpeed   = 321		 // dist/sec
    MinWeaponSpeed  = 241
    MaxWeaponSpeed  = 481	  // dist/sec Upper limit on scaling, when attacking past nominal "max" range
    FireFX    = FX_RohanArcherBowWeapon
    ScaleWeaponSpeed = Yes // Used for lob weapons, scales speed proportional to range
    HitPercentage  = 100	 //When this weapon is used it will hit exactly 75% of the time.
    ScatterRadius  = 0.0	 //When this weapon misses it can randomly miss by as much as this distance.
    UseInnateAttributes = Yes
  
    DelayBetweenShots = FARAMIR_BOW_DELAYBETWEENSHOTS	    // time between shots, msec
    PreAttackDelay  = FARAMIR_BOW_PREATTACKDELAY			 // 1467 is the prep time for archer.
    PreAttackType  = PER_POSITION
    FiringDuration  = FARAMIR_BOW_FIRINGDURATION   // Duration of the archer firing shot is 500ms.

    ClipSize   = 1
    AutoReloadsClip  = Yes
    AutoReloadWhenIdle = 1
    ClipReloadTime  = Min:1000 Max:1500
    ContinuousFireOne = 0
    ContinuousFireCoast = FARAMIR_BOW_RELOADTIME_MAX
   
    AntiAirborneVehicle = Yes
    AntiAirborneMonster = Yes 
   
    CanFireWhileMoving  = Yes
  
    ProjectileNugget				    // Default arrow
	   ProjectileTemplateName = GoodFactionArrow
	   WarheadTemplateName  = CreateAHeroBasicRangedWarhead
    ForbiddenUpgradeNames = Upgrade_CreateAHeroArrowBonus_Level4
    End
  
    ProjectileNugget				    // Default arrow
	   ProjectileTemplateName = MirkwoodArcherSilverthornProjectile
	   WarheadTemplateName  = CreateAHeroBasicRangedWarhead
    RequiredUpgradeNames  = Upgrade_CreateAHeroArrowBonus_Level4
    End
End
I think this most likely is the weapon used... so increase: AttackRange = 350
Speed of walking is in...
\data\ini\object\createahero\createahero.ini
LocomotorSet
  Locomotor = HeroHumanScalingLocomotor
  Condition = SET_NORMAL_UPGRADED
  Speed	 = 50
End
    LocomotorSet
  Locomotor = HeroHumanLocomotor
  Condition = SET_NORMAL
  Speed	 = 50
End
Speed is obviously the speed he runs at...
Weaponspeed, is found in the weapon i posted up there if you meant that with speed.
Ridder Geel

#3 platinumshadow

platinumshadow
  • Members
  • 38 posts

Posted 03 March 2012 - 06:12 PM

oh, speed is under "locomoterset", i was trying to search for "speed" inside ini.big edit: oh wait, guess i didn't look hard enough through the files
and i can't believe i missed the weaponupgrade file

thank you so much. you've been a great help to me :)

Edited by platinumshadow, 03 March 2012 - 06:17 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users