Jump to content


Photo

Academy of Kuldin Random Creature Creation fix


  • Please log in to reply
50 replies to this topic

#41 Suslik

Suslik

    Investigator

  • Member
  • 500 posts

Posted 24 June 2010 - 05:44 PM

I've done some script examination and i think i know what caused the problem. Quite easy, actually:
There are blocks with checks:
IF
	NumInParty(x)
	LevelPartyLT(hi)
	LevelPartyGT(low)
THEN
	RESPONSE #100
		SetGlobal("SortOfDifficultyLvl","MYAREA",1)
END
Lets for example assume that i have imoen lvl 10 in party and myself 25. Neither of blocks will be fired, because all checks only check ranges 1..10, 11..20, 21..30 and so, neither of them check if one of my party members is ten levels stronget than other. I'm not sure, but it may be because of LevelPartyGT() counts even dual-class levels(i have 13'th), so neither of blocks is fired.

Look, i've just made those checks in my actual party:
Spoiler


I've found a solution which seems logic to me: determine monsters difficulty only with upper-level-bound check: LevelPartyLT(hi). If the strongest party member is less than 10 lvl, then spawn weak monsters. if the strongest party member is less than 20 lvl, make monsters stronger, and so on. if put those block in ascension order, the difficulty will be determined properly. there's also a mistake determining very hilvl difficulties. I think that if neither of LevelPartyGT() succeed, it means, that party level is very hi and the difficulty should be set ti "highest". So here's my fixed script, it seems to work ok for me:
Spoiler


@Hoppy

You know you could have told me your power gamer intentions from the beginning instead of duping me into believing there was some kind of hidden bug or glitch that I spent time looking into and repeating the same answer over and over because it was a fairly simple concept to grasp but you wanted something special for you. What the deuce man? Mod your own file.

Man, i'm sorry about that, i really didnt want to mislead you or something :(

FXD: added one more spoiler and updated reply

Edited by Suslik, 24 June 2010 - 05:52 PM.


#42 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 24 June 2010 - 06:07 PM

neither of them check if one of my party members is ten levels stronget than other.


None of the scripts do this. The way the trigger works is it checks all of your party member levels and does not add them but takes the highest number. If your party members are all level 12 and you are level 28, you get the one appropriate for level 28.

and myself 25

You get this one if you have six party members and you are highest level:
IF
        NumInParty(6)
        LevelPartyLT(30)
        LevelPartyGT(21)
THEN
        RESPONSE #100
                SetGlobal("CbParty6Cat3","MYAREA",1)
END


How many party members are you running right now?


EDIT: Nevermind, I see what you were saying

Edited by Hoppy, 24 June 2010 - 06:12 PM.

?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"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


Posted Image 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

#43 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 24 June 2010 - 06:14 PM

The original scripts had level checks in the 60's and 70's so that was never going to happen and no one fought demons. The way I did it was to make a compromise with the levels to allow for all the different possible enemies without getting too much of a mixture.
?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"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


Posted Image 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

#44 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 24 June 2010 - 06:23 PM

these two will conflict. Maybe just a typo?

IF
        NumInParty(1)
        LevelPartyLT(30)
//      LevelPartyGT(21)
THEN
        RESPONSE #100
                SetGlobal("CbParty1Cat3","MYAREA",1)
END

IF
        NumInParty(1)
//      LevelPartyLT(40)
THEN
        RESPONSE #100
                SetGlobal("CbParty1Cat4","MYAREA",1)
END

EDIT: This is the only difference in your BCS edit that I see is different than mine. maybe the Less than is the way to go for every fourth block but a greater than 31 will still check true in all category 4's.

Tough to tell since this all new content that we are seeing. It was there before, just not happening with the super high levels. You can see how things wouldn't work in my comparison in the first post.

Edited by Hoppy, 24 June 2010 - 06:38 PM.

?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"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


Posted Image 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

#45 maximus2001

maximus2001
  • Member
  • 525 posts

Posted 24 June 2010 - 08:17 PM

Hi Hop,

Just finished the Academy and wanted to mention this, and saw Suslik beat me to it. Well here's my 2 cents.

I decided to go there earlier this time, the party level is around 1 million xp (levels 9-11). I like bugbears :lol: and have had my share of golems the first time, and then a boatload of demons second time. Problem is they just sat there - they were hostile red circle but no attack. They do have a great animation though. It was like knocking down bowling pins. But I decided to finish the area and come back at a higher level for the endless spawns and more xp.

Then there were the harpies. Ugghh. Again a cool animation, but they did not attack either. Since it was early in the game the best weapons were +3 and +4. Robillard (my only spellcaster) had to kill them all with wand of frost and lightning wand. It would have been really tough if they were attacking him at the same time. It might have been harder than the demons if they did.

There is a trap on the roof (the griffon eyrie) on the left door that causes a ctd when you open it. Got around it by not touching it, besides there's nothing there. Not sure if that's what Suslik meant.

As far as the wing buffet on that walkway, just run really fast. I'm playing on core and do take a lot of damage, but chug potions and run away. The roof also had buffets that helped take out the harpies.

So its great what you did with fixing the level dependent monsters. I just don't know what is wrong with the AI. But will definitely go back to whale on some tougher enemies there. Thanks for working on CTB!

#46 Suslik

Suslik

    Investigator

  • Member
  • 500 posts

Posted 24 June 2010 - 08:34 PM

@Hoppy

these two will conflict. Maybe just a typo?

No, it's just as i intended. If none of previous blocks NumInParty(1) fired, it means that party level is the highest and appropriate monsters should be spawned.

#47 Suslik

Suslik

    Investigator

  • Member
  • 500 posts

Posted 24 June 2010 - 08:38 PM

@maximus2001
yeah, totally the same issues with bugbears, harpies, CTD on the top floor and all. btw when i fixed monter transformation, transformed golems attack pretty well, they cast spells and do other evil things. but i still think that it's far easier to beat them other than harpes. well, tough luck for low lvl parties with them :)

oops. should've merged this post with previous :(

Edited by Suslik, 24 June 2010 - 08:39 PM.


#48 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 25 June 2010 - 10:13 AM

The Bugbears and harpies do not have attack scripts. Well some do and some don't. The ones that do not are the extra spawns after the level checks have been done so this would be in the lower levels. They have only a script that says Face(12) or the like which means they look at you and do nothing 8) Cool! :lol:

Anyway, the trapped door is either a total area f'''up or the spell is cheesed. I'll do a vanilla test with CtB to see. Nothing I can do if those spells are jacked which as I said before will cause a CTD in a trap script whether or not you have a spellcaster cast the same spell 50 times with no CTD. Something about the power of the spell and the trap scripts, maybe.

I will look into the CBBUGBRX, Y and Z to add some scripts or just add to their default script and check the harpies too.

No, it's just as i intended. If none of previous blocks NumInParty(1) fired, it means that party level is the highest and appropriate monsters should be spawned.


You only edited one so we have to do the others too for the different numbers of party members. Anyway the original script said
IF
        NumInParty(6)
        LevelPartyGT(72)
THEN
        RESPONSE #100
                SetGlobal("CbParty6Cat4","MYAREA",1)
END

so I at least was on the right track. I think I damned myself with this modding crap.

Edited by Hoppy, 25 June 2010 - 10:15 AM.

?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"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


Posted Image 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

#49 -Hop-

-Hop-
  • Guest

Posted 26 June 2010 - 10:52 AM

If you are level 25, both of these blocks ring true. It is not a fix, sorry. :(
IF
        NumInParty(1)
        LevelPartyLT(30)
//      LevelPartyGT(21)
THEN
        RESPONSE #100
                SetGlobal("CbParty1Cat3","MYAREA",1)
END

IF
        NumInParty(1)
//      LevelPartyLT(40)
THEN
        RESPONSE #100
                SetGlobal("CbParty1Cat4","MYAREA",1)
END


#50 Suslik

Suslik

    Investigator

  • Member
  • 500 posts

Posted 27 June 2010 - 09:49 AM

@Hop

If you are level 25, both of these blocks ring true. It is not a fix, sorry.

Nope. The first block will be fired and the script will reset its execution. notice that there is no Continue() command.

#51 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 28 June 2010 - 08:36 AM

There aren't any Continue()s after the level check blocks only the ones I added for the other stupid things that weren't happening before.

How many party members are you using for this test. If you have more than one, neither of those blocks fire obviously.

Maybe it would be better to post your whole script edit, compiled and copy pasted textually from NI so i can see what you are talking about.

EDIT: I tested with 5 party members and my PC at level 28. Bugbears changed to Golems with the exception of one or two bugbears remaining as they were at area loading. They were ones that attacked so that could be the cause of them not transforming because the transforming script is their Default script so it may take less precedence.


Level 31 and up will be demons and that's the way I'll leave it for now until I can test some more.

Edited by Hoppy, 28 June 2010 - 09:14 AM.

?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"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


Posted Image 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