HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with a script in my map

07-28-2002, 12:46 AM#1
Guest
Hi, i´m workin on a campain and have a problem with two things:

1. I don´t get it with the cameras. How can I get a camera wich is the players view and flys over a peace of land in cinematic mode?

2. At the end of the mission i have a problem with a trigger.

here is the original trigger

first he had to kill a unit. than this trigger takes place:

+Events
- A Unit (CUMSTOM) dies

+Conditions

+Actions
- Quest - Mark (last created quest) as completed
- Wait 5.00 seconds
- Trigger - Turn on "XYZ" <gen>

than comes the trigger XYZ:

+Events

+Conditions

+Actions
- Wait 2.00 seconds
- Cinematic - Turn cinematic mode On for Player Group - Player 1 (Red)
- Cinematic - Disable user control for Player Group - Player 1(Red)
- Camera - Apply Camera "LOOK" <gen> for Player 1 (Red) over 10.00 seconds
.
.
.

here the camera doesnt work. The game doesn´t turn into cinematic mode and i can play normaly as before... Can someone help me? If this isn´t enough to look whats wrong i can send the map to a person i can trust that he won´t use the map for his own.

Please respond!
07-28-2002, 01:27 AM#2
Karma Patrol
It should be Trigger-Run, not Trigger-Turn On
07-28-2002, 01:38 AM#3
Guest
But the trigger isn´t Initaly On. so it must be activated or not?
07-28-2002, 01:50 AM#4
badomen
then turn on trigger xyz then put "run trigger -xyz"

the trigger "xyz" cant start because it has no event to start it
07-28-2002, 01:59 AM#5
Guest
big thx it works well now.

but there are still problems with the camera. how can i let the camera rotate while it´s flyin?

and another problem is that a unit teleports itself to a point with a trigger, but i want to make the unit movin to that point.

i used this trigger:

Unit - Move unit "ABC" <gen> instantly to (Center of CUSTOM)
07-28-2002, 01:10 PM#6
Guest
just what a heard.....

you need to issue order to move to region
07-29-2002, 11:19 PM#7
Guest
Yeah right. Thx it works now, too. But i can´t find the feature with wich i can make a camera rotate while flyin.
07-30-2002, 12:25 AM#8
Karma Patrol
camera - set camera field
07-30-2002, 02:45 AM#9
Guest
thx guys. i´ll return later if i have a problem.
07-30-2002, 03:04 AM#10
Guest
And here i´m back again ;)

I have a problem with the camera. Here is the trigger:

Camera - Apply Camera "CUSTOM" <gen> for Player 1 (Red) over 10.00 seconds
Camera - Pan Camera for Player 1 (Red) to (Center of "CUSTOMAREA" <gen>) over 10.00 seconds
Wait 10.00 seconds
Camera - Fade out and back in over 4.00 seconds using Texture....
Wait 4.00 seconds
Camera - Apply Camera "CUSTOM2" <gen> for Player 1 (Red) over 10.00 seconds
Camera - Pan Camera for Player 1 (Red) to (Center of "CUSTOMAREA2" <gen>) over 10.00 seconds

but the camera CUSTOM doesn´t change to CUSTOM2 and moves to CUSTOMAREA2. But i want to see that the first camera snaps to the second after the fade out. But it doesn´t work. help?
07-30-2002, 05:37 AM#11
Guest
Where it says apply for custom2 change it to apply without panning and voila!
07-30-2002, 05:41 AM#12
Guest
Now can u help me w/ this? its a question that makes me feel like an idiot for having to ask.... I need to make a unit invunerable.. is there a way to do it in the unit editor? I don't want to (if i don't have to) use triggers. Thanks =)
07-30-2002, 07:48 AM#13
Guest
Quote:
Originally posted by CenMakira
Now can u help me w/ this? its a question that makes me feel like an idiot for having to ask.... I need to make a unit invunerable.. is there a way to do it in the unit editor? I don't want to (if i don't have to) use triggers. Thanks =)

n/m i read the FAQ and got it! thx neway
07-30-2002, 05:40 PM#14
Guest
oh man... yeah that was realy simple. just have to look a bit better :)
08-01-2002, 03:07 PM#15
Guest
So i´m fed up with the camera. It just won´t work. I´ve tried sooo many things out to get this trigger functioning, but it just won´t work.... arg! I will to get the camera changing over to another and not panning to he point wich is reserved for another camera, but the first camera just keeps on movin and the two others don´t come to action. Why??

I post the whole trigger here. Please correct it or say whats wrong:

Environment - Remove Blight for Player 1 (Red) across (Playable map area)
Cinematic - Turn cinematic mode On for Player Group - Player 1 (Red)
Cinematic - Disable user control for Player Group - Player 1 (Red)
Camera - Apply Camera CLIFFS <gen> for Player 1 (Red) over 0.00 seconds
Wait 0.10 seconds
Camera - Pan camera for Player 1 (Red) to (Center of Camera goes to cliffs <gen>) over 10.00 seconds
Wait 10.00 seconds
Cinematic - Fade out over 5.00 seconds using Texture Black Mask and color....
Wait 0.50 seconds
Camera - Apply camera without panning Camera FARM <gen> for Player 1 (Red) over 0.00 seconds
----------------- Here the camera don´t change with the second camera. The first camera keeps on movin to Camera goes to farm -----------
Wait 0.50 seconds
Cinematic - Fade in over 5.00 seconds using Texture Black Mask and color....
Wait 0.10 seconds
Camera - Pan camera for Player 1 (Red) to (Center of Camera goes to farm <gen>) over 10.00 seconds
.
.
.

help me please. Thats the only thing stoping me to work on my campaign!