Search found 56 matches

by Zeruel87
Sat Nov 17, 2018 9:55 pm
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

New Problem i encounter: when i start a map and Slot 1 is empty you get a LUA error: NOTE: i call "Multi0" - "p1" and "Multi1" - "p2" Fatal Lua Error: Stack Traceback =============== (2) global C function 'error' (3) Lua function '(anonymous)' at file 'C:\Program Files (x86)\OpenRA\/lua/sandbox.lua:...
by Zeruel87
Sat Nov 17, 2018 1:43 pm
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

OKAY I GOT IT ! 1. thing was - YES i needed to add "multi0" into the map.yaml of the shellmap 2. thing is i added "MusicPlaylist: -DefeatMusic:" also to the shellmap, now everything is as i wanted it to be :) I Have to say: Thank you all for your help big time :) Thanks Materianer Thanks abcdefg30 T...
by Zeruel87
Sat Nov 17, 2018 12:56 pm
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

i did look at the "blank-shellmap" map.yaml file and added the "multi0" to "Players:", the error music still occurs after a few seconds and the "lua.log" is plain empty in the debug-log i find this, is this maybe the cause? scores.mix: failed to resolve filenames for 4 unknown hashes Found 2 domains...
by Zeruel87
Fri Nov 16, 2018 6:44 pm
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

I'am clueless, any idea or help please.

does the error music in the main menu come from the fact that i don't have a shellmap? does this produce the error causing the error music?
by Zeruel87
Sat Nov 03, 2018 8:52 am
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

i dont get it... if i put the lua into a single map the code works. if i put it into the bits folder so it applies to the whole mod / all maps then it crashes with the error message i postet. is there something to rewrite if you put it for the whole mod? EDIT: i just testet it again and it worked......
by Zeruel87
Fri Nov 02, 2018 11:19 am
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

when i put the code in to a lua and attatch it to the "world.yaml" with "World: LuaScript: Scrits: test.lua" and put the "test.lua" file in the "bits" or any other directory i get an error log: Fatal Lua Error: Stack Traceback =============== (2) global C function 'error' (3) Lua function '(anonymou...
by Zeruel87
Thu Nov 01, 2018 9:30 pm
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

i checked the code and its not working. but i startet to read some LUA tutorial pages and i'm on it to get it to work! :) Tried to change some values in it but it still does not do anything, i'm not gicing up yet :) EDIT: HELL YEAH the code is working! i found out what i was doing wrong and i got an...
by Zeruel87
Sat Oct 27, 2018 9:18 pm
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

Sorry i'm working on a minigame at the moment and the end seem to be near, thats why i have not so much time. I made an untested code for what you might need for what you try to do. https://pastebin.com/vpuMR2K4 Note its untested and just an idea how it could work, you could also maybe try a Trigge...
by Zeruel87
Sat Oct 27, 2018 9:11 pm
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

abcdefg30 wrote:
Fri Oct 19, 2018 5:21 pm
OpenRA's Lua API is detailed here: https://github.com/OpenRA/OpenRA/wiki/Lua-API
The rest is just normal Lua programming (http://lua-users.org/wiki/TutorialDirectory might be helpful).
thanks for the Informations :)
by Zeruel87
Tue Oct 16, 2018 8:04 am
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Re: Possible to tell AI to use a Supply Truck to help allies?

I thought/feared so that it is not possible with just yaml files. My knowledge of lua is zero but it would be quite usefull to know, i also want to make AI units with the "DelicersExperience" trait to promote other units, so i would also need lua for that. Yes, please help me out here :) or is there...
by Zeruel87
Mon Oct 15, 2018 8:26 pm
Forum: Mapping and Modding
Topic: Possible to tell AI to use a Supply Truck to help allies?
Replies: 24
Views: 19315

Possible to tell AI to use a Supply Truck to help allies?

Hello, my very first post in this forum. I'am a modder and asking myself it is possible to tell an AI player somehow to sent a built Supply Truck to an allied building to help with money. In the "Traits" for "HackyAI" on GitHub i cant find any trait that can possible make this happen, also in the Su...