ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[cvar_override?] Random dmflags per map

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Rejected Requests
View previous topic :: View next topic  
Author Message
Evolution
Spamming!


Joined: 06 Sep 2005

PostPosted: Tue May 22, 2012 9:39 pm    Post subject: [cvar_override?] Random dmflags per map Reply with quote

Could be used as a cvar_override 'randomflag', or 'randomize', or whatever.
Allows certain dmflags to be toggled at random. I've been wanting to do this for too many WNF events now, and can imagine seeing some permanent servers with this option.
Example:
Code:
map01 randomize "sv_instagib"


Also, randomly choose between two sets of dmflags given. This toggle both sv_instagib and sv_allowzoom:
Code:
map01 randomize "21572,131072" "285234244,131072"
Back to top
View user's profile Send private message Send e-mail
Sr69Mm-jC
Spamming!


Joined: 21 Jul 2011

PostPosted: Mon Jun 18, 2012 10:39 am    Post subject: Reply with quote

You could now probably use LOADACS and PATCHINF to randomly set a "hand-made" instagib mode. Remove all weapons/ammo from the map and when any player spawns take away his pistol and give a railgun to him. Since it will probably take a few seconds to switch the weapon you might also make the player temporary invulnerable at spawn (can be done through ACS as well). This is really not "clean" compared to direct DMFLAG switching but at least this may be a workaround Smile
Back to top
View user's profile Send private message
Evolution
Spamming!


Joined: 06 Sep 2005

PostPosted: Mon Jun 18, 2012 10:55 am    Post subject: Reply with quote

Aye, I had thought of that; but it's a bloody tricky trick indeed.
Back to top
View user's profile Send private message Send e-mail
Cybershark
Spamming!


Joined: 05 Jan 2005
Location: off the grid, but still fighting for the users!

PostPosted: Mon Jun 18, 2012 11:57 am    Post subject: Reply with quote

There's a lot of stuff can now be done, via the killer combo of PATCHINF and LOADACS, that's just waiting to be discovered!

It would work for a randomised switch to instagib - great idea SR - but it can't take care of the zoom part (or manipulating any other DMFLAGS).
Back to top
View user's profile Send private message Visit poster's website
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Wed Aug 15, 2012 9:18 am    Post subject: Reply with quote

You have cvar overrides so you can specify exactly what you want on a per map basis. Why do you need random values?
Back to top
View user's profile Send private message Visit poster's website
phenex2
Spamming!


Joined: 10 Jan 2008

PostPosted: Wed Aug 15, 2012 11:00 am    Post subject: Reply with quote

random dmflags are a bit too strong. what you want is variability.
an upcoming feature will allow variability via "map aliases" that can be combined with cvar overrides.
so you'll be able to do:
Code:
alias map01insta map01
add_cvaroverride map01insta sv_instagib 1

addmap map01insta
addmap map01


that way you can define e.g. two rotations with the same maps but different settings on each map.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Rejected Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group