modelementalcrossbowtallenta
Added crossbow and optional yrden additional effects
About this mod Machine translation
Added crossbow and optional yrden additional effects
modelementalcrossbowtallenta in progess. . .
The mod produced and tested version 1.21 of the game,
So if you are not using the same game version and you are not sure about this extra code in the script then you can easily add it yourself
This mod inspired me from another mod and there are no changes or modiffiyng anithing it just adds the normal script some extra code to add to the crossbow and optional yrden extra effects for example you can now have those effects implemented as I need to do more testing so
For crossbows, you can add additional effects such as freeze enemies, burn, ragdoll, knockdown, and bash finishers. . .
For the symbol yrden replacement trap you can add the same effect as the crossbow example
Example is using the path to my main game folder which is J:\thewitcheriiia,
So you first need to backup the npc.ws file just in case My path J:\thewitcheriiia\content\content0\scripts\game\npc\n
\n\n\n\n\n\n\n\n\nNow you need to copy npc.ws to J:\thewitcheriiia\mods\modboltknocka\content\scripts\game\n\n\n\nIf this path is not in your main game folder, then you need to create it,
So now open the npc. From J:\thewitcheriiia\mods\modelementalcrossbowtallenta\content\scripts\game\npc you have to find those lines
boltCauser =(W3ArrowProjectile)(damageAction.causer);
yrdenCauser =(W3YrdenEntityStateYrdenShock)(damageAction.causer);
if(boltCauser || yrdenCauser)
Now you need to add those extra lines of code like this
boltCauser =(W3ArrowProjectile)(damageAction.causer);
yrdenCauser =(W3YrdenEntityStateYrdenShock)(damageAction.causer);
if(boltCauser)
{
damageAction.AddEffectInfo(EET_Knockdown);
}
if(yrdenCauser)
{
damageAction.AddEffectInfo(EET_Frozen);
}
if(boltCauser || yrdenCauser)
Now you can change EET_Knockdown found in the first part of the code for the crossbow to add a knockdown effect
Or you could change EET_Frozen found in the second part of the code for yrden sign mod 2 and add a freeze effect when the trap is activated,
This way you can change the effect if you want
Those haven't been fully tested but in my brief testing it worked fine for me
Ding Ding Ding Ding Ding bosses and some other quests and special NPCs get these effects until I find a way to make them vulnerable
And the EET_HeavyKnockdown effect is a knockdown effect that allows you to complete the enemy.
EET_Burning
EET_Frozen
EET_Ragdoll
EET_Knockdown
EET_HeavyKnockdown
EET_ToxicityVenom
EET_Blindness
EET_WraithBlindness
If you have problems launching the game and it gives you errors then you can copy\paste the code
If it still doesn't work properly and it gives you compilation error then you need support you have fixed this error I fixed this error Changed by developer
For example my path J:\thewitcheriiia\content\content0\scripts\engine and backup telemetryKeyword.ws just in case
Now open it and select all and delete all the code inside then copy it to
// It points to "theTelemetry"
//not direct
Import class CR4TelemetryScriptProxy extends CObject
{
import final function LogWithName(eventType:ER4TelemetryEvents);
Import final function LogWithLabel(eventType: ER4TelemetryEvents, label: String);
Import final function LogWithValue(eventType: ER4TelemetryEvents, value: int);
Import final function LogWithValueStr (eventType: ER4TelemetryEvents, value: String);
Import final function LogWithLabelAndValue(eventType: ER4TelemetryEvents, label: String, value: int);
Import final function LogWithLabelAndValueStr (eventType: ER4TelemetryEvents, label: String, value: String);
Import final function SetCommonStatFlt (statType: ER4CommonStats, value: float);
Import final function SetCommonStatI32 (statType: ER4CommonStats, value: int);
Import final function SetGameProgress(value: float);
import final function AddSessionT …
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
- Place the files exactly as the readme says; mods with listed dependencies need those installed too.
- Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.
Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.