Page 1 of 4
Need help with forking.
Posted: 21 May 2011, 21:41
by Super Mario
Hi, I am unable to hook the chickens from BA to the other mod that I desire, it keeps calling itself BA when I wanted to be part of the other mod. Does it has something to do with the mod info file or I am missing something?
Re: Need help with forking.
Posted: 21 May 2011, 23:33
by Forboding Angel
You might wanna use the survival spawner from evo or gundam. I'm pretty sure that chickens that were shoehorned into BA were more or less pretty hardcoded (and by this point, really really old).
Re: Need help with forking.
Posted: 22 May 2011, 00:31
by Super Mario
Forboding Angel wrote:You might wanna use the survival spawner from evo or gundam. I'm pretty sure that chickens that were shoehorned into BA were more or less pretty hardcoded (and by this point, really really old).
I need to know what parts do I need to make changes besides the modinfo.lua file.
Re: Need help with forking.
Posted: 22 May 2011, 01:48
by smoth
Changes for what precisely?
Re: Need help with forking.
Posted: 22 May 2011, 02:40
by Super Mario
smoth wrote:Changes for what precisely?
Basically disconnecting BA and connecting to the other mod, so that I can have chicken defense.
Re: Need help with forking.
Posted: 22 May 2011, 03:15
by smoth
Still ambiguous.
Re: Need help with forking.
Posted: 22 May 2011, 03:18
by Wombat
is that even possible ? ba chickens use ba content... its like trying to play wc3 frozen throne without wc3. *newb idea*
Re: Need help with forking.
Posted: 22 May 2011, 03:20
by Super Mario
Wombat wrote:is that even possible ? ba chickens use ba content... its like trying to play wc3 frozen throne without wc3. *newb idea*
And I'm planning to get it use the content found in the other mod, if I have a slight idea on what I'm suppose to do.
Re: Need help with forking.
Posted: 22 May 2011, 04:20
by oksnoop2
What steps have you taken exactly? (pastebins please)
Re: Need help with forking.
Posted: 22 May 2011, 05:08
by smoth
Wombat wrote:is that even possible ? ba chickens use ba content... its like trying to play wc3 frozen throne without wc3. *newb idea*
see this thread womb
Re: Need help with forking.
Posted: 22 May 2011, 05:21
by Wombat
well, i thought that if he wants BA chicken then he needs BA units as well. then nvm, like i said newb idea D:
Re: Need help with forking.
Posted: 22 May 2011, 05:44
by Forboding Angel
dude.. just copy the files. It's only like 2 files the gadget and the config. At least, in evo that's all it is.
Re: Need help with forking.
Posted: 25 May 2011, 02:27
by Super Mario
This isn't rocket science. I just want to used content from another mod. That's all, now if you can get it to used content from your mods, then by all means tell me the progress of the fork then.
Re: Need help with forking.
Posted: 25 May 2011, 02:36
by Forboding Angel
Super Mario wrote:it keeps calling itself BA
What is
IT?
Re: Need help with forking.
Posted: 25 May 2011, 02:41
by Super Mario
Forboding Angel wrote:Super Mario wrote:it keeps calling itself BA
What is
IT?
Tech annihilation.
Re: Need help with forking.
Posted: 25 May 2011, 02:46
by smoth
I'd help you fork but forb does lots of forking and can help you more. Me I only fork one thing.
Re: Need help with forking.
Posted: 25 May 2011, 03:10
by knorke
Never made a mutator but since it seems nobody posted a clear answer I tried myself for the lolz.
Overwrote/deleted the original file but I think I used BAChickens215(BA712).sd7
First had a look at:
http://springrts.com/wiki/Modinfo.lua#Mutator
After some trial&error I made a modinfo.lua that showed up in Spring.exe:
Code: Select all
return {
name="AAAAAST Chicken Defense",
description="Tanks and Chickens lol",
shortGame="ST",
shortName="ST",
version="132",
mutator="AAAtestlol",
game="Spring Tanks",
modtype=1,
depend = {
"Spring Tanks SDD",
},
}
I am still a bit unsure what excatly goes in the
depend= field, appearently not the filename but
what gets displayed in spring.exe mod list.
So that thing started but then crashed during loading:
[f=0000000] Loading unit definitions
[f=0000000] Caught content exception: WARNING: Couldn't find a MoveClass named akbot2 (used in UnitDef: chicken1)
[f=0000000] Content error WARNING: Couldn't find a MoveClass named akbot2 (used in UnitDef: chicken1)
So some of the units rely on entries in movedef of BA, which of course do not exist in all games.
Basically that means it is
not possible to just plug BA chickens into any game.
I guess copying over the movedef from BA would solve that. Or maybe you are lucky and your mod is based on BA because then those entries might even exist in it too.
There was also a long list of missing sounds.
Now the gay thing:
It seems that spring.exe/unitsync does not always refresh the modlist.
ie I changed entries in the modinfo.lua of the mutator like the version and Spring would still show the old value after restart.
That of course makes testing a bit annoying. Renaming the mutator file seems to make it re-read the mods correctly.
ie just change between naming
blub_chicken.sdd and
bla_chicken.sdd everytime you change something so you are sure the change was noticed.
Re: Need help with forking.
Posted: 25 May 2011, 07:14
by Forboding Angel
smoth wrote:I'd help you fork but forb does lots of forking and can help you more. Me I only fork one thing.
lol
Re: Need help with forking.
Posted: 25 May 2011, 08:30
by FLOZi
It seems that spring.exe/unitsync does not always refresh the modlist.
ie I changed entries in the modinfo.lua of the mutator like the version and Spring would still show the old value after restart.
Delete cache/ArchiveCache.lua.
Re: Need help with forking.
Posted: 25 May 2011, 09:55
by Forboding Angel
Fuck that noise. Killing archive cache makes for a LOOOOOONG time to rebuild next time you start up anything that uses unitsync. Just change the name of your directory so that unitsync has to rehash it.