Page 33 of 50
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 22 Feb 2011, 12:16
by T.M.
So, any comments on the script editor? & other stuff i made?
The lack of comments is totally killing this project right now...
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 22 Feb 2011, 12:27
by Sektor
I don't really use the script viewer (I'd rather view a full script in mispad) but I recently used 0.6.0 to move objects around on Water Slow Race since coordinates can be tricky to do manually. I still haven't tried everything.
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 22 Feb 2011, 12:38
by elypter
the script preview is quite useful to find objects on the map
about the other features: i already tried out and used them in the inofficial versions
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 22 Feb 2011, 12:46
by T.M.
Here we go...!
Sektor wrote:I don't really use the script viewer (I'd rather view a full script in mispad)
Hmm, yeah i guess its useless most of the time, if the script isnt that complicated... I would be interested though, what features would make you use the script viewer? Possibility to edit the script code directly by writing code? Copy/paste/replace? and compiling...? (basically a mispad replacement

)
Edit: oh and, as elypter said, you can right click the script preview code lines to go to that position where that object is. pretty useful if its large map.
Sektor wrote:but I recently used 0.6.0 to move objects around on Water Slow Race since coordinates can be tricky to do manually. I still haven't tried everything.
Cool to hear its been useful !

Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 22 Feb 2011, 13:28
by BenMillard
I only use it to take promo screenshots, since it isn't a map editor yet.
The performance is still pretty good on my 10-year-old machine, even with all the new features.
Making the menu tickboxes correctly tick/untick should be trivial. How come they aren't fixed? I'd say this is a highest priority for making the editor more useful and comfortable.
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 22 Feb 2011, 14:02
by T.M.
BenMillard wrote:I only use it to take promo screenshots, since it isn't a map editor yet.
Something wrong with the script editor?
BenMillard wrote:Making the menu tickboxes correctly tick/untick should be trivial. How come they aren't fixed? I'd say this is a highest priority for making the editor more useful and comfortable.
I dont know how to make it properly, if i add new menu options, i would have to add new unique tick handler function for it as well, and this would make the menu ticks non-functional for some of the options eventually, since i would forget or be too lazy to create new function for each option every time (sometimes i add new menu options, but delete them later). So i rather make them all not work, than only few working. The biggest problem is that i must update the ticks from the settings.cfg first. Also, when there are different types of ticks, like you can choose only 1 of 10 options, it should erase the other ticks from that group. Also... the settings.cfg represents some of the settings by strings, this complicates things and i indeed need own function for each. Theres about 150 settings in the settings.cfg that i have made functions for, now you ask me to write 150 more functions. Still trivial? well, you go do it then... i just dont give a shit, plus when you come here always talking like "i just take screenshots, i dont need your editor." i give even less shit.

Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 22 Feb 2011, 22:33
by Pyro
TradeMark wrote:So, any comments on the script editor? & other stuff i made?
The lack of comments is totally killing this project right now...
- Not had a chance to fully test it yet, but in the small trials I've done I've found the script editor particularly useful when I select an item on screen and it goes to that line in the script editor. The colour coding between the variables makes it nice and clear. Would it be possible to colour-code bracket groups? That would be a nice addition if it's possible, the amount of times I miss a bracket somewhere!
- I noticed that you can now show cars etc inside IF loops, but I'm not sure why they look like ghost cars? It makes them stand out yes, but maybe, instead of being semi-transparent, make them opaque BUT have a different colour for the text on mouse highlight or something else in the tool-tip saying it is inside such a function? Of course, you could just right-click it and it'll take you to that line anyway, but could be handy when quickly mousing over an item?
- Viewing trains and train stations now is so much better now that I can see where the train will ACTUALLY stop and its true length! I always used to fight with setting up train station stop points before this to get them just right. Good job!
- Being able to "drag and drop"stuff is pretty handy, good for fine tuning positions and angles!
- The icon for a DESTRUCTOR is rather strange, it shows a flashing red and green "chequered" rectangle? Is this intentional? And yes, I removed all the old files prior to installing 0.6.0.
- Going back to what I said a while back, is it possible to show the remaps of characters (like you did for cars) and their graphic type (dummy, gang or emergency graphic)?
- As Ben mentioned about the tick boxes, it's a little annoying it doesn't show properly but in my opinion it doesn't bother me much.
That's about it for now until I can do a more detailed review of it. Nice stuff in the meantime, however

Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 23 Feb 2011, 00:09
by T.M.
Would it be possible to colour-code bracket groups? That would be a nice addition if it's possible, the amount of times I miss a bracket somewhere!
Im not sure what you mean, could you show an image of how you like it to be?
I noticed that you can now show cars etc inside IF loops, but I'm not sure why they look like ghost cars? It makes them stand out yes, but maybe, instead of being semi-transparent, make them opaque BUT have a different colour for the text on mouse highlight or something else in the tool-tip saying it is inside such a function? Of course, you could just right-click it and it'll take you to that line anyway, but could be handy when quickly mousing over an item?
Hmm, i guess that could be done (maybe gray background for that tooltip text?), but i like the ghosted thing more, its somehow telling me "it may be there, but most probably not"

Although, you can set them fully opaque from the menu: options -> script objects -> while-loop... -> normal render
Viewing trains and train stations now is so much better now that I can see where the train will ACTUALLY stop and its true length!
By the way, is the train length hardcoded in gta2? because my editor will always use 2 blocks for train cabs...

even if you change train cars sizes.
The icon for a DESTRUCTOR is rather strange, it shows a flashing red and green "chequered" rectangle? Is this intentional? And yes, I removed all the old files prior to installing 0.6.0.
lol, many people have said that... XD yes.. it is intentional, if you know better texture for it, you can change the graphic at "data/gfx/destructor.tga" and show to me, but it will always fade from green to red colors. I dont know better texture for it, i like it how its now: it tells you that its doing something bad for you because it animates and has alerting colors (i wanted it to be red->yellow first, but didnt find a good way doing it animated via color channel filtering). If it was not animated, it would feel like its just some sprite that does nothing...
Going back to what I said a while back, is it possible to show the remaps of characters (like you did for cars) and their graphic type (dummy, gang or emergency graphic)?
not yet!
That's about it for now until I can do a more detailed review of it. Nice stuff in the meantime, however

Thanks!
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 23 Feb 2011, 21:58
by T.M.
Added stars on sky

- stars
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 23 Feb 2011, 22:32
by B-$hep
TradeMark wrote:BenMillard wrote:I only use it to take promo screenshots, since it isn't a map editor yet.
Something wrong with the script editor?
I think what Ben meant is that users can't create any new maps with your editor atm.
User can just edit the map script, lights, zones.
That's all.
User can't edit map "physically". I mean block by block, create new map from scratch (i mean empty map) and it doesn't allow editing blocks in other maps.
If you could make this to work and actually implement this, then im sure you will get alot more feedback from users.
If you are tired coding script stuff, go start doing block (actual) editor.
But that's just my two cents.
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 23 Feb 2011, 22:34
by T.M.
Well, he said "only", so i guess he hates the script editor then. XD what-ever.
more stars...!

- more stars
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 24 Feb 2011, 09:21
by BenMillard
The starry sky and lighting is very cool. I might re-take some night shots and tweak lighting to some of my levels.
It serves a greater use than eye candy, too. Lets map makers preview their lighting looks across a whole district - or even a whole level - in a single view. The daytime view is also awesome for checking consistency of texturing on buildings, roads, road makings, signs, street lights and so on. Seeing the proximity of weapons across the whole level is also great.
One request I have: could character respawn points be displayed a bit like character start points? Have them shown by default with the same toggling them all on/off. I guess respawns would use same icon but be in a grey colour. Could add a circle arrow, like Refresh icon of web browsers, to set the respawnpoints aside even more clearly?
Please focus on the things which are actually useful - and don't complain about a lack of feedback when you make things hardly anyone is going to use.
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 24 Feb 2011, 13:07
by T.M.
BenMillard wrote:One request I have: could character respawn points be displayed a bit like character start points? Have them shown by default with the same toggling them all on/off. I guess respawns would use same icon but be in a grey colour. Could add a circle arrow, like Refresh icon of web browsers, to set the respawnpoints aside even more clearly?
i dont feel like coding... few comments might make it though, but never mind:
BenMillard wrote:Please focus on the things which are actually useful
you said it again... script editor isnt useful. ok. ok! i get it.
BenMillard wrote:and don't complain about a lack of feedback when you make things hardly anyone is going to use.
yeah script editor sux. i got it already. will be removed in the next release.
thanks for your feedback! it has been very supportive and useful.
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 24 Feb 2011, 14:14
by elypter
despites what ben says i think the script editor is very useful.
maybe it helps to give an example how i use it:
most of the time i have both open notepad++ with mis syntax highlighting and TM's MapEditor. both programs can detect if the file has been changed by another application, so you can save and switch quite easily.
That way i can place cars for example by copypasting and renaming in npp, then switching to TM edit and move them to their position. And if you don't know where the car is you just copied click on it in the script preview.
This way of modding is quite comfortable i think, especially when you compare it to how it was before.
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 24 Feb 2011, 14:37
by Sektor
How can I change the controls from WASD to arrows and can I save this change? I remember it was a menu option but I can't find it now.
Are there any objects that can be added? Most object placing features say not implemented but maybe I have missed something.
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 24 Feb 2011, 15:47
by T.M.
Sektor wrote:How can I change the controls from WASD to arrows and can I save this change? I remember it was a menu option but I can't find it now.
I removed support on this for some good reason i forgot

maybe i add it back, but with possibility to define all the keys with system like "press button to move camera to left" etc, like in most games have the feature.
Sektor wrote:Are there any objects that can be added? Most object placing features say not implemented but maybe I have missed something.
Nope, you have to do it the way elypter explained above.
Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 24 Feb 2011, 20:11
by Cuban-Pete
don't remove the script editor, it's a nice way to learn the scripting. there is an example and you see directly the code. perhaps you could pack a test map with the editor that contains all weapons and shit that is script-able, that would be nice.

Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 25 Feb 2011, 02:56
by Pyro
TradeMark wrote:Im not sure what you mean, could you show an image of how you like it to be?
Not sure how well this will show in forums, but here I go for an example of colour-coded nested brackets:
( functionX ( functionY ) )
As you probably know, and like any programming, GTA2 script needs an even amount of brackets each "side" of an argument for it to work. Check out some of my scripts for nested brackets inside IF loops!
TradeMark wrote:By the way, is the train length hardcoded in gta2? because my editor will always use 2 blocks for train cabs...

even if you change train cars sizes.
Each train can have up to nine (9) carriages, no more! From what I remember, putting more in causes the entire train not to appear. You can change the physical size (and thus collision box size) of the train using Delfi's STY tool, though the delta (image) will be the same. Delfi and I did this in the old "Tanks In Miami" map by reducing the width of the train (collision box size) so it could go around corners properly without hacking apart the map! Overall, the train and carriages appear to be about 1 block in width and 2 blocks long, so your editor shows them just fine!
TradeMark wrote:yeah script editor sux. i got it already. will be removed in the next release.
Please
don't remove the script editor, it is extremely useful for exactly knowing where things are in regards to showing it on the map and being able to see the code! Sure, it's not a full blown editor but it saves me a lot of Alt+Tabbing!
TradeMark wrote:Sektor wrote:How can I change the controls from WASD to arrows and can I save this change? I remember it was a menu option but I can't find it now.
I removed support on this for some good reason i forgot

maybe i add it back, but with possibility to define all the keys with system like "press button to move camera to left" etc, like in most games have the feature.
The first ever time I used your editor I tried to use arrow keys (since that's the way original GTA2 Map Editor had it) but got used to the WASD keys very quickly (probably after about 3 seconds!), helps being a gamer!
TradeMark wrote:Added stars on sky
That looks really cool

Would be awesome having a view of all the city from a high angle and seeing the buildings, roads, lights and starry sky! Awesome!
Nice little improvements overall. Do you think it's possible to try showing characters remap and graphic type? If so, any idea how long it could take? Would love to see it

Also, any idea when you'll start making the map/block editor? That's the biggest challenge

Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 25 Feb 2011, 11:51
by T.M.
Pyro wrote:TradeMark wrote:Im not sure what you mean, could you show an image of how you like it to be?
Not sure how well this will show in forums, but here I go for an example of colour-coded nested brackets:
( functionX ( functionY ) )
As you probably know, and like any programming, GTA2 script needs an even amount of brackets each "side" of an argument for it to work. Check out some of my scripts for nested brackets inside IF loops!
I think thats more like a feature for the mispad, it looks really weird on the editor if you see all those brackets like that at once, it would be better if it colored those only when you have selected the line you want to rewrite, and rewriting isnt gonna be supported in long long time, so theres no point adding brackets coloring there, since you do coding in mispad anyways. (or better: some other program that has all those neat features).
Pyro wrote:Overall, the train and carriages appear to be about 1 block in width and 2 blocks long, so your editor shows them just fine!
So if you change the physical height, gta2 will still use 2 blocks height for them?
Pyro wrote:Do you think it's possible to try showing characters remap and graphic type? If so, any idea how long it could take? Would love to see it

Also, any idea when you'll start making the map/block editor? That's the biggest challenge

Its possible yeah. I dont know when... maybe today... maybe next year. Never know when i start coding. Its really up to how i feel at the moment. And lately i havent felt much like coding...

Re: TradeMark's GTA2 Map Editor (0.6.0) NEW EPIC VERSION
Posted: 25 Feb 2011, 13:40
by elypter
Pyro wrote:
Not sure how well this will show in forums, but here I go for an example of colour-coded nested brackets:
( functionX ( functionY ) )
You can use notepad++ (for which i made mis syntax highlighting) there a bracket gets highlighted when you have the cursor on the opening or closing part. Or when mispad which is being reworked by Bshep and maybe gets this feature too.