2 Feature Ideas

Moderator: Graf Zahl

User avatar
Zeg-Vok
Posts: 233
Joined: Wed Sep 21, 2005 18:04
Location: Up the creek without a paddle
Contact:

Post by Zeg-Vok »

I'd like to see a big [Yes] in front of this topic's title :D
smg m7
Posts: 81
Joined: Mon Sep 26, 2005 17:48
Location: Here, I hope.
Contact:

Post by smg m7 »

And Halo, which does make me sound like a fanboy...
DaniJ
Posts: 130
Joined: Sat Oct 08, 2005 19:22

Post by DaniJ »

If you do decide to implement custom crosshairs Graf, you might be interested to read a (rather old) discussion on the topic between Skyjake, deepteam (when he was still speaking to me...) and myself (back when I was still new to the Doomsday code base):

http://forums.newdoom.com/showthread.php?t=26200

Evidently, Risen3D has implemented support for them.

I never did get around to finishing the custom crosshair implementation in Doomsday...
User avatar
DoomRater
Posts: 397
Joined: Tue Jul 19, 2005 4:14
Location: Programmer's Room, talking to Will Harvey
Contact:

Post by DoomRater »

I've got an idea for custom crosshairs. With the new A_Print parameter allowing someone to choose what font they want, one could make a 'font' of crosshairs and have the Flash state print out a cursor. I'm assuming that A_Print always centers its messages, but if nothing else there's always Global ACS with HudMessage...
User avatar
Doomed Soul
Posts: 203
Joined: Sun Apr 30, 2006 16:54
Location: In front of my monitor working on Hell Opps.
Contact:

Post by Doomed Soul »

I still think that it would be better to implement it from the DECORATE scripting for the weapon using it. How do you know if it's implemented yert?
User avatar
DoomRater
Posts: 397
Joined: Tue Jul 19, 2005 4:14
Location: Programmer's Room, talking to Will Harvey
Contact:

Post by DoomRater »

A_Print's font feature should be implemented. I can test it really quick, and if so you can implememt it from the weapons. For the people who'd rather have their own crosshairs, make sure there's a toggle switch which can be built out of an inventory item.
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!
Contact:

Post by wildweasel »

There's a problem with using A_Print for a crosshair - it's going to flood the console.
User avatar
DoomRater
Posts: 397
Joined: Tue Jul 19, 2005 4:14
Location: Programmer's Room, talking to Will Harvey
Contact:

Post by DoomRater »

We need a new option for it, then. Dang, forgot about that, though why would it print an A to the console in a non-standard font I wonder?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

No, we don't. This is abuse of a function and I won't help you with that.
User avatar
DoomRater
Posts: 397
Joined: Tue Jul 19, 2005 4:14
Location: Programmer's Room, talking to Will Harvey
Contact:

Post by DoomRater »

Grr. Odds are you're going to see a lot more of things like these, and HOPEFULLY some of them you'll see reasonable. Not that I see why this isn't...
User avatar
Doomed Soul
Posts: 203
Joined: Sun Apr 30, 2006 16:54
Location: In front of my monitor working on Hell Opps.
Contact:

Post by Doomed Soul »

Is it in yet?
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!
Contact:

Post by wildweasel »

No, and I doubt it will be.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

I have custom crosshairs in a mod I'm messing around with using ACS' CheckWeapon() and HUDMessage functions. It's very easy, really.

That's as far as it goes for per-weapon crosshairs.
User avatar
Doomed Soul
Posts: 203
Joined: Sun Apr 30, 2006 16:54
Location: In front of my monitor working on Hell Opps.
Contact:

Post by Doomed Soul »

Please explain, 'ol buddy, 'ol chap!
User avatar
DoomRater
Posts: 397
Joined: Tue Jul 19, 2005 4:14
Location: Programmer's Room, talking to Will Harvey
Contact:

Post by DoomRater »

Nash is right- it's rather simple. If you wanted something even more crazy, use Global ACS and write a function similar to...

Code: Select all

Script 1 (int weapontype) { //too lazy to indent
//Add a HUDmessage that draws a crosshair based on what number is passed to it
//make sure it lasts forever
}
In your weapon's Select State, the first thing it should do is call the code and pass whatever number the weapon should be. Not much to it, except looking up HUDMessage syntax and monkeying around with it.
Locked

Return to “Closed Feature Suggestions”