Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...
Iran

C&C1 how to edit Obelisk laser color

Recommended Posts

Modify these values:

 

.text:0041D262 07C                mov    dh, 7Dh

 

.text:0041D2F9 07C                mov    bl, 7Dh

 

.text:0041D390 07C                mov    bh, 7Fh

 

Change the 7dh and 7fh, I suggest using values starting from 0x00 to 0xc, they are remap types and not color intensity or whatever.

Share this post


Link to post
Share on other sites

I'm fairly sure these are palette indices... probably for the edge and center colours of the beam.

cnc_usable_palette.png

78-7F is the red range on the 8th row.

Share this post


Link to post
Share on other sites

Yup, they're palette indices. This is the colour changed to the row below that, the values 8D and 8F:

command__conquer-2015-06-23-09_04_50.png.a5e538a26b5c7e2bfba0192d76968c87.png

Share this post


Link to post
Share on other sites

Actual offsets are:

 

D663 for one edge

D6FA for the other edge

D791 for the center

 

As for the colour indices, you just have to count those on the above image ;)

 

Share this post


Link to post
Share on other sites

Nah. Remap would need more code. There is no reason whatsoever for the game to currently pull this through the remapping system.

 

Could be done, though :P

Share this post


Link to post
Share on other sites

Haha :D I keep finding out about things I never knew I wanted :P I don't want to presume on you too much though  :cncsmirk:

Share this post


Link to post
Share on other sites

Maybe a blue (or purple) laser would be cool

(insert blu-ray joke here)

  • Haha 1

Share this post


Link to post
Share on other sites

Check the palette; C&C only has a single purple colour, and it's a dark one.

Share this post


Link to post
Share on other sites

It would be interesting to see if the laser color could be changed for red alert 1 for the tesla coil and probably for all C&C games. I would also like to ask if it would be possible to have the laser color be red when it fires one time, then blue when it fires the next time, green when it fires the next time after that and so on and so on. Would it be possible to achieve this? Looking especially for the opinions of nyerguds and other experts.

Share this post


Link to post
Share on other sites

RA1 Tesla coil is no laser animation. There are a few bolt shps, which are put together somehow by the game. These can be extracted and edited of course.

Share this post


Link to post
Share on other sites

A brown laser is possible.
But I wonder about a dark/black laser :D

  • Haha 1

Share this post


Link to post
Share on other sites
On 5/5/2020 at 3:53 PM, X3M said:

A brown laser is possible.
But I wonder about a dark/black laser :D

lol

just something that is sort of related to this topic I have a mix file for ra 1 which changes up the tesla coil a bit and I have always liked it.

 

SC-ELCTR.MIX

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...