Jump to content

Home

imported sp models cant hold guns!?


Exar

Recommended Posts

Is it at all possible to bring a third party npc into the sp game and have them use a gun (blaster, bowcaster ect)? i dont mean replacing a default model either, and i dont want the new npc to have any force abilites. basically i want to make a han solo and chewbacca spawn for sp that has them using a blaster rifle and bowcaster, and behave like their movie counterparts. ive succeeded in doing all of this except for the problem where the weapon apears at the characters crotch. i have read the posts that attempt to remedy this problem but i have had no luck so far. is there any kind of work around for this or am i just stuck with a jedi wookiee and jedi han!?

Link to comment
Share on other sites

i tried that t3rr0r, if by that you mean i should use lando's model_default.skin in hopes that it will make the gun apear in the right spot? because i did that and it didnt work. did you mean something else? there is a thread here by aeon discussing how to fix this by adding a couple lines to the model_default.skin but that didnt work...

Link to comment
Share on other sites

  • 2 weeks later...

ok this is the how-to, for importing 3rd party models. AND this does work as i have imported every 3rd party model in sp

 

when importing a model, u will need to but the model under a class, if u dont the model will have no weapons.

 

storm, spawns the player with a blaster rifle

jedi, spawns with saber

reborn, spawns with saber

 

to import han solo for example;

rename the model folder to stormhan_esb

rename the skin file to model_stormhan_esb.skin

edit the folder directories in the skin file.

rename any shader file to stormhan_esb.shaders

edit the directories in shaders file.

 

enter han in the npc file with the header name

stormhan_esb

{

playerModel stormhan_esb

customSkin stormhan_esb

health 200

reactions 4

aim 5

move 4

aggression 4

evasion 4

intelligence 5

rank captain

playerTeam player

enemyTeam enemy

// race human

class stormtrooper

walkSpeed 51

runSpeed 200

snd stormhan_esb

sndcombat stormhan_esb

sndextra stormhan_esb

yawspeed 70

walkSpeed 55

runSpeed 200

dismemberProbHead 100

dismemberProbArms 100

dismemberProbLegs 100

dismemberProbHands 100

dismemberProbWaist 100

}

Link to comment
Share on other sites

I've also been interested to do what Exar wanted. Blackwing I followed your instructions and got my new npc to work with the blaster rifle, just wondering is it possible to make the npcs use other weapons and are there other classes or just those three?

Link to comment
Share on other sites

  • 2 weeks later...
Originally posted by Darth_Linux

make sure you model has an origin point set for the hand - if you don't specify an origin, it defaults to the models crotch. we had this problem with the imperial commando at first until Corto Maltes fixed it . . .

 

I think I'm being slow, I've tried most of the other stuff but I don't know how to do this. How do ya do this?

Link to comment
Share on other sites

ShadowCell: Yeah, I know about all the other classes and stuff, but for some reason if you make a new character based on them no matter what weapon they use in game they come out with blaster rifle, I've tried to make new NPC's based off the bespin cop, weequay and a few others that use different weapons but all end up with the blaster rifle, don't know why.......someone with more knowledge than me will have to figure it out :)

Link to comment
Share on other sites

Ok, let's see if I can add something to this.

 

I class my NPC's into 3 catagories:

 

Friendly, Enemy and Neutral.

 

For friendlies i use: Jedi*** for saber users and Rebel*** for gun users.

 

For enemies: Reborn*** for saber users and Storm*** for gun users.

 

Neutrals: I don't really do much here. Let's just leave it at that for now.

 

I never change teams on friendly or enemy classes. For example, don't change the team on a reborn or Desann. It doesn't work. Just use the classes given to a certain team. Jedi for friendlies, reborn for enemies. Rebels for Friendly and Storm for enemies.

 

Guns can be done with scripting. You can give any NPC a type of gun through scripting. You can also give certain enemy NPC's a type of gun by messing with their class(Rodians have sniper guns, Weequay's have bowcasters, Gran's have thermal detonators etc..). But you can't do this with friendly NPC's because these classes are enemies and changing teams on enemy classes doesn't ussually work.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...