安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题




As for the ai, if you want an easy-ish base for the ai I had at one point made a "pet" ai base. The pet would just essentially try to follow you around semi-closely. It was made for a pet that was tied to a summoning item, so I can give you that whole file if you want the basis.
The only thing I'm afraid of is mostly the client/user of the mount. I could see the player who is controlling the mount, on his specific client moving in front of the horse due to network delay. Where all the other players would see it update correctly each frame.
So if there is a way to pass the authoritative power from the server to the client for this one entity, thats what I would most likely need. So fingers crossed I don't have to do too much extra work for it
The core/component/projectile.py has an attachTo method.
Seems promising if I can manage to make sure that my mount entity has 'attachment'... (searching for what this is referring to now)
Edit: Seems like players definitely has attachment, so I'm thinking, I can feed into input as you suggested check if the player is mounted with a bool flag, and then move the mount as well as the player in the same frame.
As for the AI, I'll probably just freeze it and have a simple summon ring for it. Simply to avoid needless code as well as make the mount easily moveable
It includes three pet examples, one being a speep, one an ortomi, and one a "hovercat". The "hovercat" is tied to the "cat_statue" item, interacting with the "cat_statue" item will spawn a "hovercat" if there's none nearby in the world. The pets will try to follow you (but can fail) and are non-aggressive. They are on the default player team meaning they don't take damage from the player, but do take damage from enemies. If you have any questions about it just ask!