MysticKnightTyx Posted January 15 Share Posted January 15 I am curious if Dawnfang would be possible on Morrowind and if anyone would be willing to do it. Link to comment Share on other sites More sharing options...
FIMzzZzz Posted January 16 Share Posted January 16 (edited) looking at this weapon gave me an idea i could use for my mod so not sure if i would make them fangs... here are the scripts if interested. they work but i'm sure this is not optimal (written while watching something that's giving me brain rot) needs 2 globals "night_global" and "day_global" this will swap the weapon when in inventory and when equipped would add a "return" on a timer to not check states every frame... Spoiler begin script_for_weapon_1 short checkday if ( menumode == 1 ) return endif if ( player->HasItemEquipped, "night_weapon_ID" == 0 ) set day_global to 0 endif if ( day_global == 0 ) if ( player->HasItemEquipped, "day_weapon_ID" == 1 ) set day_global to 1 endif endif if ( GameHour >= 7 ) if ( GameHour <= 18 ) set checkday to 1 else set checkday to 2 endif endif if ( checkday == 2 ) if ( Player->GetItemCount day_weapon_ID > 0 ) if ( Player->GetItemCount night_weapon_ID < 1 ) Player->Additem night_weapon_ID 1 Player->Removeitem day_weapon_ID 1 set night_global to 0 endif endif endif if ( night_global == 1 ) Player->Equip "day_weapon_ID" set night_global to 0 set day_global to 0 endif end begin script_for_weapon_2 short checkday if ( menumode == 1 ) return endif if ( player->HasItemEquipped, "day_weapon_ID" == 0 ) set night_global to 0 endif if ( night_global == 0 ) if ( player->HasItemEquipped, "night_weapon_ID" == 1 ) set night_global to 1 endif endif if ( GameHour >= 7 ) if ( GameHour <= 18 ) set checkday to 1 else set checkday to 2 endif endif if ( checkday == 1 ) if ( Player->GetItemCount day_weapon_ID < 1 ) if ( Player->GetItemCount night_weapon_ID > 0 ) Player->Additem day_weapon_ID 1 Player->Removeitem night_weapon_ID 1 set day_global to 0 endif endif endif if ( day_global == 1 ) Player->Equip "night_weapon_ID" set day_global to 0 set night_global to 0 endif end Edited January 20 by FIMzzZzz code into spoiler Link to comment Share on other sites More sharing options...
FIMzzZzz Posted January 20 Share Posted January 20 (edited) this would probably best be done with MWSE... any ideas how to deal with enchantment charge? because it basically will give you a fresh weapon with each switch... i assume it's not possible without MWSE and here the script with timer Spoiler begin script_for_weapon_1 short checkday float timer if ( menumode == 1 ) return endif if ( night_global == 1 ) Player->Equip "day_weapon_ID" set night_global to 0 set day_global to 0 endif set timer to ( timer + GetSecondsPassed ) if ( timer < 30 ) return endif set timer to 0 if ( player->HasItemEquipped, "night_weapon_ID" == 0 ) set day_global to 0 endif if ( day_global == 0 ) if ( player->HasItemEquipped, "day_weapon_ID" == 1 ) set day_global to 1 endif endif if ( GameHour >= 7 ) if ( GameHour <= 18 ) set checkday to 1 else set checkday to 2 endif endif if ( checkday == 2 ) if ( Player->GetItemCount day_weapon_ID > 0 ) if ( Player->GetItemCount night_weapon_ID < 1 ) Player->Additem night_weapon_ID 1 Player->Removeitem day_weapon_ID 1 set night_global to 0 endif endif endif end Edited January 20 by FIMzzZzz Link to comment Share on other sites More sharing options...
Recommended Posts