LUA

WIP aims to Wargus, while maintaining the game's ambience and gameplay experience.
Post Reply
User avatar
b_o
Posts: 328
Joined: Sun Jan 01, 2012 12:07 pm

LUA

Post by b_o »

What LUA's do you have to edit to add a new unit?
User avatar
Kyran
Posts: 499
Joined: Sat Dec 31, 2011 5:19 pm
Location: Australia
Contact:

Re: LUA

Post by Kyran »

It would probably be /wip/scripts/orc/units.lua or /wip/scripts/human/units.lua.

You need to define the unit, and the buttons for that unit. You can do both in the same file if you wish (although buttons should probably be done in buttons.lua).
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
User avatar
b_o
Posts: 328
Joined: Sun Jan 01, 2012 12:07 pm

Re: LUA

Post by b_o »

thanks, I got it to work. it's nice to know you can put it all in the same file. It might be nice to make a single unit in a single file so they can be managed easier.
Post Reply