weapon hardpoints

The place to discuss scripting and game modifications for X Rebirth.

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

oliverjanda
Posts: 309
Joined: Sun, 14. Feb 10, 17:47
xr

weapon hardpoints

Post by oliverjanda »

i'm playing around with the heavy beam atm.
i thought it would be nice to have 2 beams simultaneously.

Looking at the lost weapons mod, i thought you just have to add another connection to unit_player_ship.
Unfortunatly this has no effect on a started game.
On a new game you just get another slot with the same weapon but you can't fire the 2 at the same time!
What did I miss?

Code: Select all

<?xml version="1.0"?>
<diff>
	<add sel="/components/component[@name='unit_player_ship']/connections">
		<connection name="conn_primaryweapon_beam2" tags="primary_slot weapon_beam ">
			<offset>
				<position x="-3.200821" y="-2.346588" z="-4.286943"/>
			</offset>
		</connection>
	</add>
</diff>
oliverjanda
Posts: 309
Joined: Sun, 14. Feb 10, 17:47
xr

Post by oliverjanda »

I made some progress in modding my savegame: I now can have as many beams as i have weaponslots.
I hope I can pack that into a mod somehow...
bm01
Posts: 421
Joined: Wed, 22. Jul 09, 22:31
x4

Post by bm01 »

I remember a mod who did that.
But I won't be of much help since I forgot which one.
oliverjanda
Posts: 309
Joined: Sun, 14. Feb 10, 17:47
xr

Post by oliverjanda »

You probably mean the lost weapons mod (see my first post)
bm01
Posts: 421
Joined: Wed, 22. Jul 09, 22:31
x4

Post by bm01 »

Oh, right :D

Return to “X Rebirth - Scripts and Modding”