Add a team of agents
Closed this issue · 6 comments
Pisex commented
ByMykel commented
How do you want to recibe the data?
{
"id": "agent-4771",
"name": "Cmdr. Frank 'Wet Sox' Baroud | SEAL Frogman",
"description": "First on deck and last off it, Cmdr. Frank Baroud is a third generation SEAL and second combat diver ever to receive The Navy Cross medal; 'Goggles' was the first. Count on Baroud to solve the most complicated underwater and ground based conflict situations, like the time he defused several IED's which were planted in a network of flooded caves beneath a US embassy. Baroud chalks it up to his impeccable attention to detail, because after all, when your life depends on the equipment you're wearing, a simple mistake may be the last one you make. His uncompromising attention to detail earned him the nickname 'Wet Sox'.\\n\\n<i>Double check it. Then triple check it. Then check it again.</i>",
"rarity": {
"id": "rarity_ancient_character",
"name": "Master",
"color": "#eb4b4b"
},
"collections": [
{
"id": "collection-set-op11-characters",
"name": "Operation Riptide Agents",
"image": "https://raw.githubusercontent.com/steamdatabase/gametracking-csgo/108f1682bf7eeb1420caaf2357da88b614a7e1b0/csgo/pak01_dir/resource/flash/econ/set_icons/set_op11_characters.png"
}
],
"image": "https://steamcdn-a.akamaihd.net/apps/730/icons/econ/characters/customplayer_ctm_diver_variantb.8991b3d936d3b2577e842d07038cc86381046b7f.png",
"used_by": ["counter-terrorists"]
},
Something like this?
Pisex commented
I don't think it's that important, the main thing is to be able to understand which team the agent is for
stwxdev commented
I guess you could do something like this
{
"id": "agent-4771",
"name": "Cmdr. Frank 'Wet Sox' Baroud | SEAL Frogman",
"description": "First on deck and last off it, Cmdr. Frank Baroud is a third generation SEAL and second combat diver ever to receive The Navy Cross medal; 'Goggles' was the first. Count on Baroud to solve the most complicated underwater and ground based conflict situations, like the time he defused several IED's which were planted in a network of flooded caves beneath a US embassy. Baroud chalks it up to his impeccable attention to detail, because after all, when your life depends on the equipment you're wearing, a simple mistake may be the last one you make. His uncompromising attention to detail earned him the nickname 'Wet Sox'.\\n\\n<i>Double check it. Then triple check it. Then check it again.</i>",
"rarity": {
"id": "rarity_ancient_character",
"name": "Master",
"color": "#eb4b4b"
},
"collections": [
{
"id": "collection-set-op11-characters",
"name": "Operation Riptide Agents",
"image": "https://raw.githubusercontent.com/steamdatabase/gametracking-csgo/108f1682bf7eeb1420caaf2357da88b614a7e1b0/csgo/pak01_dir/resource/flash/econ/set_icons/set_op11_characters.png"
}
],
"image": "https://steamcdn-a.akamaihd.net/apps/730/icons/econ/characters/customplayer_ctm_diver_variantb.8991b3d936d3b2577e842d07038cc86381046b7f.png",
"team": "ct" ( ct | tt )
},
ByMykel commented
Understood. I suppose there aren't any agents that can be used in both, correct?
stwxdev commented
Understood. I suppose there aren't any agents that can be used in both, correct?
Yep iirc
ByMykel commented
Added, it will return the id and the name translated.
{
"team": {
"id": "counter-terrorists",
"name": "Counter-Terrorist"
},
}
Will be deployed tomorrow.