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 ... 19 20 [21] 22 23 ... 706

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

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #300 on: March 15, 2013, 04:53:46 PM »

ok, another one but very insignifiant.
in-game, in the weapon cards, under the weapon's name where it says stuff like "assault", "PD" and "no description yet"
where do i go to change that ? i cant seem to find it  ???

i must reiterate.
help please ?

Description.csv

O_o
i checked that one. it merely changed a sub-title in the codex, not the weapon card itself...
Logged

ValkyriaL

  • Admiral
  • *****
  • Posts: 2145
  • The Guru of Capital Ships.
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #301 on: March 15, 2013, 04:57:44 PM »

Quote
"light_antimatter_laser","WEAPON","A smaller version of the antiproton cannon, firing high intesity bolts in long bursts at huge distances, its high energy consumtion limits it to destroyers and above.",Assault,,

its supposed to look like this, it will say what role the weapon has and its description on the weapon when you mouse over it in refit or codex or whatever.
Logged

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #302 on: March 15, 2013, 05:22:35 PM »

Quote
"light_antimatter_laser","WEAPON","A smaller version of the antiproton cannon, firing high intesity bolts in long bursts at huge distances, its high energy consumtion limits it to destroyers and above.",Assault,,

its supposed to look like this, it will say what role the weapon has and its description on the weapon when you mouse over it in refit or codex or whatever.

well that makes it doubly strange since thats exactly what i tweaked last time and it did nothing...
oh well, if you say thats the thing, then ill just roll with it
Logged

Thule

  • Admiral
  • *****
  • Posts: 580
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #303 on: March 17, 2013, 03:00:23 PM »

Hi guys,

Is it possible to have a decorative weapon effect to be bound to engines? Like an animation for idle, acceleration, decceleration and zero flux speed buff?

Logged

PCCL

  • Admiral
  • *****
  • Posts: 2016
  • still gunnyfreak
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #304 on: March 17, 2013, 07:58:47 PM »

how do weapon sounds work? I checked the directory and it doesn't match up with the ones in the file

EDIT: got it, it's in config/sounds.json
« Last Edit: March 17, 2013, 08:21:34 PM by gunnyfreak »
Logged
mmm.... tartiflette

Thule

  • Admiral
  • *****
  • Posts: 580
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #305 on: March 17, 2013, 08:23:28 PM »

setting.json sounds.json *cough* defines the sound id and the actual path to the soundfile
« Last Edit: March 17, 2013, 08:25:37 PM by Thule »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #306 on: March 17, 2013, 10:31:53 PM »

Is it possible to have a decorative weapon effect to be bound to engines? Like an animation for idle, acceleration, decceleration and zero flux speed buff?

Should be possible, though reliably getting the current state of the engines (i.e. idle/accelerating/etc) may be tricky.

The only way I can think of right now would be keeping track of the velocity changes from frame to frame - which might be good enough in many cases, but will fail if there are velocity changes due to collisions.

For the zero flux speed boost, you could check that
ship.getMutableStats().getMaxSpeed().getFlatStatMod("zero_flux_boost") != null

So, you'd be doing these checks in a script attached to the decorative weapon via a "everyFrameEffect", and then playing whatever animations you need using weapon.getAnimation() and some logic to actually manage the animation frames etc.


Made note to add stuff to the API that exposes engine status directly.
Logged

Thule

  • Admiral
  • *****
  • Posts: 580
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #307 on: March 18, 2013, 03:16:56 PM »

Thank you Alex for the quick reply.

Here is a concept of what i want to achieve.

Depending on speed the Alphavalue would change and the speed of the rotation of the image.
I guess it is possible to have the decorative weapon be rendered under the actual ship sprite?
Logged

Sproginator

  • Admiral
  • *****
  • Posts: 3592
  • Forum Ancient
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #308 on: March 18, 2013, 03:21:35 PM »

AWESOME!
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)

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #309 on: March 18, 2013, 03:37:49 PM »

omg thule !! this is freakin awesome !
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #310 on: March 18, 2013, 05:12:06 PM »

Spoiler
Thank you Alex for the quick reply.

Here is a concept of what i want to achieve.

Depending on speed the Alphavalue would change and the speed of the rotation of the image.
I guess it is possible to have the decorative weapon be rendered under the actual ship sprite?
[close]

Hm, crap. I don't think that's going to work - there's no way to render weapons under the ship sprite, nor is there a way to dynamically adjust the alpha. (Well, aside from having specific frames with differing alpha values, but that's practical for a continuous fade or some such.)

Added methods to AnimationAPI to adjust the alpha (not that that's any good in the short term). Hmm. Let me see about allowing decorative slots to render under the hull...
Logged

PCCL

  • Admiral
  • *****
  • Posts: 2016
  • still gunnyfreak
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #311 on: March 18, 2013, 07:12:10 PM »

is it possible to change how fast a weapon rotates while firing/on cooldown independent of default rotate speed?

I'm trying to make an "assault beam" weapon that doesn't rotate too fast while idle but can still catch up to frigs n stuff while firing
Logged
mmm.... tartiflette

phyrex

  • Admiral
  • *****
  • Posts: 751
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #312 on: March 18, 2013, 10:05:33 PM »

okie, i haz yet another question.
in the ship csv, there's a column simply named "8/6/5/4%" and i have no idea what it means. i cant figure out either since most essential stats seems to be covered in the csv anyway.

what is this black sorcery  ???
Logged

PCCL

  • Admiral
  • *****
  • Posts: 2016
  • still gunnyfreak
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #313 on: March 18, 2013, 11:31:20 PM »

pretty sure it's dev hints that's not meant to be used

the forum, afaik, has found no use for it
Logged
mmm.... tartiflette

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #314 on: March 19, 2013, 12:02:36 AM »

Actually *does* nothing. Just a balance reminder for myself - the flux vent rate is generally 8/6/5/4% of the capacity, depending on hull size (smaller = vent faster). The value in that column is what the capacity would be if it were based solely on that.
Logged
Pages: 1 ... 19 20 [21] 22 23 ... 706