Unknown Worlds Forums
Login Now
To get unlimited access to the Natural Selection 2 website.
Unknown Worlds Entertainment
Home
Game Guide
Community
Media
Forums
Store
Steam
Twitter
Facebook
YouTube
Hello Subnauts!
We’re writing to you today to let you know that we have made the difficult decision to close the Unknown Worlds forums.
We want to thank you all for your support here in reporting bugs, and providing feedback on both Subnautica and Below Zero, during the course of Early Access and beyond.
Your support remains, as always, incredibly important and valuable to us, and with that in mind, we would like to invite you to continue to interact with us and the wider community on some of our more active platforms, especially
our official Discord
.
All of the content on the forums will remain available in read-only mode, but it will no longer be possible to create new topics or posts as of June 21st 2021.
We hope to welcome you all on our Discord and
other community platforms very soon
.
Keep diving,
Unknown Worlds Team.
Home
›
Natural Selection
›
Natural Selection Creation
›
Scripting Discussion
Quick Question
Armen
Join Date:
2005-02-09
Member:
40453
Members
May 2005
in
Scripting Discussion
How would I for example bind something to say "h" to activate xeno?
So when i pressed "h" it would use it?
And how would I apply this for other weapons Thank you
0
Off Topic
Disagree
Agree
Awesome
Comments
Mintman
Join Date:
2003-05-30
Member:
16866
Members
May 2005
edited May 2005
It would be something along the lines of....
bind h "weapon_divinewind;wait;wait;wait;+attack;wait;wait;-attack"
Play about with the number of waits if it doesn't quite work or if you want to get it to work slightly quicker.
Edit: You can also apply it to other weapons by changing the weapon_ part or by swapping that for slotX
Note: This script won't work on bs 1 servers due to the +attack.
0
Off Topic
Disagree
Agree
Awesome
Malibu_Stacey
Join Date:
2003-04-06
Member:
15243
Members
May 2005
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias +xeno "weapon_divinewind; wait; wait; +attack"
alias -xeno "wait; -attack; wait; lastinv"
bind <key> +xeno<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
bit cleaner code & the lastinv will switch you back to the weapon you had selected before you hit the key to xeno. Might want to switch the lastinv for weapon_leap in this alias.
0
Off Topic
Disagree
Agree
Awesome
Sign In
or
Register
to comment.
Comments
bind h "weapon_divinewind;wait;wait;wait;+attack;wait;wait;-attack"
Play about with the number of waits if it doesn't quite work or if you want to get it to work slightly quicker.
Edit: You can also apply it to other weapons by changing the weapon_ part or by swapping that for slotX
Note: This script won't work on bs 1 servers due to the +attack.
alias -xeno "wait; -attack; wait; lastinv"
bind <key> +xeno<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
bit cleaner code & the lastinv will switch you back to the weapon you had selected before you hit the key to xeno. Might want to switch the lastinv for weapon_leap in this alias.