different colour phasers

Ship Specific Weapon Animations; support/discussion/questions

Moderator: thunderchero

User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 709
Joined: Sun Apr 27, 2008 2:00 am

Re: different colour phasers

Post by Spocks-cuddly-tribble » Sat Nov 05, 2011 8:13 am

Ladies and gentlemen, the prototype code for ship specific weapon animations is out for testing. :)


*phaser/plasma.hob -> * = shiplist.sst +0x11A (-> esp+20 is start of shiplist.sst entry in sub_496340)

*plasma.hob

Code: Select all

trek.exe at 0x95759 replace 0xF bytes with:

8A 84 24 3A 01 00 00 90 90 90 90 90 90 90 90

asm code:
00496359     8A8424 3A010000   MOV AL, [ESP+13A]
00496360-496367     90         NOP
*phaser.hob

Code: Select all

trek.exe at 0x957BF replace 0xD bytes with:

8A 84 24 3A 01 00 00 90 90 90 90 90 90

asm code:
004963BF     8A8424 3A010000   MOV AL, [ESP+13A]
004963C6-4963CB     90         NOP
*photon.hob -> * = shiplist.sst+0x11B

Code: Select all

trek.exe at 0x95406 replace 0x27 bytes with:

03 C2 8B D4 E8 51 28 09 00 8A 84 24 1B 01 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90

asm code:
00496006     03C2              ADD EAX, EDX // ds:597864 entry of the firing ship
00496008     8BD4              MOV EDX, ESP
0049600A     E8 51280900       CALL 528860 // shiplist.sst entry to [edx]
0049600F     8A8424 1B010000   MOV AL, [ESP+11B]
00496016-49602C     90         NOP
thunderchero wrote:You could also use different torpedeo types (hob) as below
Remember, although torpedoes can be oblong, they must be mirror symmetric, since depending on the last selected perspective i.e. not always the firing ship resp. target.

But I just discoverd some code that seems to control the 3D animations. So maybe we can fix the issue in future versions (and even better the plasma :wink: ).

geon wrote:What I'm asking is this. Is it possible, using the UE, to have, say h phaser 1 (blue) assigned to one ship and h phaser 2 (orange) assigned to another ship. And will the game be able to differentiate these, or will just one colour still be assigned to the whole Federation?

Take another more complicated example.

For Cardassians, c phaser 1 (purple for the early compression beams), c phaser 2 (orange for phasers some ships have), c phaser 3 (later gold disruptor beams).

Would the current game recognise some ships with the purple beams and some with the orange if I assigned them to different ship models?

And would it upgrade all to the yellow beams at a higher tech level?
The code effectively enables all the requests, but it's not UE ready (yet) and also older ships keep their old weapon animations until their next upgrade (appears realistic).
On the verge of a nervous breakdown? Try the relaxing tribble sounds.

User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 5918
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: different colour phasers

Post by thunderchero » Sat Nov 05, 2011 12:01 pm

Great, :D

I just tested and all works now. :wink: So some one needs to start creating new phaser colors and torpedeo gifs. :wink:

or even new torpedeo hobs :roll:

thunderchero

User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2065
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: different colour phasers

Post by Tethys » Sat Nov 05, 2011 4:01 pm

Oh dear, this is great news :D

Tc feel free to use my phaser pack, one may need to be created for Cardassians now unless there is one out there I dont know about
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod

User avatar
Darth_Windu
Lieutenant-Commander
Lieutenant-Commander
Posts: 156
Joined: Sat Jul 19, 2008 2:00 am

Re: different colour phasers

Post by Darth_Windu » Thu Nov 10, 2011 9:11 pm

For those of us who aren't Bynars, like some of you seem to be, how do we actually get this in-game, and how do we define which ships use which phaser and photon colours?

User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 5918
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: different colour phasers

Post by thunderchero » Thu Nov 10, 2011 11:06 pm

Darth_Windu wrote:For those of us who aren't Bynars, like some of you seem to be, how do we actually get this in-game, and how do we define which ships use which phaser and photon colours?
If you do not understand hex coding you would need wait and see if DCER adds this to UE (expect 2-3 weeks or more). But creating new/different colors has not begun yet by anyone I know of. (other than tethys phaser pack)

thunderchero

User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2065
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: different colour phasers

Post by Tethys » Thu Nov 10, 2011 11:11 pm

And even my pack is not perfect as I would like it to be. Someone still needs to decypher fully the phaser hobs and how/where ALL color/shading/coordinates are and what they do. My pack is merely a publicly downloadable experiment that is still incomplete and probably bugged (altho noone has reported any bugs). Perhaps when the hobs are fully understood an option can be added to UE to change phaser color on the fly. But Im not sure it would be worth it, imo.
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod

User avatar
Darth_Windu
Lieutenant-Commander
Lieutenant-Commander
Posts: 156
Joined: Sat Jul 19, 2008 2:00 am

Re: different colour phasers

Post by Darth_Windu » Fri Nov 11, 2011 3:47 am

Ah right, waiting for an updated UE seems like a good idea at the moment.

Thanks :)

User avatar
DCER
Code Master
Code Master
Posts: 683
Joined: Sat Apr 26, 2008 2:00 am

Re: different colour phasers

Post by DCER » Mon Jan 09, 2012 4:24 am

UE 0.7.2dev5 has this option added under Ship Stats now. Make backups before using dev versions in case of bugs.

User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 5918
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: different colour phasers

Post by thunderchero » Mon Jan 09, 2012 3:38 pm

DCER wrote:UE 0.7.2dev5 has this option added under Ship Stats now. Make backups before using dev versions in case of bugs.
I have sent a PM to DCER UE will set code and allow changing of hob but still need to set each/every ship for this to work.

so you would need to set each phaser and torpedeo to incorrect hob then set to the one you want to use to set shiplist.lst correctly (every ship needs to be set for new code to work).

I hope this will be fixed shortly

thunderchero

User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2065
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: different colour phasers

Post by Tethys » Mon Jan 09, 2012 3:49 pm

Thanks DCER and TC, I will download this when I reinstall botf, should be soon I hope
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod

User avatar
DCER
Code Master
Code Master
Posts: 683
Joined: Sat Apr 26, 2008 2:00 am

Re: different colour phasers

Post by DCER » Mon Jan 09, 2012 6:11 pm

I've uploaded a fix, enabling the options in Ship Stats will now set the default prefixes for all ships as it should.

User avatar
xDx
Commander
Commander
Posts: 273
Joined: Sat May 10, 2008 2:00 am
Location: East Coast, USA

Re: different colour phasers

Post by xDx » Mon Jan 09, 2012 6:24 pm

Thanks DCER :) I am downloading new version now. I made changes with other version lol but it works great. So many possibilities now with width and color and so easy a Pakled can do it :)
"The only thing we have to fear is fear itself." -- FDR

User avatar
EnPhreg
Lieutenant-Commander
Lieutenant-Commander
Posts: 110
Joined: Thu Jul 10, 2008 2:00 am

Re: different colour phasers

Post by EnPhreg » Sun Jul 31, 2016 11:31 am

want to give my ships some additional specific phaser colos and keep also the old ones. but can't select my new imported phaser hobs in UE.
so do i have to register the new imported phaser hobs? imported the simply with zip into the stbof.res.

User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 5918
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: different colour phasers

Post by thunderchero » Sun Jul 31, 2016 3:28 pm

EnPhreg wrote:imported the simply with zip into the stbof.res.
I do not understand this statement of what you did.

any file to be added to the stbof.res should be added using UE
EnPhreg wrote:want to give my ships some additional specific phaser colos and keep also the old ones. but can't select my new imported phaser hobs in UE.
so do i have to register the new imported phaser hobs?
the file name is important and limited. *phaser.hob you can only change the first letter. so max you can have is 37.
a-z = 27 (6 already used c,f,h,k,m,r)
and
0-9 = 10

User avatar
EnPhreg
Lieutenant-Commander
Lieutenant-Commander
Posts: 110
Joined: Thu Jul 10, 2008 2:00 am

Re: different colour phasers

Post by EnPhreg » Mon Aug 01, 2016 6:56 am

yes, discovered this issue already by myself yesterday.
didn't noticed that only first letter can be changed.
everything fine now. thanks.

Post Reply

Return to “Ship Specific Weapon Animations”

Who is online

Users browsing this forum: No registered users