Sketch of a "Counter-Strike mode" in GTA2 scripting

Post GTA1/GTA2 maps here (finished and work in progress).
Post Reply
User avatar
valps
Mugger
Mugger
Posts: 12
Joined: 31 Dec 2020, 15:03
GH nick: Valps
Location: Brazil
Contact:

Sketch of a "Counter-Strike mode" in GTA2 scripting

Post by valps »

I'm making a new map which I will release soon. One of the game modes will be like a Counter-Strike:

- No cars;
- No NPCs;
- Two teams, T: terrorists, CT: counter-terrorists
- Only weapons available: (silenced) machine guns, (dual) pistols, grenades and shotguns;
- One respawn only: outside the arena in a waiting room
- Maximum: 6 players

Rules:
- To pick a team, walk into the CT or T painted on ground.
- Once all players already chosen their team, one terrorist will pick the bomb and one CT will pick the defuse kit (displayed as briefcase).
- Players carrying the bomb or defuse kit will have an arrow pointing to them, standing out from the others.
- The bomb can be placed in two locations, Site A or Site B.

- If the CT holding a defuse kit dies, a new kit spawn in their base.
- If the T holding the bomb dies, the bomb is dropped depending of his location. If he dies close to the Site B, the bomb will respawn at a specific location in Site B. If he dies in Site A, the bomb will respawn at north or south of Site A, depending of his position.
- If the T holding the bomb dies outside any Site A or B, the bomb will respawn at the Terrorist Base.

Timing:

- Arm the bomb: 5 seconds
- Disarm the bomb: 7 seconds
- Time to explode: 35 seconds

Win condition:

- Terrorists will win if all CT are dead or if the bomb was planted and explodes. A message of "Job Failed" will show to everyone.
- Counter-terrorists will win if the bomb was disarmed or if all terrorist are dead and the bomb wasn't planted. A message of "Job Complete" will show to everyone.

- After one of the wins conditions was reached, the game will close automatically.

Known issues:

- The disarm timer and the bomb timer may sometimes desync a bit in multiplayer. It may be related to the change of number of cycles the game executes within a time.

I need feedback:
- Bugs on gameplay (script issues) or in the map.
- The need of armor to the players.
- Weapons that can be chosen, or the weapon-give method.
Attachments
de_dust2_v0.1.0.zip
The map de_dust2 for download
(2.53 MiB) Downloaded 87 times
A image of the map
A image of the map
Last edited by valps on 13 Dec 2023, 11:58, edited 1 time in total.
User avatar
valps
Mugger
Mugger
Posts: 12
Joined: 31 Dec 2020, 15:03
GH nick: Valps
Location: Brazil
Contact:

Re: Sketch of a "Counter-Strike mode" in GTA2 scripting

Post by valps »

Update: Now players are forced to stay immobile (i.e. to not shoot and not move) to arm/defuse the bomb.
Attachments
counter_strike_test_map_0_1.rar
(2.11 MiB) Downloaded 178 times
DodoPlane601
Jaywalker
Jaywalker
Posts: 5
Joined: 21 Dec 2021, 21:16
GH nick: GTAExpert69
Location: Moldova Republic of
Contact:

Re: Sketch of a "Counter-Strike mode" in GTA2 scripting

Post by DodoPlane601 »

I tried your map and it's much better looking.
Edit: Can you remake de_dust and publish it?
User avatar
valps
Mugger
Mugger
Posts: 12
Joined: 31 Dec 2020, 15:03
GH nick: Valps
Location: Brazil
Contact:

Re: Sketch of a "Counter-Strike mode" in GTA2 scripting

Post by valps »

v0.2 - What's new?

- Terrorists now uses the Krishna skin and Counter-terrorists uses Yakuza skin. This change will attach gang arrows to the players, so the Bomber/Defuser arrows will be identified properly;
- Bomb timer disappears after the explosion;
- A tic-tac sound is played during bomb countdown.
- Now the map has 2 locations. If the bomb/defuser has dropped in Location 1, it will respawn somewhere in Location 1. Analogously with Location 2. Otherwise it will respawn at (counter)-terrorist base.

Edit: Yes, I can recreate de_dust in GTA2, but I'm very busy recently. Perhaps in december I will have some free time to do.
Attachments
counter_strike_test_map_0_2.rar
Counter Strike Script Test v0.2
(2.11 MiB) Downloaded 147 times
User avatar
valps
Mugger
Mugger
Posts: 12
Joined: 31 Dec 2020, 15:03
GH nick: Valps
Location: Brazil
Contact:

Re: Sketch of a "Counter-Strike mode" in GTA2 scripting

Post by valps »

Okay, I reworked the script:

- It's less hardcoded and more optimized, I guess.
- Each player can choose their team

And finally here is the CS map in GTA2: de_dust2. Things can be changed later, feedback are welcome.

Once I reach to a stable version, with feedback and without bugs, I will release the version 1.0.
Attachments
de_dust2_v0.1.0.zip
de_dust2 version 0.1.0
(2.53 MiB) Downloaded 82 times
Post Reply