Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002930Zandronum[All Projects] Suggestionpublic2016-11-21 16:262016-11-23 17:02
Reportermasos 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002930: Some ACS functions as commands
DescriptionI would be glad to see some ACS functions in form of console commands. For example, PlayerHealth() or GetPlayerLives(). There is a workaround: puke/pukename command and writing scripts containing only this function. But still, writing a simple GetPlayerLives() script took me 2 hours because I am unexpirienced in wadding at all. So build-in functions would be great.
Attached Files

- Relationships

-  Notes
User avatar (0016254)
masos (reporter)
2016-11-21 16:28

built-in commands*
User avatar (0016297)
Catastrophe (reporter)
2016-11-23 15:00

Sorry to break it to you, but Zandronum already has what you're looking for.
'https://wiki.zandronum.com/SetPlayerLivesLeft [^]'
'https://wiki.zandronum.com/GetPlayerLivesLeft [^]'

Player health already exists in the form of aprop_health, see:
'https://zdoom.org/wiki/GetActorProperty [^]'
User avatar (0016298)
masos (reporter)
2016-11-23 15:17
edited on: 2016-11-23 15:18

So what? Can I actually write in server console "getplayerlivesleft 3" and it will display the third player's lives count?

User avatar (0016299)
Catastrophe (reporter)
2016-11-23 15:49
edited on: 2016-11-23 15:49

Yeah pretty much. Use KEYCONF to define a pukeable-script that does it for you.

User avatar (0016300)
masos (reporter)
2016-11-23 15:59

Here we are. I know it is possible to make myself, but I ask devs to make these built-in commands for Zandronum.
User avatar (0016301)
Catastrophe (reporter)
2016-11-23 16:08
edited on: 2016-11-23 16:14

I don't see why Dev's would have to waste time on this when it's already VERY easy to accomplish.

I can even write it out here because that's how painfully easy it is.

in keyconf: alias getPlayerLives "puke 1000"
in ACS: script 1000 (void) net
{
 print(d:getplayerlivesleft(playernumber()));
}

User avatar (0016302)
masos (reporter)
2016-11-23 17:02

I know, but still. If there was already a command, I wouldn't waste time figuring out how to make wads. Now I know how, but still, many others don't.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: masos
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-11-21 16:26 masos New Issue
2016-11-21 16:28 masos Note Added: 0016254
2016-11-23 15:00 Catastrophe Note Added: 0016297
2016-11-23 15:17 masos Note Added: 0016298
2016-11-23 15:18 masos Note Edited: 0016298 View Revisions
2016-11-23 15:49 Catastrophe Note Added: 0016299
2016-11-23 15:49 Catastrophe Note Edited: 0016299 View Revisions
2016-11-23 15:59 masos Note Added: 0016300
2016-11-23 16:08 Catastrophe Note Added: 0016301
2016-11-23 16:10 Catastrophe Note Edited: 0016301 View Revisions
2016-11-23 16:14 Catastrophe Note Edited: 0016301 View Revisions
2016-11-23 17:02 masos Note Added: 0016302






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker