What code in BCS script makes blue foot circles??
#1
Posted 03 August 2007 - 05:52 PM
Any thoughts on this?
Thanks in advance.
Cheers,
Hoppy
"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again." - King Diamond
The Definitive Guide to Trolls
"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant
#2
Posted 03 August 2007 - 06:08 PM
"Imagination is given to man to console him for what he is not; a sense of humor, for what he is." - Oscar Wilde
berelinde's mods
TolkienAcrossTheWater website
TolkienAcrossTheWater Forum
#3
Posted 03 August 2007 - 07:07 PM
"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again." - King Diamond
The Definitive Guide to Trolls
"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant
#4
Posted 03 August 2007 - 07:14 PM
Edit: and done. Hopefully, someone who does have this mod installed can guide you through a workaround. Or offer some advice.
Edited by berelinde, 03 August 2007 - 07:17 PM.
"Imagination is given to man to console him for what he is not; a sense of humor, for what he is." - Oscar Wilde
berelinde's mods
TolkienAcrossTheWater website
TolkienAcrossTheWater Forum
#5
Posted 03 August 2007 - 07:37 PM
"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again." - King Diamond
The Definitive Guide to Trolls
"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant
#6 -Radagast-
Posted 04 August 2007 - 01:29 AM
I searched in the BCS file through NI search for RA4300.bcs, I then narrowed my search to "unselectable". Loads of strings popped up quite some hundreds tbh. If u search carefully on the file u will see that there are some Large sections of "Ifs" that are about a specific character and have strings like these :
IF
//////The Next line defines which character its about.
Dead("Brue2") // Bruenor
OR(5)
Global("AbaBru","GLOBAL",27)
Global("AbaBru","GLOBAL",28)
Global("AbaBru","GLOBAL",29)
Global("AbaBru","GLOBAL",30)
Global("AbaBru","GLOBAL",31)
THEN
RESPONSE #100
Wait(1)
ClearAllActions()
HideGUI()
StartCutSceneMode()
FadeToColor([20.0],0)
Wait(1)
ActionOverride("AuPe1",DestroySelf())
ActionOverride("AuPe2",DestroySelf())
ActionOverride("AuPe3",DestroySelf())
ActionOverride("AuPe4",DestroySelf())
ActionOverride("AuPe5",DestroySelf())
ActionOverride("AuNo1",DestroySelf())
ActionOverride("AuNo2",DestroySelf())
ActionOverride("AuNo3",DestroySelf())
ActionOverride("AuNo4",DestroySelf())
ActionOverride("AuNo5",DestroySelf())
ActionOverride("AuFi1",DestroySelf())
ActionOverride("AuFi2",DestroySelf())
ActionOverride("AuFi3",DestroySelf())
ActionOverride("AuFi4",DestroySelf())
ActionOverride("ArFi41",DestroySelf())
ActionOverride("ArFi42",DestroySelf())
ActionOverride("ArFi43",DestroySelf())
ActionOverride("ArFi44",DestroySelf())
ActionOverride("ArFi45",DestroySelf())
ActionOverride("StaffM8",ForceSpell("Brue2",CLERIC_RESURRECTION))
Wait(
ActionOverride("Brue2",LeaveAreaLUA("ra4300","",[332.1004],)
FadeFromColor([20.0],0)
Wait(1)
ActionOverride("StaffM8",DisplayStringHead(Myself,95165)) // Collect your equipment.
Wait(5)
UnhideGUI()
EndCutSceneMode()
Wait(15)
HideGUI()
StartCutSceneMode()
Wait(1)
FadeToColor([20.0],0)
Wait(1)
//////Delete next section of code
ActionOverride(Player1,MakeUnselectable(1))
ActionOverride(Player2,MakeUnselectable(1))
ActionOverride(Player3,MakeUnselectable(1))
ActionOverride(Player4,MakeUnselectable(1))
ActionOverride(Player5,MakeUnselectable(1))
ActionOverride(Player6,MakeUnselectable(1))
///Till here
ActionOverride("Brue2",LeaveAreaLUA("ra4300","",[166.631],11))
Wait(1)
FadeFromColor([20.0],0)
Wait(1)
UnhideGUI()
EndCutSceneMode()
SetGlobal("Registr","GLOBAL",0)
SetGlobal("Ardaeffects","GLOBAL",4)
SetGlobal("AbaBru","GLOBAL",32)
END
IF
//////The Next line defines which character its about.
Global("AbaBru","GLOBAL",34)
THEN
RESPONSE #100
SmallWait(1)
ClearAllActions()
HideGUI()
StartCutSceneMode()
Wait(1)
FadeToColor([20.0],0)
//////Delete next section of code
ActionOverride(Player1,MakeUnselectable(999999))
ActionOverride(Player2,MakeUnselectable(999999))
ActionOverride(Player3,MakeUnselectable(999999))
ActionOverride(Player4,MakeUnselectable(999999))
ActionOverride(Player5,MakeUnselectable(999999))
ActionOverride(Player6,MakeUnselectable(999999))
///Till here
Wait(1)
ActionOverride(Player1,LeaveAreaLUA("ra4300","",[1537.253],5))
ActionOverride(Player2,LeaveAreaLUA("ra4300","",[1386.75],2))
ActionOverride(Player3,LeaveAreaLUA("ra4300","",[1432.91],3))
ActionOverride(Player4,LeaveAreaLUA("ra4300","",[1532.211],4))
ActionOverride(Player5,LeaveAreaLUA("ra4300","",[1534.291],5))
ActionOverride(Player6,LeaveAreaLUA("ra4300","",[1438.405],6))
SmallWait(1)
ActionOverride("Brue2",LeaveAreaLUA("ra4300","",[1260.372],)
CreateCreature("ArFi51",[1250.234],0) // Malwyn
CreateCreature("AuFi1",[1229.455], // Human Fighter
CreateCreature("AuPe5",[1136.63],14) // Audience
CreateCreature("AuFi3",[1102.81],13) // Fighter
CreateCreature("AuFi4",[1066.101],13) // Fighter
CreateCreature("AuFi2",[985.189],13) // Human Fighter
CreateCreature("AuNo3",[975.221],12) // Audience
CreateCreature("AuPe2",[977.251],12) // Audience
CreateCreature("AuPe1",[985.299],11) // Audience
CreateCreature("AuNo4",[1063.393],10) // Audience
CreateCreature("AuPe4",[1111.419],10) // Audience
CreateCreature("AuNo2",[1173.443],9) // Audience
CreateCreature("AuPe3",[1323.447], // Audience
CreateCreature("AuNo5",[1375.429],7) // Audience
MoveViewPoint([1260.372],INSTANT)
SmallWait(1)
ActionOverride(Player1,FaceObject("Brue2"))
ActionOverride(Player2,FaceObject("Brue2"))
ActionOverride(Player3,FaceObject("Brue2"))
ActionOverride(Player4,FaceObject("Brue2"))
ActionOverride(Player5,FaceObject("Brue2"))
ActionOverride(Player6,FaceObject("Brue2"))
SmallWait(1)
ActionOverride(Player1,EquipMostDamagingMelee())
ActionOverride(Player2,EquipMostDamagingMelee())
ActionOverride(Player3,EquipMostDamagingMelee())
ActionOverride(Player4,EquipMostDamagingMelee())
ActionOverride(Player5,EquipMostDamagingMelee())
ActionOverride(Player6,EquipMostDamagingMelee())
ActionOverride("Brue2",FaceObject("ArFi51"))
ActionOverride("StaffM9",FaceObject("Brue2"))
FadeFromColor([20.0],0)
Wait(1)
ActionOverride("StaffM9",DisplayStringHead(Myself,95188)) // Welcome, people! The first round is about to begin. Hold your breathes! The battles to find the ultimate fighter are going to start now!
Wait(
UnhideGUI()
EndCutSceneMode()
SetGlobal("AbaBru","GLOBAL",35)
END
For example this is a part of code for Bruenor "ababru" is bruenor. So u can try narrowing your search even more by searching for ababru/brue2 and deleting the unselectable lines of code at it.
So i searched for "abawulf" and deleted all the lines that said : actionoverride and made players unselectable. I did this for all portions of Wulfgar "If" sections of code which was about 800 lines of code searching or less (but very fast scrolling since u know what u r looking for) so it took me about 15 minutes to do it :S at least it works now perfectly cause I can select everyone in the party when Wulfgar has battles so at last arenas are challenging
Thank god every 1 thousand lines or so the character completely changes in the code so once i finished with Wulfgar and i saw line of code with Bruenor it was the end no more code had to be edited. ( so it was just like 800 lines in a row nothing more.
Hint to make it even more easier : search in the script code for :
ActionOverride(Player1,MakeUnselectable(1))
and
ActionOverride(Player1,MakeUnselectable(999999))
BUT only bother with code about the char u r interested in. ( which will be like 800 lines of code in a row only- roughly 15 minutes work)
PS1 : If u want to battle with the main char though in arena as fighter im not sure that my suggestion will help bummers.
PS2 : I know its a kinda sucky way to fix it but it worked for me and secondly i am by no means a programmer so this was just done by logic Feel free to post for an easier way ^^
#7
Posted 04 August 2007 - 05:37 AM
I just tested it with PC as fighter and it worked for whoever pays or registers. I deleted all of those unselectable codes which should account for any fighter type NPC's. Good work Radagast!! You are officially a bug fixing ninja! . We should test it more with other characters to make sure. However, with all of those strings deleted, the rest of the party can attack. Simple just to turn off party AI. Good fix and simple workaround!! Maybe we can have someone look at that BCS if we have permission to upload here so that it can be finetuned and made a legitimate bug fix for others to download.PS1 : If u want to battle with the main char though in arena as fighter im not sure that my suggestion will help bummers.
PS2 : I know its a kinda sucky way to fix it but it worked for me and secondly i am by no means a programmer so this was just done by logic Feel free to post for an easier way ^^
Great Job Radagast!
Hop
"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again." - King Diamond
The Definitive Guide to Trolls
"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant
#8
Posted 29 January 2008 - 11:00 AM
I also managed to create my bcs file to override the problem.
Now it was the first time I used the infini engine and I can give some tips to noobie like me :
Don't do too much before saving and compiling, I wasted 1h30 on a out of control engine (every action was a java heap error, due to a previous
search crash that looked harmless at first)
You can compile many time and save many time.
(actually, I was also doing it, but there was no feeback that it was not successful. the save was generating a 0 byte file.)
No need for backup, the change goes to the override file (I got an empty script after the crash, and just when I was going to reinstall everything, I
realized that common sense fact...).
If something goes way wrong, restart from the original bcs file (delete the override file).
Before the crash, I patched all the makeunselectable, but after the crash I only patched wulf and the player.
You can find the player "abapla" is what you are looking for (Override player1).
Thanks again for the input, very valuable to do the arena !
#9
Posted 29 January 2008 - 04:13 PM
I think AI can be turned off/on via scripting. You can add that to your changes.However, with all of those strings deleted, the rest of the party can attack. Simple just to turn off party AI.
#10
Posted 31 January 2008 - 09:56 AM
Edited by Hoppy, 31 January 2008 - 10:00 AM.
"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again." - King Diamond
The Definitive Guide to Trolls
"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant