Page 1 of 2
Buildpic Generator
Posted: 11 Aug 2009, 09:41
by Forboding Angel
#lua wrote:[22:47:04] <[Evo]Forboding_Angel> Anyone here that can tell me how to use the CA buildpic generator?
[23:04:30] ** [1uP]CarRepairer joined the channel.
[23:16:44] <[Evo]Forboding_Angel> Anyone here that can tell me how to use the CA buildpic generator?
[23:18:28] <[LCC]jK> /cheat /luarules buildicons all
[23:42:57] <[Evo]Forboding_Angel> YAY, thanks JK!
[23:56:16] <[Evo]Forboding_Angel> where does it put the icon files?
[00:02:54] <[Evo]Forboding_Angel> so "How" do I use it? Don't I need to configure something? Or does it jsut detect all the units in the game? Also, where does it put the icon files? When I run that command I can't tell that it does anything.
[00:04:26] ** [W]Evil4Zerggin left the channel( Quit ).
[00:05:57] ** [W]Evil4Zerggin joined the channel.
[00:14:04] ** [1uP]CarRepairer left the channel( Quit: connection lost ).
[00:17:27] ** [fi]pakolainen left the channel( Quit ).
[00:18:20] <[Evo]Forboding_Angel> So "How" do I use the icon generator? Don't I need to configure something? Or does it jsut detect all the units in the game? Also, where does it put the icon files? When I run that command I can't tell that it does anything, and I see no newly crated folders or anything.
[00:31:16] ** [fi]pakolainen joined the channel.
[01:17:33] ** [LCC]jK left the channel( Quit ).
[01:24:10] ** KDR_11k joined the channel.
[01:49:51] <[Evo]Forboding_Angel> so "How" do I use it the icon generator? Don't I need to configure something? Or does it jsut detect all the units in the game? Also, where does it put the icon files? When I run that command I can't tell that it does anything.
[01:50:46] <[Evo]Forboding_Angel> I do find it kind of sad that I've asked the same question for 3 days in a row, and that tonight I've waited over four hours for an actual answer
[01:51:03] <[Evo]Forboding_Angel> [23:18:28] <[LCC]jK> /cheat /luarules buildicons all << I got that answer several hours ago though
Can someone please tell me how to actually use it?
I asked in #ca, #moddev and several other locations as well.
Re: Buildpic Generator
Posted: 11 Aug 2009, 18:57
by zwzsg
Have you asked Smoth yet?

Re: Buildpic Generator
Posted: 11 Aug 2009, 19:41
by CarRepairer
It creates a folder in your spring folder called buildicons. Look there now.
Re: Buildpic Generator
Posted: 11 Aug 2009, 23:10
by SirMaverick
Forboding Angel wrote:Can someone please tell me how to actually use it?
I asked in #ca, #moddev and several other locations as well.
Start ca, then:
/cheat
/luarules buildicons all
This information was already given in the chat and as comment in the file.
If you want to use it in your own mod you need to add the file as gadget (not sure if this file alone is enough).
Re: Buildpic Generator
Posted: 11 Aug 2009, 23:40
by Forboding Angel
CarRepairer wrote:It creates a folder in your spring folder called buildicons. Look there now.
It didn't create anything. Are other lua files needed (other then icongenbkgs of course)?
Course I could do what google suggested... Copy ca, replace with my units, viola, but in my opinion this is an extremely powerful tool for all modmakers, so why should it be so obscure as to how to use it?
I've already been making comments in my local copy about usage so hopefully the next person won't have to go through this crap

Re: Buildpic Generator
Posted: 11 Aug 2009, 23:55
by SirMaverick
Forboding Angel wrote:It didn't create anything. Are other lua files needed (other then icongenbkgs of course)?
It includes LuaRules/Config/icon_generator.lua - you might need to adapt this for your mod.
Forboding Angel wrote:I've already been making comments in my local copy about usage so hopefully the next person won't have to go through this crap

If you share them we'll add them to CA.
Re: Buildpic Generator
Posted: 12 Aug 2009, 00:49
by Argh
I had fun debugging it to work with World Builder.
Here's my fixed version, removed certain special UnitDef-based settings, etc.
You'll need to specify the background image before running it.
Re: Buildpic Generator
Posted: 12 Aug 2009, 11:11
by Forboding Angel
Have any of you tried it since the latest version of spring?
Also, the config is set, factions is set... Nothing happens.
Re: Buildpic Generator
Posted: 12 Aug 2009, 11:32
by smoth
Worked for me steal my modified version from gundam if you are still having issues. Why di you not pm me?
Re: Buildpic Generator
Posted: 12 Aug 2009, 11:48
by Forboding Angel
I had no idea you had ever used it O_O, thanks!
Re: Buildpic Generator
Posted: 12 Aug 2009, 12:55
by smoth
I used it for the lastest release. It generates them in your spring dir, you can find them in /buildpics/ or something like that. It will freeze your spring a bit while it is working btw.
Re: Buildpic Generator
Posted: 13 Aug 2009, 05:36
by Forboding Angel
I grabbed it out of gundam, changed the unitnames in the config, ran it and... nothing happened.
Re: Buildpic Generator
Posted: 13 Aug 2009, 05:39
by Peet
.......running spring as admin?
Re: Buildpic Generator
Posted: 13 Aug 2009, 05:51
by Forboding Angel
My spring install is on a separate drive. I started up gundam and ran it, and it worked fine.
Check out the attachment pls, and tell me if you guys see anything wrong?
Re: Buildpic Generator
Posted: 13 Aug 2009, 06:00
by jK
Forboding Angel wrote:I grabbed it out of gundam, changed the unitnames in the config, ran it and... nothing happened.
has your gadgetHandler DrawGenesis?
Re: Buildpic Generator
Posted: 13 Aug 2009, 07:02
by Forboding Angel
I honestly have no idea, but someone who knows what to look for could prolly figure that out in 2 seconds or less:
Re: Buildpic Generator
Posted: 13 Aug 2009, 07:54
by lurker
Ctrl+F?
Re: Buildpic Generator
Posted: 13 Aug 2009, 09:49
by Forboding Angel
Already did that, came up with nothing.
In the chance that gadgets.lua was where that would be, I deleted it temporarily (cause gundam doesn't have it and it works fine with the generator) and tried it. No dice.
Re: Buildpic Generator
Posted: 13 Aug 2009, 09:50
by smoth
this is possibly an obvious question but you did update the config and made sure you had the bg images?
Re: Buildpic Generator
Posted: 13 Aug 2009, 12:11
by Forboding Angel
Yes I updated the config... Your config doesn't reference any bg images, you also don't have icongenbkgs, yet loading up gundam works fine.
... does the mod have to be in an sd7 or an sdz for this to work?