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 ... 113 114 [115] 116 117 ... 706

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

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1710 on: September 19, 2014, 06:20:32 PM »

HITS_SHIPS_AND_ASTEROIDS might work.
Logged

Morrokain

  • Admiral
  • *****
  • Posts: 2143
  • Megalith Dreadnought - Archean Order
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1711 on: September 19, 2014, 06:41:25 PM »

HITS_SHIPS_AND_ASTEROIDS might work.

Nope, tried it. It actually hits your own ship/shields since it includes ALL ships... even your own  ::)
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1712 on: September 19, 2014, 06:44:10 PM »

Ah, ouch. Don't think there's anything else, then.
Logged

Morrokain

  • Admiral
  • *****
  • Posts: 2143
  • Megalith Dreadnought - Archean Order
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1713 on: September 19, 2014, 06:45:53 PM »

 :'( well shoot. Its actually pretty important for my mod. Time for a suggestions post!
Logged

Toxcity

  • Admiral
  • *****
  • Posts: 561
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1714 on: September 19, 2014, 08:38:08 PM »

Is it possible to render a missile below its weapon sprite?
Logged

MesoTroniK

  • Admiral
  • *****
  • Posts: 1731
  • I am going to destroy your ships
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1715 on: September 19, 2014, 08:55:00 PM »

Is there a collision class that acts like a normal projectile or beam but ignores fighters? Or can I make one?

I thought the reaper torpedo did... but after some testing its collsion specs still hit fighters when used with other projectiles

It can be done by scripting the projectile in its entirety, although that is not an ideal solution.


Is it possible to render a missile below its weapon sprite?

No, but you could get the same effect by animating the weapon frame by frame.
« Last Edit: September 19, 2014, 09:25:45 PM by MesoTroniK »
Logged

xlandar

  • Ensign
  • *
  • Posts: 21
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1716 on: September 19, 2014, 10:39:45 PM »

I worded my original post badly, I don't actually know how to create the mod itself (i can make the ships with trylobots ship editor). I haven't found a proper tutorial on how to format it.

EDIT: i got it to work!
« Last Edit: September 20, 2014, 12:46:05 AM by xlandar »
Logged

ORMtnMan

  • Commander
  • ***
  • Posts: 148
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1717 on: September 19, 2014, 10:45:44 PM »

Do a code peek into another persons mod, that is how I learned coding... also get the program notepad+ if you don't have it
Logged
Creator and lord of The Ashkurr Commonwealth

Sprite artist and designer for Naysmyth Armouries

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1718 on: September 20, 2014, 05:07:05 AM »

I worded my original post badly, I don't actually know how to create the mod itself (i can make the ships with trylobots ship editor). I haven't found a proper tutorial on how to format it.

EDIT: i got it to work!

Well after you've made your ship files, next step is to make variant files, again this can be done with the ship editor.

Next step is mission testing usually. Have a look at the files and directories under data/missions and create a mission of your own. The Java file is fairly straight forward for a mission file.

After you've play tested a mission or two you'll want to start adding your faction into the campaign. This bit can be a little daunting, but after reading enough of the faction files and world generation scripts you can create your own star system with a generous amount of copy and paste.
Logged

Zudgemud

  • Commander
  • ***
  • Posts: 225
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1719 on: September 20, 2014, 01:34:11 PM »


Is it possible to render a missile below its weapon sprite?

No, but you could get the same effect by animating the weapon frame by frame.

As also want to make a fancy missile rendered below the mount, what exactly do you mean animating the weapon frame by frame? Adding an animation to the launcher, to the missile? Adding some line of code?

Would really like a more detailed explaination of this, or even better, if you could point me in the direction of an example :)
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1720 on: September 20, 2014, 02:03:54 PM »

Check how I did the Manticore missile weapons.
Short version: you animate a weapon with a missille loaded as first frame, and no missile as second. Then you animate it onFire, and hold the second frame as long as you need to to mach the weapon delay between shots. This doesn't work with missiles racks though, only one shot missile or pods because you need to launch all ordinances in the animation or it doesn't loop.
Logged
 

Zudgemud

  • Commander
  • ***
  • Posts: 225
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1721 on: September 21, 2014, 01:11:05 PM »

I never really managed to make it exactly like I originally planned, but thanks to your tips I managed to make a fabulus ship that poops explosive probes ;D
Logged

xlandar

  • Ensign
  • *
  • Posts: 21
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1722 on: September 21, 2014, 09:35:37 PM »

I never really managed to make it exactly like I originally planned, but thanks to your tips I managed to make a fabulus ship that poops explosive probes ;D
:o I gotta see this!
Logged

Zudgemud

  • Commander
  • ***
  • Posts: 225
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1723 on: September 23, 2014, 02:48:45 PM »

I never really managed to make it exactly like I originally planned, but thanks to your tips I managed to make a fabulus ship that poops explosive probes ;D
:o I gotta see this!

I'm sorry for getting your hopes up, it's probably not as fancy as my comment would suggest.



I honestly love the little *** bumble that the missiles/explosive probes does when shot out from the butt :)
Logged

Lakis

  • Lieutenant
  • **
  • Posts: 79
  • I shall offend all of them!
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #1724 on: September 27, 2014, 02:44:54 PM »

Figured out previous question, now I've got to figure out why the fighters won't separate and form a claw or box like they should...

That's not happening during travel or in combat...

[attachment deleted by admin]
« Last Edit: September 28, 2014, 12:30:34 PM by Viymese »
Logged
http://fractalsoftworks.com/forum/index.php?topic=8100.0 - Metelsons Faction Mod - Occasional contributor - mostly a cold dead planet.
Pages: 1 ... 113 114 [115] 116 117 ... 706