00M-187 Posted July 13, 2002 Share Posted July 13, 2002 Assuming its g2_Animent something, ne one know? Link to comment Share on other sites More sharing options...
JandoFett1842 Posted July 13, 2002 Share Posted July 13, 2002 Hey i found this to a asw to a simular question i had! Read! -------------------------------------------------------------------------------- Some Findings (in regards to the DLL sources recently released) Three commands (right before "thedestroyer" too!), were set to only be compiled in when it was a debug release, I took the time to enable these and try them out on a multiplayer server, being a server-side only modification. I had two others join me in a game, to test these commands. First command: headexplodey Rather simple, kills you and your head flies up, and occasionally will bounce up and down. [edit]What I mean by "your head flies up", is that your head is dismembered, and given a great upper velocity. [/edit] Second command: loveandpeace This one is probably the most hilarious command i've seen in a game yet, want to kiss your opponent? this is the command to use, all you do is walk up and have your saber holstered (if that's the weapon your using). Then do "loveandpeace", it will set your animations to the kissing ones in a loop. [correction]I took a look at the code for the g2animent command, and found the correct parameters:[/correction] Third command: g2animent The command showing the greatest amount of use to me. This will spawn a pseudo-entity, that, on certain maps, will have an AI. These will act like single-player NPCs. We had some fun spawning dozens of them at the same time. =) [edit]The spawned NPCs also seem to be force resistant (you can see this in a couple screenshots, the yellow spheres)[/edit] How to use g2animent: Basic NPC Spawning: g2animent 0 ^ spawns Stormtrooper g2animent 1 ^ spawns Rodian g2animent 2 ^ spawns Jan Custom NPC Spawning: After I re-read the custom NPC spawning code, I found out what I was doing wrong, here's how to do it. g2animent 3 <alignment> <weapon> <model filename & path> <sound path> Example: [edit]corrected the example, typos.[/edit] g2animent 3 2 2 "models/players/luke/model.glm" "sound/chars/luke/misc" ^ Would spawn an NPC allied to you, using Luke's Model & Sounds, with a Light Saber. alignment: 0 - Unknown alignment, probably makes it attack everyone 1 - Evil alignment, attacks you & players 2 - Good alignment, attacks evil NPCs. weapon (updated): 0 - None 1 - Stun Baton 2 - Light Saber 3 - Bryar Pistol 4 - Blaster 5 - Disruptor 6 - Bowcaster 7 - Repeater 8 - DEMP2 9 - Fletchette 10 - Rocket Launcher 11 - Thermal Grenades 12 - Trip Mines 13 - Det Packs 14 - Emplaced Gun (?? -- Probably not safe to use) ^ from reading another post, this seems to give you the ability to "box" with your hands. 15 - Turret (?? -- Probably not safe to use) model: path & filename of a model using the humanoid animations, eg: models/players/luke/model.glm DO NOT USE MODELS THAT YOU KNOW DO NOT USE THE HUMANOID ANIMATIONS! It'll result in a crash, (I tried to spawn a protocol droid with a lightsaber.. baaad results!) sound path: Path to the sound set that will be used, eg: sound/chars/luke/misc Screenshots can be found here: http://force.tproc.org/debug/ I have put together a little .ZIP of the Modification I have created, simply extract the ZIP file to JK2INSTALLDIR\GameData It will extract three files, one file being a BAT file which will launch JK2 with the modification and start with the map ffa_bespin. Download Here: http://force.tproc.org/debug/debug.zip Last edited by normal on 06-01-2002 at 07:06 PM Link to comment Share on other sites More sharing options...
SeraphimII Posted July 13, 2002 Share Posted July 13, 2002 I could tell you the exact spot too. Link to comment Share on other sites More sharing options...
00M-187 Posted July 13, 2002 Author Share Posted July 13, 2002 Yes, but is there a way to do it in MP? Link to comment Share on other sites More sharing options...
JandoFett1842 Posted July 14, 2002 Share Posted July 14, 2002 g2animent 0 Create a stormtrooper, cant get anything else to work! Link to comment Share on other sites More sharing options...
Hanch Saode Posted July 14, 2002 Share Posted July 14, 2002 Someone got a "list" over all possible npc spawns in MP??? And can someone shortly explain the thing with spawning... (I am new with JK2) Link to comment Share on other sites More sharing options...
Jason_W Posted July 14, 2002 Share Posted July 14, 2002 A list would be nice. I'm not new to the game, but I'm a modeller, so I haven't tried this NPC stuff yet. I will eventually though so ... Link to comment Share on other sites More sharing options...
JandoFett1842 Posted July 14, 2002 Share Posted July 14, 2002 Add sun glass to your aviator Jason_W! Join the Sun Glasses Club!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.