|
Post by GH Games on Jan 21, 2017 17:55:44 GMT
3D Rad Script Assistant v1.2Hey everyone, over the past couple weeks I have been developing a small yet powerful program aimed at helping those new to Scripting in 3D Rad and just Scripting in general. You learn as you make these Scripts because you will get used to the look of the Syntax and how everything goes together. So what is it and what does it do?It allows you to create a Script for use within 3D Rad without having to know the proper syntax (E.g. iObjectStart, iFloatRand and so on). You can change the font size so you can see the code a little better ( Fixed as of v1.2). It comes with built in help files and tutorials so you aren't left in the dark. These tutorials include: - AngelScript Basics - Writing your first Script - Creating a "Flamethrower Effect" Script - Many more What's it's potential?
It can make some very cool Scripts that can do some pretty awesome thing's. If you follow the flamethrower effect tutorial (Script 1 in the program) you will learn how to use a if else statement as well as what an int does. Plus you will see how to use a Scripts outputs. The commands are limited in this version (advanced and more complicated commands will be added in future version or you can add them yourself in custom commands) but you can still make some very good scripts. Requirements
The program has been tested and works on: Windows XP, 7 & 10 (There is no guarantee it will work on other versions of WIndows)
Download I will keep this link updated and update this thread as newer versions come out (if they do).
3D Rad Script Assistant Update v1.2.zip (Currently down)
If you enjoy the program please leave some feedback so I can improve it for future releases and get an Idea of what you guys think
P.S. This is my first program so it isn't perfectly made and it doesn't look the best. I'm working on a good looking version for 2.0 as well as the possibility of syntax highlighting, pre-defined commands and a 3D Visualizer (View your code in action). The last one is a push but I will give it my best. Hope you enjoy!
|
|
|
Post by Power Supersport on Jan 21, 2017 18:32:52 GMT
Ohmyfreakingworld! I haven't seen that good project in months!
GH Games, you have my personal congratulations on this demo program (tool)... Not just the program... I am so amazed that you even included an HTML manual! I am totally supporting you on this one if you want to continue... I don't know what else positive I can say...
Here are some suggestions for improvement that you might wanna consider...
- Change the font in the editor to "consolas" - a font, used for programming... - The commands always insert at the bottom... You might wanna make them able to insert where the cursor is... - The add command doesn't always work (I guess that one will be fixed with time)...
All other are just minor bugs that I am sure they'll be fixed...
I would just like to know, which program do you use for making a windows program?
|
|
|
Post by GH Games on Jan 21, 2017 18:44:59 GMT
Wow thank you Power I wasn't expecting such good feedback haha. Ah yes, the very annoying, very silly Add button not working. My arch nemesis... It hates me Thank you for the the suggestions I will do my best to add them into 2.0 which I have just started. The colours, size and look of the program are going to be similar to Blender (Grey theme, custom buttons, just an overall good look). I used Visual C# (same as what NicusorN5 is using for 3D Rad Space). If you look at the about tab you will see his and Famer's name because I am so greatful to him for introducing me to the program (VC#) and Famer has been an amazing help with beta builds and testing. Thank you again, I will upload screenshots of 2.0 development here
|
|
|
Post by TinSoldier on Jan 21, 2017 19:17:00 GMT
looks good, should be helpful.
I'm not a big fan of extra spaces such as
} else { if ( ***) { doit{}; }
i prefer
}else{ if(something = this){ doit(); } }
also in the above if only one action is defined you can even shorten it like this
}else{ if(something = this) do_this(); do_this_too(); } Yeah love that we will be able to adjust the font ( always an thorn in my side with 3drads list editor) allowing a color scheme adjustments would be nice too but not high on the list.
|
|
|
Post by TinSoldier on Jan 21, 2017 19:33:38 GMT
also @gh Games
Would be nice to have resizable windows between left commands window and the script window. Maybe the height window adjustment too.
|
|
|
Post by GH Games on Jan 21, 2017 20:15:08 GMT
My heart just dropped I thought you were refering to the source code in the above code but then I realized what you meant hahah Yea in 2.0 (so far) there are 5 new window sizes: - 1024 x 768 (Smallest) - 1152 x 648 - 1280 x 720 - Maximize (Full width & height) - Sleep to System Tray I may add more but these are probably final. About the CommandBox being small I'm thinking of having the option to seperate it completely in a new window. This will take a little more coding but will be worth it. No promises on this though. There are different themes added if you go to Options > Themes. Please read the warning! Thanks for the feedback bro
|
|
|
Post by GH Games on Jan 21, 2017 22:32:24 GMT
Well, Syntax Highlighting is almost done... I just need to highlight strings I think. Thoughts? P.S. This is just part of the Editor. I have cropped it because I want the final one to be a suprise
|
|
|
Post by Famer on Jan 22, 2017 2:33:40 GMT
Actually, all the scripts that I made with it worked for me....
|
|
|
Post by NicusorN5 on Jan 22, 2017 8:28:44 GMT
Yeah , but you should always edit the given command...
|
|
|
Post by GH Games on Jan 22, 2017 10:30:43 GMT
What do you mean? Like iObjectShow(OBJ_X); ?
|
|
|
Post by NicusorN5 on Jan 22, 2017 10:56:47 GMT
Yup , you should use something like this :
if (listBox(x).SelectedItem == "Show Object") { TextBox(y).Text += Envoirement.NewLine(); TextBox(y).Text += "iObjectShow(OBJ_Z);"; }
Don't use this snippet , it's untested.
|
|
|
Post by GH Games on Jan 22, 2017 12:30:47 GMT
Ah yes I see.
I'm using something different in 2.0, you can add the command wherever your caret is in the Editor.
I find it much much easier to use and it's quicker too so hopefully other people will find it better as well.
|
|
|
Post by Power Supersport on Jan 22, 2017 17:13:15 GMT
Yes, make insertion of a command to be executed, no matter where's the cursor...
|
|
|
Post by GH Games on Jan 22, 2017 19:14:46 GMT
I have also added a feature where you just type a command, example "show an object" and press enter then the code is generated. It is so much quicker than having to go to the Command Box select a command, right click, add to script, click the button...
2.0 might be the last release because of the stuff I'm cramping into it lol. There are a lot more commands too, so far there's support for Quaternions and Vector3's. I plan on adding all if not most of the Network Commands. So you can make a multiplayer script/game without having to know what you need to get it working.
If you have anything you want to see leave a message and I'll see what I can do.
|
|
|
Post by GH Games on Jan 23, 2017 20:22:15 GMT
Just a little update on 2.0 so far because I did say I'd post screenshots and updates here:
Over the past two days, a lot has happened. I have reworked the whole adding syntax system it is much smoother, cleaner and support Quaternions and Vector3's (easier than I initially thought). The UI is much much better looking (if you like blender you should like it, but there are different themes if you don't). The syntax highlighting works, but it is a bit buggy. Sometimes it highlights one word, sometimes it highlights the whole script blue or red so I will improve it before release. Also there is a check script button so you can check your script for syntax errors (very very very basic so far).
I'm not going to upload screenshots because I A. want it to be a suprise and B. I already said it looks like Blender... lol.
No release date yet, lot's of work to do!
|
|
|
Post by GH Games on Jan 27, 2017 13:29:19 GMT
Hey everyone, sorry for not posting any news on 2.0 lately, on Tuesday mother nature decided to choose me out of her, "bag of people to give an annoying and very painful infection". I randomly (and I say randomly because as of 15:59 I was my normal self but then as of 16:00 it started, weird right?) got Sinusitis which is a very disgusting and bad bacterial infection I don't want to gross you out, anyway because of this I haven't been able to focus my mind on anything but sleep but today I'm feeling ok-ish (yesterday I went to docs and got some meds to help and they're working like a boss). When I get back on track though I thought I'd give the FPS Addon an update with some of the newer features we've all managed to figure out since the last one. I will release it seperately so there's owner issues from the person who made the original and I will add a couple free models in too just because... well... why not? We're all game developers here, sharing is caring. 2.0 is still underway (although I haven't done any coding at all for the past few days) I feel like I'm pushing it to be somethign a little more than what it's meant for. I have gave it, it's own file extension and the ability to have community scripts but I just think it's a push so I will probably remove that. I might release a beta and you can see what I mean. Anyway, that's all folks I'm off to rest haha, see you soon guys keep coding! Wish I could
|
|
|
Post by GH Games on Feb 1, 2017 21:47:12 GMT
Another 2.0 update for you... we're close to release people, give or take 4 - 7 days for testing, evaluation and documentation creation (the most tedious thing ever and there are over 20 pages lol). I have took away the ability to change the whole program colours. Why? Because when I tested, it made the program look terrible even with nice colours. My design seems to be biting me in the a... nyway... Lot's and lot's and lot's of pre-defined/built scripts going to be added. (15+) You can change the whole font of the program and the editors. (seperate or both, up to you) Added an easter egg. Yes. An easter egg. (It's very small but also very hard to find and probably only 1 in 50 people will find it. That's right ) Export and Import for .txt added (You will see why. I really am trying to figure out how to get the .obs extension to work but I'm not having any luck sadly) The big one: I have added the editor! It's just the 3D Rad editor... but once you launch it, your script automatically gets copied to clipboard so all you have to do is open the already built script, press CTRL+V and boom! Your script is added. This is super super super helpful trust me. That's all for now. The rest you will have to see for yourself Until next time
|
|
|
Post by GH Games on Feb 10, 2017 7:25:59 GMT
Hey everyone, sorry about 2.0 taking so long. I've been busy with a couple other projects (you will see later today ) and some work stuff but it shouldn't be too long now. I just need to create the documentation and then a few small changes and it will be ready.
|
|
|
Post by Famer on Feb 23, 2017 13:49:59 GMT
Well... take as long as you need... It is your project...
|
|
|
Post by GH Games on Feb 23, 2017 14:44:07 GMT
Close to finishing to be honest. A few things like saving and the editors syntax highlighting need some tweaks but it's practically done I just haven't got around to releasing it yet as I've been busy with a couple other projects xD
|
|