:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Tue May 18, 2021 2:01 am
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Tutorials Vault
Improved Target Lasers
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [11 Posts] View previous topic :: View next topic
Author Message
Tratos
General


Joined: 01 Jan 2003

PostPosted: Thu Jul 15, 2004 1:25 am    Post subject:  Improved Target Lasers Reply with quote

I thought i would share some of my tips for improving the overall feel of RA2 and YR. This is the first tutorial in what will probably be a series of tutorials. It will show you how to make very effective target lasers for your units.

This tutorial is very very easy but has good results. Firstly you need to find the unit you want to give a target laser too. For the purpose of this tutorial i will be reffering to the [GGI].

Secondly, ensure that your chosen unit does not have the tag TargetLaser= and if it does ensure that the value is no. This tag gives a 'laser' that is essentially just a red line drawn between the unit and its target and looks rubbish.

Next, choose the weapon you want to apply the target laser too, in the case of the GGI i chose the [MissileLauncher] weapon to give the GGI laser guided missiles. Find the chosen weapon in rules.ini and add the following code to the end of its stats:

Code:

LaserInnerColor=*,*,*
LaserDuration=**
IsLaser=true


Change the *'s to the values you desire. For the colours these will be in RGB (Red, Green, Blue) format (a good red colour is 255,10,10). For the laser duration the value determines the time the laser effect is visible for, a good value is 15-20.

This will draw a laser between the unit and the target when the weapon is fired. The good thing is that the normal projectile (in this case the missile) is also still drawn and the damage only happens when that projectile hits. This gives the effect of a small laser aiming at the target before the missile is fired giving the impression of laser guided missiles. This works best for weapons with a viewable projectile. For weapons with invisible projectiles (or projectiles with a speed of 100) it will just look like the unit is firing a laser.

You can also add the tags:

Code:

LaserOuterColor =*,*,*
LaserOuterSpread=*,*,*


And these will add a slight glow to the laser, personally i prefer it without these tags but you may not. The values are done in the same way as the InnerGlow (RGB format).

This effect is great for elite weapons to add a visual identifier that the unit is Elite apart from the chevrons and to mark the weapon apart from regualr versions.

Key Words: #Tutorials #Modding #RedAlert2 #YurisRevenge #Rules.INI 

Back to top
View user's profile Send private message Send e-mail
Kravvitz
Commander


Joined: 25 Mar 2003
Location: USA

PostPosted: Thu Jul 15, 2004 4:12 am    Post subject: Reply with quote

Very nice! Cool

Thank you, Tratos. Smile
_________________
Check out my FAQ and Modding Info Page.
Community Links Page
http://www.dynamicsitesolutions.com/

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account AIM Address
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Thu Jul 15, 2004 7:59 am    Post subject: Reply with quote

Surprised Surprised Surprised

You can actually leave out those tags???? *runs off to change some stuff in TSTW*

(i thought you had to use railgun lasers to get razor-thin laser lines..)

Back to top
View user's profile Send private message Visit poster's website Skype Account
Tratos
General


Joined: 01 Jan 2003

PostPosted: Thu Jul 15, 2004 10:39 am    Post subject: Reply with quote

I forgot about TS, i guess this tutorial works just as well in that too.

Back to top
View user's profile Send private message Send e-mail
Supersonic
Grenadier


Joined: 08 Jul 2003
Location: Australia

PostPosted: Sun Jul 18, 2004 10:11 am    Post subject: Reply with quote

Great! thanks Tratos
_________________
Editins ma game Wink

Back to top
View user's profile Send private message Send e-mail
Jango
Soldier


Joined: 18 Nov 2003

PostPosted: Sun Jul 18, 2004 5:49 pm    Post subject: Reply with quote

I think that this tags can't be ignored in TS:
LaserOuterColor =*,*,*
LaserOuterSpread=*,*,*

I mean that even if you put 0,0,0 in these you still have the laser spread typical in TS. (You still have to use the railgun tricky)

Back to top
View user's profile Send private message
Tratos
General


Joined: 01 Jan 2003

PostPosted: Sun Jul 18, 2004 6:04 pm    Post subject: Reply with quote

No you just comment them out, if you put 0,0,0 in them you'll get a black colour.

Back to top
View user's profile Send private message Send e-mail
SMIFFGIG
General


Joined: 03 Mar 2003
Location: Great Britain

PostPosted: Sun Jul 18, 2004 9:48 pm    Post subject: Reply with quote

or you could just not put them there in the first place
_________________

Back to top
View user's profile Send private message Send e-mail Skype Account
Jango
Soldier


Joined: 18 Nov 2003

PostPosted: Wed Jul 21, 2004 9:21 am    Post subject: Reply with quote

i've been testing this but something is wrong, maybe is because my version of TS but I can't get rid of the red gleam of the lasers, and I can't even put the laser with a black color. If I don't put the tags the only thing that I see is that red gleam without the inner line; if I put those 0,0,0 it happens the same, the inner line is not drawn.

I don't doubt that this tags work the way you are saying, it's just that doesn't work for me (or I'm just a little dumb).

Back to top
View user's profile Send private message
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Wed Jul 21, 2004 11:10 am    Post subject: Reply with quote

So when you comment out all tags EXCEPT the LaserInnerColour, you still get the red glow? That would suck, it also means that RA2 uses those tags differently.

Hmm btw, didn't you forget to remove the IsBigLaser=yes?

Back to top
View user's profile Send private message Visit poster's website Skype Account
Jango
Soldier


Joined: 18 Nov 2003

PostPosted: Fri Jul 23, 2004 12:43 pm    Post subject: Reply with quote

I've been doing my test with the LaserFire2 of the nalasr and a clone I made for a tank so it was only IsLaser.

I've been trying all things with those tags but nothing "interesting" happens. I think that the laser glow is activated allways if IsLaser is set to yes, just my opinion though.

I always thought that the logic of these tags in RA2 were different when I see the Prism tank for the first time (uh, its rules I mean). But I don't mess too much with lasers in TS anyway, after all this is a turorial for the RA2 (a good tutorial btw).

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [11 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum » Tutorials Vault
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1522s ][ Queries: 10 (0.0066s) ][ Debug on ]