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 »RELEASE - Halo CE Script Extractor

Author Topic: RELEASE - Halo CE Script Extractor (12 messages, Page 1 of 1)
Moderators: Dennis

HaloExtreme117
Joined: May 5, 2012

~Gone~


Posted: Sep 1, 2012 10:22 PM    Msg. 1 of 12       
-Release-
This little tool will extract scripts from a map or yelo and spit them out on the screen, with the option to save to .hsc so you can compile with your scenario.
There is also a little Easter egg, find it and post a screenshot for cookies :P.

Download:
Google Code: http://halosenox.googlecode.com/files/HS%20Script%20Extractor.zip
Halomaps: [Pending]

Virus Scan:
https://www.virustotal.com/file/372fa74392519d9c97976ce1ef1988fd437099128bf594b90c9f7471226fd080/analysis/1346552453/

Enjoy!
Edited by haloextreme117 on Sep 1, 2012 at 10:23 PM


Dumb AI
Joined: Sep 18, 2011

Dead.


Posted: Sep 1, 2012 10:31 PM    Msg. 2 of 12       
I hope it isn't the one I already have(the scripts that it spits out are freakin' messed up).
E:Very similar.Not sure if they're the same.
Edited by Dumb AI on Sep 1, 2012 at 10:39 PM


HaloExtreme117
Joined: May 5, 2012

~Gone~


Posted: Sep 1, 2012 10:37 PM    Msg. 3 of 12       
Quote: --- Original message by: Dumb AI
I hope it isn't the one I already have(the scripts that it spits out are freakin' messed up).

Nope, this is my own. Every map I've tested it with has worked fine, and the scripts are identical to those compiled with the map.


Dumb AI
Joined: Sep 18, 2011

Dead.


Posted: Sep 1, 2012 10:42 PM    Msg. 4 of 12       
Well,they look the same.Not sure who made it.


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Sep 1, 2012 10:47 PM    Msg. 5 of 12       
I wouldn't imagine it does formatting, does it?


HaloExtreme117
Joined: May 5, 2012

~Gone~


Posted: Sep 1, 2012 10:53 PM    Msg. 6 of 12       
Quote: --- Original message by: MoooseGuy
I wouldn't imagine it does formatting, does it?

It shows the script exactly as sapien compressed it; the app just processes the compressed script, adds parentheses and so on.
Generally, the script extracted will be exactly the same, just formatted differently.


Dumb AI
Joined: Sep 18, 2011

Dead.


Posted: Sep 1, 2012 10:55 PM    Msg. 7 of 12       
Not identical.Lots of differences here and there.
Extractor:
(script continuous void halo
(begin
(sleep_until
(<=
(ai_living_count red) 0))
(sv_say incoming reinforcements)
(ai_place red)))

(script continuous void cod
(begin
(sleep_until
(<=
(ai_living_count blue) 0))
(sv_say incoming rangers)
(ai_place blue)
(ai_command_list blue cod)))

(script startup void greeting
(begin
(sv_say welcome!)))

Mostly likely just differences made by Tool.
Source:
(script continuous halo
(sleep_until (<= (ai_living_count red) 0))
(sv_say "Incoming reinforcements")
(ai_place red)
)

(script continuous cod
(sleep_until (<= (ai_living_count blue) 0))
(sv_say "Incoming rangers")
(ai_place blue)
(ai_command_list blue cod)
)

(script startup greeting
(sv_say "Welcome!")
)

Bunch of useless junk like extra parentheses.
Edited by Dumb AI on Sep 1, 2012 at 10:56 PM


HaloExtreme117
Joined: May 5, 2012

~Gone~


Posted: Sep 1, 2012 10:58 PM    Msg. 8 of 12       
Extra parentheses? I can't see any. They match up as far as I can see.


Dumb AI
Joined: Sep 18, 2011

Dead.


Posted: Sep 1, 2012 11:15 PM    Msg. 9 of 12       
Quote: --- Original message by: Dumb AI

Not identical.Lots of differences here and there.
Extractor:
(script continuous void halo
(begin
(sleep_until
(<=
(ai_living_count red) 0))
(sv_say incoming reinforcements)
(ai_place red)))

(script continuous void cod
(begin
(sleep_until
(<=
(ai_living_count blue) 0))

(sv_say incoming rangers)
(ai_place blue)
(ai_command_list blue cod)))

(script startup void greeting
(begin
sv_say welcome!)))

Mostly likely just differences made by Tool.
Source:
(script continuous halo
(sleep_until (<= (ai_living_count red) 0))
(sv_say "Incoming reinforcements")
(ai_place red)
)

(script continuous cod
(sleep_until (<= (ai_living_count blue) 0))
(sv_say "Incoming rangers")
(ai_place blue)
(ai_command_list blue cod)
)

(script startup greeting
(sv_say "Welcome!")
)

Bunch of useless junk like extra parentheses.

None of this would actually be a problem but editing scripts might be a bit harder due to the formatting.
Edited by Dumb AI on Sep 1, 2012 at 11:24 PM


sargejohnson
Joined: Apr 20, 2009

Shall we play a game?


Posted: Sep 2, 2012 01:05 AM    Msg. 10 of 12       
Might want to use the {code} and {/code} (replace { with [ )tags, they allow formatting.


TM_updates
Joined: Aug 31, 2011

Superior to you, Superior Musclez near Brussels


Posted: Sep 2, 2012 04:53 AM    Msg. 11 of 12       
Thanks for releasing, what a great evolution for halomaps coders!!


nihao123456ftw
Joined: Mar 24, 2012


Posted: Sep 6, 2012 07:22 PM    Msg. 12 of 12       
Quote: --- Original message by: Dumb AI

Quote: --- Original message by: Dumb AI

Not identical.Lots of differences here and there.
Extractor:
(script continuous void halo
(begin
(sleep_until
(<=
(ai_living_count red) 0))
(sv_say incoming reinforcements)
(ai_place red)))

(script continuous void cod
(begin
(sleep_until
(<=
(ai_living_count blue) 0))

(sv_say incoming rangers)
(ai_place blue)
(ai_command_list blue cod)))

(script startup void greeting
(begin
sv_say welcome!)))

Mostly likely just differences made by Tool.
Source:
(script continuous halo
(sleep_until (<= (ai_living_count red) 0))
(sv_say "Incoming reinforcements")
(ai_place red)
)

(script continuous cod
(sleep_until (<= (ai_living_count blue) 0))
(sv_say "Incoming rangers")
(ai_place blue)
(ai_command_list blue cod)
)

(script startup greeting
(sv_say "Welcome!")
)

Bunch of useless junk like extra parentheses.

None of this would actually be a problem but editing scripts might be a bit harder due to the formatting.
Edited by Dumb AI on Sep 1, 2012 at 11:24 PM



The formatting makes it easier to edit scripts the way it is now and I don't see any useless junk or extra parentheses. However, I do see a major problem with something...

(script continuous void halo
(begin
(sleep_until
(<=
(ai_living_count red) 0))
(sv_say incoming reinforcements)
(ai_place red)))

(script continuous void cod
(begin
(sleep_until
(<=
(ai_living_count blue) 0))
(sv_say incoming rangers)
(ai_place blue)
(ai_command_list blue cod)))

Source:
(script continuous halo
(sleep_until (<= (ai_living_count red) 0))
(sv_say "Incoming reinforcements")
(ai_place red)
)

(script continuous cod
(sleep_until (<= (ai_living_count blue) 0))
(sv_say "Incoming rangers")
(ai_place blue)
(ai_command_list blue cod)
)


I'm pretty sure the lack of ""s will cause problems, because I think that (sv_say incoming rangers) will be treated as if "incoming" and "rangers" were two different arguements due to the space whereas the normal sv_say demands only 1 arguement

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 3:42 AM 156 ms.
A Halo Maps Website