Objects

From Soldat Community Wiki
Jump to: navigation, search

GetObjectStat

Object ids go from 0 to 128. Note that 0 is unused though.

  1. Unknown
  2. Alpha flag; if killed, recreated soon after (not instantly)
  3. Bravo flag
  4. Yellow flag
  5. USSOCOM weapon
  6. Deagles weapon
  7. HK weapon
  8. AK-74 weapon
  9. AUG weapon
  10. Spas weapon
  11. Ruger weapon
  12. M79 weapon
  13. Barrett weapon
  14. Minimi weapon
  15. Minigun weapon
  16. Rambo bow weapon
  17. Medikit
  18. Grenade kit
  19. Flame God mode kit
  20. Predator kit
  21. Vest kit
  22. Beserker kit
  23. Cluster grenade kit
  24. Saw weapon
  25. Knife weapon
  26. Law weapon
  27. Stationary gun
  28. Unknown
  29. Unknown
  30. Unknown
  31. Unknown

Notes: When noted that it is a weapon, it is only counted when not being held by a person Bullets do not count as objects. The knife when thrown does not count as an object. Grenades do not count as an object. Special weapons have not been completely tested.

Special ids (aka indexes), not following the normal rules of styles:

  1. Not used, but does not break scripts if trying to access this
  2. When style=0, one player in-game (human); When style=1, more than one player in-game (including bots); if killed, recreated after everybody leaves and another first person joins
  3. Style=14
  4. Style=85; If killed, it's recreated at the same index (or is just never killed)
  5. Style=106
  6. Style=157
  7. Style=0
  8. Style=98
  9. Style=0

SpawnObject

Note that the styles used from GetObjectStat are some reason different than SpawnObject styles. Here is a list of SpawnObject styles and what they create:

  1. Deagles
  2. HK
  3. AK-74
  4. Aug
  5. Spas
  6. Ruger
  7. M79
  8. Barrett
  9. Minimi
  10. Minigun
  11. USSOCOM
  12. Knife
  13. Chainsaw
  14. Law
  15. Stationary Gun
  16. Medikit
  17. Grenade kit
  18. Flame God mode kit
  19. Vest kit
  20. Predator kit
  21. Beserker kit
  22. Cluster grenades kit