mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
| .. | ||
| icon.svg | ||
| icon.svg.import | ||
| IMPLEMENTATION.md | ||
| plugin.cfg | ||
| README.md | ||
| WeaponCreatorDialog.gd | ||
| WeaponCreatorDialog.gd.uid | ||
| WeaponCreatorDock.gd | ||
| WeaponCreatorDock.gd.uid | ||
| WeaponCreatorDock.tscn | ||
| WeaponCreatorPlugin.gd | ||
| WeaponCreatorPlugin.gd.uid | ||
| WeaponViewer.gd | ||
| WeaponViewer.gd.uid | ||
Weapon Creator 3D Plugin
A powerful Godot editor plugin that streamlines the creation of 3D weapons with all required resources.
Features
- User-Friendly UI: Intuitive dock panel with organized input fields
- Real-time Feedback: Live output log showing creation progress and errors
- Auto-generation: Automatically generates item keys from weapon names
- Full Validation: Input validation with helpful error messages
- Complete Integration: Creates WeaponResource, LootItem, and adds to ItemsDatabase automatically
- Customizable Stats: Fine-tune all weapon parameters through the UI
Installation
- The plugin is already installed in
addons/weapon_creator/ - Go to Project → Project Settings → Plugins
- Enable "Weapon Creator 3D"
Usage
- Open the Weapon Creator panel from the bottom dock
- Fill in the weapon details:
- Basic Information: Name, key, description
- Weapon Statistics: All gameplay parameters
- Click Create Weapon button
- Check the output log for results
- Find your new weapon resources in:
Resources/Weapons/[WEAPON_KEY].tresResources/Items/[WEAPON_KEY]_Item.tres
Tips
- Item Key is auto-generated from Weapon Name (converts to UPPERCASE_WITH_UNDERSCORES)
- The bullet path defaults to the simple ice bullet - change if needed
- All fields have tooltips explaining their purpose
- Use "Clear Log" to reset the output display
What Gets Created
- WeaponResource - Contains all weapon stats and bullet data
- LootItem - Makes the weapon pickupable in-game
- Database Entry - Automatically added to ItemsDatabase.tres
After Creation
Remember to:
- Add weapon sounds (shoot, reload) to the WeaponResource
- Add an inventory sprite to the LootItem
- Test the weapon in-game
Troubleshooting
- "Resource already exists": Choose a different weapon name/key
- "Bullet resource not found": Verify the bullet path is correct
- No output: Check the Godot console for errors