Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Fri May 10, 2024 2:08 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 28 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Thu Jul 09, 2009 3:06 am 
Offline

Joined: Tue May 05, 2009 4:10 am
Posts: 110
Location: Philthadelphia Pa, US OF FARGIN A
as I said it was late lol!!
Thanks man!! :lol:

_________________
Image
Its all about gaming and having fun
f the hackers and whiners
Its for fun already
Pull up a chair and have 1 on me


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 10, 2009 1:39 am 
Offline

Joined: Tue May 05, 2009 4:10 am
Posts: 110
Location: Philthadelphia Pa, US OF FARGIN A
Ok...
I added planes to the carrier and island spawns and changed thier spawn times.
Ive done lots of this no problem on several maps
This one 'Iwo' however is crashing to desktop when I try to join it.

This for land (All in OST)

ObjectTemplate.create ObjectSpawner FighterSpawner
ObjectTemplate.setObjectTemplate 1 zero
ObjectTemplate.setObjectTemplate 2 corsair
ObjectTemplate.setObjectTemplate 3 spitfire
ObjectTemplate.setObjectTemplate 4 mustang
ObjectTemplate.minSpawnDelay 5
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.spawnOffset 0/0.25/0
ObjectTemplate.holdObject 1
ObjectTemplate.MaxNrOfObjectSpawned 4


ObjectTemplate.create ObjectSpawner DiveBomberSpawner
ObjectTemplate.setObjectTemplate 1 aichival
ObjectTemplate.setObjectTemplate 2 sbd
ObjectTemplate.setObjectTemplate 3 ilyushin
ObjectTemplate.setObjectTemplate 4 stuka
ObjectTemplate.minSpawnDelay 5
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.spawnOffset 0/0.25/0
ObjectTemplate.holdObject 1
ObjectTemplate.MaxNrOfObjectSpawned 4


Then
==========================================

This is the code for OS
Each worked in trial as single player
but crashed in Multi

=============================

rem *** ***
rem *** Zero ***
Object.create FighterSpawner
Object.absolutePosition 1020.53/79.3618/911.001
Object.rotation -8.633/-10.4445/1.52588e-005
Object.setTeam 1
rem
rem *** ***
rem *** Ilyushin ***
Object.create DiveBomberSpawner
Object.absolutePosition 1001.72/79.0/925.255
Object.rotation -4.45453/-10.7547/-0.548233
Object.setTeam 3
rem
rem *** ***

======================================
This for carrier
======================================

rem *** ====> Add Spitfire & Mustang <==== ***
rem *** EnterpriseCorsairSpawner ***
ObjectTemplate.Active Enterprise_corsairSpawner
ObjectTemplate.setObjectTemplate 1 corsair
ObjectTemplate.setObjectTemplate 2 corsair
ObjectTemplate.setObjectTemplate 3 spitfire
ObjectTemplate.setObjectTemplate 4 mustang
ObjectTemplate.minSpawnDelay 5
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.spawnOffset 0/0.25/0
ObjectTemplate.holdObject 1
ObjectTemplate.team 4
ObjectTemplate.MaxNrOfObjectSpawned 4
rem
rem *** ====> Add Yak9 & Ilyushin <==== ***
rem *** EnterpriseSbdSpawner ***
ObjectTemplate.Active Enterprise_sbdSpawner
ObjectTemplate.setObjectTemplate 1 Sbd
ObjectTemplate.setObjectTemplate 2 Sbd
ObjectTemplate.setObjectTemplate 3 yak9
ObjectTemplate.setObjectTemplate 4 Ilyushin
ObjectTemplate.minSpawnDelay 5
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.spawnOffset 0/0.15/0
ObjectTemplate.holdObject 1
ObjectTemplate.MaxNrOfObjectSpawned 4
ObjectTemplate.team 1
rem
rem *** ***


==========================================


all works in single player
I dont see anything that would make it crash when trying to join from my other pc.
Of course im not the king of this shi* yet lol!
8-)

_________________
Image
Its all about gaming and having fun
f the hackers and whiners
Its for fun already
Pull up a chair and have 1 on me


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 10, 2009 5:42 am 
Offline

Joined: Tue May 05, 2009 4:10 am
Posts: 110
Location: Philthadelphia Pa, US OF FARGIN A
I fixed it :lol:
I used the original code and slightly changed it.
I can now add any plane to the field or carrier
Spawn times 5 to 15 seconds
Max planes per type = 4

20 planes on Iwo Jima... Holy schnoikies!
Its nuking futz!!

_________________
Image
Its all about gaming and having fun
f the hackers and whiners
Its for fun already
Pull up a chair and have 1 on me


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jul 10, 2009 10:24 pm 
Offline

Joined: Tue May 05, 2009 4:10 am
Posts: 110
Location: Philthadelphia Pa, US OF FARGIN A
Thanks oh great iced one 8-)

_________________
Image
Its all about gaming and having fun
f the hackers and whiners
Its for fun already
Pull up a chair and have 1 on me


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

All times are UTC


Who is online

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