질문과 답변

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
플러그인 생성 RMMV MV 메뉴창에서 LV, HP, MP 없애는법 아시는분?ㅠㅠ 5 김정향 2020.11.05 1579
플러그인 생성 RMMV 철권처럼 게이지바를 만들고 싶습니다 2 abang 2020.11.15 236
플러그인 생성 RMMV 궁금한 것이 있습니다. 1 영혼의서약 2022.02.03 204
플러그인 생성 RMMV 플러그인 관련해서 조언을 좀 얻어도 될까요? 무명시절 2022.02.19 164
플러그인 생성 RMMV ESC키가 메뉴/취소버튼을 쓰지않게하고싶습니다/ESC키는 취소만되게 하고싶습니다. 쌩촙제작자 2022.09.23 152
플러그인 생성 기타 아이템의 갯수를조정하여 조건분기를일으켜 해당개수가 만족해지면 그래픽을변하게하는법 2 file 허왕 2022.11.30 52
플러그인 생성 RMMV RMMV에서 npm 사용하는 방법 (윈도우 바탕화면 변경) 1 LV 2023.05.14 62
플러그인 생성 RMMZ MZ에서 화면상의 출력 영역 및 UI 조절하는 방법 file 요르마유 2023.02.09 273
플러그인 사용 RMMV 플러그인과 같이 사용할 캐릭터칩을 찾고있습니다. 2 GDS아크 2020.12.11 121
플러그인 사용 RMMV 선택창을 원하는 위치로 옮기는 플러그인이 있나요? 1 file 폴트 2021.01.01 344
플러그인 사용 RMMV 아침에 녹는 마녀처럼 엔딩나누고싶은데 어떻게하나요? 백월화(白月華) 2022.02.23 276
플러그인 사용 RMMV 업적관련 Torigoya 의 플러그인 사용중 팝업이 나오질 않습니다 file PPPL 2019.10.06 56
플러그인 사용 RMMV RGB MV 폰트변경 8 file 뜨끔 2019.02.02 2898
플러그인 사용 RMMV 기본키 이외에 다른키 입력 받는법을 알고 싶습니다. 2 MSM 2019.02.11 168
플러그인 사용 RMMV 캐릭터 한글 이름 설정 2 에비앙 2019.02.20 225
플러그인 사용 RMMV 경험치를 수동으로 일일이 설정할 수 있는 플러그인을 구하고 싶습니다 2 코코아밀크 2019.05.04 108
플러그인 사용 RMMV 타이틀 메뉴의 모습을 바꾸고 싶습니다 7 file 소녀160 2019.05.04 927
플러그인 사용 RMMV RPG MV 대화창 크기 2 file 나나블랑 2020.06.17 613
플러그인 사용 RMMV HP만 게이지로 화면에 나타나게 하고 싶습니다 5 소녀160 2019.05.04 88
플러그인 사용 RMMV 변수를 게이지로 보이게 하고 싶습니다 9 소녀160 2019.05.04 127
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 82 Next
/ 82