OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Cerebrosus on 28 Jun 2003, 03:36:08

Title: Diffrent ammo types
Post by: Cerebrosus on 28 Jun 2003, 03:36:08
Hi!

I have started to look into the config.cpp file for a swedish light tank. The vechile got 3 diffrent ammo types, "Pil", "Spräng" and "Kulspräng".

Np so far, but... The Bofors 40mm Autocannon got 3 diffrent fireing modes, 1 shot, 4 burst and 8 burst. However, the ammo "Pil" (Sabot) cannot be fired in 4 and 8 burst. How to fix this in config.cpp ? I got it all working perfect except this detail.

Anyone got any idea?

// Cerebrosus

Title: Re:Diffrent ammo types
Post by: PoZ on 29 Jun 2003, 14:49:49
Jag antar att du är svensk :)
Jag har inte en aning om hur man ska fixa det.. Men vet du hur man fixar så att man kan få en Shilka att skjuta bursts på typ 4-8 skott?? Jag såg det i SEB 'Nam Pack 2.. så att efter en burst så måste man vänta ett tag, som att den laddar om. Det hade varit coolt att fixa på WW2EC Teams Wirbelwind... Iaf, så kanske det skulle kunna fungera med din pansarvagn, men... Hur vet jag inte riktigt. :(
Title: Re:Diffrent ammo types
Post by: Cerebrosus on 29 Jun 2003, 15:49:37
Yepp iÂ'm swedish.. but writing in english so all can take part of our discussion...

To make a shilka fire burstÂ's is not an problem at all... the problem I got is that I want my tank to fire burst but just singel shots with one type of ammo...

well well.. maybe i can figure it out some day... i got a temp solution right now that works but is far from good looking....

see ya...

add my to icq 8692848 if you want some help....

// Patrik
Title: Re:Diffrent ammo types
Post by: Skaven on 29 Jun 2003, 17:37:38
Guys this is an English forum  ;D
All in English or the thread will be locked  ;)
Title: Re:Diffrent ammo types
Post by: Cerebrosus on 29 Jun 2003, 22:39:30
Sure i will write in english :-) no question about it :-)

but dont lock my topic just because I get answers in swedish... thatÂ's not right :-P i think :-)
Title: Re:Diffrent ammo types
Post by: Skaven on 29 Jun 2003, 22:55:28
Mate, the forum is  public therefore is for everybody to understand,the language we decided to adopte was English if you want to talk Swedish send Private Messages instead  please ;)
Title: Re:Diffrent ammo types
Post by: PoZ on 01 Jul 2003, 12:51:03
Yeah.. Sorry  ;D
Title: Re:Diffrent ammo types
Post by: SelectThis on 03 Jul 2003, 18:49:34
use "muzzles" in the cpp.

SelectThis
Title: Re:Diffrent ammo types
Post by: Cerebrosus on 03 Jul 2003, 23:08:44
Thanx mate :-)

got a nice example of this or do I just have do it the hard way?  ;D

// Patrik
Title: Re:Diffrent ammo types
Post by: SelectThis on 04 Jul 2003, 02:22:59
an example can be found in the 1.91 config.cpp from BIS, look for the M16grenadelauncher.

SelectThis
Title: Re:Diffrent ammo types
Post by: Cerebrosus on 04 Jul 2003, 02:24:30
alright :-)

thanx mate!