RebornKyle
Members-
Posts
56 -
Joined
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
RebornKyle's Achievements
Contributor (1/10)
2
Community Answers
-
Yes sorry I should have clarified, this is for the NPC change. I accomplished the global change, but it wasn't satisfactory for me. And my script is called when the NPC is spawned, along with the other behaviors its spawned with, which are all base game and work fine as they did before this addition. Here's the script call. set ( /*@SET_TYPES*/ "SET_NO_RAGDOLL", /*@BOOL_TYPES*/ "true" );
-
Linken liked a post in a topic: Possible to prevent NPCs from using ragdoll behavior upon death? I.E. JK2 behavior?
-
I managed to accomplish the global change, but just like I thought it would affect later sessions if you didn't reset it. I haven't managed to figure out the scriptflag for specific NPCs unfortunately though. Here's the relevant parts of what I wrote: Q3_Interface: ____________________________________________________________________ ENUM2STRING(SET_NO_RAGDOLL), ----------------------------------------------------------------- /* ============ Q3_SetNoRagdoll Description : Return type : static void Argument : int entID Argument : qboolean ragdoll ============ */ static void Q3_SetNoRagdoll(int entID, qboolean ragdoll) { gentity_t *ent = &g_entities[entID]; if (!ent) { Quake3Game()->DebugPrint(IGameInterface::WL_WARNING, "Q3_SetNoRagdoll: entID %d not a client\n", entID); return; } if (ragdoll) { ent->NPC->scriptFlags |= SCF_NO_RAGDOLL; } else { ent->NPC->scriptFlags &= ~SCF_NO_RAGDOLL; } } -------------------------------------------------------------------------------- case SET_NO_RAGDOLL://## %t="BOOL_TYPES" # NPCs won't ragdoll on death if (ent->NPC == NULL) { DebugPrint(WL_WARNING, "GetFloat: SET_NO_RAGDOLL, %s not an NPC\n", ent->targetname); return false; } *value = (ent->NPC->scriptFlags&SCF_NO_RAGDOLL); break; g_main: ____________________________________________________________________ //rww - game interface for the ragdoll stuff. //Returns qtrue if the entity is now in a ragdoll state, otherwise qfalse. //(ported from MP's CG version) qboolean G_RagDoll(gentity_t *ent, vec3_t forcedAngles) { vec3_t G2Angles; vec3_t usedOrg; qboolean inSomething = qfalse; int ragAnim; //int ragVar = gi.Cvar_VariableIntegerValue("broadsword"); int ragVar = g_broadsword->integer; if (!ragVar) { return qfalse; } if (!ent || !ent->inuse || !ent->client || ent->health > 0 || ent->client->noRagTime >= level.time || ent->client->noRagTime==-1 || (ent->s.powerups & (1 << PW_DISRUPTION)) || !ent->e_DieFunc || ent->playerModel < 0 || !ent->ghoul2.size() || !G_RagWantsHumanoidsOnly(&ent->ghoul2[ent->playerModel]) ) { return qfalse; } if (ent->NPC->scriptFlags & SCF_NO_RAGDOLL) { return qfalse; } So not sure if something I did here is off or not. Oh and of course I declared the SCF_NO_RAGDOLL in b_public.h and the SET_NO_RAGDOLL in Q3_Interface.h. I noticed that, for g_main, any level won't start if I put the last if statement I created before the previous if block
-
Linken liked a post in a topic: Possible to prevent NPCs from using ragdoll behavior upon death? I.E. JK2 behavior?
-
Well hey I greatly appreciate this! I'll be sure to give this a go when I have some time soonish. I'll probably opt for the specific NPC one since setting it globally would probably get messy if other users prefer it differently and having to change it back afterwards could alter those preferences. Happy Holidays!
-
RebornKyle liked a comment on a file: Full Awesome Bespin Action Music
-
Droidy365 liked a post in a topic: Little hidden detail I found in kejim_post
-
Maksman liked a file: Full Awesome Bespin Action Music
-
DarthValeria liked a file: Full Awesome Bespin Action Music
-
You know that service tunnel underneath the big elevator you and Jan ride down, that you can use to sneak into the booth where the officer is? You don't have to destroy the power generator by shooting at it, in order to get past the deadly electricity. There's this panel shown in the image at the other end of the tunnel. Press the use key on it, and the generator will stop running, and you can walk past it just as you would have before. No need to shoot, wait for the explosion to pass, and then move in. Something I hadn't noticed playing JK2 for many years now, and only found out through my conversion mod.
-
RebornKyle started following Full Awesome Bespin Action Music
-
18 downloads
Have you ever noticed that the action music for Bespin in Singleplayer and Multiplayer doesn't play the full track its from? I did, hence this mini-mod! By far John Williams' BEST soundtrack piece in all of Star Wars, IMO, I decided that it was a travesty to not bring this full track into these amazing games. Featuring the full latter half of The Clash of Lightsabers, Bespin's action music is no longer abridged. Comes complete with transitions into appropriate sections of the music, to make every part of the track just as dynamic as the rest of JK2's soundtrack. This mod comes in two versions: The standalone .pk3 for JK2 base music, if you haven't modified any of the other music and just want to pop it in your base folder and play. The edited part of the music file, so you can replace any mod's modified music that has Bespin in it with this version. This also works for JKA and any mods for it. I tested it with my JAO Enhanced mod for JKA, so I know it works If you don't know what I'm talking about, please bless yourself by listening to this phenomenal soundtrack. Look up Empire Strikes Back, Clash of Lightsabers on Youtube. Skip to about 1:40 for the track, 2:53 for the newly added half for this mod. Once you're blown away by that, consider downloading this mod for you -
RebornKyle liked a comment on a file: Green t2_wedge (Kril'Dor) Sky
-
Jedi Academy Outcast Enhanced: Unofficial Patch
RebornKyle commented on RebornKyle's file in Single Player
Do you mean the cutscenes in Jedi Academy? I didn't modify any of the JKA campaign, at least not in the base mod. I did in the custom add-on, but not any of the cutscenes with Luke. I'm not sure what could cause that. And I never noticed anything in the Academy game when I went through it to test before -
Jedi Academy Outcast Enhanced: Unofficial Patch
RebornKyle commented on RebornKyle's file in Single Player
-
RebornKyle liked a comment on a file: Jedi Academy Outcast Enhanced: Unofficial Patch
-
Jedi Academy Outcast Enhanced: Unofficial Patch
RebornKyle commented on RebornKyle's file in Single Player
-
Jedi Academy Outcast Enhanced: Unofficial Patch
RebornKyle commented on RebornKyle's file in Single Player
-
RebornKyle liked a comment on a file: Jedi Academy Outcast Enhanced: Unofficial Patch
-
Maksman liked a comment on a file: Jedi Academy Outcast Enhanced: Unofficial Patch
-
RebornKyle liked a comment on a file: Jedi Academy Outcast Enhanced: Unofficial Patch
-
Jedi Academy Outcast Enhanced: Unofficial Patch
RebornKyle commented on RebornKyle's file in Single Player