Fable: The Lost Chapters Mod Scene
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Fable TLC » Mods » Definitions » Customizable NPC
Customizable NPC [message #15156] Thu, 14 December 2006 02:04 Go to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Changelog:
  • Modified CREATURE_HERO_RIVAL_GOOD_01
  • Changed Character Model to Hero
  • Changed Eye Model to Hero
  • Added the Hero's CHeroMorphDef (for general morphing)
  • Added the Hero's CCreatureDef (for wounds and scars)
  • Added CTCHeroMorph, CTCSkeletonMorph, CTCWound, CTCTextureDecal, and CTCHeroAttachableAppearanceModifiers to CTC List.
  • Contains Fixed Morph Layers Mod


This Changes the Generic Rival Hero into a Customizable Hero through scripting.

The commands are as so:
Quote:


CREATURE_HERO_RIVAL_GOOD_01

StartCTCHeroMorph;
Strength 1.0; scale of 0 to 1
Will 1.0; scale of 0 to 1
Skill 1.0; scale of 0 to 1
Age 1.0; scale of 0 to 1
Morality 0.5; scale of 0 to 1, Evil = 0, Good = 1
Fatness 0.5; scale of 0 to 1
Tan 0.5; scale of 0 to 1, Evil = 0, Good = 1
EndCTCHeroMorph;

StartCTCHeroAttachableAppearanceModifiers;
HairModifierNames[0] "OBJECT_HERO_TASHKHG_01";
HairModifierNames[1] "OBJECT_HERO_BOOTS_GOOD";
HairModifierNames[2] "OBJECT_HERO_TROUSERS_GOOD";
HairModifierNames[3] "OBJECT_HERO_SHIRT_GOOD";
EndCTCHeroAttachableAppearanceModifiers;



http://fable.pe-ell.net/gallery/albums/randomtlc/12_14_2006_3_48_03_AM.thumb.jpg
http://fable.pe-ell.net/gallery/albums/randomtlc/12_14_2006_3_47_47_AM.thumb.jpg
http://fable.pe-ell.net/gallery/albums/randomtlc/12_14_2006_3_49_50_AM.thumb.jpg



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.

[Updated on: Thu, 14 December 2006 02:09]

Report message to a moderator

Re: Customizable NPC [message #15160 is a reply to message #15156] Thu, 14 December 2006 05:02 Go to previous messageGo to next message
ormus is currently offline  ormus
Messages: 7
Registered: December 2006
is it possible to use twinblades as the model?
Re: Customizable NPC [message #15161 is a reply to message #15160] Thu, 14 December 2006 05:15 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
ormus wrote on Thu, 14 December 2006 07:02

is it possible to use twinblades as the model?


If you make the textures I'll setup the morphing. But otherwise no, the Hero had all this stuff setup ahead of time. I just moved it over to an NPC.

Also. The Hero is the only one with multiple sets of clothing. You'd need to make new clothing models using the NPC's skeleton for that part.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.

[Updated on: Thu, 14 December 2006 05:18]

Report message to a moderator

Re: Customizable NPC [message #15171 is a reply to message #15161] Thu, 14 December 2006 18:49 Go to previous messageGo to next message
Drifter is currently offline  Drifter
Messages: 116
Registered: September 2005
Location: Albion
That's pretty awesome. Good job, as always.
I think I'm going to mess around with something like this...

[Updated on: Thu, 14 December 2006 18:50]

Report message to a moderator

Re: Customizable NPC [message #15197 is a reply to message #15156] Fri, 15 December 2006 18:11 Go to previous messageGo to next message
slayer-reaper6 is currently offline  slayer-reaper6
Messages: 58
Registered: February 2006
Location: dragon cliff

defeenetly good work on that one

slayer-reaper6

scythes nig
Re: Customizable NPC [message #15581 is a reply to message #15197] Tue, 02 January 2007 16:20 Go to previous messageGo to next message
chaos is currently offline  chaos
Messages: 542
Registered: May 2006
I'm guessing you can attach weapons right?

http://i143.photobucket.com/albums/r124/korgoth-of-barbaria/chaos-1.jpg
Re: Customizable NPC [message #15591 is a reply to message #15581] Tue, 02 January 2007 21:24 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
chaos wrote on Tue, 02 January 2007 18:20

I'm guessing you can attach weapons right?


Don't know. Try it.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Customizable NPC [message #16404 is a reply to message #15591] Fri, 02 February 2007 17:31 Go to previous messageGo to next message
chaos is currently offline  chaos
Messages: 542
Registered: May 2006
You can't attach weapons.

http://i143.photobucket.com/albums/r124/korgoth-of-barbaria/chaos-1.jpg

[Updated on: Fri, 02 February 2007 17:33]

Report message to a moderator

Re: Customizable NPC [message #17022 is a reply to message #15156] Sat, 10 March 2007 19:45 Go to previous messageGo to next message
Degree is currently offline  Degree
Messages: 19
Registered: February 2007
I have played Fable many times... And on a few occasions I have noticed that I have killed 1 Rival Hero... Now I played NOT killing Twinblade or Whisper and it still said I had... Who could that be? Jack of Blades maybe?
Re: Customizable NPC [message #17027 is a reply to message #15156] Sat, 10 March 2007 20:23 Go to previous messageGo to next message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
Rival heroes:

Whisper
Thunder
Maze
Scythe
Jack
Briar Rose

I believe Twinblade, the guild master and scarlet robe may be classed as rivals also.


http://img259.imageshack.us/img259/1398/satansigv5gu3.gif

There is nothing in the Void.
There is no point to it's being.
I wish there was a reason.
There is nothing in the Void,
But what we put there.

[Updated on: Sat, 10 March 2007 20:24]

Report message to a moderator

Re: Customizable NPC [message #17617 is a reply to message #15156] Mon, 02 April 2007 01:19 Go to previous messageGo to next message
Mcchips is currently offline  Mcchips
Messages: 20
Registered: January 2007

Hi.
Just a few questions b4 i Download this, (coz i dunno how to uninstall mods Razz).
Ok, how do u spawn 1 of these NPC's?
And how do u alter them?
thats all, thnx Very Happy


The Guild Puppet Is Here...
Re: Customizable NPC [message #17618 is a reply to message #17617] Mon, 02 April 2007 01:20 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Mcchips wrote on Mon, 02 April 2007 03:19

Hi.
Just a few questions b4 i Download this, (coz i dunno how to uninstall mods Razz).
Ok, how do u spawn 1 of these NPC's?
And how do u alter them?
thats all, thnx Very Happy


You spawn is as you would a normal creature.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Customizable NPC [message #17664 is a reply to message #17618] Tue, 03 April 2007 22:58 Go to previous messageGo to next message
Mcchips is currently offline  Mcchips
Messages: 20
Registered: January 2007

Yehh.
But i mean liek duz it automatically spawn or...?
thnxx, mcchips Razz


The Guild Puppet Is Here...
Re: Customizable NPC [message #17667 is a reply to message #17664] Tue, 03 April 2007 23:05 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Mcchips wrote on Wed, 04 April 2007 00:58

Yehh.
But i mean liek duz it automatically spawn or...?
thnxx, mcchips Razz


No. You have to spawn it manually.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Customizable NPC [message #17668 is a reply to message #15156] Tue, 03 April 2007 23:06 Go to previous messageGo to next message
Mcchips is currently offline  Mcchips
Messages: 20
Registered: January 2007

And how do u do that?
Sorry. I dont know much about moddin and stuff Sad


The Guild Puppet Is Here...
Re: Customizable NPC [message #17671 is a reply to message #15156] Tue, 03 April 2007 23:18 Go to previous messageGo to next message
Xx Old modder xX is currently offline  Xx Old modder xX
Messages: 23
Registered: March 2007
so instead of your self spawning...could u make jack spawn?lol?
Re: Customizable NPC [message #17693 is a reply to message #17671] Wed, 04 April 2007 17:47 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

Mcchips wrote on Wed, 04 April 2007 08:06

And how do u do that?
Sorry. I dont know much about moddin and stuff Sad


Here's an example of a script to spawn it as a bodyguard:

NewThing AICreature;
Player 2;
UID 18446741874686298880;
DefinitionType "CREATURE_HERO_RIVAL_GOOD_01";
ScriptName BodyGuard;
ScriptData "_EVIL2";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsNavigator;
PositionX 37.0;
PositionY 37.0;
PositionZ 30.0;
RHSetForwardX 0.049127;
RHSetForwardY 0.99877;
RHSetForwardZ 0.0;
RHSetUpX -0.000345;
RHSetUpY 0.000017;
RHSetUpZ 0.999994;
EndCTCPhysicsNavigator;
StartCTCRandomAppearanceMorph;
Seed -859535768;
EndCTCRandomAppearanceMorph;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCTalk;
EndCTCTalk;
StartCTCEditor;
EndCTCEditor;
StartCTCVillageMember;
VillageUID 0;
EndCTCVillageMember;
StartCTCHeroMorph;
Strength 1.0;
Will 0.5;
Skill 1.0;
Age 0.5;
Morality 0.0;
Fatness 0.0;
Tan 0.0;
EndCTCHeroMorph;
StartCTCHeroAttachableAppearanceModifiers;
HairModifierNames[0] "OBJECT_HERO_TASHKHG_01";
HairModifierNames[1] "OBJECT_HERO_BEARD_LONG_01";
HairModifierNames[2] "OBJECT_HERO_BOOTS_LEATHERARMOUR_EVIL";
HairModifierNames[3] "OBJECT_HERO_TROUSERS_LEATHERARMOUR_EVIL";
HairModifierNames[4] "OBJECT_HERO_SHIRT_LEATHERARMOUR_EVIL";
HairModifierNames[5] "OBJECT_HERO_GLOVES_LEATHERARMOUR_EVIL";
EndCTCHeroAttachableAppearanceModifiers;
StartCTCContainerRewardHero;
EndCTCContainerRewardHero;
StartCTCEnemy;
FriendsWithEverythingFlag FALSE;
EnableFollowersEnemyProxy TRUE;
FactionName "";
EndCTCEnemy;
Health 10000.0;
OverridingBrainName BRAIN_BODY_GUARD;
HasInformation FALSE;
WanderWithInformation FALSE;
WaveWithInformation FALSE;
ContinueAIWithInformation FALSE;
EnableCreatureAutoPlacing FALSE;
AllowedToFollowHero FALSE;
RegionFollowingOverriddenFromScript FALSE;
RespondingToFollowAndWait TRUE;
CanBeCourted FALSE;
CanBeMarried FALSE;
InitialPosX 1899.038574;
InitialPosY 2110.61084;
InitialPosZ 31.511845;
EndThing;


Xx Old modder xX wrote on Wed, 04 April 2007 08:18

so instead of your self spawning...could u make jack spawn?lol?


NewThing AICreature;
Player 2;
UID 18446712344187468456;
DefinitionType "CREATURE_RIVAL_HERO_JACK_OF_BLADES";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsNavigator;
PositionX 50.436768;
PositionY 106.591797;
PositionZ 5.756703;
RHSetForwardX -0.052358;
RHSetForwardY -0.998623;
RHSetForwardZ 0.0;
RHSetUpX 0.000345;
RHSetUpY -0.000018;
RHSetUpZ 0.999994;
EndCTCPhysicsNavigator;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCContainerRewardHero;
EndCTCContainerRewardHero;
StartCTCEnemy;
FriendsWithEverythingFlag FALSE;
EnableFollowersEnemyProxy TRUE;
FactionName "";
EndCTCEnemy;
Health 200.0;
EnableCreatureAutoPlacing FALSE;
EndThing;


Look here on how to export and import a tng with Fable Explorer.

Open the tng in notepad.

Copy and paste the code under the null section start.

Make sure the coordinates are correct.

Import it again, save changes and you're done.

No more questions about scripting here!

Unless it's specificly about this mod, post them in the scripting section, after you've searched.




http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.

[Updated on: Thu, 12 April 2007 22:18]

Report message to a moderator

Re: Customizable NPC [message #19517 is a reply to message #15156] Wed, 30 May 2007 02:18 Go to previous messageGo to next message
Dark_Ansem is currently offline  Dark_Ansem
Messages: 33
Registered: May 2007
Location: Italy

I don't quite understand what it is...
Re: Customizable NPC [message #19537 is a reply to message #19517] Wed, 30 May 2007 11:09 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

Dark_Ansem wrote on Wed, 30 May 2007 11:18

I don't quite understand what it is...


It's a character (a copy of the hero) you can spawn. You can dress it up with the hero's clothes, and change it's allignment.


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: Customizable NPC [message #19548 is a reply to message #15156] Wed, 30 May 2007 20:43 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
I used it to test morphing stuff personally. But it can be used for anything. Including a Bodyguard that can be wounded.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Customizable NPC [message #19911 is a reply to message #15156] Sat, 09 June 2007 06:44 Go to previous messageGo to next message
droded is currently offline  droded
Messages: 31
Registered: February 2007
How do I change the alignment. I managed to figure out clothes and hairstyles and stuff, but stuck on alignment...
Re: Customizable NPC [message #19938 is a reply to message #19911] Sat, 09 June 2007 10:04 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
droded wrote on Sat, 09 June 2007 08:44

How do I change the alignment. I managed to figure out clothes and hairstyles and stuff, but stuck on alignment...


StartCTCHeroMorph;
Strength 1.0;
Will 0.5;
Skill 1.0;
Age 0.5;
Morality 0.0;
Fatness 0.0;
Tan 0.0;
EndCTCHeroMorph;


morality. 0-1, 0.5 is neutral.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Customizable NPC [message #24177 is a reply to message #15156] Thu, 16 August 2007 00:20 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Patch to turn the NPC into a shopkeeper. Apply the Customizable NPC first.

StartCTCHeroMorph;
Strength 1.0;
Will 0.5;
Skill 1.0;
Age 0.5;
Morality 0.0;
Fatness 0.0;
Tan 0.0;
EndCTCHeroMorph;

StartCTCHeroAttachableAppearanceModifiers;
HairModifierNames[0] "OBJECT_HERO_TASHKHG_01";
HairModifierNames[1] "OBJECT_HERO_BEARD_LONG_01";
HairModifierNames[2] "OBJECT_HERO_BOOTS_LEATHERARMOUR_EVIL";
HairModifierNames[3] "OBJECT_HERO_TROUSERS_LEATHERARMOUR_EVIL";
HairModifierNames[4] "OBJECT_HERO_SHIRT_LEATHERARMOUR_EVIL";
HairModifierNames[5] "OBJECT_HERO_GLOVES_LEATHERARMOUR_EVIL";
EndCTCHeroAttachableAppearanceModifiers;

StartCTCShop;
StockItemDefsKeys[0] "OBJECT_KESHIRE_SICKLE";
StockItemDefsQuantity[0] 1.0;
StockItemDefsMaxStock[0] 1.0;	
EndCTCShop;


makes for a long entry. Very Happy



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Customizable NPC [message #24214 is a reply to message #24177] Thu, 16 August 2007 10:01 Go to previous messageGo to next message
chaos is currently offline  chaos
Messages: 542
Registered: May 2006
Sweetness.

http://i143.photobucket.com/albums/r124/korgoth-of-barbaria/chaos-1.jpg
Re: Customizable NPC [message #24593 is a reply to message #24214] Sun, 19 August 2007 11:34 Go to previous messageGo to next message
HodgePodge is currently offline  HodgePodge
Messages: 440
Registered: April 2007
Location: Making Bagel Bites
Blue, I've been trying to use this to test my Armor Scars, how do you scar the NPC?

http://i186.photobucket.com/albums/x50/HawjPawj/PONG.gif
Re: Customizable NPC [message #24618 is a reply to message #15156] Sun, 19 August 2007 15:15 Go to previous messageGo to next message
Sean_s is currently offline  Sean_s
Messages: 576
Registered: June 2007
Location: Ohio
You hit him hard enough Razz.

New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!

Assistant for Conquest
By the way, call me Searyan
Re: Customizable NPC [message #24642 is a reply to message #24593] Sun, 19 August 2007 20:48 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
HodgePodge wrote on Sun, 19 August 2007 13:34

Blue, I've been trying to use this to test my Armor Scars, how do you scar the NPC?


5 percent chance per hit.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Customizable NPC [message #28102 is a reply to message #24642] Fri, 21 September 2007 05:32 Go to previous messageGo to next message
Indonesia War Minister is currently offline  Indonesia War Minister
Messages: 26
Registered: September 2007
Only 5 %??
Well thanks BlueTooth for giving us this fact!

PS: I think i find another who also like Black Cat.
Horayy!


I am Indonesia War Minister, Member of Fanatic Terrorist group, Played Fable for like 2 years
Re: Customizable NPC [message #39565 is a reply to message #19537] Wed, 26 March 2008 15:11 Go to previous messageGo to next message
plower44 is currently offline  plower44
Messages: 6
Registered: March 2008
Hey, I saw that you can make him have hair on his chest, How can I do that?
Re: Customizable NPC [message #39646 is a reply to message #39565] Thu, 27 March 2008 21:38 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
plower44 wrote on Wed, 26 March 2008 17:11

Hey, I saw that you can make him have hair on his chest, How can I do that?


Strength 1.0

Strength makes them wider and hairy
Skill taller and muscle

Standard fable is broken in that muscles are on top of hair canceling them out.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Customizable NPC [message #39659 is a reply to message #39646] Fri, 28 March 2008 12:29 Go to previous messageGo to next message
plower44 is currently offline  plower44
Messages: 6
Registered: March 2008
so just upgrade streagth, i did and got only little results, i saw reviews where its was alot.
Re: Customizable NPC [message #39665 is a reply to message #39646] Fri, 28 March 2008 14:25 Go to previous messageGo to next message
morerunes is currently offline  morerunes
Messages: 2154
Registered: June 2007
Location: My desk

Administrator

BlueTooth wrote on Thu, 27 March 2008 23:38

Standard fable is broken in that muscles are on top of hair canceling them out.



"All of the work, and none of the play, will surely provide for a speedy decay"
Re: Customizable NPC [message #50140 is a reply to message #15156] Thu, 19 March 2009 11:30 Go to previous messageGo to next message
jp_b46 is currently offline  jp_b46
Messages: 70
Registered: January 2009
it could be something diferent to a body guard? i mean, it could act as a guard or a bandit?
Re: Customizable NPC [message #50148 is a reply to message #50140] Thu, 19 March 2009 16:32 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

jp_b46 wrote on Thu, 19 March 2009 19:30

it could be something diferent to a body guard? i mean, it could act as a guard or a bandit?

Which part of customizable is so complicated? You can script it however you like.
You can make it whatever you want.


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.

[Updated on: Thu, 19 March 2009 16:33]

Report message to a moderator

Re: Customizable NPC [message #50168 is a reply to message #50148] Fri, 20 March 2009 11:44 Go to previous messageGo to next message
jp_b46 is currently offline  jp_b46
Messages: 70
Registered: January 2009
I just have to change the scriptname or i need to place a brain?

[Updated on: Fri, 20 March 2009 11:52]

Report message to a moderator

Re: Customizable NPC [message #50217 is a reply to message #50168] Sun, 22 March 2009 06:36 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

jp_b46 wrote on Fri, 20 March 2009 19:44

I just have to change the scriptname or i need to place a brain?

As stated in this thread above^
OldBoy wrote on Thu, 05 April 2007 02:47

Here's an example of a script to spawn it as a bodyguard:

NewThing AICreature;
Player 2;
UID 18446741874686298880;
DefinitionType "CREATURE_HERO_RIVAL_GOOD_01";
ScriptName BodyGuard;
ScriptData "_EVIL2";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsNavigator;
PositionX 37.0;
PositionY 37.0;
PositionZ 30.0;
RHSetForwardX 0.049127;
RHSetForwardY 0.99877;
RHSetForwardZ 0.0;
RHSetUpX -0.000345;
RHSetUpY 0.000017;
RHSetUpZ 0.999994;
EndCTCPhysicsNavigator;
StartCTCRandomAppearanceMorph;
Seed -859535768;
EndCTCRandomAppearanceMorph;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCTalk;
EndCTCTalk;
StartCTCEditor;
EndCTCEditor;
StartCTCVillageMember;
VillageUID 0;
EndCTCVillageMember;
StartCTCHeroMorph;
Strength 1.0;
Will 0.5;
Skill 1.0;
Age 0.5;
Morality 0.0;
Fatness 0.0;
Tan 0.0;
EndCTCHeroMorph;
StartCTCHeroAttachableAppearanceModifiers;
HairModifierNames[0] "OBJECT_HERO_TASHKHG_01";
HairModifierNames[1] "OBJECT_HERO_BEARD_LONG_01";
HairModifierNames[2] "OBJECT_HERO_BOOTS_LEATHERARMOUR_EVIL";
HairModifierNames[3] "OBJECT_HERO_TROUSERS_LEATHERARMOUR_EVIL";
HairModifierNames[4] "OBJECT_HERO_SHIRT_LEATHERARMOUR_EVIL";
HairModifierNames[5] "OBJECT_HERO_GLOVES_LEATHERARMOUR_EVIL";
EndCTCHeroAttachableAppearanceModifiers;
StartCTCContainerRewardHero;
EndCTCContainerRewardHero;
StartCTCEnemy;
FriendsWithEverythingFlag FALSE;
EnableFollowersEnemyProxy TRUE;
FactionName "";
EndCTCEnemy;
Health 10000.0;
OverridingBrainName BRAIN_BODY_GUARD;
HasInformation FALSE;
WanderWithInformation FALSE;
WaveWithInformation FALSE;
ContinueAIWithInformation FALSE;
EnableCreatureAutoPlacing FALSE;
AllowedToFollowHero FALSE;
RegionFollowingOverriddenFromScript FALSE;
RespondingToFollowAndWait TRUE;
CanBeCourted FALSE;
CanBeMarried FALSE;
InitialPosX 1899.038574;
InitialPosY 2110.61084;
InitialPosZ 31.511845;
EndThing;



More stuff about scripting here.
Read the freaking wiki!!! It's there for a reason.
We are not babysitters.


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
icon12.gif  Re: Customizable NPC [message #52189 is a reply to message #50217] Thu, 18 June 2009 21:43 Go to previous messageGo to next message
edhriano
Messages: 26
Registered: June 2009
Location: jakarta
Finally after spent more then 10 crash and more then 8 hours find out how to :
1. Make them appear (spawn).
2. As enemies

Search the forum = Spent 1 hour
ReaD the freaking wiki!!! = spent another hour Rolling Eyes .
Extract .tng from bowerstone, oakvale etc searching for rival hero spawning script = spent 2 hour
Try it out = spent 4 hour


I delete this from the script :

StartCTCRandomAppearanceMorph;
Seed -169052493;
EndCTCRandomAppearanceMorph;

Add this to the script :

StartCTCHero;
LastWeaponEquippedID 0;
hero_title_object_def_name "???"; Fill ?? with whatever tittle
EndCTCHero;

Export from rival_hero_good1 then Import to new creature_hero_custom.

Change the (make new one actually then link them to the script) :

1. Cweapondef
2. csummonablecreaturedef
3. ccreaturedef

Maybe don't have to change them (find different one actually then link them to the script) but I did :

1. cenemydef
2. centitysounddef
3. caiscrachpaddef
4. cperceivedthingdef
5. copinionofherodef

It work now, spawn them on the Chamber of Fate (FrescoDome).


Oh nice job on the cheromorph by the way.
  • Attachment: 01.jpg
    (Size: 257.15KB, Downloaded 779 times)
  • Attachment: 02.jpg
    (Size: 265.58KB, Downloaded 744 times)
  • Attachment: 03.jpg
    (Size: 183.90KB, Downloaded 698 times)


Re: Customizable NPC [message #52190 is a reply to message #52189] Thu, 18 June 2009 22:30 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

That's really cool, good job.

Re: Customizable NPC [message #52191 is a reply to message #15156] Thu, 18 June 2009 23:36 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
I can't believe I haven't mentioned this.
There's a glitch involved with the textures.
If they're the same textures, the Hero can adopt the texture morphing from the customized NPC. Usually shortly after interaction. I don't know why this happens, but I've seen it happen.
An easy solution, since this mod uses a custom CHeroMorphDef, is to repack the CHeroMorphDef with all of the linked textures in an FMP, each texture entry renamed of course, then resetting FE, loading the original mod, then the texture fix mod.
Re: Customizable NPC [message #52194 is a reply to message #15156] Fri, 19 June 2009 05:25 Go to previous messageGo to previous message
The New Fabled Ravrn
Messages: 500
Registered: April 2008
That would be a pretty cool glitch if you could use it correctly, hmm Rolling Eyes

http://img809.imageshack.us/img809/9329/newim.gif http://img19.imageshack.us/img19/4678/rulesq.gif
Previous Topic: Jack Of Blades Character Mod
Next Topic: Hero with more evil two-handed weapon animations
Goto Forum:
  


Current Time: Mon Nov 25 01:22:40 PST 2024

Total time taken to generate the page: 0.13611 seconds