• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

Problem with one of CP's tree mods, starts altering all of the sudden?

Started by metasmurf, October 03, 2009, 06:25:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

metasmurf

I have a problem with one of Cp's treemods. The problem is that now when I plant trees I get some weird mixtures of small CP trees and maxis trees. This happens in the same city where I succesfully planted the correct trees before, and I haven't (as far as I know) changed anything in my plugins folder.The tree controller im using is CPT_No7_TreeController_Generic_Andreas.dat, located in Plugins\Columbus Terain Mod\. Any ideas?


Andreas

By any chance, did you switch back to the desktop by minimizing the game, pressing the Windows key or something like that? I noticed that after switching back to the game, the trees that are planted in certain elevations are completely different, as if the game was using a wrong elevation setting. I have no idea why it happens, and if you restart the game, it's working correctly again. Maybe some kind of weird bug in SC4.
Andreas

metasmurf

That might be it, since I often do that by accident. Anyway, I put the tree controller in a ZZMod folder and now it works again.

Andreas

Quote from: metasmurf on October 04, 2009, 09:19:06 AM
That might be it, since I often do that by accident.

Let me guess: because you want to press [Ctrl] and [Alt] for zoning options? What I did on my system was disabling the left Windows key with this registry hack:

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
@=""
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,5b,e0,00,00,00,00


You still have a fully functional right Windows key, which should be enough. I can't guarantee that it works in Windows Vista or 7, but it works fine in my WinXP.
Andreas

turtle

That sounds like a neat trick, Andreas. Where should one put that piece of code?

I often do excactly that, so it would be a great help to disable it.
My name is Thomas...

Andreas

You need to create a registry patch. Simply copy the code into an empty text file (created with Notepad) and save it as "disable Windows key.reg" or something like that (it's only important that you keep the *.reg extension). Then double-click said file, and Windows will ask you if you want to add the information to the registry. Click "yes", and after restarting Windows, it should be active (your left Windows key will be non-functional).
Andreas

turtle

Thanks Andreas, I will try that.

btw is there a way to undo this registry patch, if I regret it?
My name is Thomas...

Andreas

Well, you would have to start the registry editor (Start/Run... and then type regedit), find the path "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout" and delete the "Scancode Map" item again.
Andreas

turtle

Thanks for your help Andreas.
I did as you suggested, but it didn't work, so I went ahead and deleted the specified item. Now I'm not sure if this caused a new problem, as the text on web pages, in documents and so on, are now shown in either bold or italics. Do you think there could be a connection to the scancode map or should I look somewhere else?
My name is Thomas...

Andreas

No, the scancode entry shouldn't affect anything but the actual key on the keyboard.
Andreas

turtle

My name is Thomas...

SC4BOY

There are many things that are also affected by the "windows to desktop" kind of changes.. for example if I accidentally go from window to fullscreen, the "extracheats" window appears broken.. I'm sure there are other effects that simply haven't been formally verified. (sort of on topic, sort of off  ;) )