Objects
GTD has some objects, which you can use to have much more fun.
How to get an object:
There are currently two ways to get an object:
Default objects:
There are some objects which you can use, but you can not add more of this object type:
- Flame thrower
- Click on the ground or a mob to set it on fire
- Grenade
- Throw the grenade to create an explosion
- Handcuffs
- You need to handcuff a gangster to arrest or detain it
- Jetpack
- Put on the jetpack and click on the ground while you have the jetpack control in your hand
- Knife
- A knife is just like a sword, but you can define the damage and a short cooldown between two hits
- Taser
- The taser damages an Entity and gives some potion effects to it
-
Firearms:
You can create your own firearms. You can create as much as you want to have much fun with them. Just have a look at the config file. The firearms explain itself.
You can define a zoom in the config file. If zoom is allowed for the specific firearm in your hand, just sneak to zoom.
Use "/gtd give ammo:<firearm>" to get some ammo for a firearm. Use "ammo:<firearm>" on the third line of a sign for an ammo sign.
-
Cars:
You can configure custom cars:
- Name
- Team
- Horse color
- WHITE, CREAMY, CHESTNUT, BROWN, BLACK, GRAY, DARK_BROWN
- Horse style
- BLACK_DOTS, NONE, WHITE, WHITE_DOTS, WHITEFIELD
- Horse variant:
- HORSE, DONKEY, MULE, UNDEAD_HORSE, SKELETON_HORSE
- Max health / health after spawn
- Jump strength
- Minumum is 0, maximum is 2
- Speed
- 0 is default; -1 or less is slow; 1 or higher is fast
- There is nor minimum/maximum speed
-
Don't use upper cases in your car configuration path!
objects: cars: MyCustomCar:
^ is not allowed!
Use:
objects: cars: mycustomcar:
Use "/gtd give car:<car>" to spawn a car/horse. Use "car:<car>" on the third line of a sign for a car sign.