Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: 1 ... 47 48 [49] 50 51 ... 706

Author Topic: Misc modding questions that are too minor to warrant their own thread  (Read 1700481 times)

NITROtbomb

  • Commander
  • ***
  • Posts: 127
  • I like Mah glass cannon ships :)
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #720 on: August 26, 2013, 07:27:15 AM »

I cannot find to log so i don't know how to say this but I am getting a fatal error loading a projectile sprite, in graphics/WFE/Missiles/bomlete3.png I don't know what is happening I have compared my weapon data and stuff to that of other mods and the core files and cannot see what the fatal difference is, any suggestions?
Logged
Dancing and playing games, how does that work.. well YOU tell me!

Gotcha!

  • Admiral
  • *****
  • Posts: 1124
    • View Profile
    • Welcome to New Hiigara
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #721 on: August 26, 2013, 09:51:19 AM »

My first suggestion would be to post the mod or people'd take potshots into the dark forever. *pew pew*
Logged
  

Ravendarke

  • Captain
  • ****
  • Posts: 276
  • Nemesis
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #722 on: August 26, 2013, 09:52:29 AM »

I cannot find to log so i don't know how to say this but I am getting a fatal error loading a projectile sprite, in graphics/WFE/Missiles/bomlete3.png I don't know what is happening I have compared my weapon data and stuff to that of other mods and the core files and cannot see what the fatal difference is, any suggestions?

C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\starfarer(.log) but as always best thing would be if you can upload it.

Btw, guys.. I would really, really, really like to create projectile weapon with trail... I have idea for effect that I consider better then anything I done so far (in case if execution will be done correctly).. but I don´t want to use just particles... in the worst case scenario I will just map path of projectile, or actualy keep spawning particles on projectile location, tho I didn´t checked if is possible to return projectile location, but I am pretty sure it is, aynway I would rather spawn beam with same speed as projectile and use it as grahpic effect, problem is, as far as I am aware there is no way how to spawn beam through api, right? (It would be ofc just burst with some decay time, also it need to be beam rather then praticles coz I would creat very specific texture for that trail).
« Last Edit: August 26, 2013, 10:15:42 AM by Ravendarke »
Logged

HELMUT

  • Admiral
  • *****
  • Posts: 1363
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #723 on: August 26, 2013, 10:10:13 AM »

While i'm not sure if i clearly understand what you are asking for but i think you should look for silentstormpt post where he talk about a ballistic projectile with a beam looking trail behind it. Not sure if it's what you need though.

http://fractalsoftworks.com/forum/index.php?topic=5539.210
Logged

Ravendarke

  • Captain
  • ****
  • Posts: 276
  • Nemesis
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #724 on: August 26, 2013, 10:16:58 AM »

Nope, I would need that trail to stay on place for few seconds and then slowly disapper, it should behave like trails behind airplanes irl, if you know what I mean (ofc disappering much faster)
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #725 on: August 26, 2013, 10:22:01 AM »

You can't spawn beams through the API atm, no.

That said, there are various options for short bolts.  Do an operation that spawns particles of a given width in a row, rotate the row after applying velocity.  Should look like a small bolt.  

It's expensive to do it this way though, because it requires quite a few particles for any given length.  

The better way is to spawn an actual projectile that is a short beam segment, using BALLISTIC_AS_BEAM, like the Mining Blaster.  Just make the weapon harmless and set the CollisionType to NONE.
Logged
Please check out my SS projects :)
Xeno's Mod Pack

silentstormpt

  • Admiral
  • *****
  • Posts: 1060
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #726 on: August 26, 2013, 10:37:32 AM »

You can also make the projectile spawn a smoke on its location every X.X seconds, creating that trail you wanted but it is heavy CPU usage specially if you spam those projectiles
Logged

NITROtbomb

  • Commander
  • ***
  • Posts: 127
  • I like Mah glass cannon ships :)
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #727 on: August 26, 2013, 04:56:49 PM »

Im on a mac so i think this is what you want?
Spoiler
37757 [Thread-8] ERROR com.fs.starfarer.combat.String  - java.lang.RuntimeException: Error loading [graphics/EFA/missiles/bomblet3.png] resource, not found in [/Users/nicholascruse/Desktop/NOT SCHOOL/Starsector.app/Contents/Resources/Java/../../../mods/Console,/Users/nicholascruse/Desktop/NOT SCHOOL/Starsector.app/Contents/Resources/Java/../../../mods/LazyLib,/Users/nicholascruse/Desktop/NOT SCHOOL/Starsector.app/Contents/Resources/Java/../../../mods/MYMOD,../starfarer.res/res,CLASSPATH]
 java.lang.RuntimeException: Error loading [graphics/EFA/missiles/bomblet3.png] resource, not found in [/Users/nicholascruse/Desktop/NOT SCHOOL/Starsector.app/Contents/Resources/Java/../../../mods/Console,/Users/nicholascruse/Desktop/NOT SCHOOL/Starsector.app/Contents/Resources/Java/../../../mods/LazyLib,/Users/nicholascruse/Desktop/NOT SCHOOL/Starsector.app/Contents/Resources/Java/../../../mods/MYMOD,../starfarer.res/res,CLASSPATH]
   at com.fs.util.ooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.?00000(Unknown Source)
   at com.fs.util.ooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.?00000(Unknown Source)
   at com.fs.graphics.TextureLoader.new(Unknown Source)
   at com.fs.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.F.super(Unknown Source)
   at com.fs.starfarer.loading.H.o00000(Unknown Source)
   at com.fs.super.A.?00000(Unknown Source)
   at com.fs.starfarer.combat.String.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:680)
AL lib: FreeContext: (0x1001e5c30) Deleting 77 Source(s)
AL lib: FreeDevice: (0x104162000) Deleting 155 Buffer(s)
logout
/spoiler]
 
[close]
Logged
Dancing and playing games, how does that work.. well YOU tell me!

Sproginator

  • Admiral
  • *****
  • Posts: 3592
  • Forum Ancient
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #728 on: August 27, 2013, 12:03:39 AM »

Nitro, it would appear that the mod is looking for that specific file somewhere on the desktop, can you post the contents of any weapon files you have made?

Edit: Oh and projectile files
Logged
A person who's never made a mistake, never tried anything new
- Albert Einstein

As long as we don't quit, we haven't failed
- Jamie Fristrom (Programmer for Spiderman2 & Lead Developer for Energy Hook)

NITROtbomb

  • Commander
  • ***
  • Posts: 127
  • I like Mah glass cannon ships :)
    • View Profile
« Last Edit: August 27, 2013, 04:19:38 AM by NITROtbomb »
Logged
Dancing and playing games, how does that work.. well YOU tell me!

Sproginator

  • Admiral
  • *****
  • Posts: 3592
  • Forum Ancient
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #730 on: August 27, 2013, 04:43:18 AM »

Thanks, I'll look when I'm home tonight
Logged
A person who's never made a mistake, never tried anything new
- Albert Einstein

As long as we don't quit, we haven't failed
- Jamie Fristrom (Programmer for Spiderman2 & Lead Developer for Energy Hook)

NITROtbomb

  • Commander
  • ***
  • Posts: 127
  • I like Mah glass cannon ships :)
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #731 on: August 27, 2013, 05:45:45 AM »

also for those interested here is the mod file, it was just something to fill me over till my spiriting skill improves :P

http://www.mediafire.com/download/58kcbdyhyhzji85/MYMOD.zip
Logged
Dancing and playing games, how does that work.. well YOU tell me!

Gotcha!

  • Admiral
  • *****
  • Posts: 1124
    • View Profile
    • Welcome to New Hiigara
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #732 on: August 27, 2013, 06:34:49 AM »

Check your spelling, NITROtbomb. Your folder name is missles, not missiles. :)
Logged
  

NITROtbomb

  • Commander
  • ***
  • Posts: 127
  • I like Mah glass cannon ships :)
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #733 on: August 27, 2013, 06:42:14 AM »

Oh my god :O I fell like I should be in year 1 not year 12 lol

Ok it loads now but ahh, the weapon does not seem to exist :(
« Last Edit: August 27, 2013, 06:47:00 AM by NITROtbomb »
Logged
Dancing and playing games, how does that work.. well YOU tell me!

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #734 on: August 27, 2013, 10:25:34 PM »

Is there any way to get at what a ship's armed with?  I'm working on a ship system AI; the system in question primarily benefits energy weapons, but the ship has universal slots - I'd like the AI to react intelligently to noticing that it has missiles or ballistics instead of energy weaponry.  (This one I'm pretty sure isn't doable until 0.6, but hey, worth asking right?)
Logged
Wyvern is 100% correct about the math.
Pages: 1 ... 47 48 [49] 50 51 ... 706