The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.taleoftwowastelands.com

I need help

General help and troubleshooting.
Post Reply
Carter
Posts: 67
Joined: Thu Sep 25, 2014 9:20 pm

I need help

Post by Carter » Fri Dec 19, 2014 2:23 am

I am having trouble with a script, it is a recycled script from somebody here who I did not get their name. It is a modded transportalponder script and it will not save in the geck and I do not see what I did wrong here.


 




scn TTWNVDLC03TransportalponderSCRIPT


 


; this script modifies the Transportalponder ( NVDLC03WeapTeleporter xx00E1B0 )


; this script is used instead of NVDLC03WeapTeleporterSCRIPT, which some of this script is copied from


 


short button


short checkButtons


 


BEGIN OnFire


 


If ( Player.IsInInterior == 1 )


; Player is in an interior - no teleport allowed.


ShowMessage NVDLC03TeleporterInInteriorMsg


ElseIf ( Player.GetEquipped HVExplosiveCollar == 1 )


; Hidden Valley Explosive Collar.


ShowMessage MQ05CantUseNowMessage


ElseIf ( Player.IsInCombat == 1) || ( GetVATSMode != 0 )


; Player is in combat - no teleport allowed.


ShowMessage NVDLC03TeleporterInCombatMsg


Else


Set checkButtons To 1


; this message below is what determines the destinations of this mod


; the message has a condition on each location that make sure you have discovered a map marker before you can travel there


; to add destinations, you need to add them to the message, and also add them to this script below


; IMPORTANT: The desitinations NEED to be in the same order in the message box as they are in this script


ShowMessage TTWNVDLC03TransportalponderTravelMsg


EndIf


END


 


BEGIN GameMode            


    If ( checkButtons == 1 )


set button to getbuttonpressed


if button > -1


 


; ==========================================================================


            if button == 0


                player.moveto RefNVDLC03SinkArrivalMarker


PlaySound NVDLC03FXTeleporter


                setstage TTWFunctions 0


                setstage TTWFunctions 2


 


; ==========================================================================


elseif button == 1


Player.MoveTo RefVMQYesMan38CasinoSpot


PlaySound NVDLC03FXTeleporter


                setstage TTWFunctions 0


                setstage TTWFunctions 3


 


; ==========================================================================


          elseif button == 2


                player.moveto RefNVDLC01VillaFountainMarker


PlaySound NVDLC03FXTeleporter


                setstage TTWFunctions 0


                setstage TTWFunctions 2


 


; ==========================================================================


          elseif button == 3


                player.moveto RefNVDLC02StartCOCMarker


PlaySound NVDLC03FXTeleporter


                setstage TTWFunctions 0


                setstage TTWFunctions 2


 


; ==========================================================================


        elseif button == 4


player.moveto RefNVDLC04EDEReturnMarkerREF


PlaySound NVDLC03FXTeleporter


                setstage TTWFunctions 0


                setstage TTWFunctions 2


 


; ==========================================================================


elseif button == 5


player.moveto RefxMS11LucasPatrolBomb01  


PlaySound NVDLC03FXTeleporter


                setstage TTWFunctions 1


                setstage TTWFunctions 2


 


; ==========================================================================


elseif button == 6


player.moveto RefDLC01TrainYardMapMARKER


PlaySound NVDLC03FXTeleporter


                setstage TTWFunctions 0


                setstage TTWFunctions 2


 


; ==========================================================================


elseif button == 7


player.moveto RefDLC05EngineCoreStage03AlienSpawn01REF 


PlaySound NVDLC03FXTeleporter


                setstage TTWFunctions 0


                setstage TTWFunctions 2


 


; ==========================================================================


elseif button == 8


player.moveto RefDLC04KennyEntranceMapMarker 


PlaySound NVDLC03FXTeleporter


                setstage TTWFunctions 0


                setstage TTWFunctions 2


 


; ==========================================================================


elseif button == 9


; don't do anything, action cancelled


 


            endif


            set checkButtons to 0


 


        endif  ; if button > -1


    endif  ; checkbuttons


END


 



User avatar
Puppettron
Gary
Posts: 1715
Joined: Sat Nov 23, 2013 10:47 pm

use geck powerup ( http://www

Post by Puppettron » Fri Dec 19, 2014 3:06 am

use geck powerup ( http://www.nexusmods.com/newvegas/mods/41642/? ) and it will tell you what the problem is.


perms:  either a full fireworks display spelling out "Puppettron Made This" anytime a user accesses my content in-game, or just give me credit somewhere.

TrickyVein
Posts: 982
Joined: Fri Mar 29, 2013 3:04 pm

Or just paste it into the

Post by TrickyVein » Fri Dec 19, 2014 4:15 am

Or just paste it into the Cipscis script vaildator



thermador
Posts: 773
Joined: Tue Aug 07, 2012 2:24 pm

Does geck power up still

Post by thermador » Fri Dec 19, 2014 4:28 am

Does geck power up still break records in TTW.esm?  I think it does.



User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

Nope, that was fixed.

Post by RoyBatty » Fri Dec 19, 2014 4:29 am

Nope, that was fixed.


Image

Post Reply