Author Topic: Beams question  (Read 3332 times)

0 Members and 1 Guest are viewing this topic.

hello people, I wanted to ask you a question

how do I create a new type of beam

we know that there is a type 1, type 2, type 3 and type 4

You can create other types? for other uses?


regards

 

Offline Woolie Wool

  • 211
  • Fire main batteries
No. They are hardcoded.
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 
No. They are hardcoded.
hardcoded = untouchable?

ok


Thanks!


 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
No, hardcoded means it's an engine limitation, and seeing as there really is no need for more beam types (not to mention that it's relatively non-trivial to add new types), the probability of a coder trying to code a new one is very small, especially if it's not requested by one of the bigger projects.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Heavy strobe arc lightning flux rainbow beam cannon ftw. Type 11 (Secret beam ssshhhhhhhh)
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 
or whether it is better to forget my Beam reflected and jumps from one ship to another  :lol:

thanks  

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Hack it with FRED, you could...
As in, you'd have to make it  a completely scripted combat sequence but bouncing beam doesn't sound impossible to do.
(´・ω・`)
=============================================================

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
hello people, I wanted to ask you a question
how do I create a new type of beam
we know that there is a type 1, type 2, type 3 and type 4
You can create other types? for other uses?
regards
You forgot type 0
0 = Standard
1 = slash
2 = targeting (for subspace bombs)
3 = multi-shot (AAA)
4 = fires only straight ahead (used for some RBCs)

Actually, I can foresee a couple more beam types, mainly for fighter-mounted, though the first one could simply be made into a modification of type 0

5 = beam with non-fixed duration

Tables determine warmup and cooldown time and sounds, as well the sound for the beam when firing, but the actual duration of the beam depends on how long the player keeps the fire button down, and how much weapon energy the ship has.  Basically, beam stops if the player releases the fire button, or if the ship's weapon energy is depleted.  Could possibly be done by introducing this behavior to type 0, when the duration time is set to -1.

6 = chargeable

In this version, the amount of damage the weapon can do per spot depends on how long the fire button is depressed.  Brief taps of the fire button will produce individual beam shots, with a table defined minimum damage.  If you hold down the fire button, it will continue to charge up the beam but not fire it, until you release the button, at which time a beam with a greater per-shot damage value will fire.  Tables would define the maximum and minimum damage, how much weapon energy it sucks for the minimum pulse, and how much it sucks per second of charge time. Tables could also perhaps define a figure on minimum and maximum beam duration, so the quick-fire shots might only last 0.25 seconds, while a full-charge shot would last 1 second.  Might also be beneficial if it could be made to enable lock-targeting like a turret.

Just some ideas.
The Trivial Psychic Strikes Again!

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
I like those ideas  :nod:
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline S-99

  • MC Hammer
  • 210
  • A one hit wonder, you still want to touch this.
beam type six sounds more manageable.
Every pilot's goal is to rise up in the ranks and go beyond their purpose to a place of command on a very big ship. Like the colossus; to baseball bat everyone.

SMBFD

I won't use google for you.

An0n sucks my Jesus ring.

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
But probably more difficult to code.
The Trivial Psychic Strikes Again!

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
The problem is that the AI would have no clue whatsoever regarding the use of these weapons. So that would have to be coded in as well.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
You could be lazy and just make the sub-types of type 0 and type 4 beams respectively, and then specify a "default duration" which the AI would use...then the AI should just treat them as those two types of beams, which they already know how to use.
(´・ω・`)
=============================================================

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Are AI pilots subject to weapon energy levels?
The Trivial Psychic Strikes Again!

 

Offline sigtau

  • 29
  • unfortunate technical art assclown
Are AI pilots subject to weapon energy levels?

Yeah, but they usually fire in bursts, so it doesn't necessarily show as much.  Dunno if Fury AI fires in bursts, though.
Who uses forum signatures anymore?

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
The problem is that the AI would have no clue whatsoever regarding the use of these weapons. So that would have to be coded in as well.
you are assuming they have much clue now.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Oh right, I needed to make a separate version of the fighter with fighterbeams, mounting them as turrets (instead of primary banks) for the AI to use them properly XD.
(´・ω・`)
=============================================================

  

Offline S-99

  • MC Hammer
  • 210
  • A one hit wonder, you still want to touch this.
That's a pretty cool workaround actually.
Every pilot's goal is to rise up in the ranks and go beyond their purpose to a place of command on a very big ship. Like the colossus; to baseball bat everyone.

SMBFD

I won't use google for you.

An0n sucks my Jesus ring.