ttt-2 / ttt2-role_siki Goto Github PK
View Code? Open in Web Editor NEWThis is the "Sidekick" role for TTT2
This is the "Sidekick" role for TTT2
The sidekick is shown as innocent to traitors even if he was a traitor before. This can be changed by using this hook: TTT2ModifyRadarRole
The Sidekick can't win alone, so if the Jackal dies and the Sidekick is still alive, the Team Jackal can't win anymore.
When you shoot a Traitor using your sidekick deagle. he will still show as traitor on the scoreboard to his old traitor teammates. same goes for jester if you shoot a jester he will still show as jester to all traitors.
did you maybe forget SendFullStateUpdate() ?
Description:
If a sidekick is generated by means that isn't a 'normal method'(For Example: Clairvoyant or Jackal's Sidekick Deagle), the body is unable to be identified.
List of Known ways to trigger this bug:
Notes:
If you kill your mate, you will receive 1 credit!
[ERROR] addons/ttt2-role_siki-master/lua/weapons/weapon_ttt2_sidekickdeagle.lua:98: attempt to index upvalue 'ttt2_sidekick_deagle_refill_conv' (a nil value)
When shooting a player
If the Jackal shoots a Detective with a Sidekick Gun, they become a sidekick, which is perhaps a bit overpowered. More importantly however, the Sidekick will still be listed as a Detective in the GUI. This essentially gives the Sidekick plot armor, as no Innocent in their right minds would believe that the Detective is evil. I would prefer it if either the Detective cannot become a Sidekick, or they are at least they stop showing up as a Detective if they are turned.
Sometimes, you are unable to buy the SidekickDeagle
If the sidekick mode is 2, the Sidekick does not become a Jackal if they are killed, but instead receives targets which they can kill for credits. However, if the Jackal is killed in this mode, the Sidekick appears to switch to the Traitor's side. This is pretty strange in my eyes. I originally added the Jackal to the server because it was a cool 3rd party group, but its ability to one-hit convert players to its team combined with the Sidekick's swaying loyalties makes it a bit OP. Under sidekick mode 1 the Jackal can convert multiple people to its team through strategic deaths, and under sidekick mode 2 the Sidekick can switch to the traitor's team, which often gives too much of an advantage to the traitors.
Can it be changed so that if the Jackal is killed, the Sidekick instead becomes a Jackal, but does not receive a Sidekick Gun (under sidekick mode 2)?
[ERROR] addons/ttt2-role_siki-master/gamemodes/terrortown/entities/weapons/weapon_ttt2_sidekickdeagle.lua:206: attempt to perform arithmetic on local 'timeLeft' (a nil value)
[ERROR] Warning! A net message (TTT2SyncSikiColor) is already started! Discarding in favor of the new message! (StartDrowning)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.