[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/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 - Getting Started: Using winRFA to make your own patchfiles
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Getting Started: Using winRFA to make your own patchfiles
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=4&t=3330
Page 10 of 11

Author:  Malestrom [ Sat May 16, 2009 5:49 pm ]
Post subject:  Re: Getting Started: Using winRFA to make your own patchfiles

From the origional .rfa or all of them?
Which do I extract then repack?

umm... object spawns templates.con or object spawns.con?
It would seem from the code in each that object spawns.con would be the place to put the code y/n?
Thanks man. :)

Author:  Malestrom [ Sat May 16, 2009 6:16 pm ]
Post subject:  Re: Getting Started: Using winRFA to make your own patchfiles

I extracted the object spawns .con and ost .con from the origional file and oo3
I added my code at the bottom before the 'end if'
The server crashes when I load the map

here is the object spawns.con (single Player)
My code is at the end in red.

rem removed for precache: if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------

rem
rem *** ***
rem
Object.create ArtillerySpawner
Object.absolutePosition 1062.24/50.8439/1676.09
Object.rotation 92.6639/-0.0228524/0.412125
Object.setTeam 2
rem
rem *** ***
rem
Object.create ArtillerySpawner
Object.absolutePosition 1062.5/50.0188/1682.5
Object.rotation 92.6639/-0.0228524/0.412125
Object.setTeam 2
rem
rem *** ***
rem
Object.create ScoutCarSpawner
Object.absolutePosition 1027/50.7287/1786
Object.rotation -88.9779/-0.482193/-1.52588e-005
Object.setTeam 2
rem
rem *** ***
rem
Object.create ScoutCarSpawner
Object.absolutePosition 1066.5/50.018/1663.5
Object.rotation 90.032/0.483404/1.52588e-005
Object.setTeam 2
rem
rem *** ***
rem
Object.create FighterSpawner
Object.absolutePosition 1073.47/51.2242/1736.79
Object.rotation -90/-13.9698/1.52588e-005
Object.setTeam 2
rem
rem *** ***
rem
Object.create FighterSpawner
Object.absolutePosition 1086.51/51.2242/1724.49
Object.rotation -90/-13.9698/1.52588e-005
Object.setTeam 2
rem
rem *** ***
rem
Object.create lighttankspawner
Object.absolutePosition 1134/34.3594/1431
Object.rotation 174.96/-0.0953976/1.52588e-005
Object.setOSId 10
rem
rem *** ***
rem
Object.create lighttankspawner
Object.absolutePosition 1098.94/34.3617/1439.64
Object.rotation 99.3839/-0.116163/0.0197906
Object.setOSId 10
rem
rem *** ***
rem
Object.create APCSpawner
Object.absolutePosition 1233.22/34.3594/1256.85
Object.rotation -1.21191/0.658454/-1.52588e-005
Object.setOSId 25
rem
rem *** ***
rem
Object.create MachinegunSpawner
Object.absolutePosition 1209.5/42.1636/1224
Object.rotation -167.94/0/0.0740356
Object.setOSId 25
rem
rem *** ***
rem
Object.create MachinegunSpawner
Object.absolutePosition 1208.33/49.446/935.017
Object.rotation -68.94/0/0.100876
Object.setTeam 1
rem
rem *** ***
rem
Object.create AAGunSpawner
Object.absolutePosition 1172.32/39.2625/939.568
Object.rotation 0/0/1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem
rem Object.create heavytankspawner
rem Object.absolutePosition 1252.15/35.8159/821.992
rem Object.rotation 178.722/0.65478/1.52588e-005
rem Object.setTeam 1
rem
rem *** ***
rem
Object.create lighttankspawner
Object.absolutePosition 1276.02/34.568/822.485
Object.rotation -179.708/0.00494498/1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem
Object.create ArtillerySpawner
Object.absolutePosition 1185.6/39.2414/790.815
Object.rotation 0/-0.139361/1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem
Object.create APCSpawner
Object.absolutePosition 1283/34.6125/775.5
Object.rotation -87.5602/0.16144/-2.99055
Object.setTeam 1
rem
rem *** ***
rem
Object.create heavytankspawner
Object.absolutePosition 1110/35.8522/824
Object.rotation 88.5879/0.00856324/-0.635513
Object.setTeam 1
rem
rem *** ***
rem
Object.create ScoutCarSpawner
Object.absolutePosition 1128/34.5656/816.5
Object.rotation -3.60184/0.926062/-1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem
Object.create ScoutCarSpawner
Object.absolutePosition 1255.5/34.5656/767
Object.rotation 0/0.899772/-1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem
Object.create lighttankspawner
Object.absolutePosition 1126.5/34.6479/781.5
Object.rotation 0.034264/0.484426/0.854324
Object.setTeam 1
rem
rem *** ***
rem
Object.create AAGunSpawner
Object.absolutePosition 1136.82/43.6699/915.289
Object.rotation 0/0/1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem
Object.create AAGunSpawner
Object.absolutePosition 1069.89/36.2039/963.994
Object.rotation 0/0/1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem
Object.create AAGunSpawner
Object.absolutePosition 1253.97/53.9133/907.219
Object.rotation 24.552/4.07111e-013/1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem
Object.create AAGunSpawner
Object.absolutePosition 1269.29/34.5658/764.952
Object.rotation 0/0/1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem
rem Object.create lighttankspawner
rem Object.absolutePosition 1176.5/39.2316/916.101
rem Object.rotation 0/-0.104232/1.52588e-005
rem Object.setTeam 1
rem
rem *** ***
rem
rem *** Axis Additional Fighter #1 ***
Object.create FighterSpawner
Object.absolutePosition 1193.34/40.28/724.55
Object.rotation 0/-9.66/0
Object.setTeam 1

rem *** Axis Additional Fighter #2 ***
Object.create FighterSpawner
Object.absolutePosition 1209.46/40.28/724.55
Object.rotation 0/-9.66/0
Object.setTeam 1

rem***Axis Heavy Bomber***
Object.create HeavyBomberSpawner
Object.absolutePosition 1214.40/52.9163/335.00
Object.rotation 0/-9.66/0
Object.setTeam 1


rem ----------------------------------------------------------------------------
rem removed for precache: endif

I next added only the object spawns.con with the new code added and packed to market_garden_007.rfa
crashed again ...
hmmmm..... :?

I got it!! (I used market garden_003 as my template for the code)
and almost by myself lol!!
Now market garden has axis planes too.
Parachute spawn next.

Author:  [TKO]Twist [ Sat May 16, 2009 7:49 pm ]
Post subject:  Re: Getting Started: Using winRFA to make your own patchfiles

That's something like SpawnAsParaTrooper 1

Author:  Iced Earth [ Sat May 16, 2009 9:24 pm ]
Post subject:  Re: Getting Started: Using winRFA to make your own patchfiles

Gah...malestrom, make a new thread in questions/need assistance...its hard to keep track of in here. :lol:

(P.S. explain exactly what you're going after when u post!!)

Author:  Malestrom [ Sat May 16, 2009 9:43 pm ]
Post subject:  Re: Getting Started: Using winRFA to make your own patchfiles

Sorry :oops:
Im just so excited to finally get a few things working.
I added code for chutes to market garden coop and conquest too for my b-17 location
You should visit my server and see it when its done
We had a load of fun 8 players and bots to 28 players with stangs and 109s today.
Your helps been awesome.
Im figuring the code out slowly but surely. :)
feel free to edit my posts of all that code.
I thought it might be relevant to the next noob who came along. ;-)

Author:  MR PINK BALLS [ Thu May 28, 2009 10:39 pm ]
Post subject:  Re: Getting Started: Using winRFA to make your own patchfiles


Author:  hwdoyado [ Sun Oct 25, 2009 5:25 pm ]
Post subject:  Re: Getting Started: Using winRFA to make your own patchfiles

Very nice thanks a bunch. Another question, is there a way to make a single player game or co-op game with battlecraft Vietnam?

Author:  hwdoyado [ Sun Oct 25, 2009 6:17 pm ]
Post subject:  Re: Getting Started: Using winRFA to make your own patchfiles

I did exactly as you said and I have the two parts of code that say Modding/bfVietnam/levels/MyVietnam/Conquest/ObjectSpawns.con and Templates.con in a folder located in my documents. I now change the code for my nitrous motor but then how do I put the code back in my lvls folder or do I have too? I changed the code after the last line that states objectTemplate.teamOnVehicle 0 for the two different types of jeep I wanted the K rocket engine in. Is this correct I just leave it out of the original file and name it MyVietnam_001.rfa since you stated the next map number would be 001 or better?

Page 10 of 11 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/