Search found 50 matches

by Adrian
Wed Dec 30, 2020 8:02 pm
Forum: General Discussion
Topic: "Cannot build here". Distance from base.
Replies: 3
Views: 404

Re: "Cannot build here". Distance from base.

Thank you! And happy new year!
by Adrian
Tue Dec 29, 2020 6:06 pm
Forum: General Discussion
Topic: "Cannot build here". Distance from base.
Replies: 3
Views: 404

"Cannot build here". Distance from base.

What is exact distance, where is still possible to build new structure? In Dune 2000. I try to understand the rule. Maybe even to read source code... if it is not difficult. Sometimes it is possible to build "concrete", but it is not possible to build new structure at the same place. I understand th...
by Adrian
Thu Dec 17, 2020 4:42 pm
Forum: General Discussion
Topic: Playtest 20201213
Replies: 1
Views: 473

Playtest 20201213

First of all, thank you for new playtest 2020 12 13 ! I see, it was added "crates" in "Map Editor". I like it :-) And ... a problem . In Dune 2000, I found that Sardaukars do "Attack Move" in strange way. When enemy unit is situated forward, then Sardaukars can stay. "Light infantry" do "Attack Move...
by Adrian
Tue Nov 24, 2020 9:44 pm
Forum: Mapping and Modding
Topic: Function from Lua: os.date()
Replies: 5
Views: 803

Re: Function from Lua: os.date()

I don't think the 'table' function is blocked by our sandbox, so I'd just try if that works in OpenRA. I tried. OpenRA returns nearly the same error (as os.date) for table.concat too. [string "harkonnen09b.lua"]:547: attempt to call field 'concat' (a nil value) So I thought, may be I must include s...
by Adrian
Mon Nov 23, 2020 3:41 pm
Forum: Mapping and Modding
Topic: Function from Lua: os.date()
Replies: 5
Views: 803

Re: Function from Lua: os.date()

Thank you. I read about tables now. About table.concat() . http://lua-users.org/wiki/TableLibraryTutorial This is example for command line. And it work in my command line, Lua 5.1.5. > = table.concat({ 1, 2, "three", 4, "five" }) 12three4five It returns one string from all table values. Can it work ...
by Adrian
Sun Nov 22, 2020 7:02 pm
Forum: Mapping and Modding
Topic: Function from Lua: os.date()
Replies: 5
Views: 803

Function from Lua: os.date()

I read about Lua in general now. About the Standard Libraries. Here is a chapter "Date and Time" : https://www.lua.org/pil/22.1.html I try to use function os.date() . It must return string or table with date and/or time data. Can I use this function in any game lua files? I try to write like this: v...
by Adrian
Thu Nov 19, 2020 3:55 pm
Forum: Mapping and Modding
Topic: Tags. Add a tag to the actor.
Replies: 6
Views: 801

Re: Tags. Add a tag to the actor.

Thank you very much! It works.
by Adrian
Wed Nov 18, 2020 9:43 pm
Forum: Mapping and Modding
Topic: Tags. Add a tag to the actor.
Replies: 6
Views: 801

Re: Tags. Add a tag to the actor.

Thank you.
So I found that, by default, tags are off. And I need to write in Rules.yaml, for light infantry, for example :

Code: Select all

light_inf:
	ScriptTags:
Can I write text for tag in yaml too?

I already found function for Lua:
AddTag(string tag) - Add a tag to the actor.
by Adrian
Thu Nov 12, 2020 7:41 pm
Forum: Mapping and Modding
Topic: Tags. Add a tag to the actor.
Replies: 6
Views: 801

Re: Tags. Add a tag to the actor.

Would you like to explain me? What is the tag?
This is string. So I can write any text for some objects, right? Like label. Or something else?
by Adrian
Tue Nov 10, 2020 8:12 pm
Forum: Mapping and Modding
Topic: Tags. Add a tag to the actor.
Replies: 6
Views: 801

Tags. Add a tag to the actor.

I can see in Lua-API something about Tags. Question: Does the tags works with Dune2000 units? What are these? I mean, the tags, in general. It looks like infantry, at least, has no tag. I see several function: - bool AddTag (string tag) - Add a tag to the actor. - bool HasTag (string tag) - bool Rem...
by Adrian
Thu Oct 29, 2020 3:23 pm
Forum: Mapping and Modding
Topic: Just for eye pleasing
Replies: 9
Views: 1585

Re: Just for eye pleasing

Not bad!
Is this "Dune 2"?
by Adrian
Thu Aug 20, 2020 6:13 pm
Forum: Mapping and Modding
Topic: FloatingText. Default parameters.
Replies: 2
Views: 657

Re: FloatingText. Default parameters.

Otherwise the engine will think you're trying to pass a color as an integer, which won't work.
Really. In that case, Lua returns error:
"Unable to convert parameter 2 to Int32".

Thank you for explanation.
by Adrian
Thu Aug 20, 2020 12:31 pm
Forum: Mapping and Modding
Topic: FloatingText. Default parameters.
Replies: 2
Views: 657

FloatingText. Default parameters.

Introduction . Slightly long. :-) About "FloatingText" in general. (If you know "FloatingText" well, then read next part) I read about function "FloatingText" now. This function, as Lua-API says, "Display a text message at the specified location" . Function "FloatingText" has four parameters . Firs...
by Adrian
Wed Aug 19, 2020 12:24 pm
Forum: Mapping and Modding
Topic: OpenRA - A deep dive into its source-code
Replies: 13
Views: 4378

Re: OpenRA - A deep dive into its source-code

I like OpenRa mod of Dune2000. And I would like to explore some parts of source code of that. I even start to read source code in C#. So question: Wouldn't it be impudence to ask at forum about some unclear (for me) parts of source code? I am newbie in C#. So it can be questions about C# in general ...
by Adrian
Wed Aug 19, 2020 8:28 am
Forum: Mapping and Modding
Topic: OpenRA - Free Developer Resources from Internet
Replies: 3
Views: 910

Re: OpenRA - Free Developer Resources from Internet

Thank you for your links. Strange thing. I have read here right now. "TutorialsPoint - YAML Basics " -https://www.tutorialspoint.com/yaml/yaml_basics.htm "YAML does not allow the use of tabs while creating YAML files; spaces are allowed instead" ??? There are only tabs in the OpenRa yaml file... Do ...