Page 1 of 1

Autoturret

Posted: Thu Jan 05, 2006 3:31 pm
by jb
Hello!

Why does the following code not work (concerning an autoturret)?

Code: Select all

PilotType = "self"
Controllable = "1"
AutoFire = "1"
I found this code using the forum-search and added it to the turret's ODF, but everything the turret does
is firing straight in a line with no clear aim...
Any ideas why this doesn't work?

Using the forum-search I read something about "setting the turret to a team", but I don't understand it.

Thanks for any help (and excuse my bad English for I'm a German),

jb

RE: Autoturret

Posted: Thu Jan 05, 2006 5:03 pm
by Qdin
Hello.

Bandu and Rends once found an 'auto turret' command. but unfortunately, they couldn't make the turret shoot after aiming :roll: so it seems that it just shot everywhere :roll:

but I think there's also sometimes something like 'CanTargetEnemy' and 'CanTargetNeutral' and 'CanTargetFriend' so maybe if these are 0 or 1?

anyways - I hope this is useful.

- Qdin

Posted: Fri Jan 06, 2006 5:00 am
by jb
Thank you. I already added the turret to a team (I finally understood it: Just set the team number in ZeroEdit)
but it keeps firing without aim... I also added

Code: Select all

TargetEnemy = "1"
as one can find it in several weapon's ODFs...
But I'll try it out your suggestion as well, thanks.

By the way, you said:
Bandu and Rends once found an 'auto turret' command.
Do you know how they found it? Is there a special list containing all ODF-Commands somewhere in the Internet?

Thank you,

jb

Posted: Sat Jan 07, 2006 2:15 pm
by Leviathan
jb, here is the thread Lord-Bandu had created to engage a discussion about Auto-Turrets... (However, never forget that : "The 'Search' feature is your best ally..." :wink: )

PS : By the way, welcome on GameToast bulletin-boards !...

Posted: Sun Jan 08, 2006 2:19 pm
by jb
Well, I used the search and read this thread. After having read this thread, I added all the parameters listed.
Unfortunately this didn't work and that's why I opened up a new thread. If you had read my post carefully,
you would've recognized that I've already used the forum-search ;-) :
I wrote: I found this code using the forum-search
The thread you linked contained no real answer whether an autoturret worked with this code.
Additionally, this code didn't work as I tried it, either.
Therefore I decided to open up a new thread in order to ask whether a new working code was found...

Hopefully I was able to specify my reasons for opening up a new thread. ;)

jb

Posted: Sun Jan 08, 2006 7:34 pm
by Laserblast
The autofire only seems to mean the gun will fire without an AI or human controlling it. Only time it was really used was for the Ion Cannon on Hoth so that it appeared that it was taking shots at the ISDs. Similarly, when I switched a remote over to "self," all that changed is I died when it did. Anyone actually seen a turret working without anyone directly controlling it with any code (in BF not BF2 where it is clearly possible)?