EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[Tutorial] How to make custom weapons
Post new topic Reply to topic Goto page 1, 2, 3  Next
View previous topic :: View next topic
Author Message
Matterom





Joined: 20 Aug 2009
Posts: 287 on topic
Location: Texas
Thank you for registering your game
modified
PostPosted: Wed, 30. Sep 09, 06:09    Post subject: [Tutorial] How to make custom weapons Reply with quote Print

have been looking for a tutorial for this for a while while i had very little luck finding one i eventual came to the conclusion that there wasn't one. Eventual i worked up the courage to spend 3-4 hours researching and developing an effective method to create weapons, So This is for all of those people who want to make all those little weapon mods (but i have first dibs)

http://forum.egosoft.com/viewtopic.php?t=260284 <-you will find a set of custom weapons here when it is done

You will need....

>X3 edditor2 by Dubbleshadow
>approval for certain weapons
>Creativity
>(optional) In order to effectively test your mods without the interference of other mods i installed a second TC in a folder called X3 Vanilla Environment It Helps a lot
>(optional) Cycrows cheat pakage to test it

Pre Step #1
open the X3 editor and open the cat 3 file in your x3 directory Extract from the text folder Tships, Tlasers, And Tbullets
Note: For Organizational purposes Create a My MOD Folder somewhere either in Documents or on your desktop.

PRe Step #2
Use X3 edditor to open all 4 files. From here you have a few choices Based on what you want to do....

1.i want to edit existing Weapons

2.i want to edit its effects

3.I want big weapons on my fighters

4.i want a brand new spanking weapon because all mine suck

As the forth option pretty much covers every thing ill do that

I will now guide you thru the steps i did to create my Light Combat Beam Weapon for my fighters


>Step one

Go over to the t lasers tab i the x3 editor scroll all the way down and find the Plasma beam cannon, Right click copy and past at the bottom
Then look at its window you should see something like....

ID
Model file
Ect.......

Right click the id in the value side and Rename it to SS_LASER_X (x Equals a value that you input Ergo The variable)

Model file and picture id you can keep the same

The 3 rotation values are user input but never leave X and Y blank Because if you do theoretically your gun will only Fire Straight ahead

Subtype:The most important part This is where you select where your weapon will be placed ( for my LCB i placed it in the SG_LASER_ARGON_LIGHT)

Name: as we cannot edit this directly you will notice the name id. For this you open the 0001-l044 scroll down to the id 17:Bord-comp and right click edit click OK then you should be free to edit the text inside (right click new id it something not already taken then name it something menacing)
in the name id type in your id selection for the gun if it comes up as a string error that is normal (still needs to be improved)
Note: All weapons need names before they will be added to the game

Note:Actually you need to create a new text document and save as a pdf
but before you open it copy and past this into notepad
-----------------------------------

<?xml version="1.0" encoding="utf-8" ?>
<language id="44">
<page id="17" title="Boardcomp. objects" descr="">
<t id="4xvalue"> Change the x value to a random 4 digit number</t>

this will be saved in your mod folder look here to see available t files

i am having trouble with this specifically they all appear as read texts in game

http://forum.egosoft.com/viewtopic.php?t=216690

--------------------------------------

Rate of fire: common place Beam weapons are usually 100 rounds per minute with other weapons being less

sound: Each sound file corresponds to a number located in the S folder

Projectile: See Step 2

Energy: not quite sure ether but could be two things (1 energy needed to run 2 energy used per X)

Charge rate:Only Affects weapons that charge.

icon: what you see in the little weapon slot in your ships

Volume: how big do you want it ( my case since its a small beam weapon no bigger than 10

relative value- The price modifier- leave alone for now it affects how much your gun will cost.. ATM we just want to get it working


Size: This is Important you need to select the appropriate type of size for this gun Recommends medium to large for M4-M3s and XL for the bigger Ship weapons

Every thing else is unimportant for now

Step two

Switch over to the T bullets tab and copy and past the plasma beam cannon (you are going to have to be clever hear as they are almost all named unknown object Hint:look at the model files and the ids)

Leave all but the id alone you need to change that into SS_BULLET_X
Switch to the mini tab in the window labeled Bullet Data
This is where you edit and customize every detail from range to color Edit all the stats you like then continue

Save all of this to your folders for safe keeping

then go up to options and reload all game data if you did it right when you go back to the t lasers to input your bullet, it should be there

Step 3

To input this int your game first save and open the t ships to make sure that your added weapon is there
then just merge all of this into a cat&dat and your good to go make sure to put them in the correct directory..

From here you should be free to make and test your own custom weapons and bullets But remember with awesome power comes awesome fun


if i was unclear please respond so that i may fix the error



Last edited by Matterom on Fri, 11. May 12, 00:11; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
apricotslice





Joined: 16 May 2004
Posts: 13629 on topic
Location: In the Hunter Legacy Universe
Thank you for registering your game
PostPosted: Thu, 1. Oct 09, 02:52    Post subject: Reply with quote Print

Make sure you submit this to the guides sticky thread.


_________________
Apricot Mapping Services HQ
CLICK HERE for X3 Handbook; TC and AP Guides, Mods, Scripts & Downloads
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Matterom





Joined: 20 Aug 2009
Posts: 287 on topic
Location: Texas
Thank you for registering your game
PostPosted: Sat, 3. Oct 09, 04:32    Post subject: How to create effects for weapons Reply with quote Print

i will use this area to post a tutorial on how to create the weapon effects

Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Skeeter





Joined: 09 Jan 2003
Posts: 2516 on topic
Location: North East of England
Thank you for registering your game
PostPosted: Thu, 10. Dec 09, 21:50    Post subject: Reply with quote Print

Name: as we cannot edit this directly you will notice the name id. For this you open the 0001-l044 scroll down to the id 17:Bord-comp and right click edit click OK then you should be free to edit the text inside

This im lost at please explain more as there is no 0001- stuff in name id just 8xxx and i can edit by double clicking and thats it.


_________________

3570k 4.5ghz 8gb DDR3 1600mhz MSI PE 670 2GB B_1149 22"/19" mon
Back to top
View user's profile Send private message MSN Messenger
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Nov 2004
Posts: 20480 on topic
Location: London
Thank you for registering your game
PostPosted: Thu, 10. Dec 09, 23:01    Post subject: Reply with quote Print

the 0001 file is inside the games file, the 01, 02, cat files, etc

u'll need to extract it.

however, its better to create your own text file to load into the game


_________________
My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Swatstain





Joined: 24 Jan 2006
Posts: 5 on topic
Location: Seattle, Washington
Thank you for registering your game
PostPosted: Fri, 12. Mar 10, 07:57    Post subject: Weapons Calculating Reply with quote Print

I have noticed that what is found in the Tbullets file does not match what is in the game and took it upon myself to try and figure out what multipliers affect sheild, hull, and energy consumption.

I have found that the fire rate listed in the Tlasers file affects sheild, hull, and energy consumption. But trying to figure out the percentages was starting to rack my brain. So if anyone knows how the weapons stats are figured out in game i would be interested.

Just never was good at math Shtuff......

Back to top
View user's profile Send private message
Matterom





Joined: 20 Aug 2009
Posts: 287 on topic
Location: Texas
Thank you for registering your game
PostPosted: Sat, 17. Apr 10, 08:38    Post subject: Reply with quote Print

"fire rate listed in the Tlasers file affects sheild, hull, and energy consumption"
all fire rate is is Damage per Second and energy usage

in the bullets file the 3 top numbers control the shields, hull, and energy but about them not being the same you have to give an example



Note:i have messed with it some more and have almost completely figured it out i just have to find time to update this

still cant make new effects

Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
MitchellExplorer





Joined: 29 Oct 2009



PostPosted: Fri, 28. May 10, 08:36    Post subject: can't change existing weapons range Reply with quote Print

when i try to change the range of the weapon it says "property is read-only" - Only thing i wanted to change...

edit: - right ok lol Smile lifespan & speed creates range Smile wee finally i get some range to flaks.

Back to top
View user's profile Send private message
expo1





Joined: 24 Nov 2010

Location: United States

PostPosted: Wed, 24. Nov 10, 04:30    Post subject: Reply with quote Print

Now I know how to make custom weapons, thanks posting, I really appreciate this.


_________________
brass knuckles
Back to top
View user's profile Send private message
Matterom





Joined: 20 Aug 2009
Posts: 287 on topic
Location: Texas
Thank you for registering your game
PostPosted: Thu, 6. Jan 11, 08:48    Post subject: Reply with quote Print

no problem Smile but like i said theres still more to add thats beyond me, however when i find the time i will add some do's and donts to this tutorial, for example: dont make a missle that can wipe out a sector.... And fly faster than the speed of light (it wasent good for my health, or frame rate) another tip is about making missle turrits i made a dumbfire missle turrit but if u tick the wrong box hoping for a certain efect can make ur game crash or the wepon act funny. Mabby i should link my weapon blupper pack for some of my "failed exparaments" like my super disruptor that nearly vaporized argon prime X-( note to self test only in xenon space

Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
LV
Sith Lord




Joined: 06 Nov 2002
Posts: 6359 on topic
Location: The Dark Side
Thank you for registering your game
PostPosted: Wed, 26. Jan 11, 20:29    Post subject: Reply with quote Print

added to tutorials stickie

changed header for search reasons

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Tohron



MEDALMEDALMEDAL

Joined: 24 Oct 2011
Posts: 331 on topic

Thank you for registering your game
PostPosted: Wed, 16. Nov 11, 19:48    Post subject: Reply with quote Print

I know it's a bit of thread necro, but since this is a tutorial I thought this would be the right place to put it.

Anyway, I'm not actually making a new weapon, just trying to modify the existing ones - specifically reduce Ion Disruptor & Ion Cannon hull damage, and (if possible) slightly increase Ion Disruptor range. The 09 catalog seems to be the most recent catalog with TBullet, so I edited and overwrote that with new hull damage values (range seems to be read-only). Testing it out in game, that caused all my weapons to lose their names and stop working properly. Fortunately, I had a backup of the X3 folder, but I'm still not sure how to go about changing these values. Any assistance?

Back to top
View user's profile Send private message
acgabs





Joined: 19 Nov 2011
Posts: 38 on topic
Location: Deutschland
Thank you for registering your game
PostPosted: Sat, 3. Dec 11, 19:30    Post subject: Reply with quote Print

Hello! Great guide so far, I have a few problems though.

1. The Name ID of the new weapon and how to change it..

It's a bit confusing to read, create a notepad file with those lines then save that to my mod folder? And what do I do with the PDF? And how do I get all that inside the DAT-File?

2. Copy+Paste the Weapon into the the TBullets Tab doesn't work, it always produces an error.

Back to top
View user's profile Send private message
crusader58





Joined: 27 Jan 2012



PostPosted: Sat, 11. Feb 12, 14:36    Post subject: Reply with quote Print

I cant copy/paste as when I right-click nothing happens and under the 'edit' menu there's only an option to 'Copy File Name' whichg does nothing

Back to top
View user's profile Send private message
joshyp00





Joined: 21 Dec 2011



PostPosted: Sat, 31. Mar 12, 06:36    Post subject: Reply with quote Print

Idk how weapons factor in but i know that some shields have a higher efficiency perhaps this influences damage and etc....


_________________
"Major Marks, Please Make That Ship Go Away."
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Sun, 25. Feb 18, 05:39

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2018
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.15480 seconds, sql queries = 30