View unanswered posts | View active topics It is currently Sun Dec 29, 2024 6:53 am



Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
 Help! - Scene Editor 
Author Message

Joined: Sun Apr 24, 2011 12:19 am
Posts: 18
Reply with quote
Post Help! - Scene Editor
Hello,

I've recently gotten back into CC after several months of going off it; before I stopped playing, I had been getting into making my own scenes using the scene editor. Unfortunately, I ran into a snag; I couldn't figure out how to add mod content into the base file so that I could make use of it in the scene editor.

Returning months later, I've found myself toying around with the editor again; only to run into the same snag, and still not know how to fix it.

I originally posted in this thread: viewtopic.php?f=4&t=17544

Unfortunately, I never ended up getting a response to my question on the last page regarding the steps in the FAQ not working as suggested.

Could someone PLEASE tell me how to get mods to work in the scene editor without referring me to the same dead thread posted above? None of the steps have worked, despite multiple attempts.


Wed Nov 30, 2011 1:38 pm
Profile
User avatar

Joined: Mon Oct 25, 2010 5:51 am
Posts: 1198
Location: Sydney
Reply with quote
Post Re: Help! - Scene Editor
In that past thread, you said that only some of them shower up in the editor. So that means that the game actually loaded? If you're using Wehrmacht, I have a few references to Dummy and Coalition devices, which are loaded after Wehrmacht if it's in the base index. Shouldn't it be throwing errors everywhere?

Anyway, sorry i can't offer any solutions. If you're desperate, you can get the coordinates you need and manually insert units by replacing names in the scenes .ini. Or you could try spawning the actors via the scene's activity script.


Wed Nov 30, 2011 10:28 pm
Profile

Joined: Sun Apr 24, 2011 12:19 am
Posts: 18
Reply with quote
Post Re: Help! - Scene Editor
Since that old thread, I've reinstalled CC and have presently -no- mods in the base.rte directory. I've recently been trying to get MDC to work so that it can be used to build my own scenes in the scene editor, but whenever I try the intructions mentioned in the old thread, I just get errors thrown at me during start up... Most of which seem to revolve around certain parts of the mod not loading properly. The MDC dropship, for instance, vomits up something about it being unable to do something with 'Null Rocket Leg'. One or two other mods I've tried using in this way have thrown the same errors. After deleting parts of the mod that aren't loading, it eventually seems to strip the mod bare of any useful content.

Is there a reliable way to be able to go about making mods work in the scene editor? I seriously come to wonder how anyone can get any custom material to work in their scenes with how infuriatingly the game reacts to modification on this level.


Last edited by 12GaugeHysterectomy on Wed Nov 30, 2011 11:05 pm, edited 1 time in total.



Wed Nov 30, 2011 10:58 pm
Profile

Joined: Sun Apr 24, 2011 12:19 am
Posts: 18
Reply with quote
Post Re: Help! - Scene Editor
Have just tried adding Wehrmacht.rte to the base file as instructed by the old thread. Am getting this error when I try to load the game:

Abortion in file .\System\Reader.cpp, line 534, because:

Referring to an instance ('Ronin Gib P') to copy from that hasn't been defined in Wehrmacht.rte/Devices/Weapons/Machine Guns.ini at line 1430!

What confuses me is the fact that the mod works absolutely fine in the normal game. But as soon as I try to get it working with the scene editor, I get this rubbish.


Wed Nov 30, 2011 11:03 pm
Profile
User avatar

Joined: Sat Sep 03, 2011 1:13 am
Posts: 87
Location: Arizona
Reply with quote
Post Re: Help! - Scene Editor
It seems like you have an inconsistency in a .ini

Go over the .ini

Look for any missing letters, brackets, etc.


Wed Nov 30, 2011 11:12 pm
Profile

Joined: Sun Apr 24, 2011 12:19 am
Posts: 18
Reply with quote
Post Re: Help! - Scene Editor
These look alright to me.

Base.rte/Index.ini:

DataModule
ModuleName = Base Set
IncludeFile = Base.rte/Materials.ini
IncludeFile = Base.rte/Icons.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 = Base.rte/Wehrmacht/Index.ini

Base.rte/Wehrmacht/Index.ini:

IncludeFile = Wehrmacht.rte/Effects.ini
IncludeFile = Wehrmacht.rte/Devices.ini
IncludeFile = Wehrmacht.rte/Actors.ini
IncludeFile = Wehrmacht.rte/Scenes/Modules/Modules.ini
//IncludeFile = Wehrmacht.rte/Scenes.ini

Section from Base.rte/Wehrmacht/Index.ini (Lines 1421 - 1438):

AddGib = Gib
GibParticle = MOSRotating
CopyOf = Gib Device Small H
Count = 1
Spread = 2.25
MaxVelocity = 10
MinVelocity = 1
AddGib = Gib
GibParticle = MOSRotating
CopyOf = Ronin Gib P
Count = 1
Spread = 2.25
MaxVelocity = 10
MinVelocity = 1
Offset = Vector
X = 7
Y = -1
GibWoundLimit = 8


Thu Dec 01, 2011 12:40 am
Profile
User avatar

Joined: Sat Sep 03, 2011 1:13 am
Posts: 87
Location: Arizona
Reply with quote
Post Re: Help! - Scene Editor
Quote:
Abortion in file .\System\Reader.cpp, line 534, because:

Referring to an instance ('Ronin Gib P') to copy from that hasn't been defined in Wehrmacht.rte/Devices/Weapons/Machine Guns.ini at line 1430!


Did you look IN that .ini? You may just need to set a different file path to the sprite it's asking for.


Thu Dec 01, 2011 12:44 am
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post Re: Help! - Scene Editor
You're barking up the wrong tree, man.

The thing is, you're loading things in the wrong order. The Ronin gibs are defined in Ronin.rte, which is always loaded after Base.rte. Normally this isn't a problem since Wehrmacht.rte comes after Ronin.rte, but since you changed the Base index.ini, CC is loading the Base.rte and the contents of the Wehrmacht.rte before the Ronin.rte.

What you want to do is include the Ronin.rte stuff as well, before the Wehrmacht stuff. Only other way to 'fix' it is for Kettenkrad to make a Wehrmacht with no Ronin dependency.


Thu Dec 01, 2011 12:45 am
Profile YIM
User avatar

Joined: Sat Sep 03, 2011 1:13 am
Posts: 87
Location: Arizona
Reply with quote
Post Re: Help! - Scene Editor
Arcalane wrote:
You're barking up the wrong tree, man.

The thing is, you're loading things in the wrong order. The Ronin gibs are defined in Ronin.rte, which is always loaded after Base.rte. Normally this isn't a problem since Wehrmacht.rte comes after Ronin.rte, but since you changed the Base index.ini, CC is loading the Base.rte and the contents of the Wehrmacht.rte before the Ronin.rte.

What you want to do is include the Ronin.rte stuff as well, before the Wehrmacht stuff. Only other way to 'fix' it is for Kettenkrad to make a Wehrmacht with no Ronin dependency.



Or that...


Thu Dec 01, 2011 12:47 am
Profile

Joined: Sun Apr 24, 2011 12:19 am
Posts: 18
Reply with quote
Post Re: Help! - Scene Editor
Alright, so now I've put my Ronin.rte into the Base.rte, renamed Ronin.rte to Ronin, and applied all the necessary .ini changes to include it before the Wehrmacht/Index.ini.

Now I'm getting this error:

Abortion in file .\System\Reader.cpp, line 534, because:

Referring to an instance ('Coalition Breaker Grenade Smoke') to copy from that hasn't been defined in Ronin.rte/Devices/Weapons/GrenadeLaunchers.ini at line 195!


Thu Dec 01, 2011 1:23 am
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post Re: Help! - Scene Editor
Because the Ronin have a dependency on Coalition.rte. Think, man! Think! We just solved an essentially identical problem!


Thu Dec 01, 2011 1:29 am
Profile YIM

Joined: Sun Apr 24, 2011 12:19 am
Posts: 18
Reply with quote
Post Re: Help! - Scene Editor
I've already tried putting Coalition in there too. No dice. Same error even though Coalition has been included in the base.


Thu Dec 01, 2011 1:45 am
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post Re: Help! - Scene Editor
Good man. Anyway, that AEmitter (Coalition Breaker Grenade Smoke) is the first thing defined in Coalition.rte/Devices/Weapons/GrenadeLaunchers.ini, so my only suggestion is doublecheck which files are included.


Thu Dec 01, 2011 1:50 am
Profile YIM

Joined: Sun Apr 24, 2011 12:19 am
Posts: 18
Reply with quote
Post Re: Help! - Scene Editor
Am wondering why the scene editor isn't simply given the option to pick up mod content; rather than spending hours jumping through hoops trying to figure out why everything isn't working - even though it does work normally outside of the base.rte.


Thu Dec 01, 2011 1:55 am
Profile

Joined: Sun Apr 24, 2011 12:19 am
Posts: 18
Reply with quote
Post Re: Help! - Scene Editor
Anyway...

Here is the coalition include in my Base.rte/Index.ini:

IncludeFile = Base.rte/Coalition/Index.ini

Here is the Coalition/Index.ini:

IncludeFile = Coalition.rte/Effects/Effects.ini
IncludeFile = Coalition.rte/Devices/Devices.ini
IncludeFile = Coalition.rte/Actors/Actors.ini

Here is the Coalition/Devices/Devices.ini:

AddEffect = MOPixel
PresetName = Coalition Null Bullet
Mass = 0.01
LifeTime = 10
Sharpness = 0
HitsMOs = 0
GetsHitByMOs = 0
Color = Color
R = 255
G = 0
B = 255
Atom = Atom
Material = Material
CopyOf = Air
TrailColor = Color
R = 255
G = 0
B = 255
TrailLength = 0

///////
//Tools

IncludeFile = Coalition.rte/Devices/Tools/ConcreteSprayer.ini
IncludeFile = Coalition.rte/Devices/Tools/PulseDigger.ini
IncludeFile = Coalition.rte/Devices/Tools/Disarmer.ini

////////////
//Explosives

IncludeFile = Coalition.rte/Devices/Explosives/Grenades.ini
IncludeFile = Coalition.rte/Devices/Explosives/SetExplosives.ini
IncludeFile = Coalition.rte/Devices/Explosives/Mines.ini
IncludeFile = Coalition.rte/Devices/Explosives/Bombs.ini

/////////
//Weapons

IncludeFile = Coalition.rte/Devices/Weapons/Pistols.ini
IncludeFile = Coalition.rte/Devices/Weapons/Machineguns.ini
IncludeFile = Coalition.rte/Devices/Weapons/Shotguns.ini
IncludeFile = Coalition.rte/Devices/Weapons/GrenadeLaunchers.ini
IncludeFile = Coalition.rte/Devices/Weapons/GatlingGun.ini
IncludeFile = Coalition.rte/Devices/Weapons/Snipers.ini
IncludeFile = Coalition.rte/Devices/Weapons/Flamers.ini
IncludeFile = Coalition.rte/Devices/Weapons/AutoCannon.ini
IncludeFile = Coalition.rte/Devices/Weapons/RevolverCannon.ini
IncludeFile = Coalition.rte/Devices/Weapons/FlakCannon.ini
IncludeFile = Coalition.rte/Devices/Weapons/RPG.ini
IncludeFile = Coalition.rte/Devices/Weapons/UberCannon.ini

Still not working :\


Thu Dec 01, 2011 1:58 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: Google [Bot]


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.039s | 16 Queries | GZIP : Off ]