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 »To scripters

Page 1 of 2 Go to page: · [1] · 2 · Next
Author Topic: To scripters (37 messages, Page 1 of 2)
Moderators: Dennis

Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 19, 2010 07:10 PM    Msg. 1 of 37       
I have successfully added a new layer of input into halo via opensauce- you may now make use of the numpad. for simplicitys sake its currently only 0-9 on there. If you wish to make use of os in your map like this, let me know. And btw the short used to detect this is called OSSOne. also, you may check if os is running by checking if the engine global developer_mode is running. Sorry if this post comes out wrong, im typing on my phone b/c we have no internet.


Higuy
Joined: Mar 6, 2007

@lucasgovatos


Posted: Jan 20, 2010 02:05 PM    Msg. 2 of 37       
i thought that was already supported lol?


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 20, 2010 02:38 PM    Msg. 3 of 37       
Quote: --- Original message by: Higuy
i thought that was already supported lol?


I'm going to change the Super Global to menu_selection or something like that.

It's not. Say you're playing Firefight Portent and was getting bored of exiting gameplay and going for the menu through dozens of lists. Well now you don't have to worry about it, because, if Gamma added a script function that tested for the state of the key, he could set items on the menu to be certain keys on the numpad.

And if he wanted, he could make a request to make the menu display each option for each numpad key. and EVEN FURTHER one could request a key that tabs through options to have, say, trees of menus. Kind of like the widget mess that FF-Portent was.


Donut
Joined: Sep 30, 2006

I swear I'm not actually dead


Posted: Jan 20, 2010 04:30 PM    Msg. 4 of 37       
friendly AC130 standing by...


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 20, 2010 08:37 PM    Msg. 5 of 37       
Quote: --- Original message by: Donut
friendly AC130 standing by...


Someone who understands! :P

Video of it in action in a concept map coming up. Moved to an apartment and we're hijacking a neighbor's wireless... it's mad-slow so don't expect it for at least 2 hours lol. :P


Advancebo
Joined: Jan 14, 2008


Posted: Jan 20, 2010 08:47 PM    Msg. 6 of 37       
Quote: --- Original message by: Donut
friendly AC130 standing by...


if ai die 11 times
then numpad1 killstreak = true
set magically enter vehicle if set numpad1= true
then debug camera save
then player magically enter vehicle ac130 gunner
sleep 1200
player unload vehicle ac130
debug camera load
cheat teleport to camera
camera control 0
then destroy object ac130

Crap script, but u get the basic idea

nuke is ready for launch, I repeat, nuke is ready for launch.

Also dwood, that's cool :D
Edited by Advancebo on Jan 20, 2010 at 08:55 PM


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 20, 2010 10:16 PM    Msg. 7 of 37       
In the making of the following video, I couldn't help but get some ideas for a concept map in preparation for the release of my map.... This is the same concept as in the scripts for my squad-based gameplay as well.

fake e: for some reason the text isn't displaying properly but once i get it to you can expect a branched menu incoming. :P

Let's set the damage modifier of them to a thousand and you know, let ai spawn indefinitely.... in lines.... Next, I'll need a guitar hero guitar that plugs into my usb....

Fake e #2: I recorded the video but it didn't upload D: I need to convert it to another file type.. :/ brb
Edited by Dwood on Jan 20, 2010 at 10:17 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 21, 2010 12:39 AM    Msg. 8 of 37       
Quote: --- Original message by: Advancebo
Tactical Nuke ready. Turn the key.


FTFY. Aren't you a stickler for such small details? I'm disappointed in you, bo. Also, having AI die multiple times is much more complicated than you think. You're going for only player kills, which means that everyone whos' deaths are being counted are on the same team, against you. The only difference with these new buttons, is that you can use the numpad for selections, instead of binding everything to just the flashlight. I'm not saying that the new numpad isn't cool; quite the contrary. I'm looking forward to what people can do with it. It's just that having new numpad buttons doesn't mean you can do magic.


Cocaine
Joined: Mar 2, 2009

Can't stop napping.


Posted: Jan 21, 2010 03:53 AM    Msg. 9 of 37       
If it works , you're very cool.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 21, 2010 09:26 AM    Msg. 10 of 37       
Quote: --- Original message by: Gamma927
The only difference with these new buttons, is that you can use the numpad for selections, instead of binding everything to just the flashlight. I'm not saying that the new numpad isn't cool; quite the contrary. I'm looking forward to what people can do with it. It's just that having new numpad buttons doesn't mean you can do magic.
But i sprinkle pixie dust on it and everything!

Edit: Hopefully someone will notice this edit and post below me for me so I can give updates....
Edited by Dwood on Jan 21, 2010 at 02:24 PM


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 21, 2010 02:58 PM    Msg. 11 of 37       
Quote: --- Original message by: L0d3x
I can't deny the fact I like chicken, what would a world be without poltry?
Perhaps DWood can tell us?

Beat Go!


Without chicken, the world would be okay, there would still be good things, but it would be like the following video update on my current project: http://www.youtube.com/watch?v=eHcuiOFihhE

There might br something cool, but the world would be bland without poultry. (lack of audio and horrid framerate from my stupid video encoder) I have to find a better one.... D:

The real framerate is in like the 300s, if not more for me. :P
Edited by Dwood on Jan 21, 2010 at 03:00 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 21, 2010 06:30 PM    Msg. 12 of 37       
Quote: --- Original message by: Cocaine
If it works , you're very cool.


http://www.youtube.com/watch?v=brJmVuebPMA

z0mg I r very kewl.


Advancebo
Joined: Jan 14, 2008


Posted: Jan 21, 2010 07:37 PM    Msg. 13 of 37       
Quote: --- Original message by: Gamma927
Quote: --- Original message by: Cocaine
If it works , you're very cool.


http://www.youtube.com/watch?v=brJmVuebPMA

z0mg I r very kewl.


lame, needs more dwood and sauce


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 21, 2010 07:46 PM    Msg. 14 of 37       
Quote: --- Original message by: Gamma927
Quote: --- Original message by: Cocaine
If it works , you're very cool.


http://www.youtube.com/watch?v=brJmVuebPMA

z0mg I r very kewl.


Send me an unprotected FF-Portent some time and I'll release it with my sauce. If I feel like it i'll even add a point counter that doesn't go to 00:00 when over 17:38 seconds.

(Which you won't, so I ask lodex to send me his :P)
Edited by Dwood on Jan 21, 2010 at 07:53 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 21, 2010 07:48 PM    Msg. 15 of 37       
I'd suggest you look for another map. There's no way I'm letting that terrible thing see the light of day again.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 21, 2010 07:56 PM    Msg. 16 of 37       
Quote: --- Original message by: Gamma927
I'd suggest you look for another map. There's no way I'm letting that terrible thing see the light of day again.


Sure you could have done much better Gamma, but I still enjoy it now and then. It's pretty good for blowing off steam imho.

I bet you'd see a drastic increase in gameplayability with integration into Open Sauce.
Edited by Dwood on Jan 21, 2010 at 07:57 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 21, 2010 08:05 PM    Msg. 17 of 37       
If only it didn't take so much steam to make it.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 21, 2010 08:22 PM    Msg. 18 of 37       
Quote: --- Original message by: Gamma927
If only it didn't take so much steam to make it.


Since you're done with it... why not give it a try? Of course, this requires you to still have the map and all of its tags in working order...


CorruptedHalo
Joined: May 18, 2009


Posted: Jan 21, 2010 08:27 PM    Msg. 19 of 37       
I hear there's a guy who would be more than happy to let you do something like this on his firefight...


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 21, 2010 08:38 PM    Msg. 20 of 37       
Quote: --- Original message by: CorruptedHalo
I hear there's a guy who would be more than happy to let you do something like this on his firefight...


Does the guy in question have a purchase menu? or anything similar either to that or the b40 firefight?
Edited by Dwood on Jan 21, 2010 at 08:39 PM


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 21, 2010 08:43 PM    Msg. 21 of 37       
Quote: --- Original message by: tucker412
I heard that guy likes chicken.


I heard you have no idea who it is :P


CorruptedHalo
Joined: May 18, 2009


Posted: Jan 21, 2010 09:21 PM    Msg. 22 of 37       
Quote: --- Original message by: Dwood

Quote: --- Original message by: CorruptedHalo
I hear there's a guy who would be more than happy to let you do something like this on his firefight...


Does the guy in question have a purchase menu? or anything similar either to that or the b40 firefight?

The person in question would have use for it, no doubt. Not like either of those maps, but he would definitely have a use for it.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 21, 2010 10:03 PM    Msg. 23 of 37       
This person should send me a pm so we can talk if they dont wish to discuss the specifics where all can see. Also i am adding about 2-3 new globals outside of the default ones so the scripter can have more control over the menu etc. I will also be attempting to add some custom hs functions. if that works out then we will be in the clear for some truly neat things for the average mapmaker. read: Multiple lightmaps, new timer, save/load os super globals... well i could probably do the timer without the funcs but hey.
Edited by Dwood on Jan 21, 2010 at 10:24 PM


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 22, 2010 04:21 PM    Msg. 24 of 37       
Okay I have updated the menu to have a Menu Type global, where the scripter can define the level for the selections so a person can say:

(if (and (= Menu_Type 9001) (= Menu_Selection 5))
(object_create Chuck_Norris)
)

Edit: The menu type can be manipulated only if 1: disp_menu_type is true, AND the menu itself is open

To open the menu: Numpad Enter key.
To change Menu_Type: Minus or + key on numpad. It increments REALLY FAST though so I think I'm going to tone it down a bit with another super global called tone_down_mType (- or + key increments by one in their respective properties)
Edited by Dwood on Jan 22, 2010 at 04:25 PM


CorruptedHalo
Joined: May 18, 2009


Posted: Jan 22, 2010 04:57 PM    Msg. 25 of 37       
Quote: --- Original message by: l283023
I am willing to lend the purchase menu to anyone.

anyone...?


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 22, 2010 05:20 PM    Msg. 26 of 37       
Here is the current build of my Open Sauce. To use the globals you must be using the os_sapienbeta etc. Add the tag_groups to your root halo ce folder. You should be able to figure out the rest.

http://www.filefront.com/15406047/Blah.zip

E: Before someone mentions this, last I checked, you CANNOT use this with xfire. That is a problem you should post on the xfire forums and get a bunch of people to agree with you. (xfire for some unknown reason modifies the d3d9.dll which is completely unnecessary so :/ )

Sorry but I am in a time crunch right now and I can't upload the source.
Edited by Dwood on Jan 22, 2010 at 05:20 PM
Edited by Dwood on Jan 22, 2010 at 05:21 PM
Edited by Dwood on Jan 22, 2010 at 05:23 PM


Cocaine
Joined: Mar 2, 2009

Can't stop napping.


Posted: Jan 24, 2010 05:10 AM    Msg. 27 of 37       
Yes , you all are very cool at some point in your lives.
Ego Points + 100.
You have levelled up to Ego Level 86!


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 31, 2010 06:36 PM    Msg. 28 of 37       
I have now added the functionality for a Menu (Multi-levels of input) so the player can change what they're selecting should the scripter choose.

So if Menu_Type_On = 1 (Set by scripters or by dev) a new thing shows up displaying the level of menu that's selected the numpad + or - , and can reset it by another key I forgot lol.

I have successfully added a way to detect if the person is local, client, or server (0, 1, 2).

Taking some requests for more additions...

Trying to figure out how to swap the/a bsp's lightmap.


FoxtrotZero
Joined: Aug 3, 2008

Digging Foxholes by Profession


Posted: Jan 31, 2010 07:41 PM    Msg. 29 of 37       
Hmm. Perhaps you could rig the numpad to operated with a few keys as a de-facto music player, provided the map-maker imbeded music selections into the Menus.

I was thinking about this earlier, and i realised that if i could, essentially, have VLC in my hud, things would work out rather nicely.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 31, 2010 07:42 PM    Msg. 30 of 37       
Quote: --- Original message by: FoxtrotZero
Hmm. Perhaps you could rig the numpad to operated with a few keys as a de-facto music player, provided the map-maker imbeded music selections into the Menus.

I was thinking about this earlier, and i realised that if i could, essentially, have VLC in my hud, things would work out rather nicely.


If you can tag sounds that can easily be scripted in there.


FoxtrotZero
Joined: Aug 3, 2008

Digging Foxholes by Profession


Posted: Jan 31, 2010 08:03 PM    Msg. 31 of 37       
I figured as much. The only problem i see with this is it seems clientside dependant.

First of all, do you need a copy of some program in order for this to work? And you wouldn't want to script important things to the numpad as far as multiplayer goes, because not everyone HAS a numpad, though its alright for the extras.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Jan 31, 2010 09:12 PM    Msg. 32 of 37       
Quote: --- Original message by: FoxtrotZero
I figured as much. The only problem i see with this is it seems clientside dependant.

First of all, do you need a copy of some program in order for this to work? And you wouldn't want to script important things to the numpad as far as multiplayer goes, because not everyone HAS a numpad, though its alright for the extras.


It's designed for SP because it won't sync over MP but I haven't tested it with other people..
Edited by Dwood on Jan 31, 2010 at 09:12 PM


Advancebo
Joined: Jan 14, 2008


Posted: Jan 31, 2010 09:20 PM    Msg. 33 of 37       
What if you dont have a numpad :X


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 31, 2010 09:20 PM    Msg. 34 of 37       
Get one :>


Advancebo
Joined: Jan 14, 2008


Posted: Jan 31, 2010 09:24 PM    Msg. 35 of 37       
nu
script it so that the numbers above the letter keys have input.

 
Page 1 of 2 Go to page: · [1] · 2 · Next

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 4:00 AM 188 ms.
A Halo Maps Website