Jump to content

Recommended Posts

Again, I have learnt something new and useful here. Thank you so much! :)

WRT to creating a diff, I would like to but lack the knowledge.

I have the build and test environment, so I believe I could manually tweak that line and see the results, could I?

Link to comment
Share on other sites

2 minutes ago, Ceres said:

I have the build and test environment, so I believe I could manually tweak that line and see the results, could I?

Yes.

If you need more help with using Phabricator or tips for messing with UnitAI, you can come online on IRC.

5 minutes ago, Ceres said:

That's really all it takes?

From a cursory look: yes.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

The default stance is a requested feature.
I have to click on each type of unit: ram aggressive, archers defend, medics passive
.

It would be great to implement setting default stance for each type of unit.

IMHO best place in unit type tooltip (Available in-game and in Structure tree)
Stance buttons:
https://github.com/0ad/0ad/blob/master/binaries/data/mods/public/gui/session/selection_panels.js#L927

Place in tooltip:

https://github.com/0ad/0ad/blob/master/binaries/data/mods/public/gui/common/tooltips.js#L1185

It remains to find how to merge it with https://github.com/nanihadesuka/autociv/commit/a1daba4d4e4b5ca5a1984dca231bce45d8f470f5

Снимок экрана от 2021-09-05 20-10-00.png

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...

F4 doesn't open anything but I can everything is installed correctly. No other mods.

Shift+F4 works but nothing happens when I press F4 please do help. :(

Latest 0ad. and latest Autociv from github.

 

Especially created an account to ask for help.

Edited by captray
Typo
  • Like 1
Link to comment
Share on other sites

On 05/09/2021 at 7:26 PM, nwtour said:

The default stance is a requested feature.
I have to click on each type of unit: ram aggressive, archers defend, medics passive
.

It would be great to implement setting default stance for each type of unit.

IMHO best place in unit type tooltip (Available in-game and in Structure tree)
Stance buttons:
https://github.com/0ad/0ad/blob/master/binaries/data/mods/public/gui/session/selection_panels.js#L927

Place in tooltip:

https://github.com/0ad/0ad/blob/master/binaries/data/mods/public/gui/common/tooltips.js#L1185

It remains to find how to merge it with https://github.com/nanihadesuka/autociv/commit/a1daba4d4e4b5ca5a1984dca231bce45d8f470f5

Снимок экрана от 2021-09-05 20-10-00.png

That was one time hardcoded feature, for a general case I not sure I could pull it off as a mod and seem too much work/reward ratio. Better ask official team.

 

On 16/09/2021 at 3:14 PM, captray said:

F4 doesn't open anything but I can everything is installed correctly. No other mods.

Shift+F4 works but nothing happens when I press F4 please do help. :(

Latest 0ad. and latest Autociv from github.

 

Especially created an account to ask for help.

F4 does nothing in the latest version (also told in github)

  • Like 1
Link to comment
Share on other sites

2 hours ago, nani said:

That was one time hardcoded feature, for a general case I not sure I could pull it off as a mod and seem too much work/reward ratio

Ok. If you suddenly change your mind, I threw in the code that was trying to implement this function (though it is not working - It turns out that Engine::ConfigDB cannot be accessed at the time of loading).
I will be once if something from my code helped

https://github.com/nwtour/mod-setdefaultstance
264724888_2021-09-1801-27-46.png.329bbd663ea48cfa07bd071384be3ac3.png

  • Like 1
Link to comment
Share on other sites

5 hours ago, nwtour said:

It turns out that Engine::ConfigDB cannot be accessed at the time of loading

How would it look when you have a default stance passive at unit creation time, but your adversary had violent? That is why we don't access user settings in the simulation. One could pass the default stance as metadata to the training of the entity.

Link to comment
Share on other sites

  • 4 weeks later...
On 11/10/2019 at 11:23 AM, Stan` said:

So yeah it's definitely the blood that's killing performance :/  Would you say blood is nice to have ?

Hello everyone! After reading the whole thread i have two doubts i want to share with u.
1- Didn't find autociv option to disable blood to test performance. Am I missing something or this option its only available with No Blood And Gore Mod by @Stan` (https://0ad.mod.io/no-blood-and-gore-mod).

2- Autociv's autoassign civ its not working properly in my 0ad. If u say Gauls u take Spartans, If u say Iber u take Seleúcids. I've already installed a fresh version of 0ad with Autociv and Boongui Only. I download autociv v25.2.3 from github (https://github.com/nanihadesuka/autociv) and still having this error. I wonder if there's something related to 0ad native lengauge (spanish in my case). I'll be glad to change it my self but there's no editable file in the mod (ofc, autociv.pyromod its already compiled). Maybe is there a fix for this I didn't see or I can only fix it compiling new version from sourcecode.

I hope u can understand my poor English. 
TY

  • Like 1
Link to comment
Share on other sites

9 minutes ago, guerringuerrin said:

Hello everyone! After reading the whole thread i have two doubts i want to share with u.
1- Didn't find autociv option to disable blood to test performance. Am I missing something or this option its only available with No Blood And Gore Mod by @Stan` (https://0ad.mod.io/no-blood-and-gore-mod).

Check the Autociv option - Graphics: corpses max.

--> see this post: Make certain colours transparent "on-the-fly"? (18/Aug/21)

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

TY for quick response, @Langbart
 

On 11/10/2019 at 11:23 AM, Stan` said:

So yeah it's definitely the blood that's killing performance :/  Would you say blood is nice to have ?

In early pages @ValihrAnt discuses with @Stan` that the blood itself really matters in the FPS dump, so i though i could keep like 10 max corpses but hide the blood and keep improving performance. But maybe just using the max corpse option to 0 its the best way to improve as much as i can game's performance (ofc also lowering graphics tho)
TY again see u in the battlefield

Link to comment
Share on other sites

  • 3 weeks later...
On 11/10/2021 at 8:37 PM, guerringuerrin said:

Hello everyone! After reading the whole thread i have two doubts i want to share with u.
1- Didn't find autociv option to disable blood to test performance. Am I missing something or this option its only available with No Blood And Gore Mod by @Stan` (https://0ad.mod.io/no-blood-and-gore-mod).

2- Autociv's autoassign civ its not working properly in my 0ad. If u say Gauls u take Spartans, If u say Iber u take Seleúcids. I've already installed a fresh version of 0ad with Autociv and Boongui Only. I download autociv v25.2.3 from github (https://github.com/nanihadesuka/autociv) and still having this error. I wonder if there's something related to 0ad native lengauge (spanish in my case). I'll be glad to change it my self but there's no editable file in the mod (ofc, autociv.pyromod its already compiled). Maybe is there a fix for this I didn't see or I can only fix it compiling new version from sourcecode.

I hope u can understand my poor English. 
TY

Can confirm the bug, seems setting non English language triggers it. Will try to fix.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...