dachevs 1 Posted April 20, 2008 I think it would be better to have C++ as one of the languages for scripting its so much easier and faster, i know u can do C++ but u cant do it for actual scripting but u can make cpp files. Share this post Link to post Share on other sites
Big Dawg KS 6 Posted April 21, 2008 I think it would be better to have C++ as one of the languages for scripting its so much easier and faster, i know u can do C++ but u cant do it for actual scripting but u can make cpp files. That sort of defeats the purpose of a scripting language, which is supposed to be easier for designers and mission makers to use. Then again I would love to be able to use an object oriented scripting language, though I'm not sure how well that would work. Share this post Link to post Share on other sites
baddo 0 Posted April 21, 2008 This has to be a joke  It is a joke...?  It isn't?!  I'm not sorry for laughing at this suggestion. I honestly think that C++ is not at all suitable for the purpose. There is a C Scripting Language CSL, but that is not at all the same thing as using C or C++.  And it's GPL so it's surely not an option for BIS. Share this post Link to post Share on other sites
Maddmatt 1 Posted April 21, 2008 Considering how much work they may have done on their dynamic campaign/campaigns, I think it's a little late for a whole new scripting system. Think of all the poor designers at BIS and BIA who suddenly have to learn C++ A lot of old scripts and mods can more easily be ported over with the same old scripting system. Share this post Link to post Share on other sites
Saromus 0 Posted April 21, 2008 no one said the whole system had to be made of C++ but just because someone gives a suggestion doesn't mean u have to "flame" him, just a simple "I don't think this is a good idea and explain without the rudeness" I personally consider LUA to be my favorite Scripting Language Share this post Link to post Share on other sites
Big Dawg KS 6 Posted April 22, 2008 Rather than changing scripting languages, one thing I'd probably go crazy over would be the ability to define actual C++ functions in configs that allowed for the use of more polymorphism. For example, a reload method (with not so much actual C++): <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class M16: Weapon {  ...  // When reload action is performed, the virtual function  // reload(void) is invoked on the current weapon.  // Each derived class of Weapon contains a reload method.  bool reload(void) {    // reload algorithm in C++    ...    return true;  }  ... }; Ideally every object (C++ object) could be programmed strictly in C++ and possibilities would be endless, but that would redesign the entire game engine and leave nothing actually hard-coded. Realistically, just having certain abstract methods (perhaps sort of like event handlers only more object oriented) with some ability to write functions for different object classes would still be awesome and is more within the realm of feasibility. Share this post Link to post Share on other sites
Saromus 0 Posted April 22, 2008 id just like it to so u can be able to use C++ functions, I work for a Project and its for an MMO for SystemMessages they define it using player->sendSystemMessage("") it works much easier than hints but it works the same way, beacuse player-> is similar to _player just easier on programmers that know C++ like for me its a bit hard to learn another language when i already know afew of them hehe. Like you said at least be able to use other Programming Language functions from C++ Lua etc to make the current Scripting System more flexible Share this post Link to post Share on other sites
dachevs 1 Posted April 23, 2008 I have know idea what everyone is talking about here. Share this post Link to post Share on other sites
baddo 0 Posted April 23, 2008 The ArmA configuration files are not C++. I now understand that that is what you meant in your first post by "i know u can do C++". The style of the configuration files is C++-ish though. Some sort of scripting formulas can be inserted into configuration files. But it really isn't C++. It's data that is handled by C++. Suggesting C++ as a "scripting" language for a game is far from rational. C++ is NOT easier and faster (to write). You got that seriously wrong about C++. Also it is not an interpreted language. I don't know how much you have experience programming in C++ but what you said hints that it is very little or not at all. Perhaps you should explain better what you actually want, instead of just saying "I want C++ scripting". id just like it to so u can be able to use C++ functions hmmm what do you think you are doing when you use ArmA scripting language? Maybe you mean that things should look more object-oriented in the scripting language level? Share this post Link to post Share on other sites
W0lle 1049 Posted April 23, 2008 I have know idea what everyone is talking about here. If you have nothing constructive to add, then don't post at all. Spamming the forums to increase your postcount doesn't work here. A 48h post restriction might give you the chance to get familiar with our forum rules. Share this post Link to post Share on other sites