Page 1 of 15

GTA2 ScriptPad

Posted: 13 Aug 2010, 11:16
by B-$hep
Is anyone here interested in improved / updated MISPad ?
I Personally miss many things in there.

What are your ideas?

I would update and improve it.

GTA2 ScriptPad v2.5.1.33 (04.09.2013)
Sixth public download:
Get it from attachment!

mispad

Posted: 13 Aug 2010, 11:22
by Sektor
I'd love word completion/Intellisense. If Vike or someone made miss2.exe truly command line then you could use any IDE with it and no need for mispad.

I didn't even know it already had replace/replace all since it's just an icon, ctrl + h doesn't work and it's not mentioned in the menus.

edit: It already has word completion by pushing ctrl + space.

mispad

Posted: 13 Aug 2010, 11:26
by B-$hep
I want to add also the "good help system". You type for example: PLAYER_PED and if cursor is on that word and you press F1, the help for this command will be displayed. So i dont have to search for it in DMA doc.

Vike also improved the MISPad, i have version updated by Vike with pretty good functions.
I dunno if he will give the code.

If not i will code these functions by myself.

mispad

Posted: 13 Aug 2010, 11:27
by Razor
syntax colors :) like in php

mispad

Posted: 13 Aug 2010, 11:58
by Sektor
Vike didn't improve mispad, Jernej just named it mispad-vike.exe because it used HKCU registry key that Vike's GTA2 exe uses. You should already have the 1.8 code but I linked it in the first post.

Re: mispad

Posted: 27 Aug 2010, 20:20
by Sektor
Add mini_car to the list of known words.
Make ctrl + h open search and replace so that I don't have to click the icon.
Add support for compiling multiscripts (scripts that use multiple .mis files, the official compiler can compile them).

Re: mispad

Posted: 27 Aug 2010, 21:10
by elypter
At the moment i am working with notepad++ . mainly because of the code folding function that i can use with my recently created syntax highlighting extension. But unfortunately that system has some annoying limitations. If you could implement syntax folding in mispad this would be great.

Re: mispad

Posted: 28 Aug 2010, 15:44
by BenMillard
Ctrl+Space gives you a completion menu in Mis Pad.

Re: mispad

Posted: 28 Aug 2010, 19:02
by Sektor
I tried Ctrl + space but nothing happened. It did make me check all the icons and I found the "insert command" icon that I've never used before.

Re: mispad

Posted: 28 Aug 2010, 19:56
by BenMillard
If I click anywhere in a .mis file opened using Mis Pad 1.5 (BUILD 310904) I get an auto-complete list. It's the same list as using Insert Command but is context-sensitive and positioned relative to the current word.

If the current word is incomplete, it produces a filtered list of commands which start using those letters. If you aren't within a word it produces the full list. Also gives the full list when immediately before a word, oddly.

Re: mispad

Posted: 28 Aug 2010, 20:11
by Sektor
I fixed the ctrl + space problem by adding a Chinese keyboard in regional and language settings, removing it and then restarting mispad. There was no Chinese keyboard listed in my language settings but ctrl + space was still changing my keyboard to Chinese.

Re: mispad

Posted: 31 Aug 2010, 10:34
by B-$hep
I dunno. If elypter made the highlighter for N++ then it seems pointless to update mispad.

Tell me if im wrong.

Re: mispad

Posted: 31 Aug 2010, 10:46
by Sektor
I haven't tried his highlighter and pretty sure it can't compile and run with one click like mispad can.

Re: mispad

Posted: 31 Aug 2010, 11:09
by B-$hep
Also true.
Ok, i will take a look.

I have many ideas but if its just me who is going to use new features then its not very motivating.

Re: mispad

Posted: 31 Aug 2010, 16:26
by elypter
the key feature of notepad++ in terms of mis editing is the code folding function. before you use it it might look a bit unnecessary but when you use it for i while you would not want to miss it anymore. it makes it so much easier to keep the overview over large scripts especially when you add some organisation tags like i did in my example tiny tiny town army. But notepad++ has a stupid limitation of only 4 types of keywords which is really anoyoing. if you add it mispad will become the better choice. There will be still some other usefull features that np++ will have in advantage but if msipad also adds a "file has changed" notification you could easily switch between both editors.

however, i would also suggest taking in consideration to make a plugin for an ide instead of updating mispad. Wether this is a good idea or not depends on which features are realizable in this ide and which ones would be better imlpemented in the standalone mispad.

general suggestion: i really apriciate that you update these tools and i think the tools will be used by many developers (i have seen many maps that are in development right now). But i think mis editing is working quite effectively now and with upcoming TMs editor. Imoh atm an update for stytool and the scr decompiler are more important, but maybe you should ask more paople about that.

Re: mispad

Posted: 31 Aug 2010, 16:43
by Sektor
mispad 1.8 already does the majority of things that any scripter should need (apart from easy object placement). Making the official compiler work with any IDE would be best.

There are simple changes that should be made to mispad like making ctrl+h work.

Re: mispad

Posted: 31 Aug 2010, 18:00
by Cuban-Pete
Couldn't resist... :twisted:

16x16
icon_small.png
icon_small.png (162 Bytes) Viewed 68421 times
32x32
icon_normal.png
icon_normal.png (328 Bytes) Viewed 68421 times
Zipped .ico
gta2mispad_new.zip
(926 Bytes) Downloaded 1888 times

Re: mispad

Posted: 01 Sep 2010, 00:02
by Pyro
Not sure how relevant this is, but, is there any way of fixing MIS files that don't compile? Not on about simple code error stuff but the compiler will hang just before it starts to compile if MIS files are certain names (even sensible file names and length can randomly hang until you rename it).

I made a post about it some time ago, you can find it here. Hope it helps!

Re: mispad

Posted: 01 Sep 2010, 03:47
by Sektor
Most of the time that can be solved by deleting the .tmp files with the same name.

Re: mispad

Posted: 02 Sep 2010, 15:16
by Pyro
Sektor wrote:Most of the time that can be solved by deleting the .tmp files with the same name.
Unfortunately it still hangs occasionally even with removing .tmp (and even the random .### files). I just hope it's not a 64-bit issue (yes - tried running it in 32-bit mode) :|