모드 강좌
[GEN] 반군의 이동속도를 빠르게 하자
페이지 정보
본문
속도가 느린 반군을 약간 빠르게 바꿔봅시다.
Object\GLAInfantry.ini를 열면 맨 위에 반군이 있습니다.
Object GLAInfantryRebel
; *** ART Parameters ***
SelectPortrait = SURebel_L
ButtonImage = SURebel
locomotor를 검색하면 아래 코드가 나옵니다.
Locomotor = SET_NORMAL BasicHumanLocomotor
Behavior = PhysicsBehavior ModuleTag_05
Mass = 5.0
End
BasicHumanLocomotor를 조절해야 합니다.
Locomotor.ini를 열면 맨 위에 BasicHumanLocomotor가 있습니다.
Speed를 50정도로 바꿔줍시다.
Locomotor BasicHumanLocomotor
Surfaces = GROUND RUBBLE
Speed = 50; 20 ;30 ; in dist/sec
SpeedDamaged = 10 ;30 ; in dist/sec
TurnRate = 500 ; in degrees/sec
TurnRateDamaged = 500 ; in degrees/sec
Acceleration = 100 ; in dist/(sec^2)
AccelerationDamaged = 50 ; in dist/(sec^2)
Braking = 100 ; in dist/(sec^2)
MinTurnSpeed = 0 ; in dist/sec
ZAxisBehavior = NO_Z_MOTIVE_FORCE
Appearance = TWO_LEGS
StickToGround = Yes ; walking guys aren't allowed to catch huge (or even small) air.
GroupMovementPriority = MOVES_FRONT; Moves in the front of a group, behind small arms, ahead of artillery
End