Customizable NPC [message #15156] |
Thu, 14 December 2006 02:04 |
|
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;
|
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 #15161 is a reply to message #15160] |
Thu, 14 December 2006 05:15 |
|
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 #17022 is a reply to message #15156] |
Sat, 10 March 2007 19:45 |
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 |
|
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.
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 #17693 is a reply to message #17671] |
Wed, 04 April 2007 17:47 |
|
Mcchips wrote on Wed, 04 April 2007 08:06 | And how do u do that?
Sorry. I dont know much about moddin and stuff
|
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.
this is not an exit.
[Updated on: Thu, 12 April 2007 22:18] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Customizable NPC [message #39665 is a reply to message #39646] |
Fri, 28 March 2008 14:25 |
|
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 #50148 is a reply to message #50140] |
Thu, 19 March 2009 16:32 |
|
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.
this is not an exit.
[Updated on: Thu, 19 March 2009 16:33] Report message to a moderator
|
|
|
|
|
|
|
|
|