JAWSFreelao Posted February 23, 2015 Posted February 23, 2015 So I just created an NPC for a custom model, courtesy of @@Asgarath83.It spawned just fine for awhile, but suddenly it stopped.I don't know how to fix it, help please? Ahsokatano2{ playerModel Ahsoka1 weapon WP_SABER saber AhsokaADX FP_LEVITATION 1 FP_PUSH 2 FP_SEE 2 FP_SPEED 3 FP_ABSORB 1 FP_HEAL 2 FP_PROTECT 1 FP_TELEPATHY 2 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 FP_SABERTHROW 2 forceRegenRate 75 rank ltcomm aggression 2 aim 4 evasion 4 intelligence 4 move 4 reactions 4 playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY class CLASS_JEDI health 250 visrange 2048 hfov 160 vfov 90 vigilance 0.4 yawSpeed 120 walkSpeed 120 acceleration 20 snd Ahsoka sndcombat Ahsoka sndextra Ahsoka sndjedi Ahsoka dismemberProbArms 90 dismemberProbHands 90 dismemberProbHead 90 dismemberProbLegs 90 dismemberProbWaist 90}Ahsokatano3{ playerModel Ahsoka1 weapon WP_SABER saber Ashoka_bh saberColor green saber2 Ashoka_bh saber2Color yellow saberStyle 6 FP_LEVITATION 1 FP_PULL 1 FP_PUSH 2 FP_SEE 2 FP_SPEED 3 FP_ABSORB 1 FP_HEAL 3 FP_PROTECT 1 FP_TELEPATHY 2 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 FP_SABERTHROW 2 forceRegenRate 75 rank ltcomm aggression 5 aim 4 evasion 4 intelligence 5 move 5 reactions 5 playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY class CLASS_JEDI health 250 visrange 2048 hfov 160 vfov 90 vigilance 0.4 yawSpeed 120 walkSpeed 120 acceleration 20 snd Ahsoka sndcombat Ahsoka sndextra Ahsoka sndjedi Ahsoka dismemberProbArms 90 dismemberProbHands 90 dismemberProbHead 90 dismemberProbLegs 90 dismemberProbWaist 90}
Circa Posted February 23, 2015 Posted February 23, 2015 Which one? And what do you mean "it just stopped"? Like, it stopped letting you spawn it?
Asgarath83 Posted February 23, 2015 Posted February 23, 2015 The npc file is Okay. The jedi class AI about enemy chasing is littel weird... can you explain what you mean exactly with "stop"?the npc is freeze out? or they simply point at enemy distance but they not chase and engage the enemy? if you got this issue, put the aggression and move value to 5, also rank can affect the NPC behavour against enemies. more is the rank, more aggressive they are.also, can be a map problems. if there is not a good waypoint connected net to guide the NPC into they runs and battle, they can stops without many sense... :|
JAWSFreelao Posted February 23, 2015 Author Posted February 23, 2015 No I mean the NPC code is typed in but Ahsoka doesn't appear. The game doesn't even give an error cannot spawn code.EDIT: And neither will spawn..
Ramikad Posted February 23, 2015 Posted February 23, 2015 If the console doesn't show any error, make sure that cl_noprint is set to 0, and that the model path in the NPC file is correct. Also, you may want to add in the string customskin default.
Ramikad Posted February 23, 2015 Posted February 23, 2015 Just type that in the console, it's a console command: cl_noprint 0. Though if you read anything in the console and it writes down a list of the previous commands, you should assume it's already set to 0. In that case, all I can think of is to check out the model path. Also, did you change anything before the NPCs stopped spawning?
JAWSFreelao Posted February 23, 2015 Author Posted February 23, 2015 Okay so now I finally get the couldn't spawn NPC ahsokatano2 message. Where to go from here?
Asgarath83 Posted February 23, 2015 Posted February 23, 2015 eehmmmm, how many custom NPC you add? JKA can spawn only a restricted number of NPC ...
JAWSFreelao Posted February 23, 2015 Author Posted February 23, 2015 Don't know, but I've removed a lot over the past few days. When I open up the file in NPCTool, it'll give the name of the NPC, and when I go to the appearance tab, the field where you select the skin (red, blue, default)- the field is always blank. I fill in the field with default and save it, but still nothing.EDIT: I even remade the folder paths in the PK3. Models/players/Ahsoka_Tano. I checked all the .SKIN files. I just don't know what to think.
Circa Posted February 24, 2015 Posted February 24, 2015 Default skins don't need to be specified. That's why they're default. It goes back to blank because it removes that line, as it is redundant. Upload your pk3 and we can take a look.
JAWSFreelao Posted February 24, 2015 Author Posted February 24, 2015 I'll update this post with a link when I'm up tomorrow. Thanks guys!EDIT: http://www41.zippyshare.com/v/IUVArkia/file.html
JAWSFreelao Posted February 24, 2015 Author Posted February 24, 2015 Bump. Previous post has been updated with my PK3.
Solution Circa Posted February 24, 2015 Solution Posted February 24, 2015 @@JAWSFreelao Oh. Your issue is probably that it's loaded before the assets, due to the file name coming alphabetically before them. Rename the pk3 to zAhsoka_Tano.pk3 and it should work fine. Zelanter likes this
JAWSFreelao Posted February 24, 2015 Author Posted February 24, 2015 Oh my goodness, that's funny. Thanks alot Circa!How's Tatooine btw?Also, you think it'd be okay to use this port in our little project when we get to CWA or should we just stick to Hirman/Offspring's model?
Circa Posted February 24, 2015 Posted February 24, 2015 Oh my goodness, that's funny. Thanks alot Circa!How's Tatooine btw?Also, you think it'd be okay to use this port in our little project when we get to CWA or should we just stick to Hirman/Offspring's model?Not sure. That'll be far down the road though.
JAWSFreelao Posted February 24, 2015 Author Posted February 24, 2015 Very very, lol. We'll get there tho. Been working on a NOVA trooper, thought it'd be a fun one to parouse your beautiful Tatooine creation with for that one SP mission. I was thinking it could be a squadron of Sandtroopers and NOVAtroopers searching for the droids.Any ideas to make the black textures shiny instead of dull and matted? Isn't that a shader job?
Circa Posted February 24, 2015 Posted February 24, 2015 Very very, lol. We'll get there tho. Been working on a NOVA trooper, thought it'd be a fun one to parouse your beautiful Tatooine creation with for that one SP mission. I was thinking it could be a squadron of Sandtroopers and NOVAtroopers searching for the droids.Any ideas to make the black textures shiny instead of dull and matted? Isn't that a shader job?Yep, you'll need a shader. And yeah, haven't even started the map yet. Haven't touched my other map in a couple weeks. Been busy with classes and such.
DrXann Posted February 24, 2015 Posted February 24, 2015 How many custom npcs do you have since they usually don't spawn if you have a lot.
JAWSFreelao Posted February 24, 2015 Author Posted February 24, 2015 Yep, you'll need a shader. And yeah, haven't even started the map yet. Haven't touched my other map in a couple weeks. Been busy with classes and such.Man who cares? We got all the time in the world. Life is super busy at this time because the ending of trimesters-so on and so forth. I feel you lol I've been working hard for two weeks and I'm still bombing a class.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now