Zappa_0 Posted April 12, 2005 Posted April 12, 2005 I am having problems of them spawning and not using the right color I want them to have. I have it to a certain color, but its random, how to fix this?
Zappa_0 Posted April 12, 2005 Author Posted April 12, 2005 ki { playerModel ki_adi weapon WP_SABER saber single_1 saberColor blue saberStyle 2 FP_LEVITATION 3 FP_PULL 3 FP_PUSH 3 FP_SEE 3 FP_SPEED 3 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 FP_SABERTHROW 0 rank captain aggression 5 aim 5 evasion 5 intelligence 5 move 5 reactions 5 playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY class CLASS_JEDI health 5000 snd ki_adi sndcombat ki_adi sndextra ki_adi sndjedi ki_adi dismemberProbArms 100 dismemberProbHands 100 dismemberProbHead 100 dismemberProbLegs 100 dismemberProbWaist 100 } ti { playerModel ShaakTiVM sex female scale 95 weapon WP_SABER saber single_8 saberColor blue saberStyle 2 FP_LEVITATION 3 FP_PULL 3 FP_PUSH 3 FP_SEE 3 FP_SPEED 3 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 FP_SABERTHROW 0 rank commander aggression 5 aim 5 evasion 5 intelligence 5 move 5 reactions 5 playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY class CLASS_JEDI health 5000 } aayla { playerModel aayla sex female weapon WP_SABER saber single_4 saberColor blue saberStyle 2 FP_LEVITATION 3 FP_PULL 3 FP_PUSH 3 FP_SEE 3 FP_SPEED 3 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 FP_SABERTHROW 0 rank commander aggression 4 aim 4 evasion 5 intelligence 4 move 4 reactions 4 playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY class CLASS_JEDI health 5000 } wolf { playerModel werewolf weapon WP_SABER saber single_7 saberColor green saberStyle 2 FP_LEVITATION 3 FP_PULL 1 FP_PUSH 1 FP_SEE 2 FP_SPEED 1 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 FP_SABERTHROW 3 rank ltcomm aggression 5 move 5 reactions 5 playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY class CLASS_JEDI health 2500 } cole { playerModel Coleman_Trebor_VM weapon WP_SABER saber single_8 saberColor green saberStyle 2 FP_LEVITATION 3 FP_PULL 1 FP_PUSH 1 FP_SEE 1 FP_SPEED 2 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 FP_SABERTHROW 3 rank ltcomm aggression 5 aim 5 evasion 4 intelligence 4 move 4 reactions 4 playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY class CLASS_JEDI health 2500 snd Coleman_Trebor sndcombat Coleman_Trebor sndextra Coleman_Trebor sndjedi Coleman_Trebor } jmalak { playerModel malek weapon WP_SABER saber single_2 saberColor yellow saberStyle 2 FP_LEVITATION 2 FP_PULL 1 FP_PUSH 1 FP_SEE 2 FP_SPEED 1 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 FP_SABERTHROW 3 rank ltcomm aggression 4 aim 4 evasion 4 intelligence 4 move 4 reactions 4 playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY class CLASS_JEDI health 2500 snd malek sndcombat malek sndextra malek sndjedi malek } grev { playerModel general_grievous scale 110 weapon WP_SABER saber single_9 saberColor blue saber2 Kyle saber2Color green saberStyle 6 FP_LEVITATION 3 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 FP_SABERTHROW 3 rank captain aggression 5 aim 5 evasion 5 intelligence 5 move 5 reactions 5 playerTeam TEAM_ENEMY enemyTeam TEAM_ENEMY class CLASS_DESANN health 7500 snd grievous sndcombat grievous sndextra grievous sndjedi grievous }
Codja X Posted April 12, 2005 Posted April 12, 2005 Is Grevious's random or does his come out red? They're all CLASS_JEDI, so that would probably explain why they are random. Try CLASS_KYLE for blue saber and CLASS_LUKE for green saber. You may want to try specifying numbers instead of typing the actual colour in (1=red for example). I'll check it out myself when I get home tonight as i've got a couple of npcs that need sorting out as well.
Codja X Posted April 12, 2005 Posted April 12, 2005 Just had a go myself and it seems to work okay for me: jedi_red { playerModel jedi saber single_2 saberColor red weapon WP_SABER saberStyle 1 saberStyle 3 saberStyle 2 FP_HEAL 1 FP_LEVITATION 2 FP_SPEED 2 FP_PUSH 2 FP_PULL 1 FP_TELEPATHY 1 FP_GRIP 0 FP_LIGHTNING 0 FP_RAGE 0 FP_PROTECT 1 FP_ABSORB 1 FP_DRAIN 0 FP_SEE 1 FP_SABERTHROW 2 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 forceRegenRate 150 forcePowerMax 90 rank lt reactions 3 aim 3 move 3 aggression 3 evasion 2 intelligence 3 playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY class CLASS_JEDI yawSpeed 140 walkSpeed 55 runSpeed 200 snd jedi1 sndcombat jedi1 sndjedi jedi1 health 200 dismemberProbHead 0 dismemberProbArms 5 dismemberProbLegs 0 dismemberProbHands 10 dismemberProbWaist 0 } In game console, npc spawn jedi_red Works okay. Have you tried putting them into separate npc files? I'm not overly sure why that would get it working, but it's worth a go
Zappa_0 Posted April 12, 2005 Author Posted April 12, 2005 Just tried that, and still the same outcome.
Tinny Posted April 13, 2005 Posted April 13, 2005 See where it says saber single_8? Go to the .saber files and make sure the saber you want is set to the color you want for whichever saber you want your npc to use.
Zappa_0 Posted April 13, 2005 Author Posted April 13, 2005 Yep tinny your right...the saber color for most of the sabers are random.
Codja X Posted April 13, 2005 Posted April 13, 2005 I think i'll stick to mapping in the future:confused:
Codja X Posted April 13, 2005 Posted April 13, 2005 Not out yet, but i've a WIP in action - based on the Clone Wars cartoons and set on Muunilinst: http://66.90.64.18/showthread.php?s=&threadid=133471 or http://www.map-review.com/forums/viewtopic.php?t=800 and a more updated version: http://www.map-review.com/forums/viewtopic.php?t=1235 Nowhere near finished yet though;)
razorace Posted April 17, 2005 Posted April 17, 2005 Is there any reason why you're not working with the Clone Wars mod?
Codja X Posted April 18, 2005 Posted April 18, 2005 Quote Originally posted by razorace Is there any reason why you're not working with the Clone Wars mod? 2 reasons: 1) time, and 2) my very recently fried motherboard:mad: 3) My job involves targets and deadlines, so when it comes to mapping (which is a hobby), I like to work at my own pace and not have other people relying on me and vice versa etc The lack of time is probably my biggest enemy though. Maybe I should simply stop sleeping;)
razorace Posted April 18, 2005 Posted April 18, 2005 Ah, well, we're not exactly picky about deadlines.
MyKell Posted April 18, 2005 Posted April 18, 2005 SaberColor is a number, not a word. You can use NPC Tool for coding them more easily.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.