lfnetwork.com mark read register faq members calendar

Thread: Help :S (script problem)
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 11-24-2005, 10:00 AM   #1
ZuZo
Lurker
 
ZuZo's Avatar
 
Join Date: Nov 2005
Posts: 8
Unhappy Help :S (script problem)

Hey.

I'v having problem with a script i'm making. When I'm pressin compile It comes:
error:syntax error : expected string; found IDENTIFER

Line:
affect < $rotadoor1$, ¤FLUSH$ >


Does some one know what to do??
plz help


ZuZo
ZuZo is offline   you may: quote & reply,
Old 11-25-2005, 03:28 AM   #2
melord
Rookie
 
melord's Avatar
 
Join Date: Aug 2005
Posts: 90
hmm

Well I really couldn't tell you why though I fear you may not get a response soon.

You can ask your question here:

http://forums.filefront.com/forumdisplay.php?f=122

as well.


Hope you get the info you are seeking.
melord is offline   you may: quote & reply,
Old 11-27-2005, 12:10 AM   #3
StaffSaberist
DECEPTION IS FINISHED! :D
 
StaffSaberist's Avatar
 
Join Date: Oct 2005
Location: The United States of America... and damn proud of it!
Posts: 1,092
You will have an answer soon... please post the entire script. I may be able to help out.



Deception, the best SP level-set in the world, is done! Get it here!
"Query: What is it you wish, fat one?" - HK-47 at his best
I have begun modding TSL. Check it out here. and My Fanfic
StaffSaberist is offline   you may: quote & reply,
Old 11-30-2005, 04:04 PM   #4
ZuZo
Lurker
 
ZuZo's Avatar
 
Join Date: Nov 2005
Posts: 8
I didnt see the post befor now. . . :P but shpuld i upload the script file??
I'v made it with behaveED
ZuZo is offline   you may: quote & reply,
Old 11-30-2005, 07:24 PM   #5
StaffSaberist
DECEPTION IS FINISHED! :D
 
StaffSaberist's Avatar
 
Join Date: Oct 2005
Location: The United States of America... and damn proud of it!
Posts: 1,092
Well, no. Here's what you can do:

1) Highlight all of your lines in BehavEd.
2) Click 'Copy'.
3) Make another post, and make [ code ] [ /code ] tags without the spaces.
4) Press Control and V. All the code will be there. Submit the post.

It may be a good idea to preview before you post, to make sure the [ code ] tags are working. It should look like this:

Code:
Your code from BehavEd would go here.



Deception, the best SP level-set in the world, is done! Get it here!
"Query: What is it you wish, fat one?" - HK-47 at his best
I have begun modding TSL. Check it out here. and My Fanfic
StaffSaberist is offline   you may: quote & reply,
Old 12-01-2005, 09:46 AM   #6
ZuZo
Lurker
 
ZuZo's Avatar
 
Join Date: Nov 2005
Posts: 8
ok here it is
Code:
//(BHVD)
rem ( "opens swings doors" );

affect ( $rotadoor1$, $FLUSH$ )
{

	task ( "drota1" )
	{
		rotate ( < 0.000 90.000 0.000 >, 2500.000 );
	}

	do ( "drota1" );
}


affect ( $rotadoor1$, $FLUSH$ )
{
	do ( "drota1" );

	task ( "drota1" )
	{
		rotate ( $0 -90 0.000000$, 2500.000 );
	}

}

wait ( 7000.000 );

affect ( $rotadoor2$, $FLUSH$ )
{

	task ( "drota2" )
	{
		rotate ( < 0.000 90.000 0.000 >, 2500.000 );
	}

	do ( "drota2" );
}


affect ( $rotadoor1$, $FLUSH$ )
{

	task ( "drota2" )
	{
		rotate ( $0 -90 0.000000$, 2500.000 );
	}

	do ( "drota2" );
}

its a script for rotating doors
ZuZo is offline   you may: quote & reply,
Old 12-01-2005, 10:56 AM   #7
StaffSaberist
DECEPTION IS FINISHED! :D
 
StaffSaberist's Avatar
 
Join Date: Oct 2005
Location: The United States of America... and damn proud of it!
Posts: 1,092
Ah! I see a problem right away. I'm not sure how you did the affect, but the affect should look like this:
Code:
affect ( "rotadoor1", /*@AFFECT_TYPE*/ FLUSH )
I think what causes kooky problems like that is that you may have the paths set to the wrong place.

OK, my paths are like this: I have JO installed to the default location. Also, I have BehavEd set to be installed in a Tools folder in GameData. Your mileage may vary.

OK, technically, it's JA I have BehavEd set up for, but it works for JO, and I do own both. Let me modify the paths:

1. Location of scripts:

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\Base\scripts

2. Location of IBIZE.EXE:

C:\Program Files\LucasArts\Star Wars JK II \Jedi Outcast\GameData\Tools\IBIze.exe

3. Command description file:

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\Tools\behaved.bhc

4. Source Files path (IMPORTANT!!!)

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\Tools\SourceForBehavEd

This assumes that BehavEd is in GameData\Tools\BehavEd.EXE. If not, let me know. Anyway, after setting the preferences, do you get a whole crud-load of errors at the bottom? If so, the paths are not correctly set. If you set the prefs the way I do and you get any errors t the bottom, let me know where you have BehavEd installed.

Good luck; scripting's a real pain in the wazoo sometimes.



Deception, the best SP level-set in the world, is done! Get it here!
"Query: What is it you wish, fat one?" - HK-47 at his best
I have begun modding TSL. Check it out here. and My Fanfic
StaffSaberist is offline   you may: quote & reply,
Old 12-01-2005, 11:43 AM   #8
ZuZo
Lurker
 
ZuZo's Avatar
 
Join Date: Nov 2005
Posts: 8
i'm just getting $ in front of my "rotatoor1" i dont know how to get it work :S could you do it for me?? *-) plz




And where should i put this: *@AFFECT_TYPE* ??
I'm nwe in scripting



ZuZo
ZuZo is offline   you may: quote & reply,
Old 12-01-2005, 07:12 PM   #9
StaffSaberist
DECEPTION IS FINISHED! :D
 
StaffSaberist's Avatar
 
Join Date: Oct 2005
Location: The United States of America... and damn proud of it!
Posts: 1,092
What? Setting the prefs didn't work? Where do you have BehavEd installed to? Please tell me the full path. I'll see if I can help after that.

And the affect type should be on the same line. It's all part of the Affect. Notice it was affect type, then flush.



Deception, the best SP level-set in the world, is done! Get it here!
"Query: What is it you wish, fat one?" - HK-47 at his best
I have begun modding TSL. Check it out here. and My Fanfic
StaffSaberist is offline   you may: quote & reply,
Old 12-02-2005, 06:09 PM   #10
ZuZo
Lurker
 
ZuZo's Avatar
 
Join Date: Nov 2005
Posts: 8
ok, here is the path: C:\Program Files\LucasArts\GameData\Radiant-1.4\behavEd
I put it to Radiant folder, becous the tutorail said i should to that, i downloaded
the program without the rest of the tools :P



Wich stupid guy write that?? lol
Oh it was me. . . :S

¦ ZuZo ¦ :
ZuZo is offline   you may: quote & reply,
Old 12-05-2005, 01:30 AM   #11
StaffSaberist
DECEPTION IS FINISHED! :D
 
StaffSaberist's Avatar
 
Join Date: Oct 2005
Location: The United States of America... and damn proud of it!
Posts: 1,092
Sorry I've been gone so long. I was... busy.

OK. Here's what you should do:

In BehavEd, go to Prefs.

Set your paths as follows:

1. Location of scripts:

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\Base\scripts

2. Location of IBIZE.EXE:

C:\Program Files\LucasArts\Star Wars JK II \Jedi Outcast\GameData\Tools\IBIze.exe

3. Command description file:

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\Radiant-1.4\behaved.bhc


4. Source Files path (IMPORTANT!!!)

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\Radiant-1.4\SourceForBehavEd

Let me know if that makes it work. Keep in mind that you will need to redo the Set and other commands. Good luck.



Deception, the best SP level-set in the world, is done! Get it here!
"Query: What is it you wish, fat one?" - HK-47 at his best
I have begun modding TSL. Check it out here. and My Fanfic
StaffSaberist is offline   you may: quote & reply,
Old 12-05-2005, 10:30 AM   #12
ZuZo
Lurker
 
ZuZo's Avatar
 
Join Date: Nov 2005
Posts: 8
I'v set it like you said. but it still dont working :S I cant change the name on the affect. . . :S



Wich stupid guy write that?? lol
Oh it was me. . . :S

¦ ZuZo ¦ :
ZuZo is offline   you may: quote & reply,
Old 12-05-2005, 11:12 AM   #13
StaffSaberist
DECEPTION IS FINISHED! :D
 
StaffSaberist's Avatar
 
Join Date: Oct 2005
Location: The United States of America... and damn proud of it!
Posts: 1,092
What if you create a new Affect?



Deception, the best SP level-set in the world, is done! Get it here!
"Query: What is it you wish, fat one?" - HK-47 at his best
I have begun modding TSL. Check it out here. and My Fanfic
StaffSaberist is offline   you may: quote & reply,
Old 12-05-2005, 12:46 PM   #14
ZuZo
Lurker
 
ZuZo's Avatar
 
Join Date: Nov 2005
Posts: 8
Should it be like this
Code:
//(BHVD)

affect ( "rotadoor", /*@AFFECT_TYPE*/ FLUSH )
{
}



Wich stupid guy write that?? lol
Oh it was me. . . :S

¦ ZuZo ¦ :
ZuZo is offline   you may: quote & reply,
Old 12-05-2005, 12:52 PM   #15
ZuZo
Lurker
 
ZuZo's Avatar
 
Join Date: Nov 2005
Posts: 8
yeeehoo!!!! I got it work!!! Thnx Staff!!!

Code:
//(BHVD)
rem ( "opens swings doors" );

affect ( "rotadoor1", /*@AFFECT_TYPE*/ FLUSH )
{
	do ( "drota1" );

	task ( "drota1" )
	{
		rotate ( < 0.000 90.000 0.000 >, 2500.000 );
	}

}


affect ( "rotadoor2", /*@AFFECT_TYPE*/ FLUSH )
{
	do ( "drota2" );

	task ( "drota2" )
	{
		rotate ( < 0.000 90.000 0.000 >, 2500.000 );
	}

}

wait ( 7000.000 );

affect ( "rotadoor1", /*@AFFECT_TYPE*/ FLUSH )
{
	do ( "drota1" );

	task ( "drota1" )
	{
		rotate ( < 0.000 90.000 0.000 >, 2500.000 );
	}

}


affect ( "rotadoor2", /*@AFFECT_TYPE*/ FLUSH )
{
	do ( "drota2" );

	task ( "drota2" )
	{
		rotate ( < 0.000 90.000 0.000 >, 2500.000 );
	}

}



Wich stupid guy write that?? lol
Oh it was me. . . :S

¦ ZuZo ¦ :
ZuZo is offline   you may: quote & reply,
Old 12-05-2005, 07:29 PM   #16
StaffSaberist
DECEPTION IS FINISHED! :D
 
StaffSaberist's Avatar
 
Join Date: Oct 2005
Location: The United States of America... and damn proud of it!
Posts: 1,092
Hey, you're welcome.



Deception, the best SP level-set in the world, is done! Get it here!
"Query: What is it you wish, fat one?" - HK-47 at his best
I have begun modding TSL. Check it out here. and My Fanfic
StaffSaberist is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Game Discussion > Jedi Outcast > Help :S (script problem)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:37 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.