How to add elements to a layer ?
All  1-14  15-18

Previous
Next
 From:  bemfarmer
8733.15 In reply to 8733.14 
I've figured out two of my mistakes, which are based upon the fact that for AssignName.js and AssignPresetName.js, their respective ....Dialog.htm do not use the same name as the .js script. Using customui also influenced the problem.

1. When writing scripts, I developed the bad habit of renaming two scripts at once, for example: somexscript.js and some_script.htm, renamed to say _somexscript.js and _somexscript.htm, or somexscriptSAVE.js and somexscriptSAVE.htm, which works fine when both the .js and .htm have the same name.
In the case of AssignName and AssignPresetName, the respective ....Dialog.htm file has a different name, so there is a 50% or so chance of naming the AssignNameDialog.htm file to say _AssignNamesDialog.js which is wrong, and causes problems when present.

2. The second error is that when using AssignName.js, the AssignNameDialog CANNOT be named _AssignNameDialog.
( the PresetNames.txt file also cannot have an underline prefix.)

- Brian

My 3rd error was not copying PresetNames.txt to the MoI4Beta.

I think that I have been using the preview area of Windows (file) Explorer incorrectly as well...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8733.16 In reply to 8733.15 
Hi Brian, I'm glad you got it working now! Yes, renaming them might lead to mix-ups. I think Burr does have a .zip file collection of a whole bunch of scripts somewhere, let me see if I can find it. Ok I think this is it: http://moi3d.com/forum/index.php?webtag=MOI&msg=7841.6

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Rudl
8733.17 
I would like to have the possibility of layers and sublayers and so on, to organize big objects.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
8733.18 In reply to 8733.17 
Hi Rudl, I'm thinking that there could be "folders" for that, hopefully to use in the Objects section of the Scene Browser as well.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-14  15-18