Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   help installin GIJoe plugin. (https://simplymaya.com/forum/showthread.php?t=5021)

iemonslice 06-04-2003 11:15 PM

help installin GIJoe plugin.
 
I added the gijoe shelf icon and when i click it, i get the gijoe window. but when i hit create, i get this error message:// Error: File not found.: C:Program FilesAliasWavefrontMaya4.5scriptsGIJoe.lights //

But in that directory, the GIJoe.lights file is there. Please help, thanks.

tariqrf 06-04-2003 11:27 PM

common prob.. instead of using the "\" slash you should use the "/" slash.. so it would be:

C:/Program Files/AliasWavefront/Maya/4.5/scripts/GIJoe.lights

if it still does not work, use doubled forward slashes "\\"

C:\\Program Files\\AliasWavefront\\Maya\\4.5\\scripts\\GIJoe.l ights

hope it helps,
Tariq

Emo 06-04-2003 11:30 PM

Quote:

Originally posted by tariqrf
common prob.. instead of using the "\" slash you should use the "/" slash.. so it would be:

C:/Program Files/AliasWavefront/Maya/4.5/scripts/GIJoe.lights


why?? this / is only for the www and not windows... you have to use the \\ to get it working

-Emo

tariqrf 06-04-2003 11:39 PM

i use "/" and it works,, trust me,, check it out.

and btw, \ is used i think for commenting lines in a script so they are not allowed to be used as file pointing commands.. just a hint

doodle 06-04-2003 11:59 PM

I having the EXACT same problem.

Here's the thread i've been using: http://forum.simplymaya.com/showthre...&threadid=4426

KBrown explanes the double \\ thing. I tried it and it dosent work. And even if it did, you guys dont have to alter the script just to get it to work do you?

Tariqrf: When you click Go Create when happens?

alexgc 07-04-2003 12:19 AM

if u cant get it to work that way u can always source the script instead. Open the script editor...goto file>source script. When the window opens...go to where u placed the GI_Joe script, select it and click on Open...it should now work :)

tariqrf 07-04-2003 12:52 AM

you have to alter it a bit.. goto http://www.3dluvr.com/pixho/

.:Edit

copy and paste from the site:

- Installation:

- Unzip the GI_joe.zip and copy the mel and the scene file (GIJoe.lights) into your script directory.
Copy the GIJoe_icon.bmp into the 'icons' directory of the install directory of Maya (i.e.: drive:\AW\extras\icons)

- If I get better day after day with Mel, I assure you I'm still the same worm in maths, so you still have to edit (with any good text editor (UltraEdit or Textpad) the mel script and search the string 'your_script_directory_path/GIJoe.lights' (located in line 57)
Replace the existing path by your own script path (ex: d:/Maya/scripts/GIJoe.lights)

- Start a Maya session, and open the script editor, then type source GI_Joe. Press [enter]
Retype GI_Joe and press [enter] to execute the script.
You can then drag the GI_Joe into your shelf and select the GIJoe_icon as shelf icon.

tariqrf 07-04-2003 01:12 AM

after i click go create.. the GI Joe window opens and the lights are created.. thats all... and btw, you only have to alter the script for the directories.. nothing else..

and again: use "/" not "\"

iemonslice 07-04-2003 01:43 AM

Awesome, the / worked. Thanks for the help.

tariqrf 07-04-2003 01:49 AM

i told you... glad to be of some help

Emo 07-04-2003 01:50 AM

Quote:

Originally posted by tariqrf
and btw, \ is used i think for commenting lines in a script so they are not allowed to be used as file pointing commands.. just a hint
yes, you are right about that... but I think it's still only in DOS... when you are typing a commend like blahblah \y and so on

-Emo

alexgc 07-04-2003 01:56 AM

no u r right...its the same with Java too, except that its '\\'

doodle 07-04-2003 02:00 AM

tariqrf: I've done all of the installation when i first got it.

I've tried \, \\, /, //. Nothing seems to work :banghead:

alexgc: I tried the Scouce Script too and got the following message:

// Error: FOR4 //
// Error: Syntax error //

I tried everyones suggestion and none of them work... :confused:

alexgc 07-04-2003 02:06 AM

ok Z1mmnd14 tell me how u installed the script.

1.Did u make the adjustment to line 57 (or whatever it is) and only that line?

2.Did u install the script into the correct place as u made clear in the script ammendment?

3.Did u place the GI_Joe.lights file in the same directory as the GI_Joe script?

alexgc 07-04-2003 02:08 AM

btw that syntax error u have means that something in ur script doesnt make sense which leads me to believe somewhere along the line u made a mistake

Open the script in notepad and search for the word "For4"...when u find it delete the number 4...It shouldnt be there

doodle 07-04-2003 02:21 AM

1. Yep

2. Yep (C:\Documents and Settings\chris\maya\4.0\scripts\GIJoe.lights) & (C:\Documents and Settings\chris\maya\4.0\scripts\GI_Joe.mel)

3. Yep...see above.

alexgc 07-04-2003 02:22 AM

ok take a look at my last post :)

doodle 07-04-2003 02:46 AM

I got that that syntax error while trying to source the GI_Joe.lights and i cant open that file in notepad

I get nothing when i try to source the GI_Joe.mel

alexgc 07-04-2003 02:52 AM

thats strange, u shouldnt have to source the GI_Joe.lights file...

It should do it automatically...have u created a GI_Joe shelf icon??

if so source just the GI_Joe script and then click on the button

then see what happens...it should work...hmmm

Ritualistic 07-04-2003 07:36 AM

Hmm, Ive managed to get GI Joe running, but whenever I try to change anything in the Menu such as sky attributes, I just get an error:No object matches name message next to the command line.

What is causing this?

tariqrf 07-04-2003 02:26 PM

is it the .geoshader?? i haven;t figured that out yet...

and chris,,, check the spelling... it should be

source GI_Joe

or just copy and paste the above text in the command line

Ritualistic 07-04-2003 02:53 PM

NP, got it fixed :)

doodle 07-04-2003 04:33 PM

alexgc: I weird, I have everything in the right place, i already have a shelf icon. When i click on it i get the GI_Joe window. I click Go Create and all the backslashes have been removed. I've tried all the suggestion, none of them worked :confused:

Ritualistic 07-04-2003 07:30 PM

z1mmnd14, did you put the GI_Joe file in multiple locations trying to get it to work? Make sure all of them are mapped with the proper location. (In case your not sure which file in which location works)

Ultragames 07-04-2003 11:15 PM

Hey tariqrf, you do any kind of programming? Not many know about the// thing. In java we use // to coment out a line of code, or /* bla bla */ to coment out and entire setion.

doodle 07-04-2003 11:42 PM

Ritualistic: these are all the maya script folders i have on the computer. I've tried them all, but seeing as i'm at a dead end, i'll re-try them tomorrow

The .lights & .MEL files are here
C:\Documents and Settings\chris\maya\4.0\scripts

other script folders
C:\Documents and Settings\chris\maya\scripts
C:\Documents and Settings\chris\My Documents\maya\4.0\scripts
C:\Documents and Settings\chris\My Documents\maya\scripts
C:\Documents and Settings\chris\My Documents\maya\4.0\prefs\shelves

tariqrf 08-04-2003 02:17 PM

Ultragames: Yeah..i do do a bit of programming, but i left that field,, but i do have knowledge about it tho.. :)

z1mmnd14: i have 4.5, but i remember that for 4, the location is
C:\AW\Maya\4.0.. whatever, in 4.0, there is a scripts folder in it... try putting it there..

and wait.. i read that post of yours, you dont need to source the .lights file, only type the following in the command:

source GI_Joe [enter]
GI_Joe [enter]

thats it,,, hope now it works


All times are GMT. The time now is 01:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018