Nothing Works
by Robert Stewart · in RTS Starter Kit · 03/02/2005 (2:28 pm) · 16 replies
Nothing has any datablocks loaded, When im in mission editor I can never put precipitation, lightning, particles or anything like that. I click to put in and try to set it up, but there is no Datablocks to select.
About the author
#2
03/30/2005 (10:02 am)
I realize this is not normal since others have fixed it with small changes. My problem is different. Anyone know whats going on?
#3
This is a good practice in any case--when you are modifying any large software application, you should constantly test and re-test old functionality to see what you may have accidentally broken. If it is months before you figure out that something got busted a while back, it can be almost impossible to figure out why--but if you test at major change points, you can more easily figure out what you may have done wrong in a much quicker timeframe.
03/30/2005 (10:09 am)
There really isn't much we can do to try to fix it since we have no idea of what types of changes, etc. you have made. You'll need to basically grab a fresh install of the RTS-SK, and start applying your changes one by one, checking to see what you may have impacted, and try to narrow down where your problem lies.This is a good practice in any case--when you are modifying any large software application, you should constantly test and re-test old functionality to see what you may have accidentally broken. If it is months before you figure out that something got busted a while back, it can be almost impossible to figure out why--but if you test at major change points, you can more easily figure out what you may have done wrong in a much quicker timeframe.
#4
03/30/2005 (10:13 am)
Sorry i forgot to mention this is the same on the last two fresh builds and any modified versions.
#5
04/10/2005 (1:48 pm)
So what problem could this be if it happens on any build I install? Video card? ill try it on another computer tonight.
#6
--What operating system are you working on
--are you using the demo executable, or rebuilding your own
--exactly what are you trying to do, and what steps are you doing to attempt it?
--have you tried the changes that others have mentioned? certain things still have a few minor bugs that have been covered many times in the forums here.
--what does your console.log say--any "red" errors that look wrong?
--does the normal game play of the RTS kit work at all, and only the editor things you are trying do not?
04/10/2005 (2:25 pm)
We just don't have enough information to help you at this point. --What operating system are you working on
--are you using the demo executable, or rebuilding your own
--exactly what are you trying to do, and what steps are you doing to attempt it?
--have you tried the changes that others have mentioned? certain things still have a few minor bugs that have been covered many times in the forums here.
--what does your console.log say--any "red" errors that look wrong?
--does the normal game play of the RTS kit work at all, and only the editor things you are trying do not?
#7
using the demo and my changed version.
im doing this F11->World Creater->Mission Objects->enviroment->Particles or Percipitation or lightning. Now it pops up with a dialog like this
Name: Text field
Datablock: Drop down menu->Empty
I have tried all the changes I could find.
Here is a snipet of my console all the errors and warnings with the exception of duplicates.
04/10/2005 (2:50 pm)
WinXP32.using the demo and my changed version.
im doing this F11->World Creater->Mission Objects->enviroment->Particles or Percipitation or lightning. Now it pops up with a dialog like this
Name: Text field
Datablock: Drop down menu->Empty
I have tried all the changes I could find.
Here is a snipet of my console all the errors and warnings with the exception of duplicates.
Could not locate texture: starter.RTS/data/shapes/player/base.lmale Error: cannot change namespace parent linkage for ChatHud from GuiMessageVectorCtrl to GuiControl. Object 'AudioButtonOver' is not a member of the 'AudioProfile' data block class Warning: (c:\game\engine\game\player.cc @ 291) PlayerData::preload - Unable to find named animation sequence 'root'! ParticleEmitterData(CrossbowBoltEmitter) velocityVariance > ejectionVelocity Error: shape starter.RTS/data/shapes/crossbow/ammo.dts-collision detail 0 (Collision-3) bounds box invalid! Unable to locate audio profile 'AudioStartup' ParticleEmitterData(CrossbowBoltEmitter) velocityVariance > ejectionVelocity Error: shape starter.RTS/data/shapes/crossbow/ammo.dts-collision detail 0 (Collision-3) bounds box invalid!Normal game play is great, and all other editor things seem to work.
#8
04/10/2005 (2:58 pm)
These bugs have been covered already in other forums posts. Have you made those modifications?
#9
04/10/2005 (3:00 pm)
Yes. I have added mNetFlags.set(ScopeAlways); mNetFlags.set(Ghostable);to precipitation.cc Precipitation::Precipitation(). and
ParticleEmitterNode::ParticleEmitterNode()
{
// Todo: ScopeAlways?
mNetFlags.set(ScopeAlways); in particleemitter.cc. That is what you are talking about right?
#10
04/10/2005 (5:16 pm)
Ok here is more info, when I try to add the precipitation with the name 2, now it acually creates a newobject.cs or rewrites it with that object, this is what it says ObjectBuilderGui.newObject = new Precipitation(2) {
nameTag = "2";
dataBlock = "";
};These are the errors I get in the console. Compiling editor/newObject.cs... Loading compiled script editor/newObject.cs. editor/newObject.cs (0): Register object failed for object 2 of class Precipitation.
#11
Hopefully someone that has will be able to answer your question a little bit better!
04/10/2005 (5:34 pm)
I personally haven't messed with the mission editor -at all- for this type of thing (we don't use it), so I can't really help any more than I've tried, sorry :(Hopefully someone that has will be able to answer your question a little bit better!
#12
04/11/2005 (5:13 am)
Ok well how would you add Percipitation into your world? through the mission files? it dosent work there for me either. Ill post the console when I load a mission with percipitation on.
#13
04/11/2005 (4:22 pm)
Try a name other then 2, as I don't believe Torque accepts numbers as the first charater (or as the whole name for that matter).
#14
04/11/2005 (4:59 pm)
Same thing with all ABC's
#15
In any case, I then added an exec for it in server/scripts/core/game.cs (line 31):
exec("~/server/scripts/fx/environment.cs");
Which makes the datablocks available to the world creator.
What's odd is, if you open tree() immediately upon launching RTS, HeavyRain will be in the DataBlockGroup, but once the mission is loaded it will no longer be in the group. Perhaps it's not available since the server doesn't actually load the file? It may be just a housecleaning issue of the file being loaded in the wronge place.
04/12/2005 (8:02 pm)
This is a bit odd. I dug up a clean copy of the RTS SK to look into this one. Early in the file load process, starter.RTS/server/scripts/fx/environment.cs is compiled and executed. Upon entering the editor however, it does not list the available datablocks (in this case only HeavyRain). Nor does it appear to be in the DataBlockGroup. After exec'ing the file from the console, the dataBlock shows up in the list, and creates fine. (though this exe was unmodified so i had to manually scope the rain to see it).In any case, I then added an exec for it in server/scripts/core/game.cs (line 31):
exec("~/server/scripts/fx/environment.cs");
Which makes the datablocks available to the world creator.
What's odd is, if you open tree() immediately upon launching RTS, HeavyRain will be in the DataBlockGroup, but once the mission is loaded it will no longer be in the group. Perhaps it's not available since the server doesn't actually load the file? It may be just a housecleaning issue of the file being loaded in the wronge place.
#16
04/13/2005 (6:18 am)
Wierd.. thanks for looking in to this.
Torque Owner Thomas Glennow
www.garagegames.com/mg/forums/result.thread.php?qt=23169