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 → Spectacor mode for Jedi Knight
Spectacor mode for Jedi Knight
2000-10-02, 9:33 AM #1
I sit posible to do a "spectacor" mode for Jedi Knight?

like in Unreal Tournament or Counter-Strike
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2000-10-02, 10:26 AM #2
well, you could at least make him invisible (SetGeoMode(player, 0) [http://forums.massassi.net/html/wink.gif] and have a pulse message, that changes eventual switching to third person mode back to first person...but other players would still be able to kill him (though its very unlikely...he's invisible) and there might also be other problems...
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2000-10-02, 1:49 PM #3
firstly... open model.dat now add a new model.. invisible.3do no.snd and label him "Spectator" you'll need to create invisible.3do, and no.snd... make sure the geo falgs are at 0 on all the surfaces of the 3do... and that it is small.. so the player wont get hit. then on the .snd make sure there are no sound files listed in teh .snd, so the spectator won't make any noise (it's creepy when you hear noises and you can't see anything ;:D)

now, you should look for a fly mode hack.. and mix it in with kyle.cog and make sure that it's only activated if the player is invisible.3do .. I've got the script for that on a saber cog.. so i'll have to look for it... so anyways... the spectator can fly around and ONLY the spectator can do so with that script... now... the one thing i am not sure of is how to get the spectator to not be able to pickp weapons.. you could disable weapons.. but.. he'd still pick them up wouldn't he?

well that's my theory .. i've never actualyl tested it.. i just came up with just now that you've asked...

------------------
SDÅ_Lªkútí
SDÅ_Lªkútí
2000-10-03, 3:31 PM #4
you could set the player's collide to 0, but then he could walk through doors and stuff... Or in the powerup cogs check to see if the players model is invisible.3do...

------------------
There are no evil coggers, only evil cogs...

[url="mailto:no_oneatall@hotmail.com"]mailto:no_oneatall@hotmail.com[/url]no_oneatall@hotmail.com</A>
ICQ 81116825
===========================================
Evil Cog master of the Western TC!
cogs dont kill people. people kill people...

mailto:no_oneatall@hotmail.comno_oneatall@hotmail.com</A>
ICQ 81116825
==============================================
((Evil Cog Master))
2000-10-03, 11:41 PM #5
Thank you guys!!! [http://forums.massassi.net/html/smile.gif]
Now...the problem is to make the cog work when the player is killed...

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2000-10-04, 5:15 AM #6
to make a player fly...like the eriamjh-cheat...
ClearPhysicsFlags(player, 0x1);
SetPhysicsFlags(player, 0x2000);
and if you want to set im to ghost when killed, just edit the kyle.cog in the killed: message...make a new message and have in killed:
call newmessage;
then do all the other stuff in the newmessage
(setThingModel, parsearg(player, "soundclass=nosound.snd"), the flying commands etc...)
good luck
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2000-10-04, 9:00 AM #7
Thanks everyone!!!
Now...the player react just like it's low gravity...he doesnt fly, but he looks like he's on the moon instead!!!
I want him to FLY!!! [http://forums.massassi.net/html/smile.gif]

Please help me anyone...
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2000-10-04, 9:49 AM #8
i dont think that it can be done otherwise, at least not with two lines...
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2000-10-05, 6:14 AM #9
PHEW! It worked...
but when I fly into a wall, I get hurt (because of the speed) [http://forums.massassi.net/html/smile.gif]
hehe
It's very "cool" to hurt yourself, but how do you make it so the player is "unkillable"?
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2000-10-05, 10:05 AM #10
Never mind!
I figured it out.

Thanks zagibu, you will definetly be in the credits list

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2000-10-05, 3:36 PM #11
have you gotten the player to be invisible and everything? like i said.. because if you haven't gotten that done yet.. i have that script if you want it..

I believe it's something like this:

in the symbols section put:

Code:
model    spectator=invisible.3do        local


now in the cog put:

Code:
if (GetThingModel(player) ==spectator)


and after that line you can put in all the scripting you want for the spectator.. this way.. if you select the spectate mode in the MPPlayer setup.. it will run spectate mode only if you are invisible.3do


;:D ... i would much appreciate if you could email me what work you have done, and what else you need... because i have been thinking about this for the SDA Mod.. but i never got around to scripting it.. so i figured i could save time if i could help you, and we could get it done together?

if so...

the_rawck@yahoo.com


good luck man.



------------------
SDÅ_Lªkútí
SDÅ_Lªkútí
2000-10-06, 7:20 AM #12
Yeah, it would be nice to work together, but I can't mail you until on sunday [http://forums.massassi.net/html/frown.gif]

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2000-10-06, 11:13 AM #13
hmmm...about the powerup question...i think it would be a good idea to set the player's collide to zero, as Fernando already said before. Never mind about the possibility to walk through 3dos...i think it's like that in quake III, right? Ghosts can walk through closed doors...i think this would be good.
use: ParseArg(player, "collide=0");
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2000-10-06, 11:16 AM #14
and about the small 3do...i thought that it does not matter how big or small the 3do is when you get hit...i thought it was the collidebox...but i might be wrong...ask Hideki or another one of the big guys.
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2000-10-06, 12:14 PM #15
its the size or movesize..somthing like that.
I'm just an old man with a skooma problem.
2000-10-07, 4:07 AM #16
Thanks, but I have the spectacor cog done!!!
Now, the only thing that is left is to add a section in the powerup cogs
that won't let the player be able to pick them up...

btw, do you know how to make the player invulnerable?
(the "SetActorFlags" thingie didn't work.

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2000-10-07, 9:12 AM #17
0x8 Invulnerability

SetActorFlags(player, 0x8);

that should work, i dont know why it wouldn't.
I'm just an old man with a skooma problem.
2000-10-07, 11:34 AM #18
powerup question: use ParseArg(player, "collide=0");
that should work...
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2000-10-08, 9:00 AM #19
hmmm...that actor flags stuff didnt work
remember that with the cheat code for invulnerability didn't cover falling from heights
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2000-10-08, 10:05 AM #20
well, if you build new levels for your mod or tc or whatsoever, you could add a cog that checks what is touching the ground, and then if it has these actorflags on, do no damage to him...or wait, no, this wil not work...lemme think a while
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2000-10-08, 10:11 AM #21
you could also edit the kyle.cog in the damaged section...have an if condition that checks the actorflags...something like that:

if(GetActorFlags(player) & 0x8) return;

that should make you invulnerable...
hmmm...i wonder if it is already done like that in the original code...this would be a problem, then...
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)

↑ Up to the top!