RolePlay-S

RolePlay-S 0.4.7

Lazi Ness

Модостроитель
Автор модов
Регистрация
29.05.2024
Темы
1
Сообщения
341
Реакции
265
Ý tôi là hướng dẫn sửa code, xoá code ở đâu trong tệp nào để sửa lại thành chức năng gốc
У меня нет времени на инструкции, но знающий человек сам может во всем разобраться. Ломать не строить! 😄
 

Lazi Ness

Модостроитель
Автор модов
Регистрация
29.05.2024
Темы
1
Сообщения
341
Реакции
265
Можно вставить во многие функции «return if перемення == false», или в прочее разное.

И сделать шмотку дающую навык, по типу нужды, и в нем - сделать меню, в котором будет выбор, что включать и что выключать, нажатие на который - будет менять значение переменных.
Ну да, в модах не редко бывают разные переключатели. Но для меня, подобные штуки сейчас, имеют самый низкий приоритет.
 

Lazi Ness

Модостроитель
Автор модов
Регистрация
29.05.2024
Темы
1
Сообщения
341
Реакции
265
Интерфейс и Тыковки.
 

Вложения

recolor6745.png recolor7585.png recolor0912.png recolor7645.png

NâmBờQuanh

Активный пользователь
Регистрация
25.09.2024
Темы
0
Сообщения
39
Реакции
8
Возраст
20
Buổi sáng! Có vẻ như Lilith cũng có điều gì đó tương tự. Nhưng nhìn chung game không có những đòn chí mạng cổ điển mà thay vào đó là “sát thương chân tay”, theo tôi thì ngầu hơn rất nhiều!
Tôi đã triển khai đòn chí mạng cổ điển cho Cung Elven trong phiên bản thử nghiệm của mod.
Cô ấy là một Elf Archer nhưng khi bắn goblin, cô ấy gần như bắn không trúng phát nào, thật sự tôi khá mong chờ Cung Elven có khả năng bách phát bách trúng.
 

Lazi Ness

Модостроитель
Автор модов
Регистрация
29.05.2024
Темы
1
Сообщения
341
Реакции
265
Cô ấy là một Elf Archer nhưng khi bắn goblin, cô ấy gần như bắn không trúng phát nào, thật sự tôi khá mong chờ Cung Elven có khả năng bách phát bách trúng.
При должной сноровке, Эльфийский лук смертоносен. Но автонаведения у него, разумеется, нету.
 

EldenRA

Новичок
Регистрация
03.08.2024
Темы
0
Сообщения
3
Реакции
2
I'd like to make a request regarding companions for the next mod update. If possible I'd like to be able to disable or enable some companion's skills. For example, for Cocona, I want to disable her magic attack (to avoid putting aggro on herself) and make her cast only her summoning and barrier skills so that she can play the role of a pure support. Is there any way to implement such option? I really like Cocona and I often travel with her, but the fact that she keeps on putting aggro on her by attacking ennemies instead of supporting her allies is making the battle more annoying than it should be.

On another note, is it possible to add additional companions that purely does support? I think companions that only cast supporting skills such as barrier, heals, stats buff, summon are the most valuable type of companion since they don't get in the way of battle.
 
Последнее редактирование:

Lazi Ness

Модостроитель
Автор модов
Регистрация
29.05.2024
Темы
1
Сообщения
341
Реакции
265
I'd like to make a request regarding companions for the next mod update. If possible I'd like to be able to disable or enable some companion's skills. For example, for Cocona, I want to disable her magic attack (to avoid putting aggro on herself) and make her cast only her summoning and shield skills so that she can play the role of a pure support. Is there any way to implement such option? I really like Cocona and I often travel with her, but the fact that she keeps on putting aggro on her by attacking ennemies instead of supporting her allies is making the battle more annoying than it should be.
Могу подсказать где можно отредактировать код, чтобы убрать этот навык: 4000_Npc_UniqueCocona.rb
Он вроде называется: NpcCurvedNecroMissile
 

Lazi Ness

Модостроитель
Автор модов
Регистрация
29.05.2024
Темы
1
Сообщения
341
Реакции
265
Приветы! Фон дорисовал, на слои разделил, двигаться заставил, с бесшовным небом разобрался.

Для просмотра этого контента нам потребуется ваше согласие на установку файлов cookie третьих лиц.
Более подробную информацию можно найти на нашей странице cookie.
 

NâmBờQuanh

Активный пользователь
Регистрация
25.09.2024
Темы
0
Сообщения
39
Реакции
8
Возраст
20
Lona trông quá khoẻ khi cầm cây kiếm khổng lồ bằng 1 tay, vì thế tôi đã thay thế cho nó cắm xuống đất khi khi thực hiện 1 skill nào đó
 

Вложения

1000419145.jpg 1000419144.jpg

NâmBờQuanh

Активный пользователь
Регистрация
25.09.2024
Темы
0
Сообщения
39
Реакции
8
Возраст
20
Tôi muốn tận dụng 3 nâng cấp tính cách đã bị dư thừa thành yêu cầu để sử dụng 1 số vũ khí, ví dụ cây Sabar yêu cầu điều kiện lv: 45, combat_plus: 5, sau khi mở khoá sẽ hoàn lại 1 TrainPoint. Vấn đề là 3 nâng cấp tính cách dư thừa của Lona khi lựa chọn sẽ thay đổi tính cách Lona, tôi không biết tắt như thế nào và làm sao để hoàn trả lại 1 TrainPoint, mọi người chỉ tôi cách thực hiện với
 

AleDerXan

Модостроитель
Автор модов
Регистрация
20.06.2024
Темы
6
Сообщения
464
Реакции
221
Возраст
32
Ruby:
def talkStyle
    {
    #[nymphomaniac,chaste,easy,low_mood,low_sta,mouth_block]
    [0,0,0,0,0,0]=>"_normal",
    [1,1,0,0,0,0]=>"_normal",
    [1,0,0,0,0,0]=>"_slut",
    [1,0,1,0,0,0]=>"_slut",
    [0,1,0,0,0,0]=>"_tsun",
    [0,1,1,0,0,0]=>"_tsun",
    [1,1,1,0,0,0]=>"_slut",
   
    [0,0,1,0,0,0]=>"_weak",
    [0,0,1,1,0,0]=>"_weak",
    [0,0,0,1,0,0]=>"_weak",
    [0,1,0,1,0,0]=>"_tsun",
    [1,0,0,1,0,0]=>"_slut",
    [1,1,0,1,0,0]=>"_slut",
   
    [0,0,0,0,1,0]=>"_overfatigue",
    [0,0,0,1,1,0]=>"_overfatigue",
    [0,0,1,0,1,0]=>"_overfatigue",
    [0,0,1,1,1,0]=>"_overfatigue",
    [0,1,0,0,1,0]=>"_overfatigue",
    [0,1,0,1,1,0]=>"_overfatigue",
    [0,1,1,0,1,0]=>"_overfatigue",
    [0,1,1,1,1,0]=>"_overfatigue",
    [1,0,0,0,1,0]=>"_overfatigue",
    [1,0,0,1,1,0]=>"_overfatigue",
    [1,0,1,0,1,0]=>"_overfatigue",
    [1,0,1,1,1,0]=>"_overfatigue",
    [1,1,0,0,1,0]=>"_overfatigue",
    [1,1,0,1,1,0]=>"_overfatigue",
    [1,1,1,0,1,0]=>"_overfatigue",
    [1,1,1,1,1,0]=>"_overfatigue",
   
    [0,0,0,0,0,1]=>"_mouth_block",
    [0,0,0,0,1,1]=>"_mouth_block",
    [0,0,0,1,0,1]=>"_mouth_block",
    [0,0,0,1,1,1]=>"_mouth_block",
    [0,0,1,0,0,1]=>"_mouth_block",
    [0,0,1,0,1,1]=>"_mouth_block",
    [0,0,1,1,0,1]=>"_mouth_block",
    [0,0,1,1,1,1]=>"_mouth_block",
    [0,1,0,0,0,1]=>"_mouth_block",
    [0,1,0,0,1,1]=>"_mouth_block",
    [0,1,0,1,0,1]=>"_mouth_block",
    [0,1,0,1,1,1]=>"_mouth_block",
    [0,1,1,0,0,1]=>"_mouth_block",
    [0,1,1,0,1,1]=>"_mouth_block",
    [0,1,1,1,0,1]=>"_mouth_block",
    [0,1,1,1,1,1]=>"_mouth_block",
    [1,0,0,0,0,1]=>"_mouth_block",
    [1,0,0,0,1,1]=>"_mouth_block",
    [1,0,0,1,0,1]=>"_mouth_block",
    [1,0,0,1,1,1]=>"_mouth_block",
    [1,0,1,0,0,1]=>"_mouth_block",
    [1,0,1,0,1,1]=>"_mouth_block",
    [1,0,1,1,0,1]=>"_mouth_block",
    [1,0,1,1,1,1]=>"_mouth_block",
    [1,1,0,0,0,1]=>"_mouth_block",
    [1,1,0,0,1,1]=>"_mouth_block",
    [1,1,0,1,0,1]=>"_mouth_block",
    [1,1,0,1,1,1]=>"_mouth_block",
    [1,1,1,0,0,1]=>"_mouth_block",
    [1,1,1,0,1,1]=>"_mouth_block",
    [1,1,1,1,0,1]=>"_mouth_block",
    [1,1,1,1,1,1]=>"_mouth_block"
    }
end
 def lonaPersona
    {
    #[nymphomaniac,chaste,easy]
    [0,0,0]=>"typical",
    [0,0,1]=>"gloomy",
    [0,1,0]=>"tsundere",
    [0,1,1]=>"typical",
    [1,0,0]=>"slut",
    [1,0,1]=>"slut",
    [1,1,0]=>"slut",
    [1,1,1]=>"typical"
    }
   
 end


def talk_style #belong to common update
    arr=get_trait+[low_mood?,low_sta?,mouth_blocked?]
    arr=[self.stat["Nymph"],self.stat["IronWill"],self.stat["WeakSoul"],low_mood?,low_sta?,mouth_blocked?]
  return talkStyle[arr]
end


def get_trait
    [self.stat["Nymph"],self.stat["IronWill"],self.stat["WeakSoul"]]
end

Можно сделать так:
Код мода:

Ruby:
class Game_Actor
   
    alias_method :talk_style_MODNAME, :talk_style
    def talk_style #belong to common update
        if something
            arr=get_trait+[low_mood?,low_sta?,mouth_blocked?]
            arr=["your parametres","your parametres","your parametres",low_mood?,low_sta?,mouth_blocked?]
            return talkStyle[arr]
        else
            return talk_style_MODNAME
        end
    end
   
    alias_method :get_trait_MODNAME, :get_trait
    def get_trait
        if something
            return ["your parametres","your parametres","your parametres"]
        else
            return talk_style_MODNAME
        end
    end

end
 
Последнее редактирование:

NâmBờQuanh

Активный пользователь
Регистрация
25.09.2024
Темы
0
Сообщения
39
Реакции
8
Возраст
20
Ruby:
def talkStyle
    {
    #[nymphomaniac,chaste,easy,low_mood,low_sta,mouth_block]
    [0,0,0,0,0,0]=>"_normal",
    [1,1,0,0,0,0]=>"_normal",
    [1,0,0,0,0,0]=>"_slut",
    [1,0,1,0,0,0]=>"_slut",
    [0,1,0,0,0,0]=>"_tsun",
    [0,1,1,0,0,0]=>"_tsun",
    [1,1,1,0,0,0]=>"_slut",
   
    [0,0,1,0,0,0]=>"_weak",
    [0,0,1,1,0,0]=>"_weak",
    [0,0,0,1,0,0]=>"_weak",
    [0,1,0,1,0,0]=>"_tsun",
    [1,0,0,1,0,0]=>"_slut",
    [1,1,0,1,0,0]=>"_slut",
   
    [0,0,0,0,1,0]=>"_overfatigue",
    [0,0,0,1,1,0]=>"_overfatigue",
    [0,0,1,0,1,0]=>"_overfatigue",
    [0,0,1,1,1,0]=>"_overfatigue",
    [0,1,0,0,1,0]=>"_overfatigue",
    [0,1,0,1,1,0]=>"_overfatigue",
    [0,1,1,0,1,0]=>"_overfatigue",
    [0,1,1,1,1,0]=>"_overfatigue",
    [1,0,0,0,1,0]=>"_overfatigue",
    [1,0,0,1,1,0]=>"_overfatigue",
    [1,0,1,0,1,0]=>"_overfatigue",
    [1,0,1,1,1,0]=>"_overfatigue",
    [1,1,0,0,1,0]=>"_overfatigue",
    [1,1,0,1,1,0]=>"_overfatigue",
    [1,1,1,0,1,0]=>"_overfatigue",
    [1,1,1,1,1,0]=>"_overfatigue",
   
    [0,0,0,0,0,1]=>"_mouth_block",
    [0,0,0,0,1,1]=>"_mouth_block",
    [0,0,0,1,0,1]=>"_mouth_block",
    [0,0,0,1,1,1]=>"_mouth_block",
    [0,0,1,0,0,1]=>"_mouth_block",
    [0,0,1,0,1,1]=>"_mouth_block",
    [0,0,1,1,0,1]=>"_mouth_block",
    [0,0,1,1,1,1]=>"_mouth_block",
    [0,1,0,0,0,1]=>"_mouth_block",
    [0,1,0,0,1,1]=>"_mouth_block",
    [0,1,0,1,0,1]=>"_mouth_block",
    [0,1,0,1,1,1]=>"_mouth_block",
    [0,1,1,0,0,1]=>"_mouth_block",
    [0,1,1,0,1,1]=>"_mouth_block",
    [0,1,1,1,0,1]=>"_mouth_block",
    [0,1,1,1,1,1]=>"_mouth_block",
    [1,0,0,0,0,1]=>"_mouth_block",
    [1,0,0,0,1,1]=>"_mouth_block",
    [1,0,0,1,0,1]=>"_mouth_block",
    [1,0,0,1,1,1]=>"_mouth_block",
    [1,0,1,0,0,1]=>"_mouth_block",
    [1,0,1,0,1,1]=>"_mouth_block",
    [1,0,1,1,0,1]=>"_mouth_block",
    [1,0,1,1,1,1]=>"_mouth_block",
    [1,1,0,0,0,1]=>"_mouth_block",
    [1,1,0,0,1,1]=>"_mouth_block",
    [1,1,0,1,0,1]=>"_mouth_block",
    [1,1,0,1,1,1]=>"_mouth_block",
    [1,1,1,0,0,1]=>"_mouth_block",
    [1,1,1,0,1,1]=>"_mouth_block",
    [1,1,1,1,0,1]=>"_mouth_block",
    [1,1,1,1,1,1]=>"_mouth_block"
    }
end
 def lonaPersona
    {
    #[nymphomaniac,chaste,easy]
    [0,0,0]=>"typical",
    [0,0,1]=>"gloomy",
    [0,1,0]=>"tsundere",
    [0,1,1]=>"typical",
    [1,0,0]=>"slut",
    [1,0,1]=>"slut",
    [1,1,0]=>"slut",
    [1,1,1]=>"typical"
    }
   
 end


def talk_style #belong to common update
    arr=get_trait+[low_mood?,low_sta?,mouth_blocked?]
    arr=[self.stat["Nymph"],self.stat["IronWill"],self.stat["WeakSoul"],low_mood?,low_sta?,mouth_blocked?]
  return talkStyle[arr]
end


def talk_persona
    update_persona
    return "_#{self.stat["persona"]}"
end


def get_trait
    [self.stat["Nymph"],self.stat["IronWill"],self.stat["WeakSoul"]]
end

Можно сделать так:
Код мода:

Ruby:
class Game_Actor
   
    alias_method :talk_style_MODNAME, :talk_style
    def talk_style #belong to common update
        if something
            arr=get_trait+[low_mood?,low_sta?,mouth_blocked?]
            arr=["your parametres","your parametres","your parametres",low_mood?,low_sta?,mouth_blocked?]
            return talkStyle[arr]
        else
            return talk_style_MODNAME
        end
    end
   
    alias_method :get_trait_MODNAME, :get_trait
    def get_trait
        if something
            return ["your parametres","your parametres","your parametres"]
        else
            return talk_style_MODNAME
        end
    end

end
Cảm ơn bạn
 
Сверху Снизу