
kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Nov 3, 2013 05:58 PM
Msg. 1 of 29
I apparently deleted the map where I had these things compiled, so instead, screenshot from my old video!... lol (Sure, I could recompile the map, but that's :effort:)Download PDF + Example FilesThe tutorial covers shows creating and using a Backpack weapon icon. A basic SP backpack weapon script is included in the tutorial, with a list of optional changes, as well as what to add to make a OS MP verison. Example files for H1-Halo reach (All Bungie Halo FPS) weapons included, as well as H3 Equipment. OSHEK is required for the tutorial, however OS in-game is not for SP. Videos of HUD Extensions: Backpack Weapon HUDH2 Score BarH3 EquipmentNo video tutorial is included, because video recorders and encoders both hate me; I tried 5 times, this is an image of the closest thing to a finish product that was produced. Kirby occasionally does things.. Over the course of like 6 months, and then still doesn't release it for another week after completing the tutorial. And, apparently public enemy number 1.
|
|
|

MatthewDratt
Joined: Sep 11, 2010
TAKEDOWN IS OUT MattDratt.com
|
Posted: Nov 3, 2013 06:27 PM
Msg. 2 of 29
A+
10/10 am going to use in future maps
|
|
|

altis94
Joined: Oct 5, 2012
Join my Discord https://discord.gg/GDVEaRD
|
Posted: Nov 3, 2013 06:35 PM
Msg. 3 of 29
Kirby for president.
|
|
|

A Juicy Frank
Joined: Oct 28, 2013
|
Posted: Nov 3, 2013 06:48 PM
Msg. 4 of 29
Amazing work as usual, Kirby.
|
|
|

Jesse
Joined: Jan 18, 2009
Discord: Holy Crust#4500
|
Posted: Nov 3, 2013 08:11 PM
Msg. 5 of 29
Quote: --- Original message by: altis94 Kirby for president. Seconded.
|
|
|

SOI_7
Joined: Mar 23, 2012
Welcome to the true man's world
|
Posted: Nov 4, 2013 09:48 AM
Msg. 6 of 29
Thanks for sharing this tut, kirby! :D
|
|
|

jackrabbit
Joined: Apr 27, 2005
Fight Against the Machine of Deth!
|
Posted: Nov 4, 2013 02:31 PM
Msg. 7 of 29
Thank You!
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Nov 4, 2013 03:52 PM
Msg. 8 of 29
That script is essentially the AA tutorial available in the scripting thread http://forum.halomaps.org/index.cfm%3Fpage=topic&topicID=41490read that to understand it (and, for clean formatting, since im sure its a mess after the hs -> hsc conversion) To display the icons for local players, you would likely go back to the AA tut setup; otherwise, you want to try and use weapons instead of powerups, just to get that form of hooking, etc.... anyways, that setup isnt good for icons (Which is why I had that different setup for the SP icon demo I have) Anyways, read the AA tut
|
|
|

DOOM899
Joined: Jul 23, 2013
{DM} [gamesmaster] if i can ill help maybe
|
Posted: Nov 6, 2013 01:14 AM
Msg. 9 of 29
that good to no
|
|
|

NeX
Joined: Apr 11, 2013
|
Posted: Feb 4, 2014 05:00 PM
Msg. 10 of 29
I hate to be that guy and bump the thread, but after following the tutorial and getting my backpack icons working, I noticed that they are flickering. Like, a constant pulsating of the image/icon/whathaveyou.
Any ideas why that might be? Other than that this worked like a charm
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Feb 4, 2014 05:08 PM
Msg. 11 of 29
did you use the settings in the tutorial? you might be having one disapear a moment too quickly before the next one appears, or you might be loading too many on screen at once causing it to not show. Off the top of my head, I believe it was fade in/out 0.01 with onscreen 0.2, with the script repeating every 5 ticks (sleep 5) (other combinations will work, its just that I believe that was the combination I used; read the tutorial to make sure)
|
|
|

NeX
Joined: Apr 11, 2013
|
Posted: Feb 4, 2014 05:32 PM
Msg. 12 of 29
Quote: --- Original message by: kirby_422 did you use the settings in the tutorial? you might be having one disapear a moment too quickly before the next one appears, or you might be loading too many on screen at once causing it to not show. Off the top of my head, I believe it was fade in/out 0.01 with onscreen 0.2, with the script repeating every 5 ticks (sleep 5) (other combinations will work, its just that I believe that was the combination I used; read the tutorial to make sure) Oh yeah, the first settings I used were the ones in the tut (which were correct off the top of your head as well). I found with 0.2 for uptime, the flicking was awful, at 0.3 it was less, but there was lag between them, since it was up for longer, and you'd get overlap. I'm still tweaking settings now to see if I can get it right for mine. Thanks for the speedy reply though!
|
|
|

shizen
Joined: Feb 4, 2014
|
Posted: Feb 4, 2014 09:14 PM
Msg. 13 of 29
It doesn't seem to work in a server. Icons flop around and don't sync correctly
|
|
|

NeX
Joined: Apr 11, 2013
|
Posted: Feb 4, 2014 10:00 PM
Msg. 14 of 29
Quote: --- Original message by: shizen It doesn't seem to work in a server. Icons flop around and don't sync correctly Yes, I noticed the same thing. Works brilliantly and smooth as silk in a LAN game, but as soon as I host it and try to join, all of the clients connected just get weird issues with it not syncing up with what's actually their secondary weapon. When you die it seems to cycle through the weapons, as well. Any thoughts on this Kirby?
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Feb 5, 2014 01:51 PM
Msg. 15 of 29
have you modified the script to check the local player when you use it in MP? (unit (player_data_get_object (player_local_get) slave_unit)) ;;OS
And for it flashing, you sure your using the same settings that worked with one player? No extra messages written to the screen or anything?
|
|
|

NeX
Joined: Apr 11, 2013
|
Posted: Feb 5, 2014 02:34 PM
Msg. 16 of 29
Not at all - I found through experimentation that the p0 script would just show the icons for whoever was that player location. My first thought was to just make a script that cycled through every player, but that seems excessive.
what does
(unit (player_data_get_object (player_local_get) slave_unit))
do? And what's the ";;OS" for?
Sorry, I'm not familiar with hsc scripting - I can do c++ , java, and script in lua, but I have no knowledge on basic syntax or what the native functions I can access in halo scripting are. I downloaded the scripting bible, but there's so much data in there that doesn't pertain to anything I'm doing
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Feb 5, 2014 03:27 PM
Msg. 17 of 29
scrolling through all the players, is going to display all players secondary weapons on-screen one at a time; In SP, its simple, you merely check player0 since its always going to be player0
(player_local_get) returns the local player number, in the order that 'player_data' commands look in. (the players object_list, and the player_data are essentially in opposite order; the object_list, 0 is the newest player, in player_data, 0 is the oldest (host) player.)
(player_data_get_object <number> slave_unit), will return the listed number's body as an object.
(unit <object>) changes an object classification to unit if possible (so, a biped for vehicle returned as a object from things such as (list_get <object_list> <number>))
Anyways, that command will return the local player biped, so that the scripts only worry about the local player (since your only wanting to display the local players' secondary weapon on screen)
; detonates a comment in HSC, anything after a ; wont be treated as a script, so if you want to temperately disable something, you would place a ; infront, and it will be ignored.
';;OS' is me commenting that the scripts to grab a local player are opensauce script commands.
|
|
|

NeX
Joined: Apr 11, 2013
|
Posted: Feb 5, 2014 06:32 PM
Msg. 18 of 29
So this is unimplementable for a .map? Or simply that the scripts must be compiled inside OS_Sapien?
|
|
|

PRPatxi
Joined: Oct 30, 2010
Dennis, free me from this suffering
|
Posted: Feb 5, 2014 09:10 PM
Msg. 19 of 29
Powerful tutorial bro.
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Feb 5, 2014 09:50 PM
Msg. 20 of 29
Quote: --- Original message by: NeX So this is unimplementable for a .map? Or simply that the scripts must be compiled inside OS_Sapien? MP, it is unreasonable to be a .map for personal things like backpack weapons which is unique to the player; If you had the OS2.5.0beta (Which shouldn't be in the public anyways), you could technically make a .map with OS scripts, that would work fine as long as you had conditions in place that made the OS commands only run if they had OS installed. There is no 'good' way to get the local player data without OS; you basically have to ask the player who they are every time they respawn. On the weekend, ill make a POC of OS-less local player recognition, but it will literally be the game asking who you are.
|
|
|

NeX
Joined: Apr 11, 2013
|
Posted: Feb 6, 2014 12:07 AM
Msg. 21 of 29
Hey, that's very awesome of you! And it can be dirty as long as it works - I'm not too picky about "efficiency" since scripts usually don't cause too much grief.
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Feb 8, 2014 06:56 PM
Msg. 22 of 29
|
|
|

NeX
Joined: Apr 11, 2013
|
Posted: Feb 8, 2014 08:09 PM
Msg. 23 of 29
Holy christ you weren't kidding. Alrighty, well thanks for the effort man, it's definitely a sweet little deal, but I don't think it's practical for actual non-OS gameplay. Ah well.
|
|
|

Kinnet
Joined: Dec 27, 2013
why are we still here? just to suffer?
|
Posted: Sep 21, 2015 10:04 PM
Msg. 24 of 29
Quote: --- Original message by: MatthewDratt A+
10/10 am going to use in future maps so, can we expect this feature on takedown extermination or sierra 117 ?
|
|
|

MatthewDratt
Joined: Sep 11, 2010
TAKEDOWN IS OUT MattDratt.com
|
Posted: Sep 21, 2015 10:54 PM
Msg. 25 of 29
Quote: --- Original message by: KinnetQuote: --- Original message by: MatthewDratt A+
10/10 am going to use in future maps so, can we expect this feature on takedown extermination or sierra 117 ? no just because of this thread bump Edited by MatthewDratt on Sep 21, 2015 at 10:54 PM
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Sep 21, 2015 11:18 PM
Msg. 26 of 29
Quote: --- Original message by: MatthewDrattQuote: --- Original message by: KinnetQuote: --- Original message by: MatthewDratt A+
10/10 am going to use in future maps so, can we expect this feature on takedown extermination or sierra 117 ? no just because of this thread bump Ready to put 'Public enemy number 2' back as your avatar quote, after you've clearly provoked the community? lol. What happened to when we where gonna collect a legion of everyone with 'public enemy' in their avatar quotes, and we would take over the world together? You've abandoned me. Anyways, anyone looking to use this is .map files in MP, set the hud extension font as your console text, and then use SAPP's rprint command to display it on the correct clients.
|
|
|

Imouto
Joined: Sep 9, 2015
Waffles B&
|
Posted: Sep 21, 2015 11:22 PM
Msg. 27 of 29
Quote: --- Original message by: Waffles sankaku Why did I post this? Kirby pls.
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Sep 21, 2015 11:37 PM
Msg. 28 of 29
Quote: --- Original message by: ImoutoQuote: --- Original message by: Waffles sankaku Why did I post this? Kirby pls. The 'I wasnt joking' youtube link, the entire youtube description is links to sankaku articles. I've been fairly disappointed in sankaku the past few years... they use to have the most random stuff, but now most of the articles are blatant advertising; not even hiding the sponsorship behind lawlz. I miss the exploding china articles and such...So, did anyone ever actually use this, or are the only known maps with it, my demo maps I never released? lol.
|
|
|

Imouto
Joined: Sep 9, 2015
Waffles B&
|
Posted: Sep 21, 2015 11:45 PM
Msg. 29 of 29
Ahaha, I haven't been on Sankaku in forever.
|
|
|