[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Laser Dot Sight

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sat Apr 20, 2024 3:04 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 49 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: Laser Dot Sight
PostPosted: Fri Aug 28, 2009 3:53 am 
Offline
User avatar

Joined: Mon Oct 20, 2008 9:25 pm
Posts: 103
Location: Canada

_________________
Image
Pray hard, die fast


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Fri Aug 28, 2009 4:39 am 
Offline
User avatar

Joined: Mon Oct 20, 2008 9:25 pm
Posts: 103
Location: Canada

_________________
Image
Pray hard, die fast


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Fri Aug 28, 2009 6:18 am 
Offline
User avatar

Joined: Thu Feb 05, 2009 7:54 pm
Posts: 487
Location: Germany
As you already suggested, the
ObjectTemplate.PositionalSpeedInDof CRD_NONE/10/0/0
only works for real particles, not for PCOs.

Basically, you are having the some problem we had some months ago when we tried to understand and perfect "ghost aircrafts". Empty PCOs that nevertheless fly straight ahead. That's why I guess there would also be hidden the answer to your problem.

Try attaching an engine to your PCO, set input to Rocket type (continuous), give it ultra high perfomance (acceleration and speed). That should make it fly straight ahead in direction of fire (DOF), but you'll perhaps still have to tinker with gravity and stuff, making sure it really does fly straight.

If you need further info on adding that engine, most of it should be explained here:
viewtopic.php?f=3&t=4213
We refined that pretty much IMO ;) .

_________________
Kampagne XI - Vereinte Achsenmächte


xFire: wgpsenshi


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Fri Aug 28, 2009 10:44 am 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Fri Aug 28, 2009 11:55 am 
Offline
User avatar

Joined: Thu Feb 05, 2009 7:54 pm
Posts: 487
Location: Germany
Doesn't work freddy.

forwardmod only fires when you somebody (human/bot) enters the PCO. As this is an empty PCO, you'd have to do all by engine...

_________________
Kampagne XI - Vereinte Achsenmächte


xFire: wgpsenshi


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Fri Aug 28, 2009 1:54 pm 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253
ahh your right!

only way i can think of getting it moving then is using a spawner addtemplated to a projectile

edit: wouldnt it be easier just take some bullet and build a new effect to when it collide with something?


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Fri Aug 28, 2009 2:35 pm 
Offline
User avatar

Joined: Mon Oct 20, 2008 9:25 pm
Posts: 103
Location: Canada
I'll try adding an engine. I can't use a projectile, because that would mean id have to fire the gun. Im trying to get this to be continuous.

_________________
Image
Pray hard, die fast


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Laser Dot Sight
PostPosted: Fri Aug 28, 2009 2:57 pm 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
I still think a mesh would work just a red line with a strobe effect and no collision and your done


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 49 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 69 guests


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

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group