Disabling nanospray entirely?

Disabling nanospray entirely?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Sillybeans
Posts: 1
Joined: 15 Nov 2007, 16:39

Disabling nanospray entirely?

Post by Sillybeans »

Is it possible to disable nanospray entirely? I'm running TA Spring through CrossOver Pro for OS X. The game runs flawlessly up until nanospray is rendered. Setting the particle effects down to their minimum does nothing for performance. I need a way to disable them utterly and completely. Is there a configuration/INI file available :?: :?: :?:
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Nope, only the mod can disable the nanospray.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Post by TradeMark »

i want to disable it with a button pls code it.
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Disabling nanospray entirely?

Post by BlueTemplar »

Where in the mod files should I look, to disable it, or at least to greatly decrease the number of "blobs" in it?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Disabling nanospray entirely?

Post by Forboding Angel »

BlueTemplar wrote:Where in the mod files should I look, to disable it, or at least to greatly decrease the number of "blobs" in it?
That is actually entirely impossible(atm), due to the fact that the number of blobs is a direct result of how many resources are being poured into a construction project.
User avatar
quantum
Posts: 590
Joined: 19 Sep 2006, 22:48

Re: Disabling nanospray entirely?

Post by quantum »

To disable nanospray, create a file named unitdefs_post.lua in the gamedata folder and write this in it:

Code: Select all

for name, ud in pairs(UnitDefs) do
  ud.shownanospray = false
end
You can open mod archives with 7zip.
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Disabling nanospray entirely?

Post by BlueTemplar »

thank you
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Disabling nanospray entirely?

Post by BlueTemplar »

Sadly, I can't seem to be able to open .sdz and .sd7 files with any 7zip archiver there is for mac... Or I'm doing something wrong? I don't have much experience with macs...
User avatar
quantum
Posts: 590
Joined: 19 Sep 2006, 22:48

Re: Disabling nanospray entirely?

Post by quantum »

Try renaming sdz files to .zip and sd7 files to .7z before opening them, then back to their original extension before playing.
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Disabling nanospray entirely?

Post by BlueTemplar »

I get a "operation forbidden" or "archive corrupt" error. I use the CA file from springplayersclub.
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Re: Disabling nanospray entirely?

Post by yuritch »

Keep in mind that modified mod archives will probably prevent you from playing online (as the games won't sync).
User avatar
jackoverfull
Posts: 62
Joined: 10 Feb 2008, 16:32

Re: Disabling nanospray entirely?

Post by jackoverfull »

Ez 7z extracts the 7zip files fine, the sd7 extension isn't a problem.

For sdz you can use the standard Archive Utility.app, in /System/Library/CoreServices.
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Disabling nanospray entirely?

Post by BlueTemplar »

I can now open the archives, but when I recompress them and try to start the game, I get an error: "missing default cursor".
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Disabling nanospray entirely?

Post by Pxtl »

Forboding Angel wrote:
BlueTemplar wrote:Where in the mod files should I look, to disable it, or at least to greatly decrease the number of "blobs" in it?
That is actually entirely impossible(atm), due to the fact that the number of blobs is a direct result of how many resources are being poured into a construction project.
Obviously a little too OTA-centric, but a "nanospray-density" configuration variable would be nice, that would be a multiplier for the number of particles.
User avatar
jackoverfull
Posts: 62
Joined: 10 Feb 2008, 16:32

Re: Disabling nanospray entirely?

Post by jackoverfull »

BlueTemplar wrote:I can now open the archives, but when I recompress them and try to start the game, I get an error: "missing default cursor".
what procuedure did you use to recompress everything?

i jest tried and it worked, and also it is possible that i found something interesting├óÔé¼┬ª need to do a couple of tests. :wink:
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Disabling nanospray entirely?

Post by BlueTemplar »

I dragged the uncompressed BA folder on EZ 7z, chose compress (lvl2), then GO! and placed the resulting .sd7 file in the mod folder.
User avatar
jackoverfull
Posts: 62
Joined: 10 Feb 2008, 16:32

Re: Disabling nanospray entirely?

Post by jackoverfull »

well, just tried. it didn't crash, but it seems to take an eternity to load. :? i force-quitted for now├óÔé¼┬ª

using .sdz works?
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Disabling nanospray entirely?

Post by BlueTemplar »

same problem...
User avatar
jackoverfull
Posts: 62
Joined: 10 Feb 2008, 16:32

Re: Disabling nanospray entirely?

Post by jackoverfull »

are you compressing the sum of the files or the folder that contain them?
User avatar
BlueTemplar
Posts: 314
Joined: 28 Oct 2007, 22:37

Re: Disabling nanospray entirely?

Post by BlueTemplar »

The folder, and that was the problem!

But now, i have another issue - the new .lua file didn't seem to have any effect... are you sure it should be placed in the folder gamedata? There are only .tdf files in this folder...
Post Reply

Return to “Help & Bugs”