Adding NPCs in SP mod | |
JavaGuy - Student |
Has anybody here done this? I've done it a few times, but somehow it seems like a brand new adventure in troubleshooting every time. Here's the entry in my config file for my new NPC: StormTrooperJawa { playerModel stormtrooperjawa surfOff torso_pauldron_off surfOn "torso_armor_neck_augment torso_body_neck_augment" health 30 headPitchRangeDown 30 reactions 3 aim 1 move 3 aggression 3 evasion 1 intelligence 5 rank crewman playerTeam enemy enemyTeam player // race klingon class stormtrooper height 64 crouchheight 48 walkSpeed 51 runSpeed 200 snd jawa sndcombat jawa sndextra jawa yawspeed 70 walkSpeed 55 runSpeed 200 dismemberProbHead 100 dismemberProbArms 100 dismemberProbLegs 100 dismemberProbHands 100 dismemberProbWaist 100 } When the spawner fires, a message appears on the console saying it can't spawn. Any ideas? Thanks, Sam _______________ My signature is only one line. You're welcome. |
Login and add your comment! |
Comments |
Burn - Ex-Student |
So Your trying to make a stormtrooper but with jawa sounds if i am not mistaken. But spawnable. Well i too had a difficult time with a lot of this. Ultimitely, whatever your trying to spawn has to have it's own model, or you must have it use a model already there. Like: StormTrooperJawa { playerModel stormtrooperjawa you must make a pk3 with the stormtrooperjawa in it Which is all a matter of compying the stormtrooper from the assests0.pk3 and renaming everything to stormtrooperjawa, and then saving it as a pk3. That should fix it. Now these are notes of personal experience. 1. When trying to create a custom NPC Jedi, you cannot simply create a new script for one. You must actually use a "back door" if you will. Let's say you wanted to spawn Your custom model in the game, but be a jedi ally (saber use and everything) you must make a pk3 with models players (an exsisting jedi model iejeditrainer and in the jeditrainer folder you must have the glm and skin of your model then make another folder in players and make it your chars name add everything else to your model. 2. if you just want a normal ally, use the npc.cfg 3. Enemy jedi's seem to work fine if made in the npc.cfg, so create away. If you have any further trouble on this, or wanna ask a question, you can email me @ Burn_5_6@yahoo.com lates -Burn _______________ -Has no family, nor "friends" -What is this "friends" you speak of? No not the meaning of it do I |
crazy_hacker - Ex-Student |
um npc spawning? if thats what ur tryin to do just type: npc spawn <charachter name> without the <>'s EDIT: oh, never mind, ur maken NEW npcs _______________ if at first you dont succeed, try and try again. if you still dont succeed, youve just wasted a whole lot of time trying something you just cant do This comment was edited by crazy_hacker on Jun 29 2003 05:07pm. |
Login and add your comment! |