Jump to content

Little help in Geck: rebalance a friend and a gun;


YanL

Recommended Posts

Hello guys, I have two doubts.

 

 

1)

One is for this mod:

 

http://www.nexusmods.com/newvegas/mods/37190/?

 

This little guy gives to the player 2 itens, a egg and a nectar. This are the conditions in Geck

 

 

if Player.GetItemCount KazEgg == 0

Player.additem KazEgg 3
endif
if Player.GetItemCount KazNectar == 0
Player.additem KazNectar 1
endif
endif
END

 

I wanna change that. What I want is that it give 3 eggs and 1 nectar per day. Something like the Implant RGX, that regen to a maximum number every 24 hours, but only if you use the implants.

 

======================================================================================================

 

2)

Other is for this mod

 

http://www.nexusmods.com/newvegas/mods/55666/?

 

What I want is that this weapon be unique. ONLY I CAN HAVE XD

 

This is the script.

 

 

if (iDoOnce == 0)

AddItemToLeveledList VendorWeaponsGunsTier4 WithAmmoSDBBLoot 1 1 100
AddItemToLeveledList DamNCRTrooperWeapons WithAmmoSDBBLoot 1 1 100
AddItemToLeveledList LL2Tier4Guns WithAmmoSDBBLoot 1 1 100
AddItemToLeveledList LL2Tier4GunsMixed50 WithAmmoSDBBLoot 1 1 100
AddItemToLeveledList GunRunnerStoreTier4 WithAmmoSDBBLoot 1 1 100
AddItemToLeveledList RRCGreatKhanRanged WithAmmoSDBBLoot 1 1 100
AddFormToFormList ShotgunSurgeonWeaponsList WeapSDBB
AddFormToFormList NVAllWeapons WeapSDBB
AddFormToFormList WeaponShotgunList WeapSDBB
set iDoOnce to 1
StopQuest SDBBLeveledListMod
endif
END

 

Deleting these red lines solve my problem?

 

========================================================================

 

Thanks :)

Link to comment
Share on other sites

1) There's several ways you could code this, depending on how specifically you want it to work, but generally you'll want to use GameDaysPassed to check if 24 hours have passed. This is just one example:

        if Player.GetItemCount KazEgg == 0 && LastEgg + 1 < GameDaysPassed
            Player.additem KazEgg 3
            set LastEgg to GameDaysPassed
        endif
 
        if Player.GetItemCount KazNectar == 0 && LastNectar + 1 < GameDaysPassed
            Player.additem KazNectar 1
            set LastNectar to GameDaysPassed
        endif
    endif
END

LastEgg and LastNectar should be float variables.

 

2) That looks correct.

Link to comment
Share on other sites

Hello Ladez, thanks for the repply, but bouth dont work :laugh:

 

For your script, I erase this lines

 


 

if Player.GetItemCount KazEgg == 0

Player.additem KazEgg 3
endif
if Player.GetItemCount KazNectar == 0
Player.additem KazNectar 1
endif
endif
END

 

And replace by your lines, but the geck dont allow me to close the script box, for some reason.

 

And for the Thunderpipe, I erase the red lines and manage to save, but the khans still have the weapon. Maybe I have to reset the cell?

 

===============================================================================================================

 

Seizing the opportunity, maybe you can help me with another problem.

 

This weapon (Thuderpipe) uses the AmmoList12Ga

 

Ok, but it dont accepted ammo from the gun runners arsenal

 

http://i64.tinypic.com/jkhkxg.jpg

 

Why?

 

If I change the type of ammo to; for example; NVDLC05Ammo12GaDragonBreath, it works fine, of course with only this ammo especific.

 

How can I fix this?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...