Need help with forking.
Moderator: Moderators
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Need help with forking.
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?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Need help with forking.
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).
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Need help with forking.
I need to know what parts do I need to make changes besides the modinfo.lua file.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).
Re: Need help with forking.
Changes for what precisely?
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Need help with forking.
Basically disconnecting BA and connecting to the other mod, so that I can have chicken defense.smoth wrote:Changes for what precisely?
Re: Need help with forking.
is that even possible ? ba chickens use ba content... its like trying to play wc3 frozen throne without wc3. *newb idea*
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Need help with forking.
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.Wombat wrote: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.
What steps have you taken exactly? (pastebins please)
Re: Need help with forking.
see this thread wombWombat wrote: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.
well, i thought that if he wants BA chicken then he needs BA units as well. then nvm, like i said newb idea D:
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Need help with forking.
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.
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Need help with forking.
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.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Need help with forking.
What is IT?Super Mario wrote:it keeps calling itself BA
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Need help with forking.
Tech annihilation.Forboding Angel wrote:What is IT?Super Mario wrote:it keeps calling itself BA
Re: Need help with forking.
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.
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:
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.
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",
},
}
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.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Need help with forking.
lolsmoth wrote: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.
Delete cache/ArchiveCache.lua.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.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Need help with forking.
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.