[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 vehicles with a weapon, is it possible?

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sun Jun 16, 2024 9:02 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 41 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: Fri Jul 13, 2007 7:20 pm 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
Mortars got a pretty tricky code, that's for sure.

_________________
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 Jul 13, 2007 7:39 pm 
Offline

Joined: Fri Jul 13, 2007 1:58 am
Posts: 8
Tried a quick mod, instead on deploying the mortar i switched it the the OH-6, all it did was do the animation and nothing appeared, obviously more to it then im aware, but ill keep working on it, thanks though.


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 7:52 pm 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
I haven't done it, so I don't know if it works or not.
But try to backtrack code and see what it does.
Sooner or later you understand if it works or not.
GL HF

_________________
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 Jul 13, 2007 8:26 pm 
Offline

Joined: Fri Jul 13, 2007 1:58 am
Posts: 8


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 8:38 pm 
Offline

Joined: Mon May 28, 2007 4:08 am
Posts: 166

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 8:42 pm 
Offline

Joined: Thu Apr 19, 2007 7:38 pm
Posts: 177
Artoo, i don't know where you want to go now...Server side? Client patch? Mod?
If it's a mod i think this would even work server side

ObjectTemplate.active NVAMortar
ObjectTemplate.projectileTemplate UAZ
ObjectTemplate.active USMortar
ObjectTemplate.projectileTemplate Mutt

This work server side!
Select the mortar, nothing weird, you get the mortar in your hand
Fire for deploying it... and jeep appears
I guess you can spawn any spawnable stuff then :)

It's a good start, just keep in mind ;
USMortar is the handweapon that fires MortarUS and that MortarUS is a Land vehicle with his own projectile...
The answer must be in the Handweapons/USMortar-NVAMortar codes that could finaly spawn any vehicle
Maybe there's a line in mortar spawns we could assign to any handweapon?

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 8:46 pm 
Offline

Joined: Mon May 28, 2007 4:08 am
Posts: 166
so then, c4 and timebomb would also work for that? since c4 is the weapon that gets thrown down? and grenades too? jsut some suggestions. smokebombs would work great i think. give the sniper a vehicle to run awway in.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 13, 2007 9:17 pm 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
Yes BoB, that was the code I thought was working.

Hal, weapons sort of spawn bullet.
But bullets are not vehicles.
Dropping a C4 on ground you just drop a C4 there. It's not a vehicle.
When dropping a mortar to ground you drop a vehicles.
-->A mortar is a vehicle!<--
That's why this is possible.
You can even make it spawn a kit.
And if you look at my Morter ammo code you can spawn many kits/vehicles.
And all this work serverside.

_________________
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  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 41 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 59 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