Home   Help Search Login Register  

Author Topic: "Locked" ammoboxes in OFP:R...  (Read 2719 times)

0 Members and 1 Guest are viewing this topic.

T.S.C.Plage

  • Guest
"Locked" ammoboxes in OFP:R...
« on: 22 Aug 2002, 16:27:18 »
Hi mates,

is there a way to "lock" the ammoboxes in Resistance?
I mean of course it's possible in the editor but I mean I don't want to have the actionmenu entries "Put XXX in ammobox" (or something similar...don't play OFP in English).

I want to use them as walls and it realy s***s if you've over hundred actionmenu entries.

Thanks!
Plage

Btw, can somebody tell me how to remove the fuel from the drums? I've tried "this setfuel 0" and also to turn the fuellevel to zero in the editormenu but if I'm closing up with a vehicle always "Refuel at..." is shown.
« Last Edit: 22 Aug 2002, 16:31:26 by T.S.C.Plage »

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:"Locked" ammoboxes in OFP:R...
« Reply #1 on: 22 Aug 2002, 17:00:36 »
1. this removeallweaponscargo (i think - untested)

2. Not that i know of - its ot a case of how much fuel it has, it just happens to have in its .cpp the ability to refuel other units  :P

Proud Member of the Volunteer Commando Battalion

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:"Locked" ammoboxes in OFP:R...
« Reply #2 on: 22 Aug 2002, 17:02:44 »
for the fuel use

this setFuelCargo 0

I've no idea about the other

T.S.C.Plage

  • Guest
Re:"Locked" ammoboxes in OFP:R...
« Reply #3 on: 22 Aug 2002, 17:23:57 »
I've tried "clearweapon/magazincargo this" and "locked" but this won't work cause you can always put your weapon/mag in it.

Thanks for the drum solution haven't thought of "cargo"...thanks again!

Plage


Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:"Locked" ammoboxes in OFP:R...
« Reply #4 on: 23 Aug 2002, 00:06:23 »

for the fuel use :    this setFuelCargo 0


 :thumbsup: Right on, blackie - we can choose between:


SetFuelCargo, SetAmmoCargo and SetRepairCargo  :toocool: ...and probably others too ( like "SetVodkaCargo" etc )  :beat:


T.S.C.Plage

  • Guest
Re:"Locked" ammoboxes in OFP:R...
« Reply #5 on: 23 Aug 2002, 14:32:36 »
But is there no solution for the ammobox actionmenu problem? ???

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:"Locked" ammoboxes in OFP:R...
« Reply #6 on: 23 Aug 2002, 17:03:28 »
Well.. could you remove everything from inside the ammobox? Then copy/paste the same box everywhere you need it.

With no ammo or weapons inside of the ammobox the only thing added to your action menu would be the one where you can choose to put your weapon inside it.

Not all is lost.

Fishion

  • Guest
Re:"Locked" ammoboxes in OFP:R...
« Reply #7 on: 23 Aug 2002, 18:32:45 »
Why not make it an Addon?

Use the 3D Modell of an Ammobox, to replace the modell of
let's say the Barrel? That should work...and is easy enough

-Fishion

T.S.C.Plage

  • Guest
Re:"Locked" ammoboxes in OFP:R...
« Reply #8 on: 24 Aug 2002, 15:05:29 »
Hey Artak,

got me wrong. I even don't want to have anything in the initline! No d**n nothing!!! ;D

I only want to have an "old" ammobox! >:(

And Fishion I can't create an addon and it would be create if somebody can do it. I think it shouldn't be to big...

But there has to be a way to remove the actionmenu entries of the ammoboy somehow.

Plage

Offline angusjm

  • Contributing Member
  • **
    • Virtual SAS
Re:"Locked" ammoboxes in OFP:R...
« Reply #9 on: 24 Aug 2002, 19:01:52 »
Couldn't you just put this setdammage 1.0 in the init field.  When ammoboxes are destroyed, they usually keep a similar shape.

T.S.C.Plage

  • Guest
Re:"Locked" ammoboxes in OFP:R...
« Reply #10 on: 25 Aug 2002, 00:51:03 »
Yes but they're getting a lil' smaller.

But maybe there is no other way...

Thanks for the idea!

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:"Locked" ammoboxes in OFP:R...
« Reply #11 on: 25 Aug 2002, 00:57:23 »
ummmmm - Tomb was right...

the init line isnt the actions - its the line called, umm, the init field which u can acces by double clicking on the ammo box...

then type this in:

this setammocargo 0

that is of course if Tomb is correct  ::)

:thumbsup:
Proud Member of the Volunteer Commando Battalion

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:"Locked" ammoboxes in OFP:R...
« Reply #12 on: 25 Aug 2002, 01:08:09 »
It just resets the ammoCargo to zero, just like "ClearMagazineCargo This"
I don't think it will prevent him from being able to PUT NEW ammo to the crate  :P

Thus the yellow actionline entries won't disappear  ::) it was just a sidenote actually.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:"Locked" ammoboxes in OFP:R...
« Reply #13 on: 25 Aug 2002, 01:41:59 »
aaaah yes - resistance - hmmmm - maybe theres command to remove that option? i'll have a search.
Proud Member of the Volunteer Commando Battalion

T.S.C.Plage

  • Guest
Re:"Locked" ammoboxes in OFP:R...
« Reply #14 on: 25 Aug 2002, 18:09:54 »
Hope you've more luck than me cause I've found nothing!

But thanks for your time anyway! :D

Plage