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.

ForumsCog Forum → Cutscenes
Cutscenes
2001-03-28, 4:50 AM #1
Well, i am making a cutscene, and i want 2 dark jedi to fight, yun and jeric, now i have got the commands:

AiSetFireTarget(Jeric, Yun);
AiSetFireTarget(Yun, Jeric);

For this, but all they do is stay there and look at each other, not fight, i have tried this with other models like stormies and greedo's but all they do is sit and look at eachother, how can i make them fight?

------------------
Generating Electro Vibes™ for the masses on Massassi
Go To: HERE
Generating Electro Vibes™ for the masses on Massassi
Go To: BiTsToRm Forums or L3CY's Topsites
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
<EL3CTRO> EXCAUSE ME MISTAR CAERV BUT I LIEK MY PHORUMPHS!
2001-03-28, 4:41 PM #2
I could be wrong, but doesn't that command just tell the actors the target they should attack, when they attack?

Not to attack right that second.

Demon_Nightmare
2001-03-29, 3:54 AM #3
Well, doew anyone know how to make them attack each other then?
Generating Electro Vibes™ for the masses on Massassi
Go To: BiTsToRm Forums or L3CY's Topsites
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
<EL3CTRO> EXCAUSE ME MISTAR CAERV BUT I LIEK MY PHORUMPHS!
2001-03-29, 4:29 AM #4
Ok, here is the cog, incase i have dont something wrong:

Code:
# Jedi Knight Cog Script
#
# This is for my JK movie, a cutscene.
#
#
#
# EL3CTRO
#
symbols

thing        camera1                                                          
thing        camera2                                                          
thing        Jeric                                                             
thing        Yun                                                           
thing        transport1                                                    
thing        player                             local                         
thing        kyle                               local                         
sound        beep=beep2.wav                     local                         
sound		youcant=i00je05z.wav			local
sound		youarebetter=i00yu03z.wav				local
sound		forcestrong=i00je02z.wav			local
sound		yousticky=i00yu01z.wav				local
int		starttrack		
int		endtrack		
int		loopto			
message      startup                                                          

end                                                                           
# ---------------------------------------------------------------------------------
code

startup:

                Player = GetLocalPlayerThing();

                // freeze Kyle
                SetActorFlags(Player, 0xa00000);
                StopThing(Player);

  jkBeginCutscene();
  Sleep(0.0);
  AiSetMoveFrame(Yun, 1);
  playsong(starttrack, endtrack, loopto);
  SetCameraFocus(0, camera1);
  Sleep(2.5);
  AiSetLookFrame(Yun, 2); 
  SetCameraFocus(0, camera2);
  PlaySoundLocal(beep, 1, 0, 132);
  Print("Yun: Jeric! Show yourself, I have come here to challenge you.");
  Sleep(3);
  AiSetMoveFrame(Jeric, 1);
  PlaySoundLocal(beep, 1, 0, 132);
  Print("Jeric: I am here, its time for you to perish.");
  Sleep(3);
  SetCameraFocus(0, camera1);
  AISetLookPos(Yun, GetThingPos(Jeric));  
  Sleep(1.5);
  PlaySoundLocal(beep, 1, 0, 132);
  Print("Yun: You are too confident, the force is with me, i will be victorious!");
  Sleep(1.5);
  AiSetMoveFrame(Jeric, 2);
  Sleep(1.0);
  PlaySoundLocal(beep, 1, 0, 132);
  Print("Jeric: You are a fool to challenge me, you will die.");    
  Sleep(3.0);
  PlaySoundLocal(beep, 1, 0, 132);
  Print("Jeric: Then I will take your body, and destroy whats left of you.");
  Sleep(4.5);
  SetCameraFocus(0, camera2);
  PlaySoundLocal(beep, 1, 0, 132);
  Print("Yun: I will not give you that chance.");
  Sleep(3.5);
  PlaySoundLocal(beep, 1, 0, 132);
  Print("Jeric: Ok, lets get this over with.");
  Sleep(2.25);
  AISetLookPos(Jeric, GetThingPos(Yun));
  Sleep(2.5);
  PlaySoundLocal(youcant, 1, 0, 132);
  Sleep(1.25);
  AiSetFireTarget(Jeric,Yun);
  AiSetFireTarget(Yun,Jeric);
  Sleep(10);
  PlaySoundLocal(yoursticky, 1, 0, 132);
  Sleep(1.0);
  PlaySoundLocal(forcestrong, 1, 0, 132);
  Sleep(3);
  PlaySoundLocal(youarebetter, 1, 0, 132);
  Sleep(20);
  DamageThing(Jeric, 5000);
  Sleep(3);
  Print("Yun: Now I have defeated him, I must travel to set up us the bomb.");
  Sleep(5);
  jkEndCutscene();
  jkEndLevel(1);
Return;

end


Is there a problem with the way i have coded it? Is that why they just stand there, and not attack each other?
Generating Electro Vibes™ for the masses on Massassi
Go To: BiTsToRm Forums or L3CY's Topsites
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
<EL3CTRO> EXCAUSE ME MISTAR CAERV BUT I LIEK MY PHORUMPHS!
2001-03-29, 12:37 PM #5
hey aisetfiretarget does not work alone u need some other stuff with it just a sec i will find it for ya........
Code:
AISetFireTarget(jeric, yun);
AISetMoveThing(jeric, yun);
AISetLookPos(jeric, GetThingPos(yun));
AISetMode(jeric, 0x202);
AIClearMode(jeric, 0x1004);

use that it is the best way to make them fight and from my cutscene experience u don't want the sleep to be that long i find 2 a nice wait
roses are red, violets are blue, I am schizophrenic, and I am too!

↑ Up to the top!