Discord: RyBack#4239
fb: https://www.facebook.com/mohabhassan312
I wish! With my game it is not.nope, it's the other way around. files in the main folder overwrite the files in the pk3.
I am putting stuff in the "maintt" folder not the actual "main" folder, because I think it is better to run the coop mod with BT included.
I have not tested it yet, but I am confident it will work.Have you found a way around warmup.
I am currently working on more important tasks, I am still making notes to get a good overview.
This is what I have got working so far:
- objectives (that was actually super easy, as I made a script for that in 2015)
- players are forced into allies team on spawn
- team selection is skipped, showing only primary weapon selection
- respawn manager respawns players at where they died (will need testing and adjustments for each map)
- disabled autosave in multiplayer
- integrated my mom (multi options menu - currently for development test commands, later for coop features)
- player health is scaled depending on coop_skill cvar
- a few functions replacing $player related stuff not working in mp
Is someone willing to help out with the ui ?
Some menus would need to be modified for the mod, so they can be used with my mom.
Discord: RyBack#4239
fb: https://www.facebook.com/mohabhassan312
https://knowyourmeme.com/memes/youre-mom-gay?full=1
You just made me ruin it btw.
Discord: RyBack#4239
fb: https://www.facebook.com/mohabhassan312
Sorry mate, but I there is no law that says you need to know all memes.
It would have been funny if you had posted a link to the picture in the first place, but now, afterwards, ya it is ruined.
Maybe this will help you
http://trollstreet.com/wp-content/up...unny-memes.jpg
Guys can we stay on the subject of the thread instead speaking about your mothers?
I made a function that is suppose to check if the given var is a player and if there are multiple players on the server.
That will be needed if there are multiple players and the reference to $player will no longer work with many script commands,
because $player has become a array, rather than just a regular entity.
Because I need this function very fast and very reliant I thought it would not hurt to get a second opinion here.
PHP Code:
//check if the given entity is of type player and a array
//problems arise as soon as there is more than 1 player on the map
//=========================================================================
isPlayerArray local.player:{
//=========================================================================
//level.coop_singleplayer reads cvar g_gametype value upon level start once
//level.coop_svmaxclients reads cvar sv_maxclients value upon level start once
//singeplayer or var is empty or entity is missing
if( level.coop_singleplayer == 1 || local.player == NIL || local.player == NULL ){
end 0
}
if( local.player.size > 1 ){
for(local.i = 1;local.i <= local.player.size;local.i++){
local.current = local.player[local.i]
//just to be perfectly paranoid:
//- make sure the player exists
//- make sure the player has the targetname player - removed, this is tottaly redundant and slow
//- make sure the player has the correct entity number 0 to sv_maxclients(-1) are reserved for players
if(local.current != NULL && local.current.entnum < level.coop_svmaxclients /*&& local.current.targetname == "player"*/ ){
end 1
}
}
}
}end 0