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

Home » Fable TLC » Discussion » Level Scripting » Fisticuffs Script
Fisticuffs Script [message #24106] Wed, 15 August 2007 14:12 Go to next message
HodgePodge is currently offline  HodgePodge
Messages: 440
Registered: April 2007
Location: Making Bagel Bites
This script should spawn a bandit creature generator at night, but it crashes the game. Knowing me, it's probably something extremely simple, but help would be appreciated.

Quote:

XXXSectionStart V_FisticuffsClubOnlyAtNight;
NewThing Marker;
Player -1;
UID 18446722364187468629;
DefinitionType "MARKER_CREATURE_GENERATOR";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent TRUE;
StartCTCPhysicsStandard;
PositionX 204.430700;
PositionY 70.066890;
PositionZ 25.900410;
RHSetForwardX 0.000000;
RHSetForwardY 1.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCCreatureGenerator;
CreatureFamilies[0] "TWINBLADE_BANDITS_04_D";
GenerationRadius 19.0;
SelfTriggerRadius 1.0;
SelfTrigger FALSE;
SelfTriggerResetInterval 0;
TriggerOnActivate TRUE;
ActiveCreatureLimit -1;
TotalGenerationLimit -1;
NumTriggers -1;
ScriptNameOfAllGeneratedCreatures "";
EndCTCCreatureGenerator;
StartCTCActivationReceptorCreatureGenerator;
DeactivateAfterSetTime TRUE;
FramesAfterActivationToDeactivate 150;
ActivateOnActivate FALSE;
TriggerOnActivate TRUE;
EndCTCActivationReceptorCreatureGenerator;
StartCTCActivationTrigger;
ReceptorUID 0;
EndCTCActivationTrigger;
StartCTCCreatureGeneratorCreator;
EndCTCCreatureGeneratorCreator;
Health 1.0;
EndThing;
XXXSectionEnd;


http://i186.photobucket.com/albums/x50/HawjPawj/PONG.gif
Re: Fisticuffs Script [message #24116 is a reply to message #24106] Wed, 15 August 2007 15:51 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

You forgot a line between the sectionstart and the marker?

XXXSectionStart V_FisticuffsClubOnlyAtNight;

NewThing Marker;
Player -1;
UID 18446722364187468629;
DefinitionType "MARKER_CREATURE_GENERATOR";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent TRUE;
StartCTCPhysicsStandard;
PositionX 204.430700;
PositionY 70.066890;
PositionZ 25.900410;
RHSetForwardX 0.000000;
RHSetForwardY 1.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCCreatureGenerator;
CreatureFamilies[0] "TWINBLADE_BANDITS_04_D";
GenerationRadius 19.0;
SelfTriggerRadius 1.0;
SelfTrigger FALSE;
SelfTriggerResetInterval 0;
TriggerOnActivate TRUE;
ActiveCreatureLimit -1;
TotalGenerationLimit -1;
NumTriggers -1;
ScriptNameOfAllGeneratedCreatures "";
EndCTCCreatureGenerator;
StartCTCActivationReceptorCreatureGenerator;
DeactivateAfterSetTime TRUE;
FramesAfterActivationToDeactivate 150;
ActivateOnActivate FALSE;
TriggerOnActivate TRUE;
EndCTCActivationReceptorCreatureGenerator;
StartCTCActivationTrigger;
ReceptorUID 0;
EndCTCActivationTrigger;
StartCTCCreatureGeneratorCreator;
EndCTCCreatureGeneratorCreator;
Health 1.0;
EndThing;
XXXSectionEnd;


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

[Updated on: Wed, 15 August 2007 15:52]

Report message to a moderator

Re: Fisticuffs Script [message #24122 is a reply to message #24116] Wed, 15 August 2007 16:02 Go to previous messageGo to next message
HodgePodge is currently offline  HodgePodge
Messages: 440
Registered: April 2007
Location: Making Bagel Bites
Could that really cause it to crash?

EDIT: Still crashes.


http://i186.photobucket.com/albums/x50/HawjPawj/PONG.gif

[Updated on: Wed, 15 August 2007 16:03]

Report message to a moderator

Re: Fisticuffs Script [message #24124 is a reply to message #24122] Wed, 15 August 2007 16:04 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

Think so. I see you also didn't split off the section end.

http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: Fisticuffs Script [message #24142 is a reply to message #24124] Wed, 15 August 2007 17:02 Go to previous messageGo to next message
chaos is currently offline  chaos
Messages: 542
Registered: May 2006
That does nothing oldboy...

In fact, Albion Explorer smashes everything together when you change something if anyone hasn't notice. The space between the section makes no difference.

The script looks fine to me, but just in case take the creature generator from some other area and change the UID. It's probably something else though.


http://i143.photobucket.com/albums/r124/korgoth-of-barbaria/chaos-1.jpg
Re: Fisticuffs Script [message #24143 is a reply to message #24142] Wed, 15 August 2007 17:24 Go to previous messageGo to next message
HodgePodge is currently offline  HodgePodge
Messages: 440
Registered: April 2007
Location: Making Bagel Bites
I figured it out guys, it was something extremely stupid. I just replaced game.bin, and I had forgotten that I'd put a creature generator in BS already. Unfortunately, it used a custom generation family, so it crashed. Got it fixed though, thanks for all your help Wink

http://i186.photobucket.com/albums/x50/HawjPawj/PONG.gif
Re: Fisticuffs Script [message #24144 is a reply to message #24143] Wed, 15 August 2007 17:50 Go to previous message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
HodgePodge wrote on Wed, 15 August 2007 19:24

I figured it out guys, it was something extremely stupid. I just replaced game.bin, and I had forgotten that I'd put a creature generator in BS already. Unfortunately, it used a custom generation family, so it crashed. Got it fixed though, thanks for all your help Wink


And here I was wondering if the family was correct. 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.
Previous Topic: Help with shop spawning
Next Topic: Scripting Shopkeepers
Goto Forum:
  


Current Time: Fri Apr 03 04:52:04 PDT 2020

Total time taken to generate the page: 0.01206 seconds