View Full Version : Kyle Deflect
BobTheJedi
01-27-2001, 09:28 AM
I know I have to edit Kyle.cog to do this but I am unsure where to start. I want to make it so that when an enemy fires at kyle and it hits him it deflects right off like a lightsaber. Does anyone have any ideas?
Ruthven
01-27-2001, 01:34 PM
perhaps there is a cog for the superhield thing. try and intergrate it with the kyle cog. No idea, at least I replied
You mean, mag-seal the player? There's a flag for that somewhere.. JK Specs has it. It was done in Drazen, if you want a reference.
-Jipe
BobTheJedi
01-27-2001, 04:08 PM
ok, yeah I found the actor flag for it, it's
0x2000, just where do I insert it or replace it in a cog? and Which cog?
Hideki
01-27-2001, 05:09 PM
In the startup of the kyle.cog.
------------------
http://millennium.massassi.net/ - Millennium
BobTheJedi
01-27-2001, 07:41 PM
ok, i keep trying to set it up right but everytime it doesn't work, this is what I have:
code
startup:
player = GetLocalPlayerThing();
if(!IsMulti()) call init_kyle;
// Bubbles
if(IsMulti())
ClearActorFlags(player, 0x2000);
{
SetTimerEx(4 + 5 * rand(), 2, 0, 0);
else
SetTimerEx(2 + 5 * rand(), 2, 0, 0);
Return;
please someone point it out to me what I am doing wrong.
Hideki
01-28-2001, 01:14 AM
startup:
player = GetLocalPlayerThing();
if(!IsMulti()) call init_kyle;
// Bubbles
if(IsMulti())
{
SetTimerEx(4 + 5 * rand(), 2, 0, 0);
else
SetTimerEx(2 + 5 * rand(), 2, 0, 0);
}
SetActorFlags(player, 0x2000);
Return;
------------------
http://millennium.massassi.net/ - Millennium
BobTheJedi
01-28-2001, 07:40 PM
Tried the code, it didn't work. I copied it exactly.
Hideki
01-28-2001, 09:12 PM
startup:
player = GetLocalPlayerThing();
if(!IsMulti()) call init_kyle;
// Bubbles
if(IsMulti()) SetTimerEx(4 + 5 * rand(), 2, 0, 0);
else
SetTimerEx(2 + 5 * rand(), 2, 0, 0);
SetActorFlags(player, 0x2000);
Return;
------------------
http://millennium.massassi.net/ - Millennium
[This message has been edited by Hideki (edited January 28, 2001).]
BobTheJedi
01-29-2001, 06:56 PM
Ok, I am making progress. It blocks but I have to be shot only from the front. Is there a way that where ever I get shot it blocks, like if I get shot in the back it bounces off? Another thing, I can do my self I am just wondering if I would be doing it right. I wanted to get rid of the animation of block so it just bounces off me without the hand block. Do I erase the PovBlockAnimation 0,1 and 2 or the blockAnim 0,1 and 2 or is it something else?
Hideki
01-29-2001, 10:07 PM
There is a flag to make an actor mag-sealed, but will reflect lasers to random direction.
Check jkspec for that flag.
------------------
http://millennium.massassi.net/ - Millennium
Maragato
01-29-2001, 11:24 PM
Guys I think I know what you want. I have a version of mega shield modified to multiplayer levels. It works very well, but haves a bug in single player mode. It doesn't blocks the saber atacks from PC just from MPCs. Hideki I want to talk with you about one patch made by Tecnomant, I modifiing it. But I found some problems with the items bins, if you help me I will be pleased. My UIN is 87276478 please contact me.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.