Joeh 1 Posted August 24, 2012 Hey, i've made a basic map and i want to do a counter strike style gamemode where we kill each other and earn points to buy guns and use them in the game, is there a mod for this or any way of doing this? Share this post Link to post Share on other sites
kylania 568 Posted August 24, 2012 http://store.steampowered.com/app/730/ As ArmA is designed as basically a simulator of combined arms conflict and people don't earn points to buy guns in a combined arms conflict any kind of system like this you'll need to create from scratch. Killing each other is trivial enough. Earning points is slightly more difficult (eventHandlers for killing units and publicVariables for keeping track of score). The buying of weapons will probably be the toughest part if you wanted to do it "well" (as in pretty dialog boxes and images and all that). To do it quickly you could have a series of addActions that appear based on your point count and simply swap your weapons out (or add available ones to a local ammobox) I guess? So yeah, you could do it if that were your fancy. :) I'd suggest trying to get each part working first, then add on to the whole system. First earning points, then keeping track of them, then the action system for guns, then polish it all out. Give that a shot and let us know if you have problems along the way. :) Share this post Link to post Share on other sites
Horner 13 Posted August 24, 2012 I know Celery made a bunch of missions similar to this. If you found them you might be able to work off that. Share this post Link to post Share on other sites
xealot 0 Posted August 26, 2012 (edited) I recently did something similar, and while Kylania is right about the use of EHs and such you could always look at my source code if it might help. http://code.google.com/p/a2-counterstrike/source/browse/ I would recommend using the biki a lot to find the commands and syntax for what you need and also CBA or public variables to sync data across the network. Edited August 26, 2012 by Xealot Share this post Link to post Share on other sites
max power 21 Posted August 26, 2012 I was working on a DE Dust type building object a while back. I wanted to make an experiment to see how an ArmA 2 fight would play out on a CS map. I think the warfare game mode allows you to get points to buy weapons. It comes stock with ArmA. I'm not sure where you get this idea that this is a simulator therefore getting points to buy weapons is out to lunch. Share this post Link to post Share on other sites
kylania 568 Posted August 26, 2012 I'm not sure where you get this idea that this is a simulator therefore getting points to buy weapons is out to lunch. What module do I put down to enable players to purchase items via points? Oh, that's right, there isn't one. What command is it that displays how much money I earned? Oh, there isn't one. What BIS function is it that lets me buy weapons from a dialog? Oh, not that either? :) That was my point about a CS style mission being out to lunch. There's no simple built in way of creating that type of gameplay in ArmA. While Warfare is a community made mission that is included with the game it's features are not a standard part of the editor like features from the campaigns are. It's also not exactly written in such a way as to be understandable by anyone on this planet (single letter variables can die in a fire). There's also no documentation at all for Warfare 2 officially supplied that I've ever seen (Benny does have some nice docs though). So you can't really use Warfare as a "ArmA is totally a game like Counterstrike out of the box" style argument. :) Share this post Link to post Share on other sites
mikie boy 18 Posted August 26, 2012 As Kylania states - its a lot of work - for example = points for weapons - you can use players score. However You will need to create a GUI with the various guns on it. Or use the addaction method - which will look pants! Death - who killed who - is fairly straight forward, need to use Event handler "MPKILLED". But you need to do some camera scripting for death cam etc. So id take Xealot (or anyone else who has done something similar) up on his work to save you some time. post requests for individual problems you encounter and im sure people will assist. Share this post Link to post Share on other sites
max power 21 Posted August 26, 2012 What module do I put down to enable players to purchase items via points? Oh, that's right, there isn't one. What command is it that displays how much money I earned? Oh, there isn't one. What BIS function is it that lets me buy weapons from a dialog? Oh, not that either? :) That was my point about a CS style mission being out to lunch. There's no simple built in way of creating that type of gameplay in ArmA.While Warfare is a community made mission that is included with the game it's features are not a standard part of the editor like features from the campaigns are. It's also not exactly written in such a way as to be understandable by anyone on this planet (single letter variables can die in a fire). There's also no documentation at all for Warfare 2 officially supplied that I've ever seen (Benny does have some nice docs though). So you can't really use Warfare as a "ArmA is totally a game like Counterstrike out of the box" style argument. :) BI hired the guy responsible for the CTI missions and he created warfare for ArmA 1. They also published an editing guide for people like Benny to expand on it. I reread your initial post and I see you were making that comment in support of the supposition that he will probably have to write a money system from scratch, which is likely very true. Share this post Link to post Share on other sites
Przemek_kondor 13 Posted August 28, 2012 Other mission which uses money / weapon buy dialog: http://www.armaholic.com/page.php?id=10634, http://forums.bistudio.com/showthread.php?99741-DM-Real-Tournament-2 Share this post Link to post Share on other sites
Hud Dorph 22 Posted August 29, 2012 I remember a mission/map called hexen kessel that was the closest to css style i have seen in arma. Though money was not involved afaik. http://www.armaholic.com/page.php?al=Frantic_gametypeCelery_g Share this post Link to post Share on other sites
krumpo 1 Posted August 29, 2012 I am working on a system to buy weapons as well currently, the DM Real Tournament 2 mission looks interesting. Share this post Link to post Share on other sites
zonekiller 175 Posted August 31, 2012 have a look at this one too http://forums.bistudio.com/showthread.php?134956-The-Walking-Dead-Zargabad-MP-COOP-OA-and-OA-CO Share this post Link to post Share on other sites