Help with a small mod to space suit
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 471
- Joined: Sat, 12. May 07, 17:29
Help with a small mod to space suit
Has anyone added a gun to the space suit? I've modified the suit using doubleshadow's editor to carry an Alpha IRE, a shield, and expanded its cargo capacity and size. I wrote a script to add the items to the space suit everytime the player is in it, and it works. The weapon slot and the icon appear on the screen and the shields work, but when i pull the trigger nothing happens. I tried increasing the weapon power but that didnt do anything. Can anyone help?
-
- Posts: 13244
- Joined: Fri, 13. Jan 06, 16:39
Did you include the weapon mounts in the suit's scene file?
Weapons must fire from *somewhere* yaknow.
Weapons must fire from *somewhere* yaknow.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
-
- Posts: 471
- Joined: Sat, 12. May 07, 17:29
-
- Posts: 1400
- Joined: Fri, 9. Feb 07, 04:46
You have just asked the million dollar question LOL.
http://www.xwiki.chaos.net.nz/index.php/Main_Page
Yo need to read up on:
1) Unpacking your entire X3 folder.
2) Converting from .bob to .bod and back to .bob.
3) Creating/Editing a ship with weapons dummies
4) Getting a copy of GMAX (Free) or 3DS Max (a few hundred dollars with a student discount, over $3000 retail price)
5) Using DBOX to import and export X3 ships into either of the above mentioned editors.
Didn't think this was going to be easy, did you?
http://www.xwiki.chaos.net.nz/index.php/Main_Page
Yo need to read up on:
1) Unpacking your entire X3 folder.
2) Converting from .bob to .bod and back to .bob.
3) Creating/Editing a ship with weapons dummies
4) Getting a copy of GMAX (Free) or 3DS Max (a few hundred dollars with a student discount, over $3000 retail price)
5) Using DBOX to import and export X3 ships into either of the above mentioned editors.
Didn't think this was going to be easy, did you?

-
- Posts: 471
- Joined: Sat, 12. May 07, 17:29
-
- Posts: 2271
- Joined: Sat, 4. Jun 05, 10:36
-
- Posts: 471
- Joined: Sat, 12. May 07, 17:29
-
- Posts: 1400
- Joined: Fri, 9. Feb 07, 04:46
-
- Posts: 471
- Joined: Sat, 12. May 07, 17:29
-
- Posts: 471
- Joined: Sat, 12. May 07, 17:29
-
- Posts: 1400
- Joined: Fri, 9. Feb 07, 04:46
-
- Posts: 252
- Joined: Sat, 15. May 04, 11:03
-
- Posts: 471
- Joined: Sat, 12. May 07, 17:29
I was able to export the file as text and then changed it to .bod. I loaded X3 with the new file in place in a new catalog, the space suit works but there is no external sign of a weapon and it still wont fire. I had exported the file as a scene, so I changed it and exported it as a Body and loaded the game. The space suit wasnt visible but you could fire the weapon. It just seemed to originate from a point. Can someone help me?
-
- Posts: 2271
- Joined: Sat, 4. Jun 05, 10:36
Make sure the Weapon ID in your scene is matched to that in Tships, (The P Number)
also make sure the weapon is set on a Camera right
Note the " C1 " References...
also make sure the weapon is set on a Camera right
Note the " C1 " References...
Code: Select all
//Astropnaut Cockpit cam
P 0; B ships\others\astronaut; C 1; N Bships\others\astronaut_1b; b
{ 0x2002; 0; 0; 0; 0.000000; 0.000000; 0.000000; 0.000000; 17500; 1; } // 1
{ 0x2002; 0; 0; 0; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
//Weapon Dummy
P 1; B ships\props\weapondummy; C 1; N Bships\props\weapondummy_1b; b
-
- Posts: 471
- Joined: Sat, 12. May 07, 17:29
Problem Recompiling .bod files
I can not get the X2BC compiler to recompile my .bod file back to .bob. Everytime it gives me this error:
Compiler - line 3, col 1 - Error: Expected version specification
Can anyone help?
Compiler - line 3, col 1 - Error: Expected version specification
Can anyone help?