Search found 50 matches
- Wed Dec 30, 2020 8:02 pm
- Forum: General Discussion
- Topic: "Cannot build here". Distance from base.
- Replies: 3
- Views: 203
Re: "Cannot build here". Distance from base.
Thank you! And happy new year!
- Tue Dec 29, 2020 6:06 pm
- Forum: General Discussion
- Topic: "Cannot build here". Distance from base.
- Replies: 3
- Views: 203
"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...
- Thu Dec 17, 2020 4:42 pm
- Forum: General Discussion
- Topic: Playtest 20201213
- Replies: 1
- Views: 307
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...
- Tue Nov 24, 2020 9:44 pm
- Forum: Mapping and Modding
- Topic: Function from Lua: os.date()
- Replies: 5
- Views: 441
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...
- Mon Nov 23, 2020 3:41 pm
- Forum: Mapping and Modding
- Topic: Function from Lua: os.date()
- Replies: 5
- Views: 441
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 ...
- Sun Nov 22, 2020 7:02 pm
- Forum: Mapping and Modding
- Topic: Function from Lua: os.date()
- Replies: 5
- Views: 441
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...
- Thu Nov 19, 2020 3:55 pm
- Forum: Mapping and Modding
- Topic: Tags. Add a tag to the actor.
- Replies: 6
- Views: 459
Re: Tags. Add a tag to the actor.
Thank you very much! It works.
- Wed Nov 18, 2020 9:43 pm
- Forum: Mapping and Modding
- Topic: Tags. Add a tag to the actor.
- Replies: 6
- Views: 459
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 :
Can I write text for tag in yaml too?
I already found function for Lua:
AddTag(string tag) - Add a tag to the actor.
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:
I already found function for Lua:
AddTag(string tag) - Add a tag to the actor.
- Thu Nov 12, 2020 7:41 pm
- Forum: Mapping and Modding
- Topic: Tags. Add a tag to the actor.
- Replies: 6
- Views: 459
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?
This is string. So I can write any text for some objects, right? Like label. Or something else?
- Tue Nov 10, 2020 8:12 pm
- Forum: Mapping and Modding
- Topic: Tags. Add a tag to the actor.
- Replies: 6
- Views: 459
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...
- Thu Oct 29, 2020 3:23 pm
- Forum: Mapping and Modding
- Topic: Just for eye pleasing
- Replies: 9
- Views: 1017
Re: Just for eye pleasing
Not bad!
Is this "Dune 2"?
Is this "Dune 2"?
- Thu Aug 20, 2020 6:13 pm
- Forum: Mapping and Modding
- Topic: FloatingText. Default parameters.
- Replies: 2
- Views: 539
Re: FloatingText. Default parameters.
Really. In that case, Lua returns error:Otherwise the engine will think you're trying to pass a color as an integer, which won't work.
"Unable to convert parameter 2 to Int32".
Thank you for explanation.
- Thu Aug 20, 2020 12:31 pm
- Forum: Mapping and Modding
- Topic: FloatingText. Default parameters.
- Replies: 2
- Views: 539
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...
- Wed Aug 19, 2020 12:24 pm
- Forum: Mapping and Modding
- Topic: OpenRA - A deep dive into its source-code
- Replies: 13
- Views: 3961
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 ...
- Wed Aug 19, 2020 8:28 am
- Forum: Mapping and Modding
- Topic: OpenRA - Free Developer Resources from Internet
- Replies: 3
- Views: 694
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 ...