3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2 3

Author Topic: Rad script editor hijacker (mEH) + mEH.Buddy  (Read 8187 times)

« on: May 30, 2010, 07:39:56 AM »
hi,

just a concept demo..

what:
- use any text editor instead of build-in scintilla (demo uses windows notepad)
- Object handles, input/output lists can be also read to the external editor (in this demo they are just listed on top)

how to test:
1 - run exe (icon appears to icon tray, near the clock..you can right click the icon to close program)
2 - start 3DRad, add script object
3 - add few other objects and link them to script (to get some input/output items)
4 - start editing script and hijacker should jump and start notepad
5 - edit your script in notepad and close it (dont save..just click close)
6 - hijacker puts your new code to rad script editor

notes about this version:
- it only loops once (so you have to start exe again if you want to try again)
- if you use it twice, object handles/items are listed twice..no filtering yet..
- you should have standard windows notepad installed..
- works with Script editor v1.35

I'm thinking if would use it with PSPad or Scite source code editors,
since they have nice text editing with syntax highlight, syntax help etc.

Or could make completely own source code editor with object lists
and use any embedded source code editor on the side..  :-\


* Some antivirus/firewall programs might give warnings about it..but its safe exe.

*Download:
- mEH12.zip = mEditorHijacker
- mEH.Buddyv10.zip = replace string function for 3dRad script editor
« Last Edit: June 15, 2010, 12:26:04 PM by mgear »
http://3dradder.blogspot.com/ <- Stuff 4 3DRad   | *Donate now: Post-prosessing shaders | External Script editor mEH*
« Reply #1 on: May 30, 2010, 09:41:18 AM »
Cool but I don't think this Script editor hijacker is necessary because it can't do anything the script editor can't already do. But other wise great job!
3Drad Version: 6.51, and 7.11

System Specs:
MS Windows 7 Home Premium 64-bit
AMD Athlon Neo X2 Dual Core Processor L335, 4.0GB RAM
ATI Radeon HD 3200 Graphics
250 MB Hardrive
HP Pavillion dm3 Laptop

Total Donation Amount:$24

Location: Edmonton, Alberta

Email: [email protected]

jestermon

« Reply #2 on: May 30, 2010, 09:51:11 AM »
Once this is stable, it may allow me to use my preferred editor, then I can "search-replace" in-context, my biggest hangup with the current editor...
Reusing older projects scripts is a professional habit, so it is a MUST for me.

*tagged for notify*
« Reply #3 on: May 30, 2010, 12:09:08 PM »
yup..i'm looking forward to use editor with intellisense.

Also noticed that could "embed" a build-in command help system on the corner (see image of test version)

It would have a list of RAD commands,
then pick one and you get the syntax help.
(without opening full script help html page)

Maybe even on selected command it would show help on corner..
http://3dradder.blogspot.com/ <- Stuff 4 3DRad   | *Donate now: Post-prosessing shaders | External Script editor mEH*
« Reply #4 on: May 30, 2010, 12:10:29 PM »
cool keep it up!
3Drad Version: 6.51, and 7.11

System Specs:
MS Windows 7 Home Premium 64-bit
AMD Athlon Neo X2 Dual Core Processor L335, 4.0GB RAM
ATI Radeon HD 3200 Graphics
250 MB Hardrive
HP Pavillion dm3 Laptop

Total Donation Amount:$24

Location: Edmonton, Alberta

Email: [email protected]

psikotropico

« Reply #5 on: May 30, 2010, 12:55:08 PM »
great!
« Reply #6 on: May 30, 2010, 07:58:48 PM »
Sounds great mgear! I hope there'll be one for v6.46 soon?
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)
« Reply #7 on: May 30, 2010, 07:59:53 PM »
Sounds great mgear! I hope there'll be one for v6.46 soon?
It works with 6.46
I have 6.46 and it works perfectly.
3Drad Version: 6.51, and 7.11

System Specs:
MS Windows 7 Home Premium 64-bit
AMD Athlon Neo X2 Dual Core Processor L335, 4.0GB RAM
ATI Radeon HD 3200 Graphics
250 MB Hardrive
HP Pavillion dm3 Laptop

Total Donation Amount:$24

Location: Edmonton, Alberta

Email: [email protected]
« Reply #8 on: May 30, 2010, 08:12:43 PM »
Sounds great mgear! I hope there'll be one for v6.46 soon?
It works with 6.46
I have 6.46 and it works perfectly.

Ah, my bad. I found the problem - had to right-click and hit "Run as administrator".  :D
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)
« Reply #9 on: June 03, 2010, 11:29:02 PM »
First version is pretty much ready.

But need some info:
- Which source code editor(s) you would like it to work with..?
http://3dradder.blogspot.com/ <- Stuff 4 3DRad   | *Donate now: Post-prosessing shaders | External Script editor mEH*

psikotropico

« Reply #10 on: June 04, 2010, 12:16:54 AM »
- Which source code editor(s) you would like it to work with..?

Notepad++
http://notepad-plus.sourceforge.net

StarKiller Advanced Script Editor
http://www.3drad.com/forum/index.php?topic=4435.0;topicseen

jestermon

« Reply #11 on: June 04, 2010, 07:16:34 AM »
« Reply #12 on: June 04, 2010, 09:09:04 AM »
Here is test a version for notepad++.

mEH* (mEditorHijacker for 3DRad Script Editor)

(Works on my system, but im sure theres plenty of bugs left..)

Install
- unzip
- edit ini file, set correct path to notepad++ exe (editor=C:\Program Files\Notepad++\notepad++.exe)
- run exe (small icon appears on windows iconbar)

Instructions:
- open 3DRad script editor, new button should appear, click it to open source with notepad++
- Edit source in notepad++
- Anything written above line "----mScriptEditorHijack */" is NOT saved (its just to display rad objects)
- Save source in notepad++ (eg. Ctrl+s)
- Close notepad++ OR close the source tab
- 3DRad script editor jumps in with new sourcecode

Notes:
- Right click on mEH icon on windows iconbar to close it

ToDo: (for someone who is interested..)
- Rad+angelscript language descriptions for notepad++ (so you would get autocomplete/syntax colors etc..)


*download on page 2
« Last Edit: June 04, 2010, 01:50:06 PM by mgear »
http://3dradder.blogspot.com/ <- Stuff 4 3DRad   | *Donate now: Post-prosessing shaders | External Script editor mEH*

psikotropico

« Reply #13 on: June 04, 2010, 01:01:59 PM »
sounds great!!! fantastic!!! awesome!!! wonderful!!!

have you got a version for 6.44, please? ::)
« Reply #14 on: June 04, 2010, 01:08:25 PM »
sounds great!!! fantastic!!! awesome!!! wonderful!!!

have you got a version for 6.44, please? ::)

Doesnt work with that version?
Whats the script editor window title in 6.44..? (for example, "Script v1.35")
http://3dradder.blogspot.com/ <- Stuff 4 3DRad   | *Donate now: Post-prosessing shaders | External Script editor mEH*
Pages: [1] 2 3