Unlocking Origins Upgraded Staffs via GSC
-
Anyone know an easy way to unlock the upgraded staffs in Origins, so that they can be given to players using the giveWeapon function? I'm trying to add them to the progression in my custom gun game mode, but they just vanish after a split second.
I've never really been a fan of Origins so I don't know enough about the map to know what I should be looking for in the GSC dump. I found the dev command to complete the puzzles and copied the flag_sets, etc. from that but it didn't seem to help.
If there isn't a quick way, don't worry about it. I'll figure it out eventually, just wondering if there's already a known way to do it with just a few lines of code.
-
Balrog85 it is something like this can't remember if it need something else. this also enable mob of the dead camo for the staff.
giveUpgradedStaffs(which) { self giveweapon( which, 0, self calcweaponoptions( 40, 0, 0, 0)); self switchtoweapon(which); self setactionslot(3, "weapon", "staff_revive_zm"); self giveweapon("staff_revive_zm"); self setweaponammostock("staff_revive_zm", 3); self setweaponammoclip("staff_revive_zm", 1); self givemaxammo("staff_revive_zm"); }
-
This post is deleted!
-
Works like a dream. Thank you!