OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Raptor90 on 29 Apr 2004, 23:49:39
-
Im looking for an ammo trainer for Resistance 1.96, I've did quite a bit of searching, but havent found anything. Anyone know if one exists yet? I had somthing at gamecopyworld, but it didnt seem to work sadly.
[edit]Topic title modified by Admin[/edit]
-
Ammo trainer?
Firing range?
Not sure what you mean.
:P
-
I think he's talking about a cheat file that will give you unlimited ammo...not exactly the sort of thing most people around here smile on, if you know what I mean :tomato:
-
Unlimited ammo! Com'n there's plenty of ammo already, makes it challeging to have limits and firefights don't last that long anyways. If ya use that much ammo I would think your already dead. Ok no offense but I've looked for cheats and the only ones I know of are of no help really and they aren't life or ammo cheats.
You can script it though! ;D
urgh I haven't written a script in so long!
Guilty
-
Reason i want it, is because me and my roommate like to mess around in the game, do things like place dozons of charges under vehicles and launch them across islands etc.
What I think I may do, is just repatch it to an older version where there already is a trainer for.
-
The only way I can come up with is to script it.
#loop
player addmagazine "HummingBunnyGun"
~10
goto "loop"
Or something simillar.
And about the ammo thing. I run out of ammo all the time. Maybe 'cause I don't trust my squad. I do most work myself. I usually played 4 mags + 3 LAWs but I ran out of ammo every now and then so now I have to play 6 mags + 2 LAWs. Kinda annoying but when AI is crap like OFP AI you just have to do the whole work yourself.
:beat: *Gets Shot* :beat:
-
Well I've noticed that having used a lot of ammo in relatively a minute, then you are a bad shot, you mouse is messed, or there were a hell of a lotta enemies who are as dumb as dirt.
Running out of ammo is usually only a problem with the 4 standard mags on rifles or sniper rifles. One shot one kill, but with machine guns hell yes. Then just let loose. Anyways I usually don't run out of ammo, I tend to trust my AI more and if their shot, well they tried... :'( ;D
Okay I'll try and script a little ammo script here...
_Raptor = _this select 0
#update
;check ammo, but not sure on syntax here...
?((getammo Raptor) <0.25) : goto "reload"
~5
;actual reloading
#reload
Raptor addmagazine "M16";
Raptor addweapon "SatchelCharge";
goto "update"
exit
You have to name your dude on the editor Raptor
Something resembling that, syntax not garunteed since its off the top of my head.
-
Like I said, its for fooling around in multiplayer, I think it'd be nice to have to pick up one charge, and then be able to place as many as I want, instead of having to get more each time.
-
THat script or one like it could give you unlimited Sactels so you can blow stuff up as much as possible.
Go to the scripting ideas board or here and ask if anyone can make adecent ammo replenishing scrript, it should work fine on multi and is easy to implement.
Don't use mine without checking it with someone else. :P
Or use the editor for 100 ammo crates but errrrrrr.....
Guilty
-
Raptor90,
Don't ask for trainers @ OFPEC ... ever.
As this thread has moved on from that to a more healthier approach, it won't be locked.
-
*sigh* Sadly its been looked at as if I wanted to cheat on MP servers when it was just for simple fun on my lan. But fine.
-
The only way an ammo trainer is seriously bad is a Mi17 with unlimited rockets or any chopper for that matter.
Anyways I'm telling you that you should actually ask for an ammo script here or at scripting ideas, its so much easier than making a ot of ammo boxes on your multi map.
-
Why don't you give the player an action that gives iim more ammo
players init field:
this addaction ["More ammo","addammo.sqs"]
addammo.sqs:
player addmagazine "whateveryouwant..."
~0.1
exit
-
Thanks for all the ideas guys, I'll play around a bit with them.