-
Posts
17.627 -
Joined
-
Last visited
-
Days Won
562
Everything posted by Stan`
-
Really a lot would be different, maybe on vacation I think of something, it certainly won't be something very close. The idea of Stella Artis (StarCraft) is very good, maybe what is missing is a little more conceptual art and more direct lines, kind of if someone is willing to do something they will be a little lost in what to do, for example which civs, which structures will be available etc. I have a pure ref document with a lot of images
-
Different enough. No copyrighted names, different building looks. I suppose one can copy stats. I wanted to do that for Stella Artis and crossover between that game starcraft and maybe some others
-
Well they are not dead yet, cause I'm still around, but I've not made much progress ^^
-
It's configurable in all templates, you can put it in template_unit, or in any bottom template as shown in the diff I posted earlier. You don't even need to have a dedicated parameter as long as every moving thing inherits from the same base template. That's what inheritance is for. In the example above instead of having a tag called ScaleMultiplier, it's just the attribute of walkspeed. and I can make every template inherit from that one.
-
No need to patch anything you can either set the walkspeed directly in the template <?xml version="1.0" encoding="utf-8"?> <Entity parent="template_unit"> <UnitMotion> <WalkSpeed>1.9</WalkSpeed> </UnitMotion> <VisualActor> <Actor>dude_box.xml</Actor> </VisualActor> </Entity> or do <?xml version="1.0" encoding="utf-8"?> <Entity parent="template_unit"> <UnitMotion> <WalkSpeed op="mul">0.21111</WalkSpeed> </UnitMotion> <VisualActor> <Actor>dude_box.xml</Actor> </VisualActor> </Entity> It's exactly the same as adding an extra multiplier. 0.21 * 9 is about 1.9
-
Just checked for fun with a dude box. Set a speed of five it already slow, 1.9 might be terrible. Pathfinder is having some trouble also, maybe grid is too big. 1.9 speed.mp4 dude_box.pyromod
-
Maybe, although my mileage has been in the other direction so far Well testing template interactions, in this case walking, without actual templates is kinda dumb anyway ^^, The only reason I use the actor viewer is to check whether the anims are in sync with the template anyway. If not I adjust the animations until it fits. But I always have a backing template. The only case where I don't care is for idle anims. I don't really use the feature that makes the unit run anyway ^^ with or without template. anim2.mp4 Same code in Atlas than in the game Components are shared between the two. The only problem with atlas is it uses a different GUI. Well first one needs to evaluate the impact, and make sure it doesn't break something else unintentionally ^^"
-
Well it wouldn't because it uses the template values? Or am I misunderstanding something? The 7 and the 12 are only when you don't have template and you tick the move options, which you do not usually. Most people test things using the play button in atlas anyway. Well you can do that with my patch ^^ Well what the engine needs right now is more threading and maybe stop supporting ARB shaders which might be older than some of 0AD players :X
-
what font is used for the "0 A.D. Empires Ascendant Logo"?
Stan` replied to DerekO's topic in General Discussion
It's a blend file and it's here: 0AD animation intro blend in art_source/trunk/grafx and mockups/0 A.D. and WFG Logos – Wildfire Games The font is however, unknown. -
This of course if the unit doesn't have a walkspeed. Else it reads the template... speed = cmpUnitMotion->GetWalkSpeed().ToFloat(); As you saw the patch isn't complicated. It would only be used for modders though. Not sure it would work well on a 2D pathfinder, also performance might be pretty bad no?
-
We have to ask, because a lot of bug reports are imprecise and we need to know what the users are seeing. e.g your whole desktop could go black, or the window could be visible, etc My bad should have checked, should be called userreport_hwdetect.txt it's https://trac.wildfiregames.com/wiki/GameDataPaths The file is generated when you launch the game
-
There seem to be one use of the scale modifier though, as it can be set on a map level using triggers. eg. you could make units slightly slower on a snowy map EDIT: Actually you can already do that by affecting UnitMotion/Walkspeed with techs...
-
Can you take a screenshot? And upload userreport.txt please
-
What os are you on?
-
Because I'm nice, or stupid and I believe acts do better than this project than endless arguments: Index: binaries/data/mods/public/simulation/templates/units/samnite_spearman.xml =================================================================== --- binaries/data/mods/public/simulation/templates/units/samnite_spearman.xml (revision 25989) +++ binaries/data/mods/public/simulation/templates/units/samnite_spearman.xml (working copy) @@ -5,6 +5,9 @@ <SpecificName>Samnite Spearman</SpecificName> <Icon>units/samnite_spearman.png</Icon> </Identity> + <UnitMotion> + <ScaleMultiplier>0.555</ScaleMultiplier> + </UnitMotion> <VisualActor> <Actor>units/carthaginians/infantry_spearman_c_samnite.xml</Actor> </VisualActor> Index: source/simulation2/components/CCmpUnitMotion.h =================================================================== --- source/simulation2/components/CCmpUnitMotion.h (revision 25989) +++ source/simulation2/components/CCmpUnitMotion.h (working copy) @@ -247,6 +247,7 @@ "<a:example>" "<WalkSpeed>7.0</WalkSpeed>" "<PassabilityClass>default</PassabilityClass>" + "<ScaleMultiplier>1.8</ScaleMultiplier>" "</a:example>" "<element name='FormationController'>" "<data type='boolean'/>" @@ -255,6 +256,11 @@ "<ref name='positiveDecimal'/>" "</element>" "<optional>" + "<element name='ScaleMultiplier' a:help='Simple multiplier to allow to define relative speed in templates.'>" + "<ref name='positiveDecimal'/>" + "</element>" + "</optional>" + "<optional>" "<element name='RunMultiplier' a:help='How much faster the unit goes when running (as a multiple of walk speed).'>" "<ref name='positiveDecimal'/>" "</element>" @@ -282,6 +288,11 @@ m_FacePointAfterMove = true; m_WalkSpeed = m_TemplateWalkSpeed = m_Speed = paramNode.GetChild("WalkSpeed").ToFixed(); + + CParamNode scaleMultiplier = paramNode.GetChild("ScaleMultiplier"); + if (scaleMultiplier.IsOk()) + m_WalkSpeed = m_TemplateWalkSpeed = m_Speed = m_WalkSpeed.Multiply(scaleMultiplier.ToFixed()); + m_SpeedMultiplier = fixed::FromInt(1); m_LastTurnSpeed = m_CurrentSpeed = fixed::Zero(); That's the engine change you need to make it work. I designed it specially to not break every single mod in existence by making it optional which is the reverse of your approach. I also tested it and it works. Just for the record and because I invested a long time in those discussions, here is what was said about Vegastrike on the forums Showing results for 'vegastrike'. - Wildfire Games Community Forums And we had the same kind of discussions about Ambient Occlusion being baked wrong and all art files needing to be changed. That seems incorrect to me, in fact I started a scifi mod some time ago, with the goal to make it an alternative to starcraft, and walking speeds were the least of my concerns. The ability to make mines sockets and to stop flying vehicles were more annoying that that. Of course the huge number of new buildings and their design to make was also worrysome. GitHub - 0ADMods/stella_artis
-
We could use a different projectile for those siege engines. And upscaled version of the arrow maybe.
-
When does it turn black? Could be a problem with a more recent SDL version. Does windowed mode work?
-
using content from 0 AD in an open source browser game
Stan` replied to devland's topic in Help & Feedback
Ideally you would provide a link to the original models. Also because they are Share Alike, all derivative work from them e.g adding a bunch of new objects to the models must be under the same license. Right. That's a weird way to put it but yeah. Assuming it uses 0 piece of code from the main game the mod could be closed source but one could still look at the files. Usually the problem is the attitude toward it. I don't mind my assets being reused as long as one follows the license and doesn't claim he made them. -
Civilization Proposal: Arabs/ Rashidun Caliphate/ Umayyads
Stan` replied to Mega Mania's topic in 1,000 A.D.
Nice, keep it up man. Just one thing, they need to extend below the ground, otherwise you'll run into trouble on uneven terrain -
Well yeah but it won't look really good.
- 680 replies
-
- 1
-
- millenium a.d.
- vikings
-
(and 1 more)
Tagged with:
-
If I recall correctly the problem with this was the too high polycount.
- 680 replies
-
- 1
-
- millenium a.d.
- vikings
-
(and 1 more)
Tagged with:
-
Will do, but for now events are remote
-
From \source\simulation2\components\CCmpUnitMotion.h "<a:example>" "<WalkSpeed>7.0</WalkSpeed>" "<PassabilityClass>default</PassabilityClass>" "</a:example>" From \binaries\data\mods\public\simulation\templates\template_unit.xml <UnitMotion> <FormationController>false</FormationController> <PassabilityClass>default</PassabilityClass> <WalkSpeed>9</WalkSpeed> <RunMultiplier>1.67</RunMultiplier> <InstantTurnAngle>1.5</InstantTurnAngle> <Acceleration>18</Acceleration> </UnitMotion> So the actual default value is 9 not 7. Template File Multiplier ActualValue \binaries\data\mods\public\simulation\templates\template_unit_catafalque.xml 54,5: <walkspeed op="mul">0.55<walkspeed> 4,95 \binaries\data\mods\public\simulation\templates\template_unit_cavalry_ranged_archer.xml 38,5: <walkspeed op="mul">0.85<walkspeed> 15,3 \binaries\data\mods\public\simulation\templates\template_unit_cavalry_ranged_crossbowman.xml 43,5: <walkspeed op="mul">0.8<walkspeed> 14,4 \binaries\data\mods\public\simulation\templates\template_unit_cavalry_ranged_javelineer.xml 38,5: <walkspeed op="mul">0.9<walkspeed> 16.2 \binaries\data\mods\public\simulation\templates\template_unit_cavalry.xml 99,5: <walkspeed op="mul">2<walkspeed> 18 \binaries\data\mods\public\simulation\templates\template_unit_champion_cavalry_archer.xml 44,5: <walkspeed op="mul">0.85<walkspeed> 15,3 \binaries\data\mods\public\simulation\templates\template_unit_champion_cavalry_crossbowman.xml 44,5: <walkspeed op="mul">0.8<walkspeed> 14,4 \binaries\data\mods\public\simulation\templates\template_unit_champion_cavalry_javelineer.xml 44,5: <walkspeed op="mul">0.9<walkspeed> 16.1 \binaries\data\mods\public\simulation\templates\template_unit_champion_cavalry.xml 57,5: <walkspeed op="mul">2<walkspeed> 18 \binaries\data\mods\public\simulation\templates\template_unit_champion_infantry_archer.xml 48,5: <walkspeed op="add">1.2<walkspeed> 10,8 \binaries\data\mods\public\simulation\templates\template_unit_champion_infantry_crossbowman.xml 48,5: <walkspeed op="add">0.6<walkspeed> 10,8 \binaries\data\mods\public\simulation\templates\template_unit_champion_infantry_javelineer.xml 48,5: <walkspeed op="mul">1.2<walkspeed> 10,8 \binaries\data\mods\public\simulation\templates\template_unit_champion_infantry_pikeman.xml 48,5: <walkspeed op="mul">0.9<walkspeed> 8.1