[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/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 - Scope of ObjectTemplate.Active effect and alternatives?

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sat Apr 27, 2024 7:10 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
PostPosted: Thu Sep 09, 2004 2:16 pm 
Offline

Joined: Tue Aug 24, 2004 12:00 am
Posts: 32
I am currently using the ObjectTemplate.Active and ObjectTemplate.addTemplate methods to adjust the properties of certain objects in the map and add them to vehicles for enhanced functionality. I suspect I will have a problem though, because the object I am modifying with .Active already exists in the same map in its original state. I'm assuming that any changes applied by opening the template with .Active will affect all objects that use that template in the same map, right?

For example, I am giving a vehicle the ability to heal troops by adding a particular SupplyDepot object, which is originally defined in Objects.rfa. I want to change the area of healing around the vehicle by modifying the .Radius property of the SupplyDepot object while it is .Active. Is it a logical assumption that any other objects on the map that use this template, eg a medlocker, will also experience an altered heal radius?

If so, then I have a problem. The only alternative I can think of is to define a new SupplyDepot object in Objects.rfa - basically copy an existing one, change the name and modify the properties to my liking. If this works, I will not have to open the template in the map using .Active - I will just need to addTemplate to the objects to which I want to give the healing ability.

Has anyone attempted such a thing in Objects.rfa? Did it work/crash/do nothing? Do I have any more alternatives to this? I'd like to keep any changes out of Objects.rfa as far as possible.

Note to the veterans: I'm a newbie to this, although I'm doing my best to learn fast. Testing out my mods is not very easy due to my current set up, which means I don?t get many shots at seeing what my changes do. I basically have to think carefully about my mod, try different ways, and then test them all at once right at the end. It is not the best process, I accept that, but its all I can do right now. I am doing my best to think about things before posting queries on this excellent forum, and asking about my assumptions rather than asking people to spoon-feed me how to do things. I try to provide enough information in my queries to make things clear and obvious. I am telling you all this so you will forgive me if I keep asking these newbie questions :).


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Thu Sep 09, 2004 3:26 pm 
Offline

Joined: Tue Aug 17, 2004 12:00 am
Posts: 100
Use a supplydepot from original bf. Check the reference section

_________________
<a href="http://www.roguecell.com">RogueCell</a> DC Final - 139.55.147.27


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Thu Sep 09, 2004 10:36 pm 
Offline

Joined: Wed Aug 18, 2004 12:00 am
Posts: 87


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Sep 10, 2004 8:45 am 
Offline

Joined: Tue Aug 24, 2004 12:00 am
Posts: 32
Thanks for the replies guys, but I should have mentioned I am applying this to vanilla BFV.


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Sep 10, 2004 1:02 pm 
Offline

Joined: Fri Sep 03, 2004 12:00 am
Posts: 38
Location: Mississippi
I have the ULTIMATE UNANSWERED QUESTION..... wtf is hanomag?????

_________________
<a href="http://www.thelms.com"><img src="http://69.93.1.162/forum_links/sigs/monkey_sig.jpg"></a>


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Sep 10, 2004 6:20 pm 
Offline

Joined: Tue Aug 17, 2004 12:00 am
Posts: 100

_________________
<a href="http://www.roguecell.com">RogueCell</a> DC Final - 139.55.147.27


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sat Sep 11, 2004 1:05 am 
Offline

Joined: Tue Aug 24, 2004 12:00 am
Posts: 32
for an image.


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.  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 271 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:
Powered by phpBB® Forum Software © phpBB Group