May 13, 2024, 05:23:00

Author Topic: Trouble adding a weapon  (Read 5544 times)

Offline skygunner58201

  • Recruit
  • *
  • Posts: 16
  • Karma: 0
    • View Profile
    • http://
Trouble adding a weapon
« on: April 14, 2010, 03:43:22 »
Like the title says, I'm having a bit of trouble.  I recently came across the star wars mod for nexus and absolutely loved the turbo-lasers.  So i attempted to bring in the republics blue ones.  well they work.....kinda.  I have no sound efx, and no efx period.  It has become an invisible weapon with a slight delay between firing and hitting.  then the target explodes.  no fire effect, travel effect, or impact effect.  and no sound.   I've gone over my changes and can't find anything wrong...the only thing i seem to be missing is the ani reference.  but i can't find it in the original mod.  any ideas?

Offline Keldane

  • Specialist
  • *
  • Posts: 73
  • Karma: 0
    • View Profile
    • http://
(No subject)
« Reply #1 on: April 15, 2010, 21:24:36 »
Sorry for the delay - I had thought I'd posted a response, and I guess I decided not to for some unintelligible reason. That's what I get for browsing at 2 am.  :P

The first thing I'd suggest doing is double checking the first digit in the Travel line. If it's a 1, you won't get any travel animation because it's trying to mimic a Beam weapon. If it's a 2, It should be okay, as 2 denotes a projectile of some sort. 3 denotes a ship class, if I'm not mistaken (used for missiles), and 4 escapes me at the moment.

What I did to create my pulse laser effect (pictured elsewhere) was create a custom animation for the Travel effect (I'd recommend reading through the documentation that comes with the game, dry though it is, and focusing on the section concerning Effects - with some experimentation, I was able to learn a lot from it). In particular, what I did was start with a Flare effect set to Decay rapidly (that is, it vanishes 0.1 seconds after being fired) and applied a Snake effect immediately afterward. The Snake created a tail, and by adjusting its thickness (SRadius being its full thickness, and ERadius being how thick it is at the end) and setting its NodeAtt (how long it takes for it to widen from nothing to its preset thickness, creating a pointed tip), NodeSus (how long it sustains its preset thickness, creating a solid beam-like effect), and NodeDec (how long it takes to decay from its full thickness of SRadius to its end thickness of ERadius), I was able to create a pulse-like beam that traveled through space. The Flare component is actually essential, as without it the Snake won't appear.

So, now that I've possibly confused you, hopefully you'll find everything I referred to and it will all make sense.  :D

Offline skygunner58201

  • Recruit
  • *
  • Posts: 16
  • Karma: 0
    • View Profile
    • http://
(No subject)
« Reply #2 on: April 15, 2010, 23:07:33 »
I'll check it out.  I've never actually made my own effects before so this should be an interesting experience.  I'll post if I figure it out.