How do i make my own weapons?
-
- Posts: 2
- Joined: Thu Jan 12, 2012 11:43 pm
How do i make my own weapons?
Hi, i am trying to find out how do i make my own weapons for Overgrowth.
Re: How do i make my own weapons?
Check in the Game's Data folder, and learn by example.gamemakingdude wrote:Hi, i am trying to find out how do i make my own weapons for Overgrowth.
All objects, including, weapons are defined as xml files.
Specifically weapons will be in Data/Objects/Weapons
Find the xml files of existing weapons, then duplicate them, change them, and experiment.
To load a modified weapon file (or any object xml file for that matter) just click 'Load Item' in the in-game editor, then click the small folder icon:
and navigate to the xml file you want.
If you're confused by which weapon file works, and which don't (not all do) just try loading them manually as described above.
-
- Posts: 2
- Joined: Thu Jan 12, 2012 11:43 pm
Re: How do i make my own weapons?
How extactly am i supposed to modify the weapons if theres no scripts?
Re: How do i make my own weapons?
gamemakingdude wrote:How extactly am i supposed to modify the weapons if theres no scripts?
Two other locations you'll need to check, depending on what you want to do:
Code: Select all
Data/Attacks
Code: Select all
Data/Items/Weapons
Re: How do i make my own weapons?
You can model weapons in any 3D software you use. Export them as OBJ and define the 'object' in an XML file. You need to tell it the mesh and textures and shader is uses.
From any 'object', you can make an 'item', which is something that can be carried around and used as a weapon. It consists of editing a different XML where you tell which object to use, how much damage it deals, which animations are used, etc. I don't remember all the stuff there.
The place where the character grabs an item is the origo (0,0,0 in XYZ coordinate system) of the model in the 3D software. If no attack animations and stuff is defined, the weapon is grabbed but not usable as a weapon.
From any 'object', you can make an 'item', which is something that can be carried around and used as a weapon. It consists of editing a different XML where you tell which object to use, how much damage it deals, which animations are used, etc. I don't remember all the stuff there.
The place where the character grabs an item is the origo (0,0,0 in XYZ coordinate system) of the model in the 3D software. If no attack animations and stuff is defined, the weapon is grabbed but not usable as a weapon.