LUA

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

LUA

Postby b_o » Wed Sep 04, 2013 1:05 pm

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

Postby Kyran » Wed Sep 04, 2013 3:02 pm

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

Postby b_o » Wed Sep 04, 2013 4:19 pm

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.

Who is online

Users browsing this forum: No registered users and 1 guest