30. Okt 2024, 10:29 Hallo Gast.
Willkommen Gast. Bitte einloggen oder registrieren. Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge. Hierbei werden gemäß Datenschutzerklärung Benutzername und Passwort verschlüsselt für die gewählte Dauer in einem Cookie abgelegt.


Select Boards:
 
Language:
 


Autor Thema: (Imported) Script  (Gelesen 1900 mal)

GIUSHi

  • Bilbos Festgast
  • *
  • Beiträge: 5
(Imported) Script
« am: 31. Jul 2024, 20:46 »
Hi!

Help me please.

How to specify scripts from another library file, as in the photo. How to do Imported script?

« Letzte Änderung: 31. Jul 2024, 20:59 von GIUSHi »

GIUSHi

  • Bilbos Festgast
  • *
  • Beiträge: 5
Re: (Imported) Script
« Antwort #1 am: 8. Aug 2024, 15:10 »
Hi again.

I'll clarify what I want to do

I make bases like in BFME 1 for my mod on RotWK. (I do it as in Edain 4.X)

As I noticed, there is a root file of scripts for AI, where the unpacking bases, capturing points on the map by units and etc. I named this file ai_basic. then separate files for the faction, for example for Gondor - ai_gondor. and I want the scripts from ai_basic to be imported there(ai_gondor), like in the photo that I attached in the first post, because if I change something in the ai_basic they have changed in other faction files(ai_gondor, ai_rohan, ai_mordor and etc.) where they are imported.

Elendils Cousin 3. Grades

  • Administrator
  • Ringträger
  • *****
  • Beiträge: 5.859
  • German, Motherfucker! Do you speak it?
Re: (Imported) Script
« Antwort #2 am: 8. Aug 2024, 19:08 »
Hey Giushi, sorry for not answering, completely forgot about your question.

You can import libraries by going to Edit -> Player List -> Library maps. Here's an image of our Gondor AI in Edain:


Hope this helps.

GIUSHi

  • Bilbos Festgast
  • *
  • Beiträge: 5
Re: (Imported) Script
« Antwort #3 am: 9. Aug 2024, 00:34 »
Thank you very much.

You helped me a lot, but I came across a big problem. Please help me again.

As I said earlier, I make scripts like in Edain 4.X, but I make an English version.

AI don't Unpacking base.

Screenshots scripts from ai basic under spoiler.



GIUSHi

  • Bilbos Festgast
  • *
  • Beiträge: 5
Re: (Imported) Script
« Antwort #4 am: 15. Aug 2024, 12:37 »
AI don't Unpacking base.

I'm currently making AI for Gondor. Added only one map Fords of Isen. and when I add there SkirmishMen, AI of Gondor doesn't unpack base and loses after 2 seconds. If I remove SkirmishMen from the Map, AI of Gondor unpack base, but then AI stands still and does nothing. Do not build a buildings and the starting units stand still.

Thank you for your attention.