Author Topic: General Starward Rogue Questions  (Read 19011 times)

Offline Ayrix

  • Newbie Mark III
  • *
  • Posts: 42
Re: General Starward Rogue Questions
« Reply #15 on: February 05, 2016, 05:34:49 pm »
No. I tried it. Cue time still mucks up salvos as well.
See attached image.

There's always the make it fire stationary non rendering bullets solution.
Then have that bullet spawn the pattern itself.

yeah this bit of the game is full of not fun buggy things.

trying to synch up cardinal movers (spawned together) onto a fixed grid seems not so easy.


tiles have a radius of 32 it seems, so in theory dead on 64... in theory...

Offline ptarth

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,166
  • I'm probably joking.
Re: General Starward Rogue Questions
« Reply #16 on: February 05, 2016, 05:35:18 pm »
No. But that's because I'm also using a massive random component in the shot direction.

How I think it works is: the first shot (central) aims exactly at the player (target="direct"), then all successive shots in the salvo are space around it, according to the logic you define. Then the misdirection angle is added to each of the shots, except the first shot which is somehow skipped.

There are ways to get around it like specifying a special pattern or to use dumbfire on a fixed angle rotation system.
Note: This post contains content that is meant to be whimsical. Any belittlement or trivialization of complex issues is only intended to lighten the mood and does not reflect upon the merit of those positions.

Offline Ayrix

  • Newbie Mark III
  • *
  • Posts: 42
Re: General Starward Rogue Questions
« Reply #17 on: February 05, 2016, 05:39:06 pm »
No. But that's because I'm also using a massive random component in the shot direction.

How I think it works is: the first shot (central) aims exactly at the player (target="direct"), then all successive shots in the salvo are space around it, according to the logic you define. Then the misdirection angle is added to each of the shots, except the first shot which is somehow skipped.

There are ways to get around it like specifying a special pattern or to use dumbfire on a fixed angle rotation system.
ah ha!

The loop bug!
 It looks just right!  Iterating over all generated shots EXCEPT the first one.

Offline ptarth

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,166
  • I'm probably joking.
Re: General Starward Rogue Questions
« Reply #18 on: February 05, 2016, 05:50:32 pm »
There's always the make it fire stationary non rendering bullets solution.
Then have that bullet spawn the pattern itself.
Yep. I'm hoping Keith sees my mantis entry and has time to fix it. I'm guessing it is probably 1-5 lines of code that weren't quite right, depending on how it was implemented. If he does, great, I don't have to change anything. If not, then I'll use another solution when the Invader is ready to go.

  • yeah this bit of the game is full of not fun buggy things.
That's a bit harsh. I mean, sure, there are some bugs, but mostly minor stuff. I'd say 90%+ of the things work right, 8% work mostly, and 2% don't work at all. If I can't make awesome things with that sort of system, then I deserve to be hit by invisible 10km IJN Torpedoes.

Quote
trying to synch up cardinal movers (spawned together) onto a fixed grid seems not so easy.
You and me both. However, I'm reasonably happy with how the current draft of the Invader v2.0 came out. The files are up on the Mantis if anyone wants to take a look.


Quote
tiles have a radius of 32 it seems, so in theory dead on 64... in theory...
Ah. Hmm. I was calculating them based on 66. Using your numbers... I have new numbers... that don't line up with the old numbers.. Hmm...
With a 31x31 room, it seems I can place an enemy at 1050 from the center (but I can't place the player there, strangely. Perhaps the placement point of the player and enemies differ?) This gives me an estimate of 68 pixels per tile for enemy placement. Using 64 it gives me 1984, which is definitely too narrow. Except that for the player that might be right. I stuck the player spawn at 800 because 1000 wasn't working correctly. So if the spawn points anchorpoint differs based on game entity... Or maybe based on hitbox size?

My take home lesson is, don't require pixel perfect movement, especially since the player isn't able to keep track of everything. Also, pray that Misery or Pepisolo doesn't decide to shift the movement speed, hitbox, direction shift time, or breathe too hard.
Note: This post contains content that is meant to be whimsical. Any belittlement or trivialization of complex issues is only intended to lighten the mood and does not reflect upon the merit of those positions.

Offline ptarth

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,166
  • I'm probably joking.
Re: General Starward Rogue Questions
« Reply #19 on: February 05, 2016, 05:52:17 pm »
The loop bug!
 It looks just right!  Iterating over all generated shots EXCEPT the first one.

Actually, that makes a ton of sense. Now we wait for someone to bring it up in casual conversation with Keith and see if he does a face palm.
Note: This post contains content that is meant to be whimsical. Any belittlement or trivialization of complex issues is only intended to lighten the mood and does not reflect upon the merit of those positions.

Offline Cinth

  • Core Member Mark II
  • *****
  • Posts: 2,527
  • Resident Zombie
Re: General Starward Rogue Questions
« Reply #20 on: February 05, 2016, 06:43:26 pm »
Would that be the pants on head thing?
Quote from: keith.lamothe
Opened your save. My computer wept. Switched to the ST planet and ship icons filled my screen, so I zoomed out. Game told me that it _was_ totally zoomed out. You could seriously walk from one end of the inner grav well to the other without getting your feet cold.

Offline ptarth

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,166
  • I'm probably joking.
Re: General Starward Rogue Questions
« Reply #21 on: February 08, 2016, 06:59:18 pm »
Would that be the pants on head thing?
Yes.
Note: This post contains content that is meant to be whimsical. Any belittlement or trivialization of complex issues is only intended to lighten the mood and does not reflect upon the merit of those positions.

Offline ptarth

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,166
  • I'm probably joking.
Re: General Starward Rogue Questions
« Reply #22 on: February 11, 2016, 03:28:57 pm »
Anyone know where/how the unlock of the Warden works?
In a related question I can see how floors are generated, but where does it specify how many levels are to be generated for your run and what happens after the final boss. I fear that this is all hard coded in the engine and not accessible.
« Last Edit: February 11, 2016, 03:49:28 pm by ptarth »
Note: This post contains content that is meant to be whimsical. Any belittlement or trivialization of complex issues is only intended to lighten the mood and does not reflect upon the merit of those positions.

Offline Misery

  • Arcen Volunteer
  • Core Member Mark V
  • *****
  • Posts: 4,109
Re: General Starward Rogue Questions
« Reply #23 on: February 11, 2016, 03:42:50 pm »
Just look at the status display that appears when you're starting a new run.  It lists how many more times you need to defeat the Warden in order to unlock floors 6 and 7.  The starting number is 3.

And I dont think there's a way to alter that, it sounds like something that's hardcoded.   Why would it need to be changed though?

Offline ptarth

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,166
  • I'm probably joking.
Re: General Starward Rogue Questions
« Reply #24 on: February 11, 2016, 03:50:28 pm »
Because I want to do something horrible and evil that would potentially involve restructuring the length and unlocking sequence of things in the game.
Note: This post contains content that is meant to be whimsical. Any belittlement or trivialization of complex issues is only intended to lighten the mood and does not reflect upon the merit of those positions.

Offline Misery

  • Arcen Volunteer
  • Core Member Mark V
  • *****
  • Posts: 4,109
Re: General Starward Rogue Questions
« Reply #25 on: February 11, 2016, 03:51:29 pm »
That sounds like alot of effort.

I always prefer to just make things shoot at the player more.

Offline ptarth

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,166
  • I'm probably joking.
Re: General Starward Rogue Questions
« Reply #26 on: February 11, 2016, 03:58:03 pm »
That sounds like alot of effort.

I always prefer to just make things shoot at the player more.

Hmm, which tagline do you think is better?
  • It's part of my brawler revolution plan.
  • You wouldn't understand. It's a Team Flame Tank thing.
Note: This post contains content that is meant to be whimsical. Any belittlement or trivialization of complex issues is only intended to lighten the mood and does not reflect upon the merit of those positions.

Offline Misery

  • Arcen Volunteer
  • Core Member Mark V
  • *****
  • Posts: 4,109
Re: General Starward Rogue Questions
« Reply #27 on: February 11, 2016, 05:24:55 pm »
They sound like they just go together.  One after another.

Sounds like something a certain family member of mine would say, resulting in much groaning and facepalming all around.  Therefore, I approve of these lines.

Offline ptarth

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,166
  • I'm probably joking.
Re: General Starward Rogue Questions
« Reply #28 on: February 14, 2016, 02:32:44 am »
It doesn't actually fit the thread exactly, but it was better than creating a new thread. This is sort of a public notice or modders be aware notice.

I've been working on shield protected entities. The Guardian Blaster is a default weapon and it causes problems. Specifically, it fires 13! shot removing shots per attack. That means it will penetrate and destroy 13 shield shots regardless if they reflect, kill, or intercept and hold.

My first solution was to make a shield shot that produced another shield shot on death (I'm guessing you can see where this was going). It worked, however, it only doubled the number of shields between me and the target.

The second solution was to have the second shot spawn itself on death. This causes infinite shots. I suppose if your shield system only fires once, that works. In my case I have a teleporter nearby that is causing problems.

The third solution was to have the refresh rate of the shield shot be very low (.05). This worked.

My fourth solution is to return the shield system shot rate to 1, but to have the shield pattern refresh itself with mostly invisible shots within a spawned loop. This limits the stacking of shield shot animation. It destroys system performance. Trying more optimizations to see if I can fix this one.

My fifth solution is to see if I can do something the do_not_do_rest_of_logic_on_early_death attribute. Perhaps an infinite self-spawning shot that will die properly only when left to die?
« Last Edit: February 14, 2016, 02:43:17 am by ptarth »
Note: This post contains content that is meant to be whimsical. Any belittlement or trivialization of complex issues is only intended to lighten the mood and does not reflect upon the merit of those positions.

Offline Ayrix

  • Newbie Mark III
  • *
  • Posts: 42
Re: General Starward Rogue Questions
« Reply #29 on: February 14, 2016, 02:38:49 pm »
does immune_to_interception_and_aoe not work, or do they still need to be able to be killed by the player.