Search Results
Searched for posts by vasiliy in all forums

Showing results 81 - 90 out of 432 total
Modify your search
Posted by vasiliy, Mar 1 at 4:13 pm
i tried to implement that. if the player turns Petrus hostile (and only Petrus), the code first moves princesses to the player team. haven't checked if it works yet, but i cannot see why it shouldn't. also, introduced special handling for gifts, so it's now possible to give them something besides luxuries.

but if the player managed to turn Attnam hostile by some other reason, ladies won't join. they hate Petrus, but not the whole city (how noble of them! .

wife #7 will prolly need a special handling, tho. i don't think that the code will work for her. besides, she needs a different logic: i bet she could always join, considering her… living conditions.

SPOILER ALERT. Click here to see text.
i really want to have some way to help them escape. this prolly where random encounters might help: the player may meet the caravan with #3 and #7, travelling to their tribe for… something, and kill everybody there except the ladies.
Posted by vasiliy, Mar 1 at 4:07 pm
valgrind says that they are uninitialised. `character` doesn't have those default strenghtes set, there is even the comment about that. and colors are set only for humanoids. so those end up as undefined. fighting skills don't have default values too.

actually, the game itself should check for this, but sadly, it can't.

that is, valgrind is always right, because it actually executes the machine code, and checks if the memory initialised on each read. it's not some static analysis tool. it is freakin' slow, of course, because it is a fully-featured CPU emulator. so running the game with valgrind is PITA, and i cannot check more than that (it literally takes minutes to heal several HP). sigh.
Posted by vasiliy, Mar 1 at 2:23 pm
mushroom needs `TorsoSpecialColor` and `BeltColor` set. the values can be arbitrary, the properties simply need to be defined. this is prolly wrong (the actual bug is somewhere else), but at least it makes valgrind happy.
Posted by vasiliy, Mar 1 at 1:15 pm
btw, i think that petrus' wife #3 and petrus' wife #7 should join the player if he attacks Petrus. they prolly won't survive long enough, though…

also, it should be possible to give them weapons. let's pretend that nobody notices.
Posted by vasiliy, Mar 1 at 11:37 am
some characters have undefined attributes. it is mostly harmless, but causes the game to access uninitialised memory.

imp has no:
DefaultArmStrength
DefaultLegStrength
DefaultDexterity
DefaultAgility
DefaultEndurance
i don't know what to put there. i mean, by which other creature imp was modelled? and i'm not sure that this is harmless.

petruss wives has no fighting skills, and they need them just in case they will get some weapons. also, petruss wife #2 "wields" a child, so she needs weapon skills from the start. i propose something like
// taken from the housewife
KnownCWeaponSkills = { 3, UNARMED, UNCATEGORIZED, BLUNT_WEAPONS; }
CWeaponSkillHits = { 2, 50, 50, 50; }
BaseUnarmedStrength = 200;
in the main definition. "blunt" added for frying pans and rolling pins.

firstborn item is missing some definitions, so danger caluclation for petruss wife #2 is UB.
Category = MISC;
FormModifier = 30; //k8: i don't know
IsTwoHanded = true; //k8: why not?

don't ask me how i found that. you don't want to know.
SPOILER ALERT. Click here to see text.
a lot of debug printing and a lot of valgrind sessions with k8IVAN. then quickly checked if vanilla is missing those too.


there seem to be a problem with mushrooms too, but i don't know yet what causes it, and if it is present in vanilla too. it is something with graphics data and animation (and i rewrote graphics subsystem, so it's hard to compare things there).
Posted by vasiliy, Mar 1 at 9:47 am
because there is huge difference between commerce and banking. tbh, i simply don't want Mellis to be involved in this shit. nobody deserves that.

The Bank Corporation not really a god: they have no altars, there is no way to change your relations to them. it's just TBC voice interface nicely fits to prayers. Mellis would like to banish them, but he is not powerful enough.

SPOILER ALERT. Click here to see text.
i simply want to spit into the face of the banking system. and make some fun of them too. one of the planned quest lines (i am very-very slowly working on the first draft of the script) is "return real money to the world, and get rid of TBC".

p.s.: the weight of all returned coins will crush The Great Frog. world end.
Posted by vasiliy, Feb 28 at 8:55 pm
hm… with "finder AI" the game drifts back to "nintendo hard" territory. i used to relaxed playing — just rushing into monsters… and now it doesn't work anymore. also, i used to simply throw away things i don't need… DON'T! those bastards WILL pick them up! now it's IVAN i love!
Posted by vasiliy, Feb 28 at 4:49 pm
playing with "item-collecting" monsters if more fun, but harder too. i never realised how dumb they are: they often spawned near good equipment, and don't bother to pick it up.

also, more heavy metal sirens with skull helmets. maybe i should add a special kind of song for them…
Posted by vasiliy, Feb 28 at 1:35 pm
Dark-Star2018 wrote
Add plenty of corny dialog and ship it. Divine banking, i freaking love it.
thank you! i have some bigger plans on this later — like more features, and even its own quest line. but it's reserved for the far future. for now only what i described, yeah. and some surprises if you'll die with the bank debt…
Posted by vasiliy, Feb 28 at 7:42 am
red_kangaroo wrote
This could be Mellis, the god of money.
yes, but i want The Bank Corporation to be the separate entity. i have some other plans for them too, but i need more time to make things less… foggy.

red_kangaroo wrote
I wonder what One-eyed Sam would end up with.
heh. maybe one day i'll remove that check and see what she will choose. not that she really needs anything to tear anybody apart, tho…


p.s.: i am quite happy with "pickup AI". i mean, it seems to work: hungry monsters run for nearby food, humanoids run for items they can equip. the more Int monster have, the further it is ready to run (up to LOS distance).

forgot one check, and poor mistress (actually, very rich mistress tried to eat banana lump from the shop. as monsters don't picking up food, she couldn't. so she moves one square away, then notices the bananas, moves to them, fails to eat them, moves one square away, notices the bananas…

maybe i should teach the monsters to pick up the food in shops first…