View unanswered posts | View active topics It is currently Thu Mar 28, 2024 6:47 pm



Reply to topic  [ 9 posts ] 
 Help please. 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jul 03, 2009 11:05 am
Posts: 3878
Reply with quote
Post Help please.
So, i don't know how to get mods to Scene Editor. I tried searching but didn't found any topics. Somebody help? And how to make it a normal skirmish map so that you can buy things before it starts?


Sun Aug 23, 2009 10:58 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Help please.
you have to create a new scene in the module containing the mods.
to make it so you can buy stuff beforehand just dont place a brain anywhere.


Sun Aug 23, 2009 11:19 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jul 03, 2009 11:05 am
Posts: 3878
Reply with quote
Post Re: Help please.
Geti wrote:
you have to create a new scene in the module containing the mods.
to make it so you can buy stuff beforehand just dont place a brain anywhere.

But if i want multiple mods? That is the original problem.
And what if i want to place the brain already?


Sun Aug 23, 2009 11:41 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Help please.
you'll have to make a module referencing all your mods, which is complex.
Natti wrote:
And what if i want to place the brain already?
you cant. the game starts if a brain is placed.


Sun Aug 23, 2009 11:47 am
Profile WWW
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: Help please.
I think what you mean, is being able to add everything (mods included) into a savable scene, no?

Right now, the Scene editor only loads things that are found in Base.rte. So everything you can place before you hit "Test Scene" (with no brain placed) will ONLY be from Base.rte. No Coalition, No Dummies, No Ronin, No Undead, and definitely no mod content.

As of this build, all of the external factions are loaded in separate RTE folders, and for all intents and purposes act more similar to "Mod Content" than "Vanilla Content", as they are what I call "Un-integrated".

In previous builds, all of the factions were lumped into Base.rte, which allowed you to place all vanilla content in the scene editor. This is when everything was "Integrated".

You basically want your mod content "Integrated", and doing so in the current build requires editing your Base.rte files, which 1) I don't recommend without backing up first, and 2) I don't recommend to starting players.

However, if you feel so inclined:
Open Base.rte\Index.ini
It should look like this:
Code:
DataModule
   ModuleName = Base Set
   IncludeFile = Base.rte/Materials.ini
   IncludeFile = Base.rte/Sounds.ini
   IncludeFile = Base.rte/Effects.ini
   IncludeFile = Base.rte/Ammo.ini
   IncludeFile = Base.rte/Devices.ini
   IncludeFile = Base.rte/Actors.ini
   IncludeFile = Base.rte/Scenes.ini
   IncludeFile = Base.rte/Activities.ini


Now, for this example we're going to "Integrate" Coalition.rte into Base.rte so we can use it in Scene Edit mode.
Add this line to Base.rte\Index.ini:
Quote:
DataModule
ModuleName = Base Set
IncludeFile = Base.rte/Materials.ini
IncludeFile = Base.rte/Sounds.ini
IncludeFile = Base.rte/Effects.ini
IncludeFile = Base.rte/Ammo.ini
IncludeFile = Base.rte/Devices.ini
IncludeFile = Base.rte/Actors.ini
IncludeFile = Base.rte/Scenes.ini
IncludeFile = Base.rte/Activities.ini
///////////////////////////////////////////////

Anytime you place "//" in an .ini file, it is called "commented out" and basically to the game, does not exist. Anything after the "//" on the same line will be completely ignored by the game. I'm having you add this line to distinguish what was originally part of base.rte (Above this line) from what we're adding (below this line).

The next step is to open Coalition.rte\Index.ini
It should look like this:
Quote:
DataModule
ModuleName = Coalition Faction
IconFile = ContentFile
Path = Coalition.rte/ModuleIcon.bmp
IncludeFile = Coalition.rte/Effects/Effects.ini
IncludeFile = Coalition.rte/Devices/Index.ini
IncludeFile = Coalition.rte/Actors/Actors.ini


The first thing we need to do, is to copy all of the "IncludeFile = X" lines into Base.rte\Index.ini. So copy and paste the green text above into Base.rte\Index.ini BELOW the line I had you put in there.
It should look like this when you are done:
Quote:
DataModule
ModuleName = Base Set
IncludeFile = Base.rte/Materials.ini
IncludeFile = Base.rte/Sounds.ini
IncludeFile = Base.rte/Effects.ini
IncludeFile = Base.rte/Ammo.ini
IncludeFile = Base.rte/Devices.ini
IncludeFile = Base.rte/Actors.ini
IncludeFile = Base.rte/Scenes.ini
IncludeFile = Base.rte/Activities.ini
///////////////////////////////////////////////
IncludeFile = Coalition.rte/Effects/Effects.ini
IncludeFile = Coalition.rte/Devices/Index.ini
IncludeFile = Coalition.rte/Actors/Actors.ini



The last step is to tell the game to not load Coalition as a separate RTE anymore to avoid telling the game to load all of its content twice (Once in Base.rte we just edited, and twice in Coalition.rte). To prevent this, we are going to "comment out" almost all of Coalition.rte\Index.ini.

I told you before that "//" comments out the line you place it before, but there's an easy way to do this for multiple lines of code. Simply place "/*" at the starting point of the line you want commented out, and then place "*/" at the ending point of the line you want commented out.
So Coalition.rte\Index.ini will look like this:
Quote:
DataModule
/* ModuleName = Coalition Faction
IconFile = ContentFile
Path = Coalition.rte/ModuleIcon.bmp
IncludeFile = Coalition.rte/Effects/Effects.ini
IncludeFile = Coalition.rte/Devices/Index.ini
IncludeFile = Coalition.rte/Actors/Actors.ini
*/

And that's it!
Load up your game and if done correctly, Coalition.rte will now be in your game "Integrated", and thus can be used in Scene Editing mode (allowing placement of brains, saving of scenes, and removing fund deduction from things you buy since everything in this mode is free).
Basically apply this to any other RTE you want "Integrated" and it should work just fine. The side-effects of "Integrating" your other RTEs into Base.rte are:
-Uncategorized Buy Menus (They are no longer in their own modules, just all jammed into one)
-Much harder to remove/add new RTE folders due to having to re-edit ini files.

If you have any further questions feel free to ask them here or PM me.


Last edited by LowestFormOfWit on Tue Aug 25, 2009 9:39 pm, edited 1 time in total.



Mon Aug 24, 2009 9:55 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jul 03, 2009 11:05 am
Posts: 3878
Reply with quote
Post Re: Help please.
Thanks LFOW! You are the best!*
*Not counting Data and his development team.

E: I will make only scenes this way. I will disable it when playing skirmish.


Tue Aug 25, 2009 1:27 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Help please.
just make two copies of CC. and also, if you "disable" it in skirmish, it wont load anymore.


Tue Aug 25, 2009 9:41 pm
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jul 03, 2009 11:05 am
Posts: 3878
Reply with quote
Post Re: Help please.
Geti wrote:
just make two copies of CC. and also, if you "disable" it in skirmish, it wont load anymore.

You didn't understand. I make two Indexes, and i just switch them. And i make it with the other indexes too.


Wed Aug 26, 2009 12:20 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jul 03, 2009 11:05 am
Posts: 3878
Reply with quote
Post Re: Help please.
I found out that if you make the scene for example to Zombie.rte, (Zombie Defense Remastered) it loads Coalition, Dummy and Ronin things. Why?


Wed Aug 26, 2009 1:49 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 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.047s | 15 Queries | GZIP : Off ]