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
You may find some stuff in here useful....
https://steamcommunity.com/sharedfiles/filedetails/?id=667217484
Thank you very much for this link, really needed some guidence on some of the subjects presented here.
However i can't figure out what's wrong becouse when i try to test the script it either doesn't work at all ,or ignores conditions and spawns stuff infinitly.
In detail:
I want to make a script which would spawn a tank, directing it to a waypoint (only if there was less than 1 or 2 operational [read; not: blown up,hull destroyed] tanks of the same type and with the same tag at a time). My script breaks and either spawns stuff infinitly or doesn't spawn anything at all. I can make it work fine by removing conditions from script.
Basically "conditions" are your set of "if"'s for your block of "commands".
Also there is an "if" command found under "generic"....but that's another topic.
But what you will want to do is have your "entities" condition set to "advanced".
To make your condition advanced, open the drop down "source" menu and select "advanced". Then right click on "selector" and add "group"...
You would then use...
"select" "your_tag"
"include"
"state" "inhabited"
"state" "operable"
"exclude"
"state" " inactive"
"Tag" "destroyed"
count < 2
Note: right click on "select", "include" and "exclude" to show available options.
I have a question. The Guide File doesn't have a 'squad' explanation. Can you tell me how to use it?
(Only used in Actor_state / waypoint.)
Squad / Squad_create / Squad_dismiss / Squad__state / Squad_waypoint
The Squad commands simply gives you a scripting option for forming units into squads, just like you would by draging and selecting multiple units in game as a player. You can form the enemy AI into squads to stick togther. It basically adds another layer to the AI. With the squad editor in F3 mod you can assign a few options like min and max distance of spread, set the comander to be ahead etc.
To be honest, I rarely use squads myself. The reason they are not mentioned in the Guid file is because that was always a work in progress, I'd onlty worked on it in my spare time for a few months before I got quite ill back in 2016.
I'd love to do Guidfile style guide for CTA... if I can find the time and sort out a quiet space to make vids. CTA offers a variety of gem editor modifications and improvement which opens a host of creative possibilities.
Hi Tjdagger,
Thanks to Squad commands explanation, I could understand it easily.
And I hope you don't get sick. Thanks to you, I learned a lot about the editor.
I also hope you can create CTA GUIDfile. If CTA GUIDfile is complete, novice users like me will have hope.