i am trying to figure out why i cannot change the carrier aircraft with a code.
i used this code to spawn a mustang on the carrier on allied.
ObjectTemplate.Active Enterprise_corsairSpawner
ObjectTemplate.setObjectTemplate 3 mustang
ObjectTemplate.team 3
ObjectTemplate.MaxNrOfObjectSpawned 6
i want to replace the aichival with a bf109 and ive tried chaning the code using axis info but it does not work.
any help is great ! thx!
bf42 code question
Re: bf42 code question
This is the Enterprise corsair spawn template. Its in the Objects.con
just change "corsair" to "mustang " and it should work
Code: Select all
rem *** Enterprise_corsairSpawner ***
ObjectTemplate.create ObjectSpawner Enterprise_corsairSpawner
ObjectTemplate.setObjectTemplate 1 corsair
ObjectTemplate.setObjectTemplate 2 corsair
ObjectTemplate.minSpawnDelay 20
ObjectTemplate.maxSpawnDelay 40
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.team 1
Re: bf42 code question
no u are reading my question wrong. I have the mustang working with the code i posted. IM tryin to get the axis carrier aicival to be a 109. The code for that is what im looking for. and i dont want to mod the objects file, as u can see the code i added was to the templets.
Re: bf42 code question
got it..
ObjectTemplate.Active Enterprise_sbdSpawner
ObjectTemplate.setObjectTemplate 3 Mustang
ObjectTemplate.minSpawnDelay 1
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.MaxNrOfObjectSpawned 2
ObjectTemplate.team 3
ObjectTemplate.Active Enterprise_corsairSpawner
ObjectTemplate.minSpawnDelay 1
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.MaxNrOfObjectSpawned 2
ObjectTemplate.Active ShokakuAichiValSpawner
ObjectTemplate.setObjectTemplate 3 Yak9
ObjectTemplate.minSpawnDelay 1
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.MaxNrOfObjectSpawned 2
ObjectTemplate.team 3
ObjectTemplate.Active ShokakuZeroSpawner
ObjectTemplate.minSpawnDelay 1
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.MaxNrOfObjectSpawned 2
for those who dont know...now u know!
ObjectTemplate.Active Enterprise_sbdSpawner
ObjectTemplate.setObjectTemplate 3 Mustang
ObjectTemplate.minSpawnDelay 1
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.MaxNrOfObjectSpawned 2
ObjectTemplate.team 3
ObjectTemplate.Active Enterprise_corsairSpawner
ObjectTemplate.minSpawnDelay 1
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.MaxNrOfObjectSpawned 2
ObjectTemplate.Active ShokakuAichiValSpawner
ObjectTemplate.setObjectTemplate 3 Yak9
ObjectTemplate.minSpawnDelay 1
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.MaxNrOfObjectSpawned 2
ObjectTemplate.team 3
ObjectTemplate.Active ShokakuZeroSpawner
ObjectTemplate.minSpawnDelay 1
ObjectTemplate.maxSpawnDelay 5
ObjectTemplate.MaxNrOfObjectSpawned 2
for those who dont know...now u know!
Re: bf42 code question
Good to hear its working, bfguy. Welcome to the site..
2 things...
Do not write 'u'... write 'you' or you will not last 5 minutes round here.. I don't expect perfect grammar but there is no need for abbreviations like that.
And maybe acknowledge the fact that someone has tried to help you rather than respond with 'no, you got it wrong'.. Maybe you did not make your question clear enough... maybe you did... but it's all about basic etiquette.
Thanks

2 things...
Do not write 'u'... write 'you' or you will not last 5 minutes round here.. I don't expect perfect grammar but there is no need for abbreviations like that.
And maybe acknowledge the fact that someone has tried to help you rather than respond with 'no, you got it wrong'.. Maybe you did not make your question clear enough... maybe you did... but it's all about basic etiquette.
Thanks
Re: bf42 code question
With me here, you are definitely correct. I would get banned here if I didn't hold myself back from correcting people's grammar. I know that some people have English as a second or third language, so I understand the grammatical errors. But for someone like bfguy, stuff like that annoys me.fo0k wrote:Do not write 'u'... write 'you' or you will not last 5 minutes round here.. I don't expect perfect grammar but there is no need for abbreviations like that.
And maybe acknowledge the fact that someone has tried to help you rather than respond with 'no, you got it wrong'.. Maybe you did not make your question clear enough... maybe you did... but it's all about basic etiquette.
Sorry for getting off topic.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Re: bf42 code question
Sorry i have no excuse other then being lazy, sorry and thanks again for the help and suggestions, And the welcomeSwaffy wrote:With me here, you are definitely correct. I would get banned here if I didn't hold myself back from correcting people's grammar. I know that some people have English as a second or third language, so I understand the grammatical errors. But for someone like bfguy, stuff like that annoys me.fo0k wrote:Do not write 'u'... write 'you' or you will not last 5 minutes round here.. I don't expect perfect grammar but there is no need for abbreviations like that.
And maybe acknowledge the fact that someone has tried to help you rather than respond with 'no, you got it wrong'.. Maybe you did not make your question clear enough... maybe you did... but it's all about basic etiquette.
Sorry for getting off topic.

Re: bf42 code question
ShokakuZeroSpawner < the correct way Shokaku_ZeroSpawner < wrong way 

Re: bf42 code question
bfguy wrote:
Sorry i have no excuse other then being lazy, sorry and thanks again for the help and suggestions, And the welcome
ok cool, thanks!