질문과 답변

Extra Form

안녕하세요 :)


퓨어히메라고합니다.


전투시스템을 사이드뷰를 사용중입니다. (참고: 링크)


질문 : 원거리 캐릭터를 기본공격을 원거리로 만들 방법은 없을까요?


쉽게 설명을 드리자면, 원거리 캐릭에 속하는 활 무기를 이용하는 궁수의 경우,


공격을 선택시 직접 활을 들고 검처럼 몹을 때립니다. 


그래서 커맨드중에서 공격을 선택시 자동으로 원거리 공격을 하게 하고싶습니다.


물론 스크립트로 해야한다고 생각합니다만 'ㅁ' 


쉽게 찾지를 못해서 도움을 얻고자합니다. 


좋은분들의 좋은답변 부탁드립니다. 


PS> 제 질문을 해결하기에 자료가 부족하시다면 추가적인 자료를 보여드릴 수 있습니다.

Who's 퓨어히메

?

게임을 너무너무 좋아해서 만들게 된 스무한살 소녀 ♥ image_name


Comment '3'
  • ?
    아이미르 2011.12.23 17:12
    Tankentai SBS 3.4d를 받아서 쓰고 있는데 무기의 메모란에 <action: key>를 써주면 key에 해당하는 액션을 불러올수 있더군요 활공격 기본액션이 BOW_ATTACK이니까 활의 메모란에 <action: BOW_ATTACK>을 기입하면 될거 같네요. 다른 버전은 잘 모르겠지만요
  • ?
    퓨어히메 2011.12.23 18:51

    아이미르님의 좋은 답변 잘 읽어보았습니다.


    메모란에 <action: BOW_ATTACK> 입력하고 적용해보니, 


    액션자체가 활 모션이 뜨긴뜨는데 문제는 데미지가 1도 안먹히네요 ㅠㅠ


    마찬가지로  <action: GUN_ATTACK> 도 마찬가지네요;


    제가 스크립트 수정을 해야하는부분인가요 ㅠ;;


    Bubs' Bow Add-on (K) 스크립트
    #==============================================================================
    # + Bow Attack Action Sequence for RPG Tankentai Sideview Battle System
    #   v2.0 (Kaduki)
    #------------------------------------------------------------------------------
    #  Script by Mr. Bubble
    #------------------------------------------------------------------------------
    # ++ How to Install
    # * Install below the Tankentai Sideview scripts
    # * Requires Animation 83 from the demo placed in the same ID in your project.
    #   Animation ID can be changed.
    #==============================================================================
    # ++ Assigning a Bow Action to Skills and Weapons
    #
    #   [With Notetag]
    # * In the Notes field of a skill or weapon, type in
    #
    #               
    #
    #   You do not need quotes around BOW_ATTACK. Remember that it requires 
    #   Bubs' Notetags for TSBS.
    #
    #   [Battler Configuration]
    # * Assign "BOW_ATTACK" to a weapon or skill under 
    #   Weapon Action Sequence Settings and Skill Action Sequence Settings in
    #   the SBS Configurations script.
    #==============================================================================
    
    module N01
      # Animation ID for when bow is shown and drawn
      BOW_ANIMATION = 83
    #------------------------------------------------------------------------------
      BOW_ANIME = {
      
      
      # "DRAW_POSE" is a Battler Frame Animation key.
      # It will play a specific animation from the battler's character sheet.
      # For Kaduki Battlers, it will play its own special row.
      # If an enemy tries to use this key, it will not do anything.
      "DRAW_POSE"      => [ 3,  1,  3,   2,   0,  -1,   0, true,"" ],
        
      # "DRAW_BOW" is a Battle Animation key.
      # It plays the bow animation from the Database on top of the battler
      # using this key.
      "DRAW_BOW"  => ["anime",  BOW_ANIMATION,  0, false, false, false],
        
      # "ARROW_ANGLE" is a Flying Graphic Angle key.
      # It modifies the angle of the arrow when it travels from the user to
      # the target. "ARROW_ANGLE" is not directly used within an action sequence.
      # Instead, it is used in the "SHOOT_ARROW" hash.
      "ARROW_ANGLE"     => [ 30, 60,  11],
        
      # "SHOOT_ARROW" is a Moving Animation key
      # It defines the trajectory of the arrow that is shot at the target.
      # Notice how "ARROW_ANGLE" is used within the hash. "ARROW_ANGLE"
      # is a set predefined values that determine the angle of the arrow
      # while in flight.
      # The Yp (Y-pitch) needed to be moved up 16 pixels so it wouldn't look
      # like an actor shot an arrow from their legs.
      # ANIME Key               Type   ID Object Pass Time Arc  Xp Yp Start Z Weapon
      "SHOOT_ARROW"  => ["m_a", 0,  0,   0, 15,  -10,  0, -16, 0,false,"ARROW_ANGLE"],
        
      } # <-- Do not delete this!
      ANIME.merge!(BOW_ANIME)
      
      # Action Sequence
      BOW_ATTACK_ACTION = {
      # To help explain what the "BOW_ATTACK" sequence does, I've formatted it as
      # a vertical list. It does not matter how much whitespace there is between
      # each key as long as there are commas separating each key from each other.
      # 
      # Beside each key is a comment briefly explaining what each key does.
      # Keep in mind that action sequences are processed from left to right, 
      # top to bottom, in order.
      
      # Action Key
      "BOW_ATTACK" => [ # Anime Keys
                      "STEP_FORWARD", # Battler steps forward a bit
                      "DRAW_BOW",     # Battler plays bow animation on self
                      "DRAW_POSE",    # Play Kaduki pose
                      "16",           # Delays the sequence for 16 frames
                      "SHOOT_ARROW",  # Executes arrow projectile to target
                      "12",           # Delays the sequence for 12 frames
                      "DAMAGE_ANIM",  # Damage the target and play the weapon
                                      # skill's animation (if it hits)
                      "16",           # Delays the sequence for 12 frames
                      "Can Collapse", # Determines if battler is at 0 HP
                                      # and turns off their immortal flag so
                                      # that they can die/collapse.
                      "FLEE_RESET"    # Reset battler to start coordinates
                      ], # Closing square bracket. Don't forgot the comma!
    
      } # <-- Do not delete this!
      ACTION.merge!(BOW_ATTACK_ACTION)
    end
    Guns Action Sequence (K) 스크립트
    #==============================================================================
    # + Guns Action Sequence Addon for RPG Tankentai Sideview Battle System
    #   v1.3 (Only for Kaduki battlers)
    #------------------------------------------------------------------------------
    #  Script original by: Kylock
    #  1.2 By Night'Walker
    #==============================================================================
    #   Requested by gend0 (rpgrevolution.com)
    #   This is a script that adds new functionality to the Sideview battle System
    # in the way of an additional animation for gun weapons.
    #   To use this script, simply add it below the Sideview Battle System scripts
    # and make sure your gun have element 6(Whip) checked in the game database on
    # the weapons tab.  This can be changed below if you like your whip element.
    #------------------------------------------------------------------------------
    # ++ Assigning a Gun Action to Skills and Weapons
    #
    #   [With Notetag]
    # * In the Notes field of a skill or weapon, type in
    #
    #               
    #
    #   You do not need quotes around GUN_ATTACK. Remember that it requires 
    #   Notetags for Tankentai Add-on
    #
    #==============================================================================
    
    module N01
      RANGED_ANIME = {
      # Magic Animation
      "FIRE_GUN"       => ["m_a", 87,   4,  0,  12,   0,  0,  0, 2, true,""],
      # Weapon Animations
      "DOWN_TO_LEFT" => [ 3, 0, false, 120, 45, 4, false, 1, 1, 0,  0, false],
      "LEFT_TO_UP" => [ 3, 0, false, 45, -15, 4, false, 1, 1, 0,  0, false],
      "LEFT_TO_UPL" => [ 3, 0, false, 45, -15, 4, false, 1, 1, 0,  0, true],
      "VERT_SWING-"     => [   3,   0,false,-15,  45,  4,false,   1,  1,  0,  0,false],
      # Battler Animations
      "DRAW_WEAPON" => [ 1, 0, 4, 2, 0, -1, 0, true,"DOWN_TO_LEFT"],
      "GUN_FIRE" => [ 3, 0, 1, 2, 0, -1, 0, true,"LEFT_TO_UP"],
      "GUN_FIREL" => [ 3, 0, 1, 2, 0, -1, 0, true,"LEFT_TO_UPL"],
      "WPN_SWING_V-" => [ 1, 0, 4, 2, 0, -1, 0, true,"VERT_SWING-"],
      "FRONT_JUMP"              => [  0, -32,   0,  16,  0,  -3,  "JUMP_ATTACK_POSE"],}
      ANIME.merge!(RANGED_ANIME)
      # Action Sequence
      RANGED_ATTACK_ACTION = {
        "GUN_ATTACK" => ["FRONT_JUMP","DRAW_WEAPON","14","DAMAGE_ANIM","6","FIRE_GUN","GUN_FIRE",
        "5","WPN_SWING_V-","20","WEAPON2_DAMAGE","6","Two Wpn Only","FIRE_GUN",
        "GUN_FIREL","Two Wpn Only",
        "5","Can Collapse","MOVE_TO","RESET"],}
      ACTION.merge!(RANGED_ATTACK_ACTION)
    end
  • ?
    불량토깡 2012.01.03 16:55

    위에 스크립트 읽기도 싫네요 ㅎㅎ ㅋ


List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12392
RMXP 캐릭터 관련된거.. 이왕이면 좀 빨리;; 2 오징어맛마이쮸 2011.12.25 2416
RMVX vx 한글판 1.02 버전 게시물을 보면 2 훈덕 2011.12.25 2337
RMXP 변수나 스위치 갯수 못 늘리나요?? 6 까멸 2011.12.25 1863
RMVX ATB가 어떤건지 알고 싶습니다. 2 씡난다 2011.12.24 1835
RMXP 탈것을 타면 지형태그 없이 위로 올라가서 날수있는방법좀요. 1 오매갓 2011.12.24 2609
RMVX 스크립트 관련 질문 드립니다 1 씡난다 2011.12.24 1898
RMXP 햇빛 효과(?) 질문!!! 1 까멸 2011.12.23 2674
RMVX 시간 설정하기 질문입니다. 2 로돌프 2011.12.23 1873
RM2k3 RPG2003 스테이터스 영어표시!! 1 file 로드밸러 2011.12.23 2385
RMVX (해결) 원거리 캐릭터의 기본공격을 원거리로 설정할 방법에 관련 질문 3 퓨어히메 2011.12.23 1241
RMXP 스킨 사용하는 방법 숭아숭아 2011.12.23 2029
RMVX 그.... 게이지를 차서 턴방식 게임을 만들려고하는데;;; 2 난몰라 2011.12.22 2281
RMXP XP맵배치에서 둥글게하는방법 3 프리즌커피 2011.12.22 2450
RMXP 대화창에서 2 막시뉴 2011.12.21 2253
RMVX (해결) KGC 스크립트와 윈도우 관련 질문입니다. 6 file 츄우 2011.12.21 1436
RMXP 우수게임은 꼭 외부타일셋이나 그래픽, 사운드를 사용해야합니까? 2 CJYG* 2011.12.21 2092
RMVX (전부해결) KGC스크립트 수정에 관련 질문 4 츄우 2011.12.21 1473
RMVX 프로세스의 작성에 실패했습니다. 2 승비 2011.12.21 4080
RMXP 화폐 단위 구별 방법 까멸 2011.12.20 2533
RMXP ABS좀올려주세요 ㅇㅅㅇ 3 라이토스 2011.12.20 2201
Board Pagination Prev 1 ... 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 ... 516 Next
/ 516