Data Realms Fan Forums http://45.55.195.193/ |
|
Need help on making Nanolyzer-like tool http://45.55.195.193/viewtopic.php?f=1&t=45842 |
Page 1 of 1 |
Author: | Icehamma [ Sun Nov 02, 2014 4:30 am ] |
Post subject: | Need help on making Nanolyzer-like tool |
I was tring to make a Nanolyzer-like tool that makes concretes instead of goo, but I always end up getting this message: Code: Could not match property Error happened in Techion.rte/Devices/Tools/Nanolyzer2.ini at line 14! And here's the INI file And oh yeah, some lua script I slightly modified from the original Nanolyzer just to make sure that everything's correct And the Devices.ini (I put my modded nanolyzer on the bottom of the original one) I thought that I've done everything correctly but no... Can anyone help me? |
Author: | Corpsey [ Mon Nov 03, 2014 2:22 pm ] |
Post subject: | Re: Need help on making Nanolyzer-like tool |
If you create a COMPLETELY PERFECT copy of the nanolyzer, and give it new variables and new pointers to all new files, it doesn't work as effectively as the nanolyzer. Can anyone explain THAT? @_@ To answer your question though, usually an error like that is from the program trying to collect data that doesn't fit with what it is attempting to collect. Although, we can see here that that's not the case. After some testing, I think it comes down to the indentation. Make sure you are using the same spacing throughout the document (in this case, I think only TAB spacing works... it's not that difficult to switch from spacebar spacing to TAB spacing - just run a replace function on ' ' (3 spaces) for ' ' (a TAB, which you'll have to copy and paste into the replacement box). In fact, I've had CC run from inputting your code. It still doesn't explain why a carbon copy of the nanolyzer doesn't work @_@ so, good luck. Edit: I've found that the 'copy' wasn't working because of this line; SceneMan:CastStrengthRay(self.MuzzlePos, Vector(aimVec.X, aimVec.Y):RadRotate(i), 1, hitPos, 0, 166, true) which you can read about how to use here: viewtopic.php?f=73&t=30651&hilit=CastStrengthRay Basically, the nanolyzer uses this line to penetrate into terrain by searching for values and ignoring itself. So, to have it 'dig', you have to change '166' to the value of the material you're converting the terrain to based on it's material property (found in Base.rte/Materials.ini). For example, Wet Concrete is 164. Although, I think another function is that it actually pushes out air (The Tracers) to break the goo material it is replacing the terrain with... So most materials structural integrity is too great to dust away like the nanolyzer goo. |
Author: | Icehamma [ Tue Nov 04, 2014 11:04 pm ] |
Post subject: | Re: Need help on making Nanolyzer-like tool |
OK I'll see if it works... Anyways if it doesn't rly work properly then I'll post more. EDIT: DAMN! It can't shoot through the terrain! It's just hit the outer parts of a terrain but will NEVER hit the inner parts! I'm pretty much screwed.... |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |