Gel87
Member Since 21 Oct 2014Offline Last Active Nov 05 2024 12:53 AM
Community Stats
- Group Member
- Active Posts 195
- Profile Views 5887
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
Topics I've Started
Need help with Vampire script
04 November 2024 - 09:05 AM
Since im pretty much garbage at scripting this has taken me maaaaaaaany hours to be at the stage i am now.
1 problem mainly remains now:
My Vampire is supposed to burn to death via GelVa31.spl if he is exsposed to sunlight and not wearing the Daywalker ring GelVa02.itm
First of all, i dont play with AI on, i hate it. Even in solos.
So my struggle is, how can i have a script to trigger on the correct PC. P1, to P6?
The only thing i have found out about is baldur.bcs and baldur25.bcs for tob.
So currently my script looks like this:
IF
Kit(PLAYER1,GeVaKit)
Class(PLAYER1,MONK)
Global("GeBurn","GLOBAL",1) // Set by GelVa70.spl, which also sets global for male/female vampire shapeshift script
!HasItemEquiped("GelVa02",PLAYER1)
TimeGT(DAWN_START)
TimeLT(DAWN_END)
//OR(5)
//!Global("WEATHER","LOCALS",3) // Rain
//!Global("WEATHER","LOCALS",4) // Snow
//!Global("WEATHER","LOCALS",5) // Fog
//!AreaType(DUNGEON)
//!AreaType(EXTENDEDNIGHT)
//!AreaType(DREAMAREA) // Dont work
OR(2)
AreaType(OUTDOOR)
AreaType(CITY)
ActionListEmpty()
THEN
RESPONSE #100
SetGlobal("GeBurn","GLOBAL",2)
ActionOverride(PLAYER1,ReallyForceSpellRES("GelVa31",PLAYER1))
//ReallyForceSpellRES("GelVa31",PLAYER1)
Continue()
END
And i use this to add it to bottom of baldur.bcs:
COPY_EXISTING ~BALDUR.BCS~ ~override~
EXTEND_BOTTOM ~BALDUR.BCS~ ~GeVaKit/Scripts/Baldur.baf~
Once this section works, i will copy it for player2, 3, 4, 5 and 6
I dont fully Even understand how «continue» works, i do not know if actionlistempty is smarte to use, i dont know if setting global value 2 is Even needed, and i dont know if ActionOverride is the right thing to use here. This is version 20, and my Vampire still refuse to burn in sunlight without his ring
The idea about the ring is that its a nerfing ring, where it would be benefitial to take it off whenever no sunlight is present. I dont want it to be cursed, or autoswapped like hexxas items etc.
Can anyone please help me, im stuck like a fish in a Jar xD
I fixed a simular problem earlier on something Else with removing the continue thing. I tried to read what continue actually does in weidu book and iesdp page, but it goes over my head. Dont understand it properly xD
Also, it dont have to be that spells, it could be scripted death as well, i just dont know enought.
In that case i would love something like:
Fire damage animation
Play visual (custom bam)
Wait(10) Dno value, but maby let burn for 2-3 seconds
Disintegrate including animation for it.
(100% bypassing resists/immunities and such)
How to determine if creature is exsposed to sun light?
30 December 2023 - 11:58 PM
Yo,
Im building a vampire kit. And it will turn stuff into custom vampires as well.
The main character with relevant kit and race vampire will die by a custom spell if exsposed to sunlight, if he is not wielding a nerfing ring called Daywalker Ring. And the vampire he turns will be the same.
But how do i determine if they are exsposed to sunlight?
I know hide in shadow dont work in sunlight. But it does not work if spotted by enemy as well.
I know there are many weather conditions.... Dusk to dawn, dawn to dusk, city, rainy forest, dungeon, etc? How do it see difference if the creature is in a tavern/house contra outside in the city during daylight?
Maby there is something in the scripts for vampire NPC's already in the game?
There are drow items who turn to dust if exsposed to sunlight? How is this set up? Just by leaving underdark? Or does it has actual sunlight code?
Is there sunlight factors? Such as Sunlight Sensitivity, sunlight exsposure in the game already?
How do i uncompile a script? Cause i cant read scripts already compiled^^
Any pointers?
Need help with some spells and scripts
30 December 2023 - 12:30 AM
Yo
Baldur's gate EE, BG2EE, SOD:
Im stuck at work for almost 2 more weeks and are planning to do a vampire thief class kit "Shadow Lurker" and i already know there are some aspects there which is gonna be a struggle for me due to my lack of knowledge.
So instead of listing my entire plan of the kit i can rather list the issues i see myself having with it:
Issue 1:
The vampire gonna wear "Ring of Daywalker" which are gonna nerf him, but only when in sunshine. He may choose to take it off as well, but will then disintigrate and burn if in sunshine.
The issues i met last time was weather conditions.
Because dusk to dawn is rather easy, but there is also rainy forest, inside houses, dungeons etc. And i would really like to have the effect happening in umar hills with that light there.
At higher levels his "Blood Drain" albility will kill and convert enemies to vampires. I want those vampire's to die in sunshine as well.
Blood drain idea is to add blood effects on enemy and myself, force enemy to sleep for some seconds, and at higher levels some enemies will die while lying down if fail to save throw and it will summon a vampire at myself. Would be cool if i was able to make my vampire bend over him in the process as well, but dno how.
The plan is to summon an invisible summon which use last summoner of myself function to cast the disintigrate spell when unprotected in sunshine, which kills himself after action done. Ring of daywalker will ofc have immunity effect to this spell.
As well as when you become Vampire Orginator you will be immune to sunshine. But ur turned vampires will not ofc.
Issue 2:
Thief levels pretty fast and i always do solo playtrue BGEE-SOD-BG2EE. It stops at level 40, but ideally i would want level 50. Which table's would need to be changed to be able to reach lvl 50?
I also may encounter issue where thiefing skills max out, and im stuck on level up due to cannot put the thieving albilities anywhere.
Issue 3:
It will also have a HLA spell called Acid Rain
Is it possible to change colour of Fire Rain? Or anyone know what the effect where u get green gue all over ur character when opening certain trapped chests? I searched without finding that animation before...
If all else fail i already have a single target acid spell comming from the sky dealing both acid and crushing, and can just change this into an aoe spell instead.
Issue 4:
When finally reaching the HLA albility Vampire Orginator my plan was to make it act simular to the WISH spell.
It will summon a geni which prompts you with an dialog to summon forth the unnsuspected First Vampire. You character will then quickly blood drain him and "gain his powers" an become a Vampire Orginator.
However i have never made a dialog before, any pointers or links on how to do this?
Something like this:
Summon Geni(GelVa07.cre) on myself.
use last summoner of myself function to initate dialog with me.
Once dialog ends cast spell with something like ForceSpellRes to summon the first vampire.
Force my character somehow to use a Custom Blood Drain on first Vampire which basicly consists of certain death for him and cast needed albilities on myselfs.
The spells themselves are not an issue for me, but im very weak in scripts.
- I dont know how to add a dialog into the game other than whatever item/spell texts i add via kit scripts.
- I dont know how to force my character to do such functions, maby as simple as ForceSpellRes
- I dont know how to script this at all xD
It also needs to be gender based, if male it will be male vampire, if female it will be female vampire.
Anyone have some pointers?
Issue 5:
It will have a spell called Bat Swarm, basicly it will summon several bats for each enemy, dealing damage and several effects will happen.
How do i control theese bats? (it's not a must, they may just appear over enemy and do random behaviour, but would love for them to come from me as as a swarm, 3 for each enemy and move to each enemy dealing 3 x piercing damage, move back to me, then back to enemey dealing damage second time, then back to me again)
Hopefully i will find some cool red effects simulating them bringing me blood from the enemies.
I made this spells before with random bats just appearing above enemies, but i think i overdid it, cause bats was never visible, the spell was so offensive that my pc crashed every time as well xD
Issue 6:
When i was in the progress to make a kit like this before i had a issue where vampire would not be visible in bg1EE. I know there is vampire's in SOD and i thought all resources would be at both games when using EE.
Maby i used wrong creature type?
Issue 7:
I want him/her to be unable to use armor. Until he gets use all items. Maby even not then. But is there any simple way to do this? Do i have to go true all armors and change them? Or can i do it more simple?
It's been a while since i touched modding and baldur's gate, so I dont remember all i knew before, but i guess i quickly get back into it
Any help is appritiated I know chatgpt can help me a little with scripts, but i think you guys will be able to help me way more^/better^
- Spellhold Studios
- → Viewing Profile: Topics: Gel87
- Guidelines