Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 75 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Fx appearing to 1000 units of the player
Moczulak
General Member
Since: Mar 30, 2009
Posts: 77
Last: Apr 8, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Friday, Oct. 5, 2012 09:04 pm
My question is:
Is could be written this script:

Radius player starts with "self.origin".
Radius = 1000;
Deployed all over the map fx.

Fx occurs only within a radius of 1000 units from the player "self.origin".

I know I can write something like this but I have no idea, someone help me?
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD2 Scripting
Posted: Sunday, Oct. 7, 2012 06:48 pm
well, you can define a maximum range in which a FX is shown within the FX itself (EffectsEd)

question is, where you do want to place fx?

Quote:
Deployed all over the map fx.

Do you really wanna plaster an entire map with an FX?
Or place FX here and there, just wanna make sure they stop displaying if player is 1000 units away?
Share |
Moczulak
General Member
Since: Mar 30, 2009
Posts: 77
Last: Apr 8, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Monday, Oct. 8, 2012 09:31 am
If player is 1000 units away fx ,fx is not visible.
Fx will be placed at various locations on the map.
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD2 Scripting
Posted: Monday, Oct. 8, 2012 03:40 pm
Set Range Max to 1000
and maybe use Fade out as well, to make it fade before it vanishes (if i'm not mistaken, Fade Out Min / Max 900 and 1000)
Share |
Moczulak
General Member
Since: Mar 30, 2009
Posts: 77
Last: Apr 8, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Monday, Oct. 8, 2012 05:11 pm
And in the script, it can not be fixed?
FX coverage in making bad work ...
If you will approach a gun to the eye or aim toward FX, you can see almost all the fx on the map, even though you are standing still.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»