Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 21-03-2003, 03:33 AM   #1
Kozmonut
Registered User
 
Kozmonut's Avatar
 
Join Date: Nov 2002
Location: Hotlanta
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mel scripts

how do you import mel scripts and use them...? specifically the gijoe script. appreciate anyone's help.
__________________
-Kozmo
Kozmonut is offline   Reply With Quote
Old 21-03-2003, 07:48 AM   #2
Ultragames
Registered User
 
Ultragames's Avatar
 
Join Date: Jan 2003
Posts: 1,113
Thanks: 0
Thanked 0 Times in 0 Posts
Default

General Editors > Script Editors. Source Script.

Find your GI_Joe srcipt file.

On line 57 of the GI_Joe script, (Open in notepad) change the address to the folder address of the script.

The GI_Joe box should apear when you type GI_Joe in the comand line.
__________________
Armitrex Studios
Now open!!

Last edited by Ultragames : 21-03-2003 at 07:53 AM.
Ultragames is offline   Reply With Quote
Old 21-03-2003, 07:55 AM   #3
Ultragames
Registered User
 
Ultragames's Avatar
 
Join Date: Jan 2003
Posts: 1,113
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My GI_Joe post.
__________________
Armitrex Studios
Now open!!
Ultragames is offline   Reply With Quote
Old 21-03-2003, 10:06 PM   #4
Kozmonut
Registered User
 
Kozmonut's Avatar
 
Join Date: Nov 2002
Location: Hotlanta
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, when changing the directory in the gi_joe script...should there be line numbers or do i need to count down to line 57...cuz i simply cant find where i need to replace the directory name...plz help.
__________________
-Kozmo
Kozmonut is offline   Reply With Quote
Old 21-03-2003, 10:08 PM   #5
Kozmonut
Registered User
 
Kozmonut's Avatar
 
Join Date: Nov 2002
Location: Hotlanta
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, i just learned sumthing...notepad actually goes to a certain line....jeez...i feel stupid
__________________
-Kozmo
Kozmonut is offline   Reply With Quote
Old 21-03-2003, 10:25 PM   #6
Kozmonut
Registered User
 
Kozmonut's Avatar
 
Join Date: Nov 2002
Location: Hotlanta
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default arrrrrrrrrrrrrrggggggggggggggg

ok, i seemed to hav followed all the instructions correctly, but uh, when i try to use the script, i get an error message saying it can't be found in my directory where i put it, and i did type it in with "/" slashes....yeh talk about extreme newbieness...
__________________
-Kozmo
Kozmonut is offline   Reply With Quote
Old 21-03-2003, 11:48 PM   #7
Ultragames
Registered User
 
Ultragames's Avatar
 
Join Date: Jan 2003
Posts: 1,113
Thanks: 0
Thanked 0 Times in 0 Posts
Default

use \ slashes bud. / is for the internet. \ is for files.

You want to actualy open the .lights, not the .mel
It should read:

string $pathL = "C:\\Documents and Settings\\YOUR-LOG-IN\\My Documents\\maya\\scripts\\GIJoe.lights";
__________________
Armitrex Studios
Now open!!
Ultragames is offline   Reply With Quote
Old 22-03-2003, 01:41 AM   #8
Kozmonut
Registered User
 
Kozmonut's Avatar
 
Join Date: Nov 2002
Location: Hotlanta
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i got it, thanx, i read sumthin wrong on another post where i thought it sed to use /..... then i read further to use \\ and it worked fine. thanx.
__________________
-Kozmo
Kozmonut is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
MEL headache! happymat27 Members Lounge 5 05-12-2010 09:43 AM
MEL headache!! happymat27 Mel Scripts & Programming 1 03-12-2010 04:41 PM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.