Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sat Sep 22, 2018 2:55 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
PostPosted: Sun Jun 08, 2008 8:28 am 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
AwesomeATrain wrote:
Have bodies stay longer.
On BF:42 and BF:V it's
Code:
ObjectTemplate.Active <soldier name here>
ObjectTemplate.timeToLiveAfterDeath 180


make the hover car fly by pressing a button.
Again on BF:42 and BF:V it's
Code:
ObjectTemplate.Active <car>
ObjectTemplate.addTemplate <engine>
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
rem rotation needs to be adjusted so it hovers.

ObjectTemplate.Active <engine>
ObjectTemplate.setInputToRoll c_PIAltFire
ObjectTemplate.setEngineType c_ETPlane


Surround the titans with out of bounds area...that will stop the titans from moving.
Why not add a deathbubble to the position of the controller
Code:
ObjectTemplate.active <titan controller>
ObjectTemplate.addTemplate <a supply depot>

ObjectTemplate.active <a supply depot>
ObjectTemplate.team 1
ObjectTemplate.radius 0.1
ObjectTemplate.setHealth -1 -10 0
ObjectTemplate.workOnSoldiers 1



These are just how in works on BF:42 and BF:V, but you'll get the idea.


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jun 08, 2008 7:33 pm 
Offline

Joined: Mon Dec 10, 2007 12:29 am
Posts: 213
Twist, there is no pos.1 in the titans, but he could just change there engine settings to 0 for all of them which equals, no movement.


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jun 08, 2008 11:34 pm 
Offline

Joined: Tue May 27, 2008 5:51 am
Posts: 49
I spent the last 2 years trying to find a way for a mod person to stop the titan from moving. There is none, except for the out of bounds. The code and such for the titan is in the DLL files, which can't be modified without serious problems.

_________________
-AwesomeATrain with the Six String

Changing the battlefield, one line at a time.

((RC)) jlc102127 wrote:
praying that you will be able to get a job and replace your dying friend with a new one.


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Jun 18, 2008 8:46 pm 
Offline

Joined: Mon Dec 10, 2007 12:29 am
Posts: 213
A-train there is a way, check your readme and you'll find this:
===============
XI. UPDATE 1.20
===============
- Added server side option to disallow titan movement

(note:that is only an exerpt from 1.20, there is much more in it)


Top
 Profile Send private message E-mail  
 
PostPosted: Sat Jun 28, 2008 8:05 am 
Offline

Joined: Tue Jul 11, 2006 7:32 am
Posts: 357
AwesomeATrain wrote:
I spent the last 2 years trying to find a way for a mod person to stop the titan from moving. There is none, except for the out of bounds. The code and such for the titan is in the DLL files, which can't be modified without serious problems.


Is there a way to "set active" the object and alter the code like in BF42

I found this code and believe you could use it to prevent or at least limit the movement of the Titans for specified time.

ObjectTemplate.create RemoteControlledObject TitanControlObjectPAC
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.rcType RCTitan
ObjectTemplate.minTimeBetweenActivation 5 <<


now in BF42 you'd do something like this

ObjectTemplate.active TitanControlObjectPAC
ObjectTemplate.minTimeBetweenActivation 2700

Not sure if this is posible in BF2142.


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Jun 30, 2008 12:05 am 
Offline

Joined: Tue May 27, 2008 5:51 am
Posts: 49
PLAYER wrote:
AwesomeATrain wrote:
I spent the last 2 years trying to find a way for a mod person to stop the titan from moving. There is none, except for the out of bounds. The code and such for the titan is in the DLL files, which can't be modified without serious problems.


Is there a way to "set active" the object and alter the code like in BF42

I found this code and believe you could use it to prevent or at least limit the movement of the Titans for specified time.

ObjectTemplate.create RemoteControlledObject TitanControlObjectPAC
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.rcType RCTitan
ObjectTemplate.minTimeBetweenActivation 5 <<


now in BF42 you'd do something like this

ObjectTemplate.active TitanControlObjectPAC
ObjectTemplate.minTimeBetweenActivation 2700

Not sure if this is posible in BF2142.


Tried that, doesn't work.

_________________
-AwesomeATrain with the Six String

Changing the battlefield, one line at a time.

((RC)) jlc102127 wrote:
praying that you will be able to get a job and replace your dying friend with a new one.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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