Noob guide for linking
Posted: Wed Jan 28, 2009 9:52 am
Its pretty sad that theres still completely no explanation of how linking and triggering systems currently work. Triggers are heavily bugged at the moment though, so i'll leave that for later and probably let someone else do that.
Linking.
So first thing you need to do is select a weapon, click with rmb on another weapon and select "Set link" option. As result, the weapon you selected will become slave, and the one you targeted will become master. The red arrow comes form the master to slave, as you see. Hope that wasnt too hard for you.
(note: as you will see later, master/slave are much more proper terms for linking than parent/child).
So what do master and slave exactly do?
First of all, it forces the slave to point in exactly the same direction. No exceptions. Fuck original pointing of the slave, fuck its rotation limits, rotation speed or anytihng else. Do as master says!
Now the more fun part: shootan!
When there's no delay set, everything is pretty simple - every time master shoots, slave is forced to shoot too, no matter what. Yep, slave's reload time, clipsize and anything else don't matter - if master shoots, so does slave. Guess what will happen if you link tacnuke launcher to a Vulcan. Hilarity ensues!
Delay:
The delay does exactly what it's name says - it delays master's orders to shoot. It should be noted here, that the delayed orders don't stack. The slave's state can only be "shoot 1 bullet in X frames" or "wait". So if the master shoots multiple bullets before the delay expires, the slave will still make only 1 shot. As result, slave's reload time equals either master's reload time or the delay (whichever one is longer).
I hope this will cover any crazy linking idea that can come up in your head. Now go and have fun with it!
Linking.
So first thing you need to do is select a weapon, click with rmb on another weapon and select "Set link" option. As result, the weapon you selected will become slave, and the one you targeted will become master. The red arrow comes form the master to slave, as you see. Hope that wasnt too hard for you.
(note: as you will see later, master/slave are much more proper terms for linking than parent/child).
So what do master and slave exactly do?
First of all, it forces the slave to point in exactly the same direction. No exceptions. Fuck original pointing of the slave, fuck its rotation limits, rotation speed or anytihng else. Do as master says!
Now the more fun part: shootan!
When there's no delay set, everything is pretty simple - every time master shoots, slave is forced to shoot too, no matter what. Yep, slave's reload time, clipsize and anything else don't matter - if master shoots, so does slave. Guess what will happen if you link tacnuke launcher to a Vulcan. Hilarity ensues!
Delay:
The delay does exactly what it's name says - it delays master's orders to shoot. It should be noted here, that the delayed orders don't stack. The slave's state can only be "shoot 1 bullet in X frames" or "wait". So if the master shoots multiple bullets before the delay expires, the slave will still make only 1 shot. As result, slave's reload time equals either master's reload time or the delay (whichever one is longer).
I hope this will cover any crazy linking idea that can come up in your head. Now go and have fun with it!