[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 - Spawn weapons on the outside of vehicle armor

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Wed Jun 18, 2025 3:01 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 39 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: Thu Feb 21, 2008 4:58 pm 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California
Ok, so addtemplate is for PCO's only...serverside?

I almost see the point but, these work:

ObjectTemplate.Active SMAW
ObjectTemplate.AddTemplate hanomagVehicleSupplyDepot <= this is a supplydepot

ObjectTemplate.Active US_Sniper_hvy
ObjectTemplate.addTemplate Bush_deploy <= this is adding a firearm

I tried:
ObjectTemplate.Active HumveeComplex
ObjectTemplate.addTemplate xxxxxx

ObjectTemplate.Active Humvee
ObjectTemplate.addTemplate xxxxxx

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Feb 21, 2008 6:10 pm 
Offline
User avatar

Joined: Thu Oct 19, 2006 5:03 am
Posts: 1209

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Feb 21, 2008 8:27 pm 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California
ObjectTemplate.Active US_Support2
ObjectTemplate.hasMobilePhysics 1

If this line doesn't exist in the kit can it be added as above?

Seems like if the object was meant to be mobile it would have the line, if not then it was missing.
I never saw ObjectTemplate.hasMobilePhysics 0

I'll try it later.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Feb 21, 2008 8:32 pm 
Offline
User avatar

Joined: Thu Oct 19, 2006 5:03 am
Posts: 1209
You can't add mobile physics to an immobile object server-side. Well, you can...it just won't do anything.

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Feb 22, 2008 7:05 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
To ad a vehicle to another vehicle your need a special spawner.
For BFV it's AT_Spawner that do the trick.
You can ad it to any map by spawning an AirTower and remming alot.
Guess you can do the same in BF1942, landing boats on big ships could be replaced and removed.

Have you found the AT_spawner for BF1942 yet ZOOMER?
This is your first task if this is going to work.

Spawning a PC0 as a vehicle, I though you 1942 guys covered it in a previous post that it didn't work.
PC0 must have armour and hitpoints added, otherwise you will have PC0 all over map after a while.

Adding a hole vehicle works in BF1942 and BFV SS.
They have hitpoint and armour already.

Here is a BFV thread about adding vehicles to other vehicles.


Hope this kicks you in right direction.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Feb 22, 2008 9:06 pm 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Feb 24, 2008 10:05 am 
Offline

Joined: Tue Apr 24, 2007 12:02 am
Posts: 128
Location: Netherlands / Holland
How about taking an ObjectSpawner of another vehicle (Fletcher) and add that one to ur vehicle and make the ObjectSpawnTemplate to whatever kit u need and put in the line ObjectTemplate.HoldObject 1
(NOTE the fletcher would have to be available in the map in order to make the ObjectSpawner (of the fletcher) work)

(ill try to figure out a code myself cuz it would be very handy in my TankWars :) )

thnx for the great idea

i hope we can make it work :)

greetz RED

_________________
greetz redatwar
info@ redatwar@quicknet.nl


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Feb 24, 2008 10:05 am 
Offline

Joined: Tue Apr 24, 2007 12:02 am
Posts: 128
Location: Netherlands / Holland
How about taking an ObjectSpawner of another vehicle (Fletcher) and add that one to ur vehicle and make the ObjectSpawnTemplate to whatever kit u need and put in the line ObjectTemplate.HoldObject 1
(NOTE the fletcher would have to be available in the map in order to make the ObjectSpawner (of the fletcher) work)

(ill try to figure out a code myself cuz it would be very handy in my TankWars :) )

thnx for the great idea

i hope we can make it work :)

greetz RED

_________________
greetz redatwar
info@ redatwar@quicknet.nl


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.  [ 39 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 51 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