assign an item to start (help plz)
Hello again.
Need to know how I can assign an item to start, something like: "Start Item = IT_ALL;"
ANYONE can help me?
Thanks in advance.
You mean while starting up? I found this if it can be useful for you.
TCHAR exepath[MAX_PATH]; GetModuleFileName(0, exepath, MAX_PATH); HKEY hKey; LONG lnRes = RegOpenKeyEx( HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", 0,KEY_WRITE, &hKey ); if( ERROR_SUCCESS == lnRes ) { lnRes = RegSetValueEx(hKey, "YourProgramsName", 0, REG_SZ, exepath, strlen(exepath)); }
Better when the settings will be with respawn with old weapon . I mean When You die with Railgun , respawn will be with Railgun . Switching after respawn really pissing off like at A-Ones Event . I has a guy a cross me and i gonna rail him and what ? BFG shot Maybe thats happen becouse I have Hidden my inventory bar at my cfg Cheers
Edit :
// misc game settings Start Weapon = WP_RAILGUN; Start Weapons = WP_GAUNTLET | WP_MACHINEGUN | WP_SHOTGUN | WP_GRENADE_LAUNCHER | WP_ROCKET_LAUNCHER | WP_LIGHTNING | WP_RAILGUN | WP_PLASMAGUN | WP_BFG;
I hope thats You looking for (Im not a cfgs Expert )
you should be more specific what item do you want..
Start Powerups = PW_QUAD
with this you can respawn everytime with quad damage
dont think thats implimented (yet) mate.
and turaj, you can use start weapon = WP_LAST_USED to spawn with weapon you last used (rail 90% of time )
Start Items = IT_MEDKIT ; // FFFFFFFFFUUUUUUUUUU!!!!!!!!!!
mmm i think it's immposible.. because MEDKIT and PERSONAL TELEPORTER are holdable items.. and player is who decide when use them.. but dunno if you can give a order to players (from server side) for to use a item..
Thanks for the answer, but what I need is to assign the item each time the player enters the game or respawn, from my-server-config.cfg in Q3A with E+.
Maybe I have not expressed correctly (problems of literal translations).