zabing12 has some ideas.
-
- Posts: 63
- Joined: Fri Jul 18, 2014 5:35 pm
Re: zabing12 has some ideas.
Thanks, and sorry, it comes with the starting weapons only. I have added the full kestrel blueprint, but it doesn't seem to work.
-
- Posts: 63
- Joined: Fri Jul 18, 2014 5:35 pm
Re: zabing12 has some ideas.
Thanks, and sorry, the kestrel starts with the starting weapons. I have added the full kestrel blueprint, but it doesn't show up in the place.
Also, when I did a scan on my mod, it said that 'this mod clobbers'.
Also, when I did a scan on my mod, it said that 'this mod clobbers'.
- NarnKar
- Posts: 778
- Joined: Thu Jun 19, 2014 4:24 pm
Re: zabing12 has some ideas.
Ah. What you'll want to do is, you'll want to scroll down to the <weaponList> tag, under the Kestrel's blueprints. You should see something like:zabing12 wrote:Thanks, and sorry, the kestrel starts with the starting weapons. I have added the full kestrel blueprint, but it doesn't show up in the place.
Code: Select all
<weaponList count="2" missiles="8">
<weapon name="MISSILES_2_PLAYER" />
<weapon name="LASER_BURST_3" />
Code: Select all
<weaponList count="3" missiles="8">
<weapon name="MISSILES_2_PLAYER" />
<weapon name="LASER_BURST_3" />
<weapon name="HYPERION_LASER" />
-
- Posts: 63
- Joined: Fri Jul 18, 2014 5:35 pm
Re: zabing12 has some ideas.
http://www.mediafire.com/download/7yc1d ... +patch.ftl
Made a media fire, and here it is.
Narnkar, I have this.
I have confirmed it exists, but can't seem to get it on the ship.
EDIT
Using superluminal, I could not find the weapon, and could not load the mod. This may be a problem
Made a media fire, and here it is.
Narnkar, I have this.
Code: Select all
<weaponList count="2" missiles="8">
<weapon name="MISSILES_2_PLAYER" />
<weapon name="HYPERION_LASER"/>
EDIT
Using superluminal, I could not find the weapon, and could not load the mod. This may be a problem
- NarnKar
- Posts: 778
- Joined: Thu Jun 19, 2014 4:24 pm
Re: zabing12 has some ideas.
All right, so going in order...
"Kestrel starts with its default weapons": as far as I can tell, this shouldn't be happening. Perhaps it's because you zipped up "Hyperion_Laser" instead of the directories "data" and "img", which would lead to an InnerPath error...but aside from that, your blueprints look structurally sound.
As for your animations...there's a problem there. This is what it looks like now:
Your Hyperion Laser image is actually 108 x 74, and so w="192" should be "108", and h="60" should be "74". w and h specify the image size.
Each frame of the Hyperion Laser is actually 36 x 74, so fw="16" should be "36" and fh="60" should be "74". fw and fh specify each frame's size.
desclength="12" should be ="3". This is because your weapon only has 3 frames.
A more correct animation code should look like this:
But like I said earlier, an animation problem is usually indicated by a basic laser, and you're starting with the default weapons...let me patch the Hyperion Laser onto my game and see if there's any issues. I'll report back later with those details.
As one last note, I see an Effector in your Hyperion Laser's weapon art. The Effector isn't from the vanilla game, it's from Sleeper Service's Captain's Edition mod--and you should attribute the art accordingly.
"Kestrel starts with its default weapons": as far as I can tell, this shouldn't be happening. Perhaps it's because you zipped up "Hyperion_Laser" instead of the directories "data" and "img", which would lead to an InnerPath error...but aside from that, your blueprints look structurally sound.
As for your animations...there's a problem there. This is what it looks like now:
Code: Select all
<animSheet name="Hyperion_Laser" w="192" h="60" fw="16" fh="60">weapons/Hyperion_Laser_strip3.png</animSheet>
<weaponAnim name="Hyperion_Laser">
<sheet>Hyperion_Laser</sheet>
<desc length="12" x="0" y="0"/>
<chargedFrame>2</chargedFrame>
<fireFrame>3</fireFrame>
<firePoint x="10" y="16"/>
<mountPoint x="2" y="44"/>
</weaponAnim>
Each frame of the Hyperion Laser is actually 36 x 74, so fw="16" should be "36" and fh="60" should be "74". fw and fh specify each frame's size.
desclength="12" should be ="3". This is because your weapon only has 3 frames.
A more correct animation code should look like this:
Code: Select all
<animSheet name="Hyperion_Laser" w="108" h="74" fw="36" fh="74">weapons/Hyperion_Laser_strip3.png</animSheet>
<weaponAnim name="Hyperion_Laser">
<sheet>Hyperion_Laser</sheet>
<desc length="3" x="0" y="0"/>
<chargedFrame>2</chargedFrame>
<fireFrame>3</fireFrame>
<firePoint x="10" y="16"/>
<mountPoint x="2" y="44"/>
</weaponAnim>
As one last note, I see an Effector in your Hyperion Laser's weapon art. The Effector isn't from the vanilla game, it's from Sleeper Service's Captain's Edition mod--and you should attribute the art accordingly.
- NarnKar
- Posts: 778
- Joined: Thu Jun 19, 2014 4:24 pm
Re: zabing12 has some ideas.
All right, I tested my version of the Hyperion Laser patch.
The blueprint shows up fine, but the animations don't work for me. I don't know why this is, because I'm pretty sure the code I posted is structurally sound...I'll come back to this later.
The blueprint shows up fine, but the animations don't work for me. I don't know why this is, because I'm pretty sure the code I posted is structurally sound...I'll come back to this later.
-
- Posts: 63
- Joined: Fri Jul 18, 2014 5:35 pm
Re: zabing12 has some ideas.
Thanks, I'll fix that. I wanted to make a hyperion ship, and I would have shouted out to captain's edition then.
So, the hyperion laser shows up on the kestrel?
So, the hyperion laser shows up on the kestrel?
- NarnKar
- Posts: 778
- Joined: Thu Jun 19, 2014 4:24 pm
Re: zabing12 has some ideas.
Well, the Hyperion Laser shows up, but it uses the Basic Laser weapon animation, and no bullet comes out of the gun. It's a problem with the animations, but I really can't see the problem so far...
edit: WAIT NO I GOT SOMETHING.
In the blueprints...
The <image> tag actually refers to the IMPACT of the gun, not the gun itself. Like, the beam hitmark, or a missile contact explosion. The <weaponArt> tag is what refers to the gun.
But the REALLY big problem is here:
A misplaced <launchSounds> tag caused EVERYTHING underneath it, from hit ship sounds to the <weaponArt> tag itself, to be interpreted as "launch sounds". I've removed the extra tag, and let's see how it works...
edit: WAIT NO I GOT SOMETHING.
In the blueprints...
Code: Select all
<weaponBlueprint name="HYPERION_LASER">
<type>LASER</type>
<title>Hyperion laser</title>
<short>Hyperion Laser</short>
<desc>A shield piercing laser.</desc>
<tooltip>One shot, one damage per shot, pierces all shields.</tooltip>
...
<image>Hyperion_Laser</image>
But the REALLY big problem is here:
Code: Select all
<launchSounds>
<launchSounds>
<sound>lightLaser1</sound>
<sound>lightLaser2</sound>
<sound>lightLaser3</sound>
</launchSounds>
Last edited by NarnKar on Sun Aug 03, 2014 10:39 pm, edited 1 time in total.
-
- Posts: 63
- Joined: Fri Jul 18, 2014 5:35 pm
Re: zabing12 has some ideas.
So how do I fix that? Like add a hit image?
- NarnKar
- Posts: 778
- Joined: Thu Jun 19, 2014 4:24 pm
Re: zabing12 has some ideas.
I'm still fiddling with code...I'll refrain from posting until I've completely fixed the thing or given up, but I'm working on it r/n.