Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Outcast and Jedi Academy Editing Forum → Scripting.
Scripting.
2003-10-25, 5:29 AM #1
Well my maps are progressing well architecturally, but I still no little or nothing about all the other aspects of JO editing...

I have a few questions:

1) I made a script for a cutscene, but it's not working, what seems to be wrong:

Code:
//Generated by BehavEd

rem ( "Introcutscene" );
camera ( /*@CAMERA_COMMANDS*/ ENABLE );
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam0", ORIGIN)$, 0 );
camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "cam0", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
wait ( "3000" );
print ( "DISCLAIMER:" );
wait ( "3000" );
print ( "blah blah blah" );
wait ( "8000" );
print ( "blah blah blah" );
wait ( "8000" );
print ( "blah blah blah" );
wait ( "5000" );
print ( "blah!" );
wait ( "5000" );
camera ( /*@CAMERA_COMMANDS*/ DISABLE );
camera ( /*@CAMERA_COMMANDS*/ ENABLE );
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam1", ORIGIN)$, 0 );
camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "cam1", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
camera ( /*@CAMERA_COMMANDS*/ ZOOM, $10$, 20000 );
wait ( "3000" );
print ( "Paul 'vedder' van Eekelen presents:" );
wait ( "3000" );
print ( "THE RATS OF AKKABAN" );
wait ( "3000" );
print ( "While Hake gets rich selling artifacts from Hellior4," );
wait ( "4000" );
camera ( /*@CAMERA_COMMANDS*/ DISABLE );


When the game starts it immideately switches to cam0 (as intended, player is on trigger_once) but then nothing happends...

2) I want civilians roaming around in my city, so I made a loop of waypoints and connected a protocal droid to it. But he refused to move. How do I get him to move?

3) How would I go making grans and such walk around like I want that droid, that is being friendly and not attacking the player, just walking around.

4) I placed the bartender behind my bar, but he'll continually play a running animation, not moving though.

5) Is there any way to make decent rain? I tried the way explained in Diesel's tutorials, but that looks like crap. There'll only be rain when you are inside certain brushes then, and when you are not inside those it won't even look as if it is raining.
The rain particles themselves look pretty crappy too, imho.

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-25, 5:55 AM #2
1) Look through Kengo's tuts again, he uses the GET command for positioning the camera.

2) Look for the waypoint tutorial that came with the tools.

3) Same thing, but set their SET_PLAYER_TEAM and SET_ENEMY_TEAM to NEUTRAL.

4) set SET_RUNNING and SET_WALKING to "false"

5) JA. [http://forums.massassi.net/html/tongue.gif]

------------------
Endurance of Hatred
2003-10-25, 5:58 AM #3
You are using wrong wait commands. Those wait commands are to wait some task to be done? Use that wait that has clock icon before it. For the protocol droid, you give him key: spawnscript
and value: common/3_point_patrol
or, common/3_point_patrol_loop
Depending on how many waypoints the droid has. JA/JO has only up to 4 point patrol, so if it is more, you have to make it yourself. The 2_point_patrol hasn't got loop, but it still loops the patrol. For 3),
you have to add a walkOnly command in the behavED events window to the start of the patrol script you want it to use.
for 4 and 5 I don't know the answer.
(EDIT: Forget about what I said about the third question, Didn't notice GothicX gave you the answer.)


------------------


[This message has been edited by Heke7 (edited October 25, 2003).]
There 10 kinds of people in the world: Those who understand binary arithmetics, and those who don't.
2003-10-25, 7:09 AM #4
1) Indeed, wrong timer, I removed the quotation marks and the cameras work fine now, however there's still no text being displayed :S

2) Well he has 25 waypoints, so 4_point_patrol won't suffice. Is there any way to open that ibi file. If I see how the script goes it shouldn't be to hard for me to change it so it guides him through 25 waypoints.

3&4)where do I set these things? in the entity window?

5) Well no moody rain in my city then... Maybe if I switch to JA, or just make an JA version.

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-25, 7:47 AM #5
3&4)set(<SET_TYPES>,) command.

------------------
Endurance of Hatred
2003-10-25, 7:59 AM #6
I don't get it :S

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-25, 8:20 AM #7
In the left box, there are 2 "set" commands. Use the on with <SET_TYPES> in it, and scroll down the left list until you reach SET_PLAYER_TEAM. Hit re-evaluate, and choose NEUTRAL. Same for SET_ENEMY_TEAM.

------------------
Endurance of Hatred
2003-10-25, 8:50 AM #8
GothicX means that you do that in BehavED, not in radiant.

------------------
There 10 kinds of people in the world: Those who understand binary arithmetics, and those who don't.
2003-10-25, 8:58 AM #9
Are the print commands showing up? because they dont do crap in my scripts.

------------------
A real man uses JK2.
A smart man uses GTK.
This is why i am not a smart man.
*Remnant Temple A soon to be ready for beta*
Light And Darkness
I was just petting the bunny, and it went into the soup can, and part of my hand went with it. - Red vs Blue
2003-10-25, 9:17 AM #10
As he says they don't I assume they don't.

And vedder, they need to affect something. If its the player, he is referred to as "kyle" in the scripts.

------------------
Endurance of Hatred

↑ Up to the top!