Joined: 16 Aug 2004, 03:36 Location: The Steward's Realm
So i've been poking around the code for the first time and I was thinking it might be possible (of course it is possible, i mean for someone with my skill level of coding, which isnt much) to get MapConv to start placing different and other sorts of features other than the currently defined 16 trees and 1 type of grass, and making it defined by an external file isntead of hard coded like it currently is in featurecreator.cpp.
Featurecreator.h looks like it can work with any kind of feature, so i would already have something to work with.
At the very least, it might be made so that it has the potential accept input for different types of features, and someone else write a seperate GUI to actually let the mapmaker place said features ( Buggi! ).
Just wondering if anyone else is working on this at the moment, and if i should try and pursue this in terms of engine limitations.
I was thinking that a script could be written internally that took arbitrary arguements for which units to load rather than specific function calls to specific units, giving something like features in OTA. I hadnt thought out though so maybe if someone could think it through?
Yes, scripting is good, but its hard to impliment once everything is written. If you start out with the objective of producing fully scriptable code, then you will most certainly get that. I doubt thats how this project started out though.
Joined: 19 Aug 2004, 16:38 Location: Togliatti, Russia
Maybe instead the main executable could be modified to read a special txt file on map load, placing units (and also, features, since DTs are placed as units, but are features in essense), belonging to a neutral team (team -1?). That way, we get less trouble when moving or adding features to a map (no need to recompile it), and quite a load of flexibility for placing features - as well as neutral units, WC3-style.
Didnt I do a big post on there being a GAIA player? at least then I could create a tree AI that would spawn new trees and branches, fullfilling aGorms original dream and shutting up the alantai tree people once and for all. Or maybe I could just program a highly flexibl bird subroutine... wings flap... tweeeet... flap
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum