Jump to content


Photo

Making a BS File


  • Please log in to reply
2 replies to this topic

#1 Darkmist

Darkmist
  • Member
  • 52 posts

Posted 07 September 2002 - 10:19 AM

I want to use this script that makes the theif hide then detect traps I edited a npcs script n it had this so I dont know what to do with it so i left it(Myself,100,RESISTSLASHING) :

IF
OR(7)
See(SeventhNearestEnemyOf(Myself))
See(SixthNearestEnemyOf(Myself))
See(FifthNearestEnemyOf(Myself))
See(NearestEnemyOf(Myself))
See(SecondNearestEnemyOf(Myself))
See(ThirdNearestEnemyOf(Myself))
See(FourthNearestEnemyOf(Myself))
False()

THEN
RESPONSE #100

END


IF
CheckStatLT(Myself,100,RESISTSLASHING)

OR(4)
See(NearestEnemyOfType([0.0.0.LONG_BOW]))
See(NearestEnemyOfType([0.0.0.CLERIC_ALL]))
See(NearestEnemyOfType([0.0.0.DRUID_ALL]))
See(NearestEnemyOfType([0.0.0.BARD_ALL]))
OR(2)
ActionListEmpty()
ModalState(DETECTTRAPS)
THEN
RESPONSE #100
AttackReevaluate(LastSeenBy(Myself),30)
END

IF
CheckStatLT(Myself,100,RESISTSLASHING)

See(NearestEnemyOf(Myself))
OR(2)
ActionListEmpty()
ModalState(DETECTTRAPS)
THEN
RESPONSE #100
Attack(NearestEnemyOf(Myself))
END


IF
CheckStatLT(Myself,100,RESISTSLASHING)
InParty(Myself)
ActionListEmpty()
!Detect([EVILCUTOFF])
!StateCheck(Myself,STATE_INVISIBLE)

THEN
RESPONSE #100
Hide()
END

IF
CheckStatLT(Myself,100,RESISTSLASHING)
ActionListEmpty()
InParty(Myself)
OR(2)
!See(NearestEnemyOf(Myself))

!ModalState(DETECTTRAPS)
THEN
RESPONSE #100
FindTraps()
END

Annyways, I want to make a New BS file and add it to my Scripts Folder in the BGII Folder. Named Theif 5 that conatins that script. I used Near infinity and cant find Something that Complies it to a BS file. All i get is BAF and BCS. Can you help me out? Thanks

#2 Cuv

Cuv

    Area Maker (retired)

  • Modder
  • 925 posts

Posted 12 September 2002 - 06:03 PM

I am suprised that no-one has answered this yet. All you have to do is rename your file to .bs.... or use one of the many script compilers to .bs.

Cuv

#3 -Me :)-

-Me :)-
  • Guest

Posted 13 September 2002 - 10:11 AM

It hasn't been answered here because everyone's already responded to it on the WeiDU board :D, where it was also posted.