Jump to content

Qbiinz

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Qbiinz

  1. changing around guns stats is one thing but trying to make a companion is damn hard. i wish there was an easy companion maker extension for geck without having to create complicated scripts and conditions, ai packages, etc. ive been trying to build a mini-sentrybot companion and its really annoying. the only solution ive had so far is using rex and changing his model to senrtybot. it still uses the rexSCRIPT and all of ai packages, which makes him really glitchy. any thoughts?
  2. thanks for the reply i guess i missed that but the script still wont save and i erased fallout 3.esm a while ago but i guess im gonna have to re-install it just to run the old-geck the new script is below with a new file attachment, anybody else think they might have an idea?

     

    scn SpyBotSCRIPT

     

    short HasBeenHired

    short WeaponOut

    short CombatStyleRanged

    short CombatStyleMelee

    short IsFollowingDefault

    short IsFollowingShort

    short IsFollowingLong

    short FollowerSwitchAggressive ; 0 = Passive (wait for player), 1 = Aggressive (attack when see enemy)

    short Waiting

    short DoOnce

     

    BEGIN GameMode

     

    if ( DoOnce == 0 )

    if ( GetDistance Player <= 1400 )

    set DoOnce to 1

     

    endif

    endif

     

    END

     

     

     

    BEGIN OnActivate player

    if (bTalking == 0)

    Activate;

    endif

    END

     

    BEGIN OnCombatEND

     

    if ( GetPlayerTeammate == 1 )

    resethealth

    restoreav perceptioncondition 100

    restoreav endurancecondition 100

    restoreav leftattackcondition 100

    restoreav leftmobilitycondition 100

    restoreav rightattackcondition 100

    restoreav rightmobilitycondition 100

    endif

     

     

     

    END

     

    BEGIN OnDeath

     

    if ( VNPCFollowers.SpyBotHired == 1 )

    set VNPCFollowers.nCurrentFollowers to VNPCFollowers.nCurrentFollowers - 1;

    set VNPCFollowers.bCritterInParty to 0;

    set VNPCFollowers.bPlayerHasFollower to 0

    set VNPCFollowers.SpyBotHired to 0

    set VNPCFollowers.SpyBotDead to 1

    player.RemovePerk ScribeAssistant

    ShowMessage FollowerMessageDeadSpyBot

    ShowMessage FollowerMessagePerkSpyBotRemove

    endif

    END

  3. alright ive been trying to make a sentrybot companion and its proving to be super difficult. after experimenting with different companion scripts ive really had no luck so ive decided to try and make my own. the problem is there must be a bunch of errors so it wont save, im not a programmer so i basically just cut and pasted what i thought to be the appropriate lines if you guy see anything out of place PLEASE let me know. im at the end of my witts trying to get this guy to work

     

    heres what the code looks like i also linked a download to it

    any help would be greatly appreciated

     

    scn SpyBotSCRIPT

     

    short HasBeenHired

    short WeaponOut

    short CombatStyleRanged

    short CombatStyleMelee

    short IsFollowingDefault

    short IsFollowingShort

    short IsFollowingLong

    short FollowerSwitchAggressive ; 0 = Passive (wait for player), 1 = Aggressive (attack when see enemy)

    short Waiting

    short DoOnce

    short bLoadedOnce;

    short bTalking;

    short bIntercomConversationActive;

     

     

    BEGIN GameMode

     

    if ( DoOnce == 0 )

    if ( GetDistance Player <= 1400 )

    set DoOnce to 1

     

    endif

    endif

     

    END

     

    BEGIN OnActivate player

    if (bTalking == 0)

    Activate;

    endif

    END

     

    BEGIN OnCombatEND

     

    if ( GetPlayerTeammate == 1 )

    resethealth

    restoreav perceptioncondition 100

    restoreav endurancecondition 100

    restoreav leftattackcondition 100

    restoreav leftmobilitycondition 100

    restoreav rightattackcondition 100

    restoreav rightmobilitycondition 100

    endif

     

     

     

    END

     

    BEGIN OnDeath

     

    if ( VNPCFollowers.SpyBotHired == 1 )

    set VNPCFollowers.nCurrentFollowers to VNPCFollowers.nCurrentFollowers - 1;

    set VNPCFollowers.bCritterInParty to 0;

    if (VNPCFollowers.nCurrentFollowers == 0)

    set VNPCFollowers.bPlayerHasFollower to 0

    endif

    set VNPCFollowers.SpyBotHired to 0

    ShowMessage FollowerMessageDeadSpyBot

    player.RemovePerk ScribeAssistant

    ShowMessage FollowerMessagePerkSpyBotRemove

    endif

    set VNPCFollowers.SpyBotDead to 1

     

    END

     

    ps this was a moddifed veronica script

  4. annoying... will try again.

    Thanks

     

    EDIT: Yep, That was the problem. Not very intuitive to learn the inner workings of a picky engine with a tool that just laughs at you when you've made a mistake -_-

     

    sorry i didnt catch that what was the solution? im having the same problem trying to save a custom script for this companion im making. . . really frustrating. sry im kind of a noob "not compile-able"? ive tried recompiling all the scripts but i still end up with a blank one that wont save

×
×
  • Create New...