Artillery mode question
- Vilespring
- Posts: 740
- Joined: Sat Nov 24, 2012 5:47 am
- Location: Somewere in the United States
Artillery mode question
What line of code allows the Wespe, Priest, and the Sexton to use the artillery view for long range bombardments by pressing right click? I've made a SPG that I want to be able to use this mode, but I cannot find how.
A picture is worth a thousand words, but takes up three thousand times the memory.
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Re: Artillery mode question
The "trace" code i belive
Code: Select all
rem *** WespeGunnerCamera ***
ObjectTemplate.create Camera WespeGunnerCamera
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.CVMExternTrace 1 <----------------- meep
- Vilespring
- Posts: 740
- Joined: Sat Nov 24, 2012 5:47 am
- Location: Somewere in the United States
Re: Artillery mode question
Okay, I'll test that. I feel like I need to show what it looks like, it's so outrageous because I build my vehicles with random parts I can find...
EDIT: welp, it isn't that.
EDIT: welp, it isn't that.
A picture is worth a thousand words, but takes up three thousand times the memory.
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Re: Artillery mode question
ohh it seems theres more to it, code working together kinda
CVMExternTrace http://bfmods.com/mdt/scripting/ObjectT ... Trace.html
ObjectTemplate.ArtPos http://bfmods.com/mdt/scripting/ObjectT ... rtPos.html
Code: Select all
rem *** Wespe_Gunner_PCO1 ***
ObjectTemplate.create PlayerControlObject Wespe_Gunner_PCO1
" alot of code"
and
ObjectTemplate.artPos 1 <--------------- this one!
ObjectTemplate.ArtPos http://bfmods.com/mdt/scripting/ObjectT ... rtPos.html
- Vilespring
- Posts: 740
- Joined: Sat Nov 24, 2012 5:47 am
- Location: Somewere in the United States
Re: Artillery mode question
yup, that did it. had to do some fidgeting to get the elevation and traverse ticks right!
you know, those things can do so many strange things!

you know, those things can do so many strange things!
A picture is worth a thousand words, but takes up three thousand times the memory.
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"