A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »For those that know how to script

Author Topic: For those that know how to script (26 messages, Page 1 of 1)
Moderators: Dennis

Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Nov 18, 2010 06:26 PM    Msg. 1 of 26       
I am in my spare time, slowly working on a compiler for Haloscript right now so that you don't have to use Tool every time you make a change to the script.

Are there any features you would like me to include with this compiler? (I can also interface with parts of a scenario file)

Would you like to be able to type out your halo script from a form such as C#, C++ or perhaps the Starcraft editor way?

Or perhaps if I give you a QBASIC version of HScript?


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 06:33 PM    Msg. 2 of 26       
Quote: --- Original message by: Dwood
I am in my spare time, slowly working on a compiler for Haloscript right now so that you don't have to use Tool every time you make a change to the script.

Are there any features you would like me to include with this compiler? (I can also interface with parts of a scenario file)

Would you like to be able to type out your halo script from a form such as C#, C++ or perhaps the Starcraft editor way?

Or perhaps if I give you a QBASIC version of HScript?


Uhh... can't you just edit the HSC file? Then compile in sapien? That is what I do...


AGLion
Joined: Jun 29, 2010

- Animator... suck it -


Posted: Nov 18, 2010 07:18 PM    Msg. 3 of 26       
Typing out a script to a different language? I like that idea, but it seems tricky and there seems like there would be lots of room for error.

Either way, I call C++


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 07:18 PM    Msg. 4 of 26       
Quote: --- Original message by: l283023
I wasn't aware that you can change scripts with Tool.
I thought you could only go into Sapien and recompile the scripts.

I believe the HSC is built via tool. Normally anyway.


Higuy
Joined: Mar 6, 2007

@lucasgovatos


Posted: Nov 18, 2010 07:59 PM    Msg. 5 of 26       
uh... I just use notepad to edit my scripts, open sapien, compile, save map, and its good to go...


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 08:02 PM    Msg. 6 of 26       
Quote: --- Original message by: Higuy
uh... I just use notepad to edit my scripts, open sapien, compile, save map, and its good to go...


Same.


d4rfnader
Joined: Jul 16, 2010

Open mouth, insert sandwhich.


Posted: Nov 18, 2010 08:37 PM    Msg. 7 of 26       
Quote: --- Original message by: Higuy
uh... I just use notepad to edit my scripts, open sapien, compile, save map, and its good to go...



same, it's kind of hard to understand what you're getting at dwood.


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 08:43 PM    Msg. 8 of 26       
Quote: --- Original message by: d4rfnader
Quote: --- Original message by: Higuy
uh... I just use notepad to edit my scripts, open sapien, compile, save map, and its good to go...



same, it's kind of hard to understand what you're getting at dwood.


Exactly.


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Nov 18, 2010 08:44 PM    Msg. 9 of 26       
Dwood is talking about the fact, that let's say: Your trying to make a cutscene, and a the camera places itself at a point slightly too early. You would have to modify the script and then compile it through sapien. Then compile the map through tool again, and you make another mistake with your script and the camera point comes in too early, you'd have to do that process over and over again until you get it just right. Which can be very frustrating at times, which I've learnt from personal experience.
Dwood is making the program, so after you edit the script, you can go straight to compiling the scenario with tool. Cutting out the whole "compile in sapien" process, and the scenario will be updated relatively.

Am I right? :D?


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 08:47 PM    Msg. 10 of 26       
Quote: --- Original message by: sierra117
Dwood is talking about the fact, that let's say: Your trying to make a cutscene, and a the camera places itself at a point slightly too early. You would have to modify the script and then compile it through sapien. Then compile the map through tool again, and you make another mistake with your script and the camera point comes in too early, you'd have to do that process over and over again until you get it just right. Which can be very frustrating at times, which I've learnt from personal experience.
Dwood is making the program, so after you edit the script, you can go straight to compiling the scenario with tool. Cutting out the whole "compile in sapien" process, and the scenario will be updated relatively.

Am I right? :D?


So you save a whole .5 seconds of compiling? As well as not knowing if there are errors?
Edited by Skidrow925 on Nov 18, 2010 at 08:47 PM


d4rfnader
Joined: Jul 16, 2010

Open mouth, insert sandwhich.


Posted: Nov 18, 2010 08:48 PM    Msg. 11 of 26       
AH, i didn't really understand why he was saying we could type halo scripting code in a different programming language, i didn't see the point there.


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 09:08 PM    Msg. 12 of 26       
Quote: --- Original message by: l283023
Quote: --- Original message by: Dwood
perhaps the Starcraft editor way?

Hmm...
Go home and play your real-time strategy.
AOE2TCE FTW


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Nov 18, 2010 09:23 PM    Msg. 13 of 26       
Quote: --- Original message by: Skidrow925

Quote: --- Original message by: sierra117
Dwood is talking about the fact, that let's say: Your trying to make a cutscene, and a the camera places itself at a point slightly too early. You would have to modify the script and then compile it through sapien. Then compile the map through tool again, and you make another mistake with your script and the camera point comes in too early, you'd have to do that process over and over again until you get it just right. Which can be very frustrating at times, which I've learnt from personal experience.
Dwood is making the program, so after you edit the script, you can go straight to compiling the scenario with tool. Cutting out the whole "compile in sapien" process, and the scenario will be updated relatively.

Am I right? :D?


So you save a whole .5 seconds of compiling? As well as not knowing if there are errors?
Edited by Skidrow925 on Nov 18, 2010 at 08:47 PM

a 0.5 seconds time of compiling if your computer is the 2nd coming of Jesus.
Personally, it would help me a lot. Especially since my 'halo' computer is a piece of cr*p. D:
Im assuming that he would somehow implement a way in which it detects any errors in the script and if doesn't, tough luck. Learn to spot your errors before hand then.


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 09:26 PM    Msg. 14 of 26       
Quote: --- Original message by: sierra117
Quote: --- Original message by: Skidrow925

Quote: --- Original message by: sierra117
Dwood is talking about the fact, that let's say: Your trying to make a cutscene, and a the camera places itself at a point slightly too early. You would have to modify the script and then compile it through sapien. Then compile the map through tool again, and you make another mistake with your script and the camera point comes in too early, you'd have to do that process over and over again until you get it just right. Which can be very frustrating at times, which I've learnt from personal experience.
Dwood is making the program, so after you edit the script, you can go straight to compiling the scenario with tool. Cutting out the whole "compile in sapien" process, and the scenario will be updated relatively.

Am I right? :D?


So you save a whole .5 seconds of compiling? As well as not knowing if there are errors?
Edited by Skidrow925 on Nov 18, 2010 at 08:47 PM

a 0.5 seconds time of compiling if your computer is the 2nd coming of Jesus.
Personally, it would help me a lot. Especially since my 'halo' computer is a piece of cr*p. D:
Im assuming that he would somehow implement a way in which it detects any errors in the script and if doesn't, tough luck. Learn to spot your errors before hand then.
Sometimes people miss errors. ALso I don't take 0.5 seconds to compile. It clocked in around umm... 0.01471614693 (not exactly but close).


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Nov 18, 2010 09:27 PM    Msg. 15 of 26       
meh.

Quote: ALso I don't take 0.5 seconds to compile. It clocked in around umm... 0.01471614693 (not exactly but close).

:/


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 09:28 PM    Msg. 16 of 26       
Quote: --- Original message by: sierra117
meh.

Quote: Also I don't take 0.5 seconds to compile. It clocked in around umm... 0.01471614693 (not exactly but close).

:/
What?


UnevenElefant5
Joined: May 3, 2008

its been fun yall, i'll never forget this site :')


Posted: Nov 18, 2010 09:39 PM    Msg. 17 of 26       
Compiling time is relative to the amount of script you have. For instance, Innie has over 1000 lines, and takes at least 2 seconds, where as my test map has around 10 and compiles instantly.
Not a huge difference, but just pointing it out.
Edited by UnevenElefant5 on Nov 18, 2010 at 09:39 PM


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 09:40 PM    Msg. 18 of 26       
Quote: --- Original message by: UnevenElefant5

Compiling time is relative to the amount of script you have. For instance, Innie has over 1000 lines, and takes at least 2 seconds, where as my test map has around 10 and compiles instantly.
Not a huge difference, but just pointing it out.
Edited by UnevenElefant5 on Nov 18, 2010 at 09:39 PM
Yeah probably.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Nov 18, 2010 10:46 PM    Msg. 19 of 26       
Quote: --- Original message by: sierra117
Dwood is talking about the fact, that let's say: Your trying to make a cutscene, and a the camera places itself at a point slightly too early. You would have to modify the script and then compile it through sapien. Then compile the map through tool again, and you make another mistake with your script and the camera point comes in too early, you'd have to do that process over and over again until you get it just right. Which can be very frustrating at times, which I've learnt from personal experience.

Dwood is making the program, so after you edit the script, you can go straight to compiling the scenario with tool. Cutting out the whole "compile in sapien" process, and the scenario will be updated relatively.

Am I right? :D?



Yes you are right. And it's not the amount of compile time that i'm focusing on- it's annoying when all you want to do is edit the scenario and scripts, not changing anything in Sapien.

Also I'm talking about perhaps making a gui for making scripts that looks something like:



or the classic:



I'm looking for the specs as designed in the C++ script...


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 18, 2010 10:49 PM    Msg. 20 of 26       
Quote: --- Original message by: Dwood
Quote: --- Original message by: sierra117
Dwood is talking about the fact, that let's say: Your trying to make a cutscene, and a the camera places itself at a point slightly too early. You would have to modify the script and then compile it through sapien. Then compile the map through tool again, and you make another mistake with your script and the camera point comes in too early, you'd have to do that process over and over again until you get it just right. Which can be very frustrating at times, which I've learnt from personal experience.

Dwood is making the program, so after you edit the script, you can go straight to compiling the scenario with tool. Cutting out the whole "compile in sapien" process, and the scenario will be updated relatively.

Am I right? :D?



Yes you are right. And it's not the amount of compile time that i'm focusing on- it's annoying when all you want to do is edit the scenario and scripts, not changing anything in Sapien.

Also I'm talking about perhaps making a gui for making scripts that looks something like:



or the classic:



I'm looking for the specs as designed in the C++ script...
OK now THAT would be cool.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Nov 19, 2010 01:07 AM    Msg. 21 of 26       
When people deny things they usually do it because they don't understand the offer. I once tried to give away a coupon to people at the entrances to Disney World, but it took 6 tries before someone actually accepted it.


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Nov 19, 2010 08:35 AM    Msg. 22 of 26       
Quote: --- Original message by: Dwood
When people deny things they usually do it because they don't understand the offer. I once tried to give away a coupon to people at the entrances to Disney World, but it took 6 tries before someone actually accepted it.
OK yeah I thought it was just you make a TXT file and it makes it an HSC or something. Also could you make one for HUD messages?


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Nov 22, 2010 04:38 AM    Msg. 23 of 26       
Before any gui should ever be created, the functionality should be present. Thus:



It parses properly!!! but alas, I have to add every function by hand. THEN I have to shut down the compilation if I find an error (right now it hums along unless parentheses are unmatched because before I add all possible functions to be recognized I need to be able to handle some things properly... the ones in there are demonstration only)

Also, why on earth am I typing this out in perl. Who knows.


Higuy
Joined: Mar 6, 2007

@lucasgovatos


Posted: Nov 22, 2010 08:28 AM    Msg. 24 of 26       
I'd rather see an application where it edits the script ingame without having to recompile everytime, like that one guys application over at modacity (Shadow Spartan or something?)


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Nov 22, 2010 09:44 AM    Msg. 25 of 26       
Also, it would be cool to have a script exporter application that lays out the script in correct formatting. I HATE seeing a script that is broken up line by line without tabs and with if commands broken, etc.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Nov 22, 2010 02:25 PM    Msg. 26 of 26       
Quote: --- Original message by: Higuy
I'd rather see an application where it edits the script ingame without having to recompile everytime, like that one guys application over at modacity (Shadow Spartan or something?)


Editing the scripts ingame would cause it to crash, even though the concept is noted. Shadowspartan made a live tag editor but last I checked did not offer scripts :)
Edited by Dwood on Nov 22, 2010 at 02:45 PM

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 2:30 PM 172 ms.
A Halo Maps Website