Jump to content


Community Members
  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by ivicok

  1. The mod was made using the v25 (Yauna) build of the game - https://archive.org/details/0ad-0.0.25-alpha It does not work with the newer versions.
  2. Keep up the good work! Is it possible to use a portable installation? I would like to try it before reinstalling..
  3. Still, this would be only switching, while here you have an additional texture. Isn't possible/more resource-effective without a second mesh? I've got a good PC, so I cannot tell
  4. Ah, yes, thanks. Still, it is difficult to use, when the actor has variants with different models.
  5. Thanks. Which building do you mean? I could find only props on them. I tried to make an overlay prop/actor, but the units use different animations according to actor-internal variants (my system is still a bit messy), what makes them impractical. In the .fs, there are only few lines added - I marked them now with comments. The important part is this: vec3 texdiffuse = tex.rgb; // mod: overlay texture #if USE_OVERLAY texdiffuse = mix(texdiffuse, tex2.rgb, tex2.a); #endif I'm not sure, if it does not terminologically collide with what you call "overlay" in your project. The idea was to have one animated model with two diffuse textures, one of which could be manipulated by the game logic.
  6. Another feature to give the game a bit more gore - my custom units did not even spawn blood decals before... While adjusting I thought, why shouldn't they already get bloodied in the course of fight? I'm not sure, if it is possible to use two diffuse textures per model using the .xml only, so I played around with shaders. Now an overlay texture is applied, when the unit is too damaged (or, randomly, if it attacks a heavily damaged organic unit). So far applied only for basic Warriors. Entering water and buildings cleanses the blood, i.e. restores the default blank overlay. The code is available at GitHub - https://github.com/ivicok/0adSporians
  7. I'm not sure if I created it correctly, but here you are - https://github.com/ivicok/0adSporians
  8. The link to the mod files is also in the first post, it stays the same - https://drive.google.com/file/d/1hqaAKNebBjikWZtog9-GRmMbbYmwbWPC/view?usp=sharing If you had any questions or suggestions concerning the development, you can write a PM anytime too.
  9. This is something I would like to implement for larger ships - e.g. I have a raft used as a trade ship and drop-off point, but it would make more sense, if it could carry passengers too. On the other hand, turret mechanics used on monoxyla are not suitable. I will check the siege tower code and think about it.
  10. After some time I again managed to play around with the code and finish some other boats and heroes. 1. Biome variants: some trees typical for winter environment provide an "aura", which tells units to use specific visual variants - who would walk in sandals on snow? 2. Another minor update concerns monoxyla: melee units help with rowing, making the boat faster, while ranged units slow it down, but they can fire from the board. 3. Hunters (basic archers) can now swim; while swimming, ranged units can use only melee attacks. 4. Ponies! Cavalry units use smaller horses - only elite riders switch to high ones. I guess this is more historical for the setting. Not that it matters much, but maybe you would like to use the animations.
  11. This is possibly nothing new - boats can be now built with turret mechanics. Units transported by them will sit down unless they have something to attack in range. Currently, the boat also slows down proportionally to the number of passengers.
  12. Another update brings a new unit and a new feature. The unit - Child - acts as a cheaper "civilian" unit, which is less effective at hard works like lumbering and mining, but gathers fruit well. Boys have a bonus to carrying capacity, girls have a higher resistance. As my grandfather always reminded me that Romans found it important to know how to read, write and swim, I always found it somewhat surprising, that in most Rome-themed games not even Velites can swim. This is, of course, not acceptable for a light-infantry-focused faction. Thus, Warriors - both basic and skull-upgraded - are now able to swim. That is, they can traverse deep water with a small penalty to moving speed. A hack was needed in UnitAI component to make the specific animations for idle, moving and attack states. "don't mind us, we're just having a bath" Little update - now I understand how to calculate the depth, so the swimming mode should be triggered correctly.
  13. Well, Kazakhs and Khazars are not the same, even if there is some relation. But I am no turcologist (some colleagues always like to remind me), if I could recommend, e.g. during my studies Omeljan Pritsak was considered an authority on the topic of both early Rus' and Khazars. I also enjoyed this, even if there are many speculations, which may be discarded now. A great book on Avars was written by Walter Pohl, now it is also available in English.
  14. First, I would like to praise the 0 AD team for making a great engine, as well as for making it so accessible to modders. The vanilla game is very enjoyable, the music is great, even if the AI nearly always massacres my towns. Also the use of JavaScript is a great choice, as I use it recently a lot in my work, so I don't have the bad feeling of playing too much... But I have to admit, being no real fan of AoE series, the game was attractive for me for the modding options. There were no wizards and dragons, so I thought about making some for the game. Download here (currently 18 MB). Currently compatible with version 0.25a only! The file contains a .zip, which can be simply extracted to binaries/data/mods folder. The file is irregularily updated. Parameter for launcher: -mod=scythia The mod basically adds a new faction of Sporians, which are very roughly based on 6th c. Sclaveni, as they are described by Byzantine authors - Sporoi where their mythical ancestors according to Procopius. The fantasy aspect is more important - from rhomphaias and bronze armors to dragons and thunderbolts. I was even thinking about making Red Sonja the faction's main hero. In short, as a "civilization", they are somewhat simplified: units can be trained only in the central building and the fortress. There are no barracks, no stables (cavalry needs the Corral), no "female citizen" unit (all units choose a gender variant randomly at training). On the other hand, basic infantry is cheaper than most units in vanilla and trains slightly faster. Units can also be healed in houses (3 at a time) from the beginning. The mod is far from being finished, but I wanted to ask for advice about some features. 1. Instead of temples, the faction can build an idol: a wooden statue of a god. As in Age of Mythology, the player has to choose one: Peraunu or WelinĖ€su, which provide units with different upgrades. The idol decays in time, but can be repaired by a shaman (the healer/magician unit) dancing around. The decay is provided by a global aura, which is "researched" automatically when an idol is built. Even if there is a limit of one idol per player, the aura destroys any subsequent idol, if the first is lost. Is it thus possible to "unresearch" it or otherwise deactivate a global aura? 2. One of the functions of both idol and its shaman is to serve as a drop-off point for a new resource called "skulls". I got an inspiration for this new functionality from an older game called Sacrifice, where you collect souls of defeated enemies to strengthen yourself. Defeated enemy combat units have a chance to drop an "intact skull", which can be gathered by your units and brought to the shaman or idol. Only skulls from enemies (technically, the dropped skull is an entity granted to the player, who killed the unit) can be collected. The skulls can be used to upgrade your units, e.g. with rhomphaias or dragons (btw, now you need a fully trained Champion and 30 skulls for one). The problem is the gathering itself: to prevent combat formations from running away from battle, I set the scripts so, that only one skull is gathered at once. Also, for some reason, the units are unable to find nearby skulls dropped by dead enemies for gathering. Why does the gathering AI ignore them? 3. Concerning the dragons: update removes the flying ability. Flight is unwieldy to control - they land and take off again each time a new target is selected, they don't always correctly face their targets, and can use only a melee attack. The flying script is somewhat hard to follow, and it somehow overrides attack AI of the unit. Is it possible to set up a simpler flying motion using the UnitMotion component? Or at least without the circling around coded for the P-51? 4. Another solution for the dragon problem would be to make it a "packing" unit: it could have a walking mode, in which it would use a melee attack, and a flying/floating mode, in which it would throw down flames. The problem was, that packing uses a new entity, so a new visual is generated. This affects only the rider, which is small anyway, but I plan to add more variation to the mount too. Is it possible to use the packing feature and preserve entity visuals? 5. There is also a horse archer upgrade, available to Raiders with the Peraunu idol. As I looked for a way, how to make them capable of shooting on the move, I made them to contain two entities, i.e. a horse with a dummy attack and a "turret". Visually, it is not ideal, as the 1. prop did not place the turret entity correctly unless it was parented to root, and 2. it dies separately from the horse. As I saw that some nomadic factions are in making, are there any more elegant solutions for such a feature? Thanks for any advice, and feel free to try the mod if you wish.
  15. Khazars would pass too, even if around 1000 they were in decline. They were actually the ones, who pushed Avars into Europe before... and also Bulgars and Magyars afterwards. Avars were a major power in late 6th c., but they were subdued by Franks around 800. They have received a kind of "reservation" in today's Austria, but it did not last long. The Primary Chronicle even mentions a proverb "to vanish like the Avars". It was likely more a tribal union of quasi-autonomous clans with little sense of common identity beyond the authority of the khagan. Khazars may have a plus for a designer - we know names of their khagans by more than the title. You could have an elite unit with a unique name, which is not just an ethnonym. On the other hand, there is not much known about their architecture (they had some cities), Avars are better documented - you could take any Slavic fort from 8th-9th c. as a model.
  16. In 1000 AD, Avars would sound anachronic, but there were Seljuks by the time, or why not Hungary? Also Muscovy became a thing a bit later, Kiev and Novgorod were the centers. And there, Svjatoslav had quite a mixed retinue, so they could classify for a quasi-nomad faction too.
  17. That's what my mod was missing.
  18. the models are very nice, may I have a question about the code? the faction will likely field some horse archers - is there any progress with the implementation of turret mechanics for moving units? this is, so far, my solution (use entity raider_bow) - https://drive.google.com/file/d/1hqaAKNebBjikWZtog9-GRmMbbYmwbWPC/view?usp=sharing but my skills are rather suboptimal, so the rider is split to two actors, HPs don't show correctly etc...
  • Create New...