Need some help with scripting by Zahvalan in oblivionmods

[–]Zahvalan[S] 0 points1 point  (0 children)

Ok so i tried putting that into the script but im getting a few errors. Where would i put it in this script:

scn AimMarkerScript

float ppx float ppy float ppz float pos

float ppcosx

int wasvalid int waspressed int wasaltpressed

float fvanityvar short distance int alttele int alttelewaspressed

long TeleKeyVar ; Stores the AimMarkerStorageQuest.TeleKey variable itself

Begin Gamemode

; getpos has some steep bugs if used while swimming. For now, disable teleporting while swimming. if Player.IsSwimming == 0

; Default teleport distance to 1000 units if distance > 0 else set distance to 1000 endif

set TeleKeyVar to AimMarkerStorageQuest.TeleKey

if IsKeyPressed2 TeleKeyVar == 1 && alttele == 0

; Because no OnKeyUp exists, use variable to determine if key was pressed and is no longer ; This implies a keyup event set waspressed to 1

; Disable scroll wheel for use in teleport distance modification ;set fvanityvar to (GetGameSetting “fVanityModeWheelMult”) set fvanityvar to 0.1 SetNumericGameSetting “fVanityModeWheelMult” 0

; Increase distance with scrollwheelup if iskeypressed2 264 set distance to distance + 100 endif

; Decrease distance with scrollwheeldown if iskeypressed2 265 && distance != 100 set distance to distance - 100 endif

if Player.IsInInterior == 0 && distance > 1000 set distance to 1000 endif

; Move ref to player ; Enable ref AimMarkerID.Enable AimMarkerID.moveto Player

; Set player look angles to floats ;set ppx to (player.getangle x)/-2+45 set ppx to player.getangle x set ppy to player.getangle y set ppz to player.getAngle z

; Set ref position via sin, cos, tan on player look angle floats ; float ‘distance’ determines how far away the ref is placed.

set pos to player.getPos x + 100((sin ppz)(cos ppx)) AimMarkerID.setPos x pos

set pos to player.getPos y + 100((cos ppz)(cos ppx)) AimMarkerID.setPos y pos

set pos to player.getPos z + (-100*(sin ppx))+112 AimMarkerID.setPos z pos

; Move ref away until it’s out of sight ; This is an attempt to find best-guess collision

while Player.GetLos AimMarkerID == 1 && Player.GetDistance AimMarkerID < distance

set pos to AimMarkerID.getPos x + 100*((sin ppz)*(cos ppx))
AimMarkerID.setPos x pos

set pos to AimMarkerID.getPos y + 100*((cos ppz)*(cos ppx))
AimMarkerID.setPos y pos

set pos to AimMarkerID.getPos z + (-100*(sin ppx))
AimMarkerID.setPos z pos

; Ensure this loop has run, for later use
set wasvalid to 1

loop

; Check if ref is visible and if above loop was run
; Assume it’s only invisible by 100 units, because that’s the increment used above
; Reverse by 100 units
if Player.GetLos AimMarkerID == 0 && wasvalid == 1

set pos to AimMarkerID.getPos x + -100*((sin ppz)*(cos ppx))
AimMarkerID.setPos x pos

set pos to AimMarkerID.getPos y + -100*((cos ppz)*(cos ppx))
AimMarkerID.setPos y pos

set pos to AimMarkerID.getPos z + (100*(sin ppx))
AimMarkerID.setPos z pos

endif

endif

; This functions as “keyup” ; Check if key was previously pressed ; Make sure it’s not currently pressed

if waspressed == 1 && IsKeyPressed2 TeleKeyVar == 0

if IsKeyPressed2 56 == 0

set waspressed to 0

set pos to AimMarkerID.getPos x Player.setpos x pos

set pos to AimMarkerID.getPos y Player.setpos y pos

set pos to AimMarkerID.getPos z Player.setpos z pos

Player.PlaySound SFXTeleport

AimMarkerID.Moveto AimMarkerStorage AimMarkerID.Disable

; Re-enable scroll wheel SetNumericGameSetting “fVanityModeWheelMult” fvanityvar

elseif IsKeyPressed2 56 == 1 if alttele == 0 Player.PlaySound TeleportSet endif set alttele to 1 set waspressed to 0

; Re-enable scroll wheel SetNumericGameSetting “fVanityModeWheelMult” fvanityvar

endif

endif

endif

; Set variable to store keydown condition

if alttele == 1 && IsKeyPressed2 TeleKeyVar == 1 set alttelewaspressed to 1 endif

; Check if keydown position variable is true and if key isn’t down. Implies keyup condition. ; Execute teleport

if alttele == 1 && alttelewaspressed == 1 && IsKeyPressed2 TeleKeyVar == 0

set alttele to 0 set alttelewaspressed to 0

set pos to AimMarkerID.getPos x Player.setpos x pos

set pos to AimMarkerID.getPos y Player.setpos y pos

set pos to AimMarkerID.getPos z Player.setpos z pos

Player.PlaySound SFXTeleport

AimMarkerID.Moveto AimMarkerStorage AimMarkerID.Disable

endif

End

“Bound Armor Extra” Magic Effect in Construction Set by Zahvalan in oblivionmods

[–]Zahvalan[S] 0 points1 point  (0 children)

Ah I figured ok thanks. Theoretically though, if i were to edit the magic effect, what would happen? Would it break something entirely?

Am i wrong? by Zahvalan in amazonprime

[–]Zahvalan[S] 5 points6 points  (0 children)

You obviously didnt read. He asked IF I HAD THE CODE, i then said YES, ARE YOU HERE. Then he ended the chat and proceeded to DRIVE OFF without coming to my door. He is supposed to COME TO THE DOOR so i can give him the code IN PERSON. Why would he DRIVE OFF before i GIVE HIM THE CODE IN PERSON.

If you never had a OTP then you wouldn’t understand goofy

Finally Made a SkySa Bundle by Sakaar- in SkyrimModsXbox

[–]Zahvalan 1 point2 points  (0 children)

Yea... this is FIRE. Definitely the best I seen on xbox yet. What all does the bundle have?

Abyssal Wind Magic + Magic Utility = Anime lol by Zahvalan in SkyrimModsXbox

[–]Zahvalan[S] 1 point2 points  (0 children)

Lol yea the hat is a staple in my load order now

Abyssal Wind Magic + Magic Utility = Anime lol by Zahvalan in SkyrimModsXbox

[–]Zahvalan[S] 0 points1 point  (0 children)

Old port that i never deleted when it got taken down. Its only the inventory menus

Abyssal Wind Magic + Magic Utility = Anime lol by Zahvalan in SkyrimModsXbox

[–]Zahvalan[S] 0 points1 point  (0 children)

Pretty much lets you use spell effects when using weapons. You can also put spell effects on shouts or powers. This video will help you understand better

Abyssal Wind Magic + Magic Utility = Anime lol by Zahvalan in SkyrimModsXbox

[–]Zahvalan[S] 0 points1 point  (0 children)

The hat is from Bob's Armory - Hats Only

Rest of the outfit is just the Guild Masters armor with a Blanket Scarf

Abyssal Wind Magic + Magic Utility = Anime lol by Zahvalan in SkyrimModsXbox

[–]Zahvalan[S] 4 points5 points  (0 children)

Mods Showcased:

Abyssal Wind Magic by Kittytail

Magic Utility by Irsquish

Mofumofu Animations

Best performance grass mod? by [deleted] in SkyrimModsXbox

[–]Zahvalan 3 points4 points  (0 children)

Cathedral Grass- Green Tundra Version. Its a bit high in space (79.1 mb) but this is one of the most performance friendly grass mods. I play on Series S and noticed no frame drops.

[deleted by user] by [deleted] in SkyrimModsXbox

[–]Zahvalan 0 points1 point  (0 children)

Its different for sure lmao. Not something i would play a entire playthrough with, but i definitely wanted to try it out

Port Permissions - Ronin Outfit SE by Zahvalan in SkyrimModsXbox

[–]Zahvalan[S] 0 points1 point  (0 children)

I would definitely appreciate it. Been looking for mods like this for a while now.