I was thinking, in many maps that are intended to be played continuous, often players will struggle or run into problems with pistol starts. Adding more things for pistol starts is great and all, but then it becomes too easy for continuous play.
So I was thinking of a solution: spawn specific items at specific places in the map using MapSpots and ACS. Except I only want them if the player is pistol starting.
What would be the best way to do this?
I was thinking to check against something like:
Having any other gun besides the pistol (since if you are pistol starting, you won't have anything else). Then if the script detects the player has a shotgun already at the first tic, it's not a pistol start. But it assumes every map after the first has a shotgun, and that the player will get one, but I suppose it's possible to not get a shotgun and end the map, so that's one possible error.
Check if health is 101 or higher. If the player has 101 or more at the first tic, it's also not a pistol start, however the player could end with 100 health but a bunch of everything else and that's an error.
Or if armor is 1 or higher. If the player has even 1 point of armor, it's not a pistol start. But also, once again, the player can end with 0 armor but everything else.
Can't do ammo because it's possible to end a map with 0 of each, and can't check for 100 health exactly because it's possible to end a map with exactly 100 health.
Or just check against every single possibility: if the player has any other gun OR the player has 101 or more health or less than 100 health OR the player has 1 or more armor OR checking all the ammo.
I just want the least error prone and simplest method. Ideas or suggestions for best method are most appreciated.
I was thinking, in many maps that are intended to be played continuous, often players will struggle or run into problems with pistol starts. Adding more things for pistol starts is great and all, but then it becomes too easy for continuous play.
So I was thinking of a solution: spawn specific items at specific places in the map using MapSpots and ACS. Except I only want them if the player is pistol starting.
What would be the best way to do this?
I was thinking to check against something like:
Can't do ammo because it's possible to end a map with 0 of each, and can't check for 100 health exactly because it's possible to end a map with exactly 100 health.
Or just check against every single possibility: if the player has any other gun OR the player has 101 or more health or less than 100 health OR the player has 1 or more armor OR checking all the ammo.
I just want the least error prone and simplest method. Ideas or suggestions for best method are most appreciated.
Share this post
Link to post