I can't seem to find how to get the capture number. Skulltag on the ZDW only supports Red/BlueScore(), using GetActorProperty(APROP_Score...); didn't get me the players score and I don't have any way of checking the player inventory for an item if it's given to them (I don't know the actor name if its given, though the HUD seems to draw your points).
Is there something simple I'm missing to grab player capture points in CTF? So far I just loop every tic and see if you have the flag and check the previous tic for the score... but I'd rather just do it at the end with one clean function.
Get player points in game (like capture #)
-
- Zandrone
- Posts: 1244
- Joined: Thu Jun 28, 2012 9:07 pm
- Location: Rwanda
- Torr Samaho
- Lead Developer
- Posts: 1543
- Joined: Fri May 25, 2012 6:03 pm
- Location: Germany
RE: Get player points in game (like capture #)
I just checked the source, the number you are looking for is internally stored as player_t::lPointCount. Currently there is no way for a mod to access it, but I'd say this is a very important property that should be accessible. Please make a request so we can discuss this in detail.
-
- Forum Regular
- Posts: 143
- Joined: Mon Jun 04, 2012 2:01 pm
RE: Get player points in game (like capture #)
RedFlag and BlueFlag, you can always check what you are carrying by using printinv in console. Then to check your inventory via ACS you can use this: http://zdoom.org/wiki/CheckInventoryand I don't have any way of checking the player inventory for an item if it's given to them (I don't know the actor name if its given, though the HUD seems to draw your points).
[20:19] <+IdeIdoom> join #VGL
[20:19] <+IdeIdoom> oh fuck
[20:19] <+IdeIdoom> I FORGOT the /
[20:19] <+IdeIdoom> biggest fail
[20:19] <+IdeIdoom> oh fuck
[20:19] <+IdeIdoom> I FORGOT the /
[20:19] <+IdeIdoom> biggest fail
RE: Get player points in game (like capture #)
He already did that. He meant if there was any way to check point # via inventory.Wirtualnosc wrote:RedFlag and BlueFlag, you can always check what you are carrying by using printinv in console. Then to check your inventory via ACS you can use this: http://zdoom.org/wiki/CheckInventoryand I don't have any way of checking the player inventory for an item if it's given to them (I don't know the actor name if its given, though the HUD seems to draw your points).
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)

Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
