Jump to content


Gel87

Member Since 21 Oct 2014
Offline Last Active Nov 05 2024 12:53 AM

Posts I've Made

In Topic: Need help with Vampire script

04 November 2024 - 04:46 PM

Lol, now i messed up, i know how to fix it thought.
Never removed my first script (GelVa02.bcs)
It shares global value with (GelVa20.bcs) for turned vampire.
When that global effect SunBurn is triggered i will force GelVa31.spl(Burned by Sun) on myself. Which means i take fire damage twice timed, then firing death after.
It only happens when i successfully turn a male character into Vampire.

- So i found out that lady vampires had GelVa201 script by mistake. She also misses the regular Vampire items, and some regular Vampire scripts which the male version has. Nice fault findings xD

- The spell named Burned by Sun pops up in feed as charname Burned by Sun, he goes argh, argh, dies in fire. And it all looks and sounds way better :P the spell ignores everything, resists etc. and has very relevant .bams which i failed to find atm when scripting xD

- So, this also means that my add script to player via spell works, both with and without AI on! Which means i dont need baldur.bcs modifications :D

So many things to fix, but this will be Even better once fixed :D

1. fix female Vampire script and items.
2. dont share global values with turned vampires, they never wear Daywalker ring and i prefer not to burn due to some turned Vampire increase the global value xD
3. Fix the script assigned to me via spell via clab table to have all the same triggers.

Was kinda funny, female Vampire attacked without wepons, had few automatic functions, meanwhile male Vampire was epic, but was certain death for me xD

In Topic: Need help with Vampire script

04 November 2024 - 04:04 PM

The assist one did not work.
Hurt dont work as its not in the scout.ids

VerbalConstant(PLAYER1, HURT) works wonders ^^
And added bigger fire, bdpfirix.bam is up for the test xD

In Topic: Need help with Vampire script

04 November 2024 - 03:42 PM

<blockquote class='ipsBlockquote'data-author="paladin84" data-cid="616904" data-time="1730762512"><p>
player1d.bcs is the one, I don't think you need to do it for other players (player1 is always the main character and other ones should not have this kit, right?). I don't think you need Class(Player1, MONK),  checking for the kit should be enough. Overall, I am glad it works.<br />
 <br />
For the killing from the script, it should be Kill(Player1) or Kill(myself).</p></blockquote>

Thanks man :)
I ended up with the baldur.bcs one, incase i want to have forexample a high charisma thief as main char. Just makes stuff easier sometimes.

I included:
the weather checks now (need to test)
I included the check for not in Shadow temple land(shaded)
Responce #100
CreateVisualEffectObject(«BDFIRET»,PLAYER1)
ActionOverride(PLAYER1,Shout(ASSIST))
Wait(2)
CreateVisualEffectObject(«SPDUSTY2»,PLAYER1)
Wait(1)
Kill(PLAYER1)

In Topic: Need help with Vampire script

04 November 2024 - 02:21 PM

<blockquote class='ipsBlockquote'data-author="paladin84" data-cid="616902" data-time="1730752288"><p>
So, what is your question? Script doesn't work?<br />
 <br />
From what I see, it should generally work, but "ActionListEmpty()" trigger only works if it is a creature script. For area or global scripts I would assume it will return "false" all the time... anyway, it should not be there. Continue() is not necessary (it goes to the next block of the script, but in this case I don't see any reasons to do this). For setting the variable (I don't know how GelVa70.spl works and if it really setting the variable in 1, though) it makes sense, so the script block only work ones. And I believe it is possible to do everything without a spell (CreateVisualEffect is the main action to use).<br />
 <br />
Also, I think more proper way would be to extend player1-player6 scripts. I don't remember their names, but they are there (I don't have NI right now, I can check it later). I would assume their names are "PLAYER1.BAF" or something like that.<br />
<br />
 </p></blockquote>

Okay thanks, sry for the bad quote btw, im on phone.
I removed continue and action override.
I tried to change the spellcasting with just Die(PLAYER1) but that did not happen either.

In nearinfinity i find something called: player1d.bcs. It starts cutscenes and give bhaalpowers, journal entries etc.
There is also one called bdmonk01.bcs
But i think AI has to be put on for those.

The global value should be set, the same spell which is applied via clabtable lvl 1 is used to set another global value, which starts a script that polymorph me into Vampire based on gender, that thing works wonders, and since it does i copied that and only changed string into GeBurn.

And i made basicly the same creature scripts for my turned vampires, and they have that script assigned as creature override script. They dont burn either xD ofc they use myself instead of player1.

So yes, i think maby the IF section is never true :(
Dno why.

I copied:
TimeGT(DAWN_START)
TimeGT(DAWN_END)
From hexxat script.

When i look upon the script step by step:
Kit(PLAYER1, GeVaKit) // spelled correctly
Class(Player1, MONK) // is this needed? I assume im still also a monk as the kit is chosen from monk and i Get the monkfist etc.
!HasItemEquiped(«GelVa02»,PLAYER1) // trippel checked correct item name.
Time welllllll!

I was sitting here trying to explain my checks and intention for each trigger, and when ingame to TimeGT and TimeLT i decided to check hexxat script again.
I had DAWN_START/DAWN_END, so i changed into DAWN_START/DUSK_END and tested ingame, my Vampire died instantly once i took off Daywalker ring :D

It works :D now i just need to add visuals and delay that death with 2-3 seconds :D

In Topic: How to determine if creature is exsposed to sun light?

01 January 2024 - 01:17 AM

To much to do lol, making this kit. Contiue my custom solo fighter/mage/thief kit adventure and also wanna do legacy of monk solo baal walktrue xD