Jump to content

T.Zealot

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by T.Zealot

  1. Groovy
  2. When I use that, the game crashes when the stcommander is spawned. Am I missing something?
  3. Strangely I was able to do this in wp_saber.cpp. I added this to it and it partially works. if (dropper->client->NPC_class == CLASS_STORMTROOPER && oldWeap == WP_REPEATER) //111111 (1s are here so I can jump to this later) { replaceWeap = WP_BLASTER_PISTOL; } But for some odd reason the pistol's model doesn't load and the stcommander shoots the lasers out of his head. Is there a way to load the pistol model when the repeater is pulled?
  4. I'm afraid not. I apologize for the confusion.
  5. I've been trying to make it so that if the repeater trooper loses his repeater he'll switch to the generic pistol, with no success so far. I added this to NPC_Spawn.cpp yet when I use force pull/grip on him he's still unarmed and surrendering. This is driving me nuts! Can someone tell me what I'm doing wrong here? if (Q_stricmp("stcommander", NPC_type) == 0) { return (1 << WP_REPEATER); if (NPC->client->ps.weapon == WP_NONE) { return (1 << WP_BLASTER_PISTOL); //Stormtrooper Commander should whip out his sidearm after weapon is pulled... } }
  6. JK2's Cast lists somebody as "Civilian Male," but I don't recall there being any civilians in the game other than the Prisoners. Do the dialogue files you have contain anything related to the Civilian?
  7. 172 downloads

    This isn't really anything special, my friend asked me to replace the pre-placed stormtroopers in JK2 with the random gangsters seen in Nar Shaddaa and Bespin without actually replacing the stormtrooper NPC. NPC_Stormtrooper will now randomly choose between the Weequays, Rodians, Trandoshans, Grans, etc. Also, I gave the granboxer the DEMP2 since the regular grans double as boxers. The Imperial Officers and Stormtrooper Officers are unaltered. Enjoy! Or don't! Before you get this, back up your jk2sp.exe and jk2gamex86.dll! I cannot stress this enough. THIS REQUIRES JK2 PATCH 1.04. IF YOU DO NOT HAVE IT THE GAME WILL CRASH
  8. Alright, I downloaded the JK2 source code that eezstreet fixed up and I've been trying to add a custom weapon. I have it set up in ext_data, gave the weapon its own WP_ entry, etc. But I have no idea how to add the weapon_ entity itself, and I am completely stumped since when I search for a weapon in the solution explorer I.E. weapon_blaster nothing shows up. If somebody can help me out then I'd really appreciate it, thank you in advance.
  9. Is there a console command that gives you the coordinates of your current location? I've started messing around with entmodding and currently I have no idea how to find out where I am in the level.
  10. Is there any chance that you'll upload the dialogue?
×
×
  • Create New...