Jump to content

Search the Community

Showing results for tags 'setpos'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Nexus Mods Hub
    • Site Updates
    • Site Support
    • Account Support
    • Vortex Support
    • Nexus Mods App
  • Modding Discussion
    • Mod Troubleshooting
    • Mod Ideas
    • Modding Academy
    • Articles and Guides
  • The Lounge
    • Newbies
    • General Chat
    • Gaming
    • Hardware and software discussion
    • Off-Topic
  • Moderation
    • Formal Warnings and Bans
  • Discussions
  • Vortex
  • Cyberpunk 2077's Mod Ideas
  • Cyberpunk 2077's Discussion
  • Baldur's Gate 3's Discussion
  • Baldur's Gate 3's Mod Ideas
  • Blade & Sorcery's Discussion
  • Blade & Sorcery's Blade & Sorcery: Nomad
  • Elden Ring's Discussion
  • Elden Ring's Mod Ideas
  • Fallout 4's Discussion
  • Fallout 4's Mod Ideas
  • Fallout 4's Creation Kit and Modders
  • Skyrim's Skyrim SE
  • Skyrim's Skyrim LE
  • Skyrim's Skyrim VR and Consoles
  • Skyrim's Mod Ideas
  • Skyrim's Creation Kit and Modders
  • Monster Hunter's MH Rise
  • Monster Hunter's MH World
  • Morrowind's Discussion
  • Morrowind's Spoilers
  • Morrowind's Lore
  • Morrowind's Construction Set and Modders
  • Morrowind's Troubleshooting
  • Mount & Blade II: Bannerlord's Discussion
  • Mount & Blade II: Bannerlord's Old Games
  • Oblivion's Discussion
  • Oblivion's Mod Ideas
  • Oblivion's Mod troubleshooting
  • Oblivion's Oblivion Construction Set and Modders
  • Oblivion's Spoilers
  • Ready or Not's Discussion
  • Red Dead Redemption 2's Discussion
  • Red Dead Redemption 2's Mod Ideas
  • Resident Evil Remakes's Resident Evil 4
  • Resident Evil Remakes's Resident Evil 3
  • Resident Evil Remakes's Resident Evil 2
  • Resident Evil Remakes's Resident Evil Village
  • Starfield's Discussion
  • Starfield's Mod Ideas
  • Starfield's Creation Kit and Modders
  • The Witcher's The Witcher 3: Wild Hunt
  • The Witcher's Mod Ideas
  • The Witcher's The Witcher 2: Assassins of Kings
  • The Witcher's The Witcher
  • The Witcher's REDEngine and Modders
  • Spider-Man's Spider-Man Remastered
  • Spider-Man's Miles Morales
  • Spider-Man's Mod Ideas
  • Fallout New Vegas's Discussion
  • Fallout New Vegas's Mod Ideas
  • Fallout New Vegas's Mod Troubleshooting
  • Fallout New Vegas's GECK and Modders
  • Fallout New Vegas's Spoilers
  • Stardew Valley's Discussion
  • Fallout 3's Mod Ideas
  • Fallout 3's Discussion
  • Fallout 3's GECK and Modders
  • Fallout 3's Spoilers
  • Fallout 3's Mod Troubleshooting
  • Dragon Age: Origins's Discussion
  • Dragon Age: Origins's Builder Troubleshooting
  • Dragon Age: Origins's Mod Troubleshooting
  • Dragon Age: Origins's Mod Ideas
  • Valheim's Discussion
  • Dark Souls's Dark Souls
  • Dark Souls's Dark Souls 2
  • Dark Souls's Dark Souls 3
  • Dark Souls's Dark Souls Remastered
  • Mass Effect's Legendary Edition
  • Mass Effect's Original Trilogy
  • Mass Effect's Andromeda
  • Hogwarts Legacy's Discussion
  • Subnautica's Subnautica
  • Subnautica's Below Zero
  • XCOM's Discussion
  • XCOM's Mod Ideas
  • XCOM's Enemy Unknown
  • XCOM's XCOM 2
  • Jurassic World Evolution's Jurassic World Evolution 2
  • Jurassic World Evolution's Jurassic World Evolution
  • 7 Days To Die's Discussion
  • Anno 1800's Discussion
  • Assassin's Creed's Odyssey
  • Assassin's Creed's Valhalla
  • Fallout 76's Discussion
  • Fallout 76's Mod Ideas
  • Far Cry's Far Cry 3
  • Far Cry's Discussion
  • Final Fantasy's Discussion
  • Final Fantasy's VII Remake
  • Final Fantasy's XII The Zodiac Age
  • BattleTech's Discussion
  • Dying Light's Dying Light
  • Dying Light's Dying Light 2
  • Dragon's Dogma: Dark Arisen's Discussion
  • Dragon's Dogma: Dark Arisen's Mod Ideas
  • Dragon Age: Inquisition's Discussion
  • Dragon Age: Inquisition's Mod Ideas
  • Dragon Age: Inquisition's Troubleshooting
  • No Man's Sky's Discussion
  • No Man's Sky's Mod Ideas
  • The Elder Scrolls Online's Discussion
  • State of Decay's State of Decay
  • State of Decay's State of Decay 2
  • Planet Zoo's Discussion
  • Neverwinter Nights's NWN Discussion
  • Neverwinter Nights's NWN2 Discussion
  • Neverwinter Nights's Mod Ideas
  • My Summer Car's Discussion
  • Metal Gear Solid V: The Phantom Pain's Discussion
  • MechWarrior 5: Mercenaries's Discussion
  • Kingdom Come: Deliverance's Discussion
  • Kingdom Come: Deliverance's Modding Tools and Modders
  • Devil May Cry 5's Discussion
  • Star Wars Jedi's Fallen Order
  • Star Wars Jedi's Survivor
  • Star Wars: Battlefront II (2017)'s Discussion
  • Sekiro: Shadows Die Twice's Discussion
  • Pillars of Eternity's Pillars of Eternity
  • Pillars of Eternity's Pillars of Eternity 2: Deadfire
  • Palworld's Mod Ideas
  • Palworld's Discussion
  • Palworld's Unreal Engine and Modders
  • Dragon's Dogma 2's Discussion
  • Dragon's Dogma 2's Mod Ideas

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1 result

  1. hey guys, I'm working on a drivable tank, everything works fine, it is moving, turning, just the basics which work wonderful, if there wouldn't be the problem with the collision. I know about that if using setpos the mesh won't be updated until dis-/enabled or moved with moveto, but even with dis-/enabling with a parent doesn't solve the problem, because the mesh doesn't have the time to get out of the underground before the next frame is moving it deeper in... I had to set the quest delay to 0.01 for an unlaggy movement. I've even tried it with a small invisible ghoul that is following the player and where the tank base is set it's height to, works a tiny little bit, but far away from having a good solution! I know about some other mods, where they seem to have fixed the problem, but I don't want to copy from other mods. So you are asked, if having a good idea/script to help me. Here's the script, it's a messy one atm because it is in testing phase and it's just the basic. scn NecroTankSCRIPT ref tank float px float py float pz float tz float ppx float ppy float ppz float ax float ay float az float punit float ta float physixx float physixy ref colparent ref physix short drivemode begin gamemode if drivemode == 1 tank.setscale 0.5 set pz to tank.getpos z + 120 set py to player.getpos y set px to player.getpos x player.setpos z pz set ta to tank.getangle z set ay to player.getangle y set ax to player.getangle x set colparent to tank.placeatme tankbase colparent.setscale 0.5 tank.setangle z ta tank.setangle y ay tank.setangle x ax tank.setpos z pz tank.setpos y py tank.setpos x px colparent.setangle z ta colparent.setangle y ay colparent.setangle x ax colparent.setpos z pz colparent.setpos y py colparent.setpos x px colparent.disable 0 disableplayercontrols 1 1 1 0 0 0 0 set physix to tank.placeatme necrophysixghoul physix.setghost 1 set pz to physix.getpos z set drivemode to 2 endif if drivemode == 2 && (iskeypressed 17) set punit to punit + 3 set ppx to - (cos ta * punit) set ppy to (sin ta * punit) set ppy to py + ppy set ppx to px + ppx set ppz to pz - ppz set pz to physix.getpos z + 60 set physixx to physix.getangle x set physixy to physix.getangle y player.setpos y ppy player.setpos x ppx tank.setpos y ppy tank.setpos x ppx tank.setpos z pz tank.setangle x physixx tank.setangle y physixy colparent.setpos y ppy colparent.setpos x ppx set pz to tank.getpos z set py to tank.getpos y set px to tank.getpos x set punit to 0 endif if drivemode == 3 && tank.getdisabled colparent.disable 0 tank.enable 0 tank.placeatme DLC03PowerworksFakeForceBall01 set drivemode to 2 endif if drivemode == 2 && (iskeypressed 32) set ta to tank.getangle z + 1 tank.setangle z ta endif if drivemode == 2 && (iskeypressed 30) set ta to tank.getangle z - 1 tank.setangle z ta endif if drivemode == 2 && (iskeypressed 31) set punit to punit - 3 set ppx to - (cos ta * punit) set ppy to (sin ta * punit) set ppy to py + ppy set ppx to px + ppx set ppz to pz - ppz player.setpos y ppy player.setpos x ppx tank.setpos y ppy tank.setpos x ppx set pz to tank.getpos z set py to tank.getpos y set px to tank.getpos x set punit to 0 endif end Thanks in advance for any help!
×
×
  • Create New...
  翻译: