Sure, I could do that. How would you have it toggle? Left/right of screen? Colors, font?Chilvence wrote:One thing, it would be good if you could toggle the appearence of that readout with a key.
Im new to scripting but...
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- Lexus Alyus
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
- Contact:
How would you add a background graphic to any hudmessage? I think, it wouiild be cool, then I could emulate a text message from a mobile phone or pager, or maybew even a book (like in Silent hill and stuff) with just the apropriate graphics... is that possible?
By the way, I love the MMRPG idea. If you get it running I'd happliy love to test it, I'd love to actually play a structured team fortress game where everyone follows commands and makes like it's the army or something ("Lexus, move out!" "Affirmitive" *lexus mives out and gets fragged...*
).

By the way, I love the MMRPG idea. If you get it running I'd happliy love to test it, I'd love to actually play a structured team fortress game where everyone follows commands and makes like it's the army or something ("Lexus, move out!" "Affirmitive" *lexus mives out and gets fragged...*


Ugh.. Please stop calling it an MMORPG....
Is Team Fortress an MMORPG? No it's an FPS.
Is Starcraft or Warcraft an MMORPG? No, they're RTS'es. Even with the hero system, Blizzard refused to call their game an RPS (Role-Playing Strategy) because they felt there wasn't enough (gasp) role-playing in it.
Is Team Fortress an MMORPG? No it's an FPS.
Is Starcraft or Warcraft an MMORPG? No, they're RTS'es. Even with the hero system, Blizzard refused to call their game an RPS (Role-Playing Strategy) because they felt there wasn't enough (gasp) role-playing in it.
- Lexus Alyus
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
- Contact:
That's cool, I love that weapon graphic
.
Even though you didn't tell me how to add backgrounds to hud messages I think I got it. Basically (correct me if i'm wrong) you have a font made with your nifty new graphic (mobile phone or small computor screen in my case
) and put that on screen with (via hudmessage) a TID of -1, then hudmessage your text with an higher TID and that should print on the image. I think that's how it would work, either way it's all cool stuff (I'm basically just trying to implement Quake 2's mission system). So, next question, how would I bring this up anytime the player pressed a specified key and get rid of it ONLY when they pressed the key again? Also, the text would have to change to reflect what I'd want it to say depending on wha tthe mission was.


Even though you didn't tell me how to add backgrounds to hud messages I think I got it. Basically (correct me if i'm wrong) you have a font made with your nifty new graphic (mobile phone or small computor screen in my case


- Lexus Alyus
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
- Contact:
Errrrr... A puke command executes the given script... i.e:Lexus Alyus wrote:Thanks, but how do you attach puke commands to scripts?
> puke 1 -- execute script 1
> puke 100 -- execute script 100
(don't quote me on this one, but...)
> puke "127 0 18 38 0 0" -- execute script 127 with arguments 0, 18, 38, 0, and 0.
You can bind this to a key at the console, but if you want players of your WAD to have it pre-bound for them, you use a KEYCONF lump in your wad that contains new key settings and the default binds. If the defaults conflict with the player's key settings, then they won't be bound, but will show up in the controls menu while playing your game.
See LWM's great Chosen TC for an example of this.
- Lexus Alyus
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
- Contact: