View unanswered posts | View active topics It is currently Thu Jan 02, 2025 6:51 pm



Reply to topic  [ 6 posts ] 
 Editing SkirmishActivities.ini, crashing all the time 
Author Message
User avatar

Joined: Mon Aug 06, 2007 2:08 am
Posts: 32
Reply with quote
Post Editing SkirmishActivities.ini, crashing all the time
On B23, i'm trying to replace the usual array of enemies with those contained in Activities.ini of CyborgZombies.rte
This is what it looks like:

Code:
AddActivity = GABaseDefense
   PresetName = Skirmish Defense
   SceneName = Grasslands
   TeamCount = 2
   PlayerCount = 1
   TeamOfPlayer1 = 0
   TeamOfPlayer2 = 1
   FundsOfTeam1 = 5000
   FundsOfTeam2 = 5000
   CPUTeam = 1
   Difficulty = 3
   SpawnIntervalEasiest = 2500
   SpawnIntervalHardest = 500
   AddAttackerSpawn = ACRocket
      CopyOf = Null Spawn
      Team = 1
      AddInventory = AHuman
         CopyOf = Skirmish Zombie Light
         Team = 1
   AddAttackerSpawn = ACRocket
      CopyOf = Null Spawn
      Team = 1
      AddInventory = AHuman
         CopyOf = Skirmish Zombie Heavy
         Team = 1
   AddAttackerSpawn = ACRocket
      CopyOf = Null Spawn
      Team = 1
      AddInventory = AHuman
         CopyOf = Skirmish Zombie Regular
         Team = 1
   AddAttackerSpawn = ACRocket
      CopyOf = Null Spawn
      Team = 1
      AddInventory = AHuman
         CopyOf = Skirmish Zombie Regen
         Team = 1


I renamed the file Skirmish Activities.ini, modified Missions.rte's Index.ini file to use this one instead of it's own, but every single damn time, it crashes with the error:

Image

I replace Null Spawn with a normal Rocket MK1, then it starts to complain about the zombies instead. What on earth is going wrong here?

It also seems to do this with Race ORKZ.rte, when I give that a Skirmish Activities.ini with relevant stuff.


Fri Dec 17, 2010 2:18 pm
Profile
User avatar

Joined: Tue Apr 07, 2009 8:24 am
Posts: 193
Location: Australia
Reply with quote
Post Re: Editing SkirmishActivities.ini, crashing all the time
Because the game is trying to find that thing to copy from in the Missions.rte but it's actually in whatever.rte that it came from. You will have to put whatever.rte/whateverthingyourcopying and it should work.

Edit: I'm stupid didn't see picture.


Fri Dec 17, 2010 2:33 pm
Profile
User avatar

Joined: Thu May 28, 2009 3:59 pm
Posts: 209
Reply with quote
Post Re: Editing SkirmishActivities.ini, crashing all the time
Sgt Doom wrote:
On B23, i'm trying to replace the usual array of enemies with those contained in Activities.ini of CyborgZombies.rte
The error you are getting indicates that you are trying to load the Activities.ini before the ACRocket Null Spawn or the AHuman Skirmish Zombie Light have been defined. If you are editing the Activities.ini in the base.rte folder that would be the cause of the problem. If you already are using one in the CyborgZombies.rte make sure that mod's index.ini has the include for the activities after everything else.


Fri Dec 17, 2010 6:31 pm
Profile
User avatar

Joined: Mon Aug 06, 2007 2:08 am
Posts: 32
Reply with quote
Post Re: Editing SkirmishActivities.ini, crashing all the time
I'm trying to load a custom Skirmish Activities.ini I placed in the CyborgZombies.rte folder. I have it so the index.ini from Missions.rte is pointed to that one instead of the one in it's own folder. Should I remove the reference to it from Missions.rte's index.ini, and put that reference in CyborgZombies.rte's index.ini instead? The reason I ask that specifically is a lot of the mods I use have their own Activities.ini files, which the game does not seem to use at all; I infer that the game ignores other Activities.ini and Skirmish Activities.ini files once it already has one loaded.


Fri Dec 17, 2010 7:15 pm
Profile
User avatar

Joined: Thu May 28, 2009 3:59 pm
Posts: 209
Reply with quote
Post Re: Editing SkirmishActivities.ini, crashing all the time
I am not sure about the load order of the default .rtes, but all extra rte modules load in alphabetical order. Each Activities.ini that loads overwrites the previous one, causing the last one to load to be what you end up fighting against. A good way of dealing with this is creating a module called zzSkirmish.rte that will load last and contains the activities you want to play with. This has the added benefit of loading after all other modules so as to avoid the sort of error you are getting with the activities trying to call things not yet defined.
Though the best method is probably just to use Cortex Command Mod Manager / Activities Manager


Last edited by Asatruer on Fri Dec 17, 2010 8:55 pm, edited 2 times in total.



Fri Dec 17, 2010 8:52 pm
Profile
User avatar

Joined: Mon Aug 06, 2007 2:08 am
Posts: 32
Reply with quote
Post Re: Editing SkirmishActivities.ini, crashing all the time
That worked, thanks :)
The mod manager doesn't seem to, though; although I tend to prefer to do things manually.


Fri Dec 17, 2010 10:27 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.029s | 15 Queries | GZIP : Off ]