|
It is currently Sat Jul 31, 2010 8:45 am
|
View unanswered posts | View active topics
| Author |
Message |
|
<CP8>
Catman
|
Post subject: 98a preview #3: SBARINFO and RETURN scripts Posted: Fri Oct 02, 2009 10:25 pm |
|
Meow
 |
 |
Joined: Sun Nov 26, 2006 2:24 pm Posts: 1808 Location: VA
Clan: Central Power 8
|
In addition to the anti-mong features that Rive advertised, 98a contains a ton of new additions that enable mappers to do new things in their mods! Here are two to get you started: SBARINFOSBARINFO allows you to create completely new HUDs that display whatever you want. The possibilities are (nearly) endless! Just work with SBARINFO, and you'll be able to create something like this... [Reveal] Spoiler: Large Island HUD screenshot Return ScriptsReturn scripts allow for more flexibility with Hub systems by allowing for certain scripts to only be executed when a player returns to the hub. Just create the script as usual, and set the type to RETURN, and it will only activate when you return to the hub map; no more requiring workarounds to do the same thing! That's it for preview #3! There may not be much to say, but these two additions are quite helpful for projects.
_________________ Help TheDoomFreak with his addiction! Go HERE today!!
|
|
| |
|
 |
|
stickman64
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Fri Oct 02, 2009 11:26 pm |
|
Joined: Wed Sep 23, 2009 8:20 pm Posts: 10
|
|
Wow, with these new features I can work on some projects I've been slacking on. Can't wait for the release!
|
|
| |
|
 |
|
<?>
minigunner
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 12:42 am |
|
Secret identity... Mr. Pwntastic!
 |
 |
Joined: Mon Oct 27, 2008 4:07 pm Posts: 209 Location: Fresno,CA
|
|
The ACS HUD is confusing, and I couldn't get SBARINFO working, but now I have the reason!
_________________ <ALMN_> SoulPriestess u should get me unbanned > say i saved your lief > u was gon' get hit by a bus > then i was like > "oshi-" > and i leapt out of the bushes > and raped the bus
|
|
| |
|
 |
|
(WK)
NESgamer190
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 8:29 am |
|
"Glass Joe" of duels.
 |
 |
Joined: Wed Nov 26, 2008 7:05 pm Posts: 352
Clan: War Kittens (no thread yet)
|
|
*claps happily* BRAVO! This is definitely a bigger update than 2, but well, I can safely say this is going to be the beginning of something pretty.
_________________ Projects: Inquisitor's nightmare (0%) Inquisitor nightmare status: Just got started.
|
|
| |
|
 |
|
<DRZ>
Guigui
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 8:30 am |
|
Krieger!
 |
 |
Joined: Sat Apr 25, 2009 8:28 pm Posts: 514 Location: Brazil
Clan: Demon Riderz
|
Cool, I never got how SBARINFO worked anyway, but I might try to learn (and to learn about PolyObjects as well...  )
_________________ - Saad joined <Saad>lol - Saad quit (Quit: Skulltag rules!) <VortexCortex>^^ Just dropped by to spread some cheer?
|
|
| |
|
 |
|
<DRZ>
/-]etor
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 9:10 am |
|
ALL FEAR THE SENTINEL
 |
 |
Joined: Wed Jul 16, 2008 1:57 am Posts: 1225 Location: Ukraine
Clan: Demon RiderZ
|
Catman wrote: Return Scripts
Return scripts allow for more flexibility with Hub systems by allowing for certain scripts to only be executed when a player returns to the hub. Just create the script as usual, and set the type to RETURN, and it will only activate when you return to the hub map; no more requiring workarounds to do the same thing!
That's it for preview #3! There may not be much to say, but these two additions are quite helpful for projects. Does it mean that new ACC version will be released, or is the change included in latest SVN already?
_________________ IG name: <DRZ> HetOR
|
|
| |
|
 |
|
(ST)
Torr Samaho
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 9:15 am |
|
Metal forever!
 |
 |
| Lead Developer |
Joined: Fri Jan 12, 2007 2:40 am Posts: 4091 Location: Germany
Clan: SkullTag
|
/-]etor wrote: Does it mean that new ACC version will be released, or is the change included in latest SVN already? These scripts are inherited from the ZDoom updates and are already supported by the ZDoom ACC for quite a while.
|
|
| |
|
 |
|
<?>
minigunner
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 9:57 am |
|
Secret identity... Mr. Pwntastic!
 |
 |
Joined: Mon Oct 27, 2008 4:07 pm Posts: 209 Location: Fresno,CA
|
Guigui wrote: Cool, I never got how SBARINFO worked anyway, but I might try to learn (and to learn about PolyObjects as well...  ) I could help with that.
_________________ <ALMN_> SoulPriestess u should get me unbanned > say i saved your lief > u was gon' get hit by a bus > then i was like > "oshi-" > and i leapt out of the bushes > and raped the bus
|
|
| |
|
 |
|
AlexMax
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 11:59 am |
|
Not here
 |
Joined: Mon Mar 22, 2004 1:31 am Posts: 298
|
What Catman did not mention is that SBARINFO is not sanity-checked by the server. So, if you put a WAD/PK3 with your own custom status bar in the skins folder, you can essentially create your own custom status bars for Skulltag that work...well...on any server. Here is a quick proof of concept that I came up with a few months ago: You can grab it here, if you want to test it out yourself with the latest 98a beta: http://dl.getdropbox.com/u/1446507/doom/maxbar_a1.zipWith SBARINFO you can also put arbitrary graphics anywhere on the screen you like, so you can ALSO create a multicolored custom crosshair to go with your HUD as long as you're fine without the 'crosshair changes color' feature.
_________________ Skulltag.com has been moved to skulltag.net!
#skullrant: The Forum
Last edited by AlexMax on Sat Oct 03, 2009 12:06 pm, edited 1 time in total.
|
|
| |
|
 |
|
RaptorFarmer
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 12:00 pm |
|
is a somber hippie
 |
 |
Joined: Fri Feb 06, 2009 11:48 pm Posts: 72
|
Finally! My status bar for Death matches and LMS wads can be completed! When in versus mode, the "kills" ticker gets turned into a "FRAG!" ticker.
_________________ Like my avatar? Check out my deviantART!
|
|
| |
|
 |
|
[UD]
Xenaero
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 12:05 pm |
|
Rhythmic Hallucination
 |
 |
| Lazy Administrator, Terminally Crazed Nazi |
Joined: Sun Dec 21, 2003 12:01 pm Posts: 2563 Location: The X Factor
Clan: UniDooM
|
minigunner wrote: The ACS HUD is confusing, and I couldn't get SBARINFO working, but now I have the reason! Note that ACS huds are tricky to get to work online. It's why I  SBARINFO
_________________ dsoof
|
|
| |
|
 |
|
[LZ]
The_Devil_Hunter
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 12:05 pm |
|
"Some people are just afraid of the.."
 |
 |
Joined: Wed Apr 04, 2007 11:35 am Posts: 1157 Location: Hell
Clan: Landing Zone
|
|
| |
|
 |
|
AlexMax
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 12:10 pm |
|
Not here
 |
Joined: Mon Mar 22, 2004 1:31 am Posts: 298
|
The_Devil_Hunter wrote: While we are on the subject... Is it possible that someone already made, or able to make the statusbar text change from Blue, to Green, to Yellow, to Red like in the boom ports?? Last time I checked, this was not possible. In order to do this, you need to be able to do a conditional based on how much health or armor you have left, and then draw numbers (and the percent sign) colored according to the value, and SBARINFO as it stands does not support this. It also doesn't support conditionals based on what armor type was last picked up either, (though it DOES support drawing a picture of the last armor type you picked up...wtf) which would be useful for armor. You're welcome to ask Randy or Graf to add it upstream so Skulltag will get it eventually. Good luck with that though.
_________________ Skulltag.com has been moved to skulltag.net!
#skullrant: The Forum
|
|
| |
|
 |
|
[LZ]
The_Devil_Hunter
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 1:58 pm |
|
"Some people are just afraid of the.."
 |
 |
Joined: Wed Apr 04, 2007 11:35 am Posts: 1157 Location: Hell
Clan: Landing Zone
|
AlexMax wrote: The_Devil_Hunter wrote: While we are on the subject... Is it possible that someone already made, or able to make the statusbar text change from Blue, to Green, to Yellow, to Red like in the boom ports?? Last time I checked, this was not possible. In order to do this, you need to be able to do a conditional based on how much health or armor you have left, and then draw numbers (and the percent sign) colored according to the value, and SBARINFO as it stands does not support this. It also doesn't support conditionals based on what armor type was last picked up either, (though it DOES support drawing a picture of the last armor type you picked up...wtf) which would be useful for armor. You're welcome to ask Randy or Graf to add it upstream so Skulltag will get it eventually. Good luck with that though. Eh, yea... Seeing as I don't roam on the Zdoom Forums as much. I would just like to have something that would aid me, and seeing how much health/ammo/armor I have. Then again, I just now started to play with the statusbar more. heh.
_________________ U can see me as [LZ]DevilHunter or as [LZ]ITTHeClown On Skulltag! Xfire Profile My MediaFire Account Doom Connector 3 Is back!! 2 best mods to get for Skulltag Skulltag Expansion Pak By Wasted Youth And Mercenaries: The Elite Force v1.8 By -=:[xXx]:=- Lock n Load!!
|
|
| |
|
 |
|
Gez
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sat Oct 03, 2009 3:04 pm |
|
Joined: Wed May 16, 2007 7:42 am Posts: 912
|
AlexMax wrote: It also doesn't support conditionals based on what armor type was last picked up either, (though it DOES support drawing a picture of the last armor type you picked up...wtf) which would be useful for armor. That's for a simple reason. Use the "printinv" console command to know what's in your player inventory. You'll notice you have a BasicArmor (unless you play Hexen, then you'll have a HexenArmor). Pick up a GreenArmor, try printinv again, do you have a GreenArmor? No. You still have a BasicArmor. Pick up a BlueArmor, same thing -- you still only have a BasicArmor. What's happening is that when you use an armor item, the BasicArmor in your inventory gets its properties updated to that of the armor you're using. The only time an armor is in your inventory is when it's an armor that can be stored in the inventory, like the Strife armors. (The armors from Doom and Heretic are automatically used when picked up.) The damage absorption system simply look for your BasicArmor (or HexenArmor when playing Hexen). When I added the ACS and DECORATE commands dealing with armor, I did it by adding a new property to BasicArmor to keep track of the used armor's class name, a property that, like the icon, the savepercent, maxsavepercent, amount, maxamount, etc. is taken from the armor when it's used. Anyway, the reason SBARINFO supports displaying the icon of the last armor you picked up used is simply that it doesn't display the icon of the last armor you used... It displays the icon of your BasicArmor. Nothing more, nothing less.
_________________
esselfortium wrote: Also, learning to spell is a more important life skill than learning how to use 3D floors.
|
|
| |
|
 |
|
[UD]
Xenaero
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sun Oct 04, 2009 8:53 am |
|
Rhythmic Hallucination
 |
 |
| Lazy Administrator, Terminally Crazed Nazi |
Joined: Sun Dec 21, 2003 12:01 pm Posts: 2563 Location: The X Factor
Clan: UniDooM
|
The_Devil_Hunter wrote: While we are on the subject... Is it possible that someone already made, or able to make the statusbar text change from Blue, to Green, to Yellow, to Red like in the boom ports?? It's possible. I've done it. Problem is, though, is that you have to use a global ACS script to calculate the amount of health/ammo/armor the player currently has (ammo is a bitch since you have to do it per-weapon) and in that script you alter the player's inventory, giving or taking away dummy inventory items such as ArmorCheck, AmmoCheck, HealthCheck, which you then check for in SBARINFO and render the properly colored digits. It's way more pain than it's worth, has bugs, and since it's using ACS, you can't put it in your skins folder for use anywhere. You could probably get around the armor and health parts, but weapons definitely need to be checked with ACS, since ammo amounts are dynamic per weapon. Like if I had a shotgun, I'd want the shell count to turn gold instead of green at the halfway point (25). Same with bullets (100) and plasma (150). Although I haven't tried nesting inventory checks in SBARINFO inside weapon checks...Hmm... EDIT: Ah, nevermind. Don't need ACS at all.
_________________ dsoof
|
|
| |
|
 |
|
<DRZ>
/-]etor
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sun Oct 04, 2009 8:56 am |
|
ALL FEAR THE SENTINEL
 |
 |
Joined: Wed Jul 16, 2008 1:57 am Posts: 1225 Location: Ukraine
Clan: Demon RiderZ
|
Torr Samaho wrote: /-]etor wrote: Does it mean that new ACC version will be released, or is the change included in latest SVN already? These scripts are inherited from the ZDoom updates and are already supported by the ZDoom ACC for quite a while. Ah, that's good, so I don't have to recompile my ACC.
_________________ IG name: <DRZ> HetOR
|
|
| |
|
 |
|
[UD]
Xenaero
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sun Oct 04, 2009 8:57 am |
|
Rhythmic Hallucination
 |
 |
| Lazy Administrator, Terminally Crazed Nazi |
Joined: Sun Dec 21, 2003 12:01 pm Posts: 2563 Location: The X Factor
Clan: UniDooM
|
/-]etor wrote: Torr Samaho wrote: /-]etor wrote: Does it mean that new ACC version will be released, or is the change included in latest SVN already? These scripts are inherited from the ZDoom updates and are already supported by the ZDoom ACC for quite a while. Ah, that's good, so I don't have to recompile my ACC. You never had to in the first place, because I already did it for you! 
_________________ dsoof
|
|
| |
|
 |
|
<DRZ>
/-]etor
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Sun Oct 04, 2009 9:16 am |
|
ALL FEAR THE SENTINEL
 |
 |
Joined: Wed Jul 16, 2008 1:57 am Posts: 1225 Location: Ukraine
Clan: Demon RiderZ
|
|
That's a windows binary, and I'm on Linux.
_________________ IG name: <DRZ> HetOR
|
|
| |
|
 |
|
DRZ MLK
Blood Raven
|
Post subject: Re: 98a preview #3: SBARINFO and RETURN scripts Posted: Mon Oct 05, 2009 1:53 pm |
|
AKA Xorpedo, MLK janitor
 |
 |
Joined: Mon Sep 21, 2009 8:42 am Posts: 27 Location: Croatia, the alternative hell if you ask me...
Clan: DemonRiderZ, MoonLightKillers
|
|
Damnit, i really cant wait for 98a. It all looks really awesome, good job guys!
_________________
One day on a GvH server... GHOUL TEAM WINS!!! (3 frags)xdoomedkiller200k: HAHAHA I owned you all maybe you should bow down to me!!!!! (16 frags)Blood Raven: maybe you should smoke my pole ;] (9 frags)Psybeast: rofl
|
|
| |
|
 |
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|