Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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!