Advanced Search

Author Topic: weapon/item minimap icons  (Read 3642 times)

0 Members and 1 Guest are viewing this topic.

April 12, 2017, 11:27:47 PM
Read 3642 times

Offline JaxOf7

  • MM8BDM Extender
  • *****
  • Date Registered: March 23, 2011, 03:56:13 AM

    • View Profile
weapon/item minimap icons
« on: April 12, 2017, 11:27:47 PM »

http://cutstuff.net/forum/index.php?topic=10867.0
Yeah, why not?
Basically, before entering their proper spawn state, every weapon and item uses a pickup to check if it's the first tic, and if so, to then check what actor they are and spawn a marker based on that.
By the way, if items inherited from a baseitem, this would be easier...
Modded in weapons/items that already use "Spawn"? Whatever, they just don't try to spawn a map marker.

Where you want the map marker array to be I leave to your discretion. Could probably be implemented into wepacs somewhat.

Edit: included my own baseitem

Edit2: fixed gravityholdwep crash

old standalone file

May 09, 2017, 03:45:31 PM
Reply #1

Offline Hallan Parva

  • MM8BDM MM8 Contributor

  • drifting absently across an endless sea
  • *
  • Date Registered: September 23, 2010, 10:32:40 PM

    • View Profile
Re: weapon/item minimap icons
« Reply #1 on: May 09, 2017, 03:45:31 PM »
hi I'm going through a lot of these threads now so excuse the bump

Gut reaction is "wow, this actually sounds like a good idea" but then the attached picture makes it... not so much. There's a lot of clutter on the minimap, an area where most players really don't want a lot of clutter. Having weapon pickups and inventory items (assists, tanks, etc.) on the map seems sound, but including every health and ammo pickup on the entire map really seems like overkill.

May 09, 2017, 07:00:38 PM
Reply #2

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: weapon/item minimap icons
« Reply #2 on: May 09, 2017, 07:00:38 PM »
Don't worry this isn't going in anyway because I hate how ZDoom map markers are handled.

May 10, 2017, 12:49:43 AM
Reply #3

Offline JaxOf7

  • MM8BDM Extender
  • *****
  • Date Registered: March 23, 2011, 03:56:13 AM

    • View Profile
Re: weapon/item minimap icons
« Reply #3 on: May 10, 2017, 12:49:43 AM »
iirc, how Cutmanmike would want zdoom minimap markers to work is something like

actor WTank
{
mapicon "WTANK"
}

which implies that the marker would be tied to the actor's existence. I don't like that; that would give away duel positions and the like and put unneeded importance on the minimap. Also having icons be static means they show where an item is going to respawn.

This feature doesn't do anything player map memory doesn't already cover. Just making things more comfortable. For 70+ maps and weapons.

And smashbro, at least the small pickups are small? It's still useful to know their positions and concentrations, so I don't know why the map wouldn't have them.

May 10, 2017, 11:42:37 AM
Reply #4

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: weapon/item minimap icons
« Reply #4 on: May 10, 2017, 11:42:37 AM »
Spawning additional actors on the map for the sake of map markers, which most people won't even care about, is my problem with it. The fact every actor would have to have extra crap slotted into their spawn states which means modders have to take even more extra steps to set up a "correct" item actor, on top of the fact they also need to make a map marker actor for every item they define and mess around with ACS etc. This is fine for an external mod to play around with but not something I'm comfortable bloating up core with, even if it is kinda cool.

May 11, 2017, 04:30:50 AM
Reply #5

Offline JaxOf7

  • MM8BDM Extender
  • *****
  • Date Registered: March 23, 2011, 03:56:13 AM

    • View Profile
Re: weapon/item minimap icons
« Reply #5 on: May 11, 2017, 04:30:50 AM »
The fact every actor would have to have extra crap slotted into their spawn states
Code: [Select]
actor RollingCutterWep : BaseMM8BDMWep
{
States
{
Spawn:
WEA2 F 1
loop
->
Code: [Select]
actor RollingCutterWep : BaseMM8BDMWep
{
States
{
Spawn2:
WEA2 F 1
loop
That's it.
modders have to take even more extra steps to set up a "correct" item actor
mess around with ACS
If it's an item that actually spawns on the map. Statically.
How many mods do that again?
Class mods have like 3 new items tops.
LMS mods certainly don't do that.
Got like 2 expansions?
Already fiddling around with ACS for the sake of ammo. Technically, the weapon map markers could just be added to the same array.
need to make a map marker actor for every item they define
Will not dispute this. Think it's important for devs to define the sprite of the marker for things like animated items.

May 25, 2017, 03:15:06 AM
Reply #6

Offline JaxOf7

  • MM8BDM Extender
  • *****
  • Date Registered: March 23, 2011, 03:56:13 AM

    • View Profile
Re: weapon/item minimap icons
« Reply #6 on: May 25, 2017, 03:15:06 AM »
Updated first post with link to JMod cosmetics.