I got this factory in game and I can click on it's build menu to build a unit. An animation plays and then..nothing. No unit is created.
Here's my infolog. http://pastebin.com/m2263fc6f
Does it have something to do with:
[ 0] Loading sounds: 82 ms
[ 0] Camera and mouse: 229 ms
[ 0] Parsing unit icons
[ 0] Parsing definitions
[ 0] could not load buildOption data: missing file
Is it this missing file?
construction lua question
Moderator: Moderators
Re: construction lua question
That message is a bogus one, fixed in the next version of spring's base files.
Post the factory unitdef and script?
Post the factory unitdef and script?
Re: construction lua question
http://pastebin.com/m1d2bb7d2 script
http://pastebin.com/m184deeea unitdef
The lua's came from masse who got them from someone else i think. For the time being i'm also using his roborc factory. ..guess i should of asked him if it was cool to use that stuff. I'll get on that. the hover tank that's in the build menu is totally mine though.
http://pastebin.com/m184deeea unitdef
The lua's came from masse who got them from someone else i think. For the time being i'm also using his roborc factory. ..guess i should of asked him if it was cool to use that stuff. I'll get on that. the hover tank that's in the build menu is totally mine though.
Re: construction lua question
I bet that your unit doesn't fit out of my factory cause I made it really small on purpose.
try changing this
to
after that it should at least fit out of the building :) oh and it's ok to use my codes most of them are made with FLOZi's help!
try changing this
Code: Select all
yardMap = [[ooooooo ooooooo oocccoo oocccoo oocccoo oocccoo oocccoo]],
Code: Select all
yardMap = [[ooooooo ccccccc ccccccc ccccccc ccccccc ccccccc ccccccc]],