Help with a small mod to space suit

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

doubleshadow
Posts: 671
Joined: Fri, 12. Mar 04, 08:14
x3

Post by doubleshadow » Tue, 15. May 07, 11:44

CaptG wrote:I get an error. I opened the weapondummy file and scaled it down. Then clicked Reset XForm & Reset selected. When I went to then export it, it gave me this error:

--Runtime error: Cannot get mesh from this object: $PolyMesh:weapondummy @[0.000000,0.000000,0.000000]

Anyone know what I am not doing right?
You have to collapse the object stack. Just right click on the modifier list and select Collapse All->Yes. I've fixed this in the recent version of DBOX but I haven't released it yet :P

Note that when you have linked objects (your case: weapon and laser part), resetting the X-form will make crazy things with the child objects orientation. You will have to re-arrange them. That's the bad thing about XForm.

CaptG
Posts: 471
Joined: Sat, 12. May 07, 17:29
x3tc

Post by CaptG » Tue, 15. May 07, 15:12

Thanks I will try that and see if it works. Does anyone know why whenever I try to target something while I am in my space suit, no matter how close I am to the object I want to select, I always target the North Gate?

GeckoBlade
Posts: 40
Joined: Tue, 2. Jan 07, 03:14
x3

Post by GeckoBlade » Tue, 15. May 07, 21:27

Gazz wrote:Did you include the weapon mounts in the suit's scene file?

Weapons must fire from *somewhere* yaknow.
Hey! I can still fire from those infinitely small points that are created when a ship's hull doesn't install correctly. How does that work? Do the weapon mounts install correctly, but the actual ship doesn't?

xTemon
Posts: 996
Joined: Tue, 9. Jan 07, 20:01
x3tc

Post by xTemon » Tue, 15. May 07, 21:52

Weapons are accessed from the scene file, along with the POV for the cockpit and turrets-finitely small points could only be invisible_weapon.

@CaptG:

You might want to consider using invisible_weapon for your suit..

If you import the suit, having made sure it's been converted to bob to avoid the scene importing an x-reference blue box outline, then build a small laser onto the suits helmet or some such place, (alpha kyon might be more appropriate-I'd go with repair laser option as well, and a scaled down version of AIRE with beam selected), then merge with the scene and add invisible weapon at the firepoint it might turn out pretty cool.

..a few small cylinders and boxes and.. eureka!! I've discovered the ultra-miniature kyon beam thing :lol:

It's a pretty cool idea-congrat's!! :thumb_up:

CaptG
Posts: 471
Joined: Sat, 12. May 07, 17:29
x3tc

Post by CaptG » Tue, 15. May 07, 22:10

Success!! I finally got it to work correctly. And the gun is the right size too. I mounted it on his shoulder and now my astronaut looks like Predator. Thanks for everyone's help. Only problem is that it blinds you when you fire. I may have to move it.

I am still having problems with the target. Does anyone know why when I hit T to target something it always selects the North Gate when I am in my space suit.

User avatar
Stevio
Posts: 2271
Joined: Sat, 4. Jun 05, 10:36
x3tc

Post by Stevio » Tue, 15. May 07, 22:29

you could model your on Hand Weapon for it

CaptG
Posts: 471
Joined: Sat, 12. May 07, 17:29
x3tc

Post by CaptG » Thu, 17. May 07, 02:22

Does anyone know about the spacesuit aim problem? I press T to target an object and it always selects the North Gate.

Post Reply

Return to “X³: Reunion - Scripts and Modding”