Open splewis opened 9 years ago
Well, what it has now will force the player to get the bomb out at least.
Forcing IN_USE for 1 frame causing the plant to stop, and keeping it until the bomb is planted looks very glitchy in the player UI.
What about planting the bomb automaticly without having a player planting it? Or would this cause problems with plants under boxes etc?
Is there anyway to freeze the player or force the player to plant?
Slap him to death if he does not plant the bomb and burn him for the 10 next rounds !
I think this is pretty hard to force player's actions. Plant the bomb automatically may be simpler.
The bomb is an entity right? Shouldn't it be fairly easy to just put the bomb on the ground with some type of "isPlanted(true)" at the closest bombcarrier?
I like having the player not planting. This way the player can chose the spot he wants to plant as oppose to some default plant spot. This will add more to teams practicing certain plants they might want to train. Leave it as is
Well, a CVAR for the option would be good for both of us.
I'd love to see an implementation of this by someone. I've been heavily modifying the retakes plugin and this is one of the last features I need.
I'd love to see an implementation of this by someone. I've been heavily modifying the retakes plugin and this is one of the last features I need.
The problem is that if you try: ClientCommand(client, +use) to plant the bomb, you get FCVAR_SERVER_CAN_EXECUTE error in console. So you cant do +use or +attack.
If you comment or delete line 228 /scripting/retakes/spawns.sp it will plant the bomb, but
There's some odd glitches with it, though.
Basically the screen shakes like it's getting stuck in the plant animation
Just noticed that this issue existed, there have been a few third-party plugins out that address this issue, for example: https://github.com/b3none/retakes-instadefuse
Have the player that spawns with the bomb carrier automatically planting, or something similar.
There's some commented-out code attempting this:
https://github.com/splewis/csgo-retakes/blob/master/scripting/retakes/spawns.sp#L217
The idea is to force the bomb holder to be doing "+use" until the bomb is planted. There's some odd glitches with it, though.