Page 5 of 5

Re: AO baked ground plates for your mod!

Posted: 14 Sep 2012, 19:03
by rattle
You obviously didnt speak your prayer to the god of photoshop!

perhaps alpha issue or wrong bitrate?

Re: AO baked ground plates for your mod!

Posted: 14 Sep 2012, 22:50
by Beherith
look at the dds files with wtv.

Re: AO baked ground plates for your mod!

Posted: 17 Sep 2012, 15:25
by aGorm
OK, files are OK, but there seems to be something wrong with the luadefs... The AO works for some and not for others.


Works:
http://pastebin.com/aaGXNRND

Dont Work:
http://pastebin.com/rxpnQ2hw

Any Ideas?

Re: AO baked ground plates for your mod!

Posted: 17 Sep 2012, 19:14
by Beherith
Units without yardmaps are not buildings, but units that cant move (like nano towers in BA), ergo they cant (yet) have ground plates.

Or something to this effect.

Re: AO baked ground plates for your mod!

Posted: 17 Sep 2012, 22:16
by aGorm
Wow, seriosly? Don't remember reading that any where...

Cool, I'll add some yard maps...

Re: AO baked ground plates for your mod!

Posted: 17 Sep 2012, 22:52
by Beherith

Code: Select all

		// if a unit is immobile but does *not* have a yardmap
		// defined, assume it is not supposed to be a building
		// (so do not assign a default per facing)

Re: AO baked ground plates for your mod!

Posted: 17 Sep 2012, 22:56
by FLOZi
aGorm wrote:Wow, seriosly? Don't remember reading that any where...

Cool, I'll add some yard maps...

http://springrts.com/wiki/Units-UnitDef ... _Placement
string yardmap Default: ""
Used to determine a structure from a mobile unit

Re: AO baked ground plates for your mod!

Posted: 18 Sep 2012, 14:20
by aGorm
Hmmm... problem. My main base building is the builder that builds other buildings. But when I give it a yard map, it acts like a fac and trys to build like a unit. Is it possible to have a yard map and still build like a unit.


(Eventually it won't matter as I'd rather just have the buildings be build-able from the GUI independent of a unit, as long as your in range of a Unit, but I haven't got there yet. Or even a GUI to put it in...)

Re: AO baked ground plates for your mod!

Posted: 18 Sep 2012, 15:23
by AF
to be fair the factory vs building placement methods of building should be configurable, a unit tag or a new command type? Then we could have factories that can build units and nearby structures!