Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Python script for the server. https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=18&t=1710 |
Page 8 of 9 |
Author: | Harry [ Fri Sep 02, 2005 8:50 am ] |
Post subject: | |
Author: | Superfuzz [ Fri Sep 02, 2005 4:48 pm ] |
Post subject: | |
Author: | Harry [ Fri Sep 02, 2005 5:06 pm ] |
Post subject: | |
Author: | Superfuzz [ Fri Sep 02, 2005 5:08 pm ] |
Post subject: | |
Author: | Superfuzz [ Sat Nov 05, 2005 12:38 am ] |
Post subject: | |
sorry figured it out. Case sensitive. |
Author: | Harry [ Sat Nov 12, 2005 11:38 am ] |
Post subject: | |
Small breaktrough: sound issued by python. Theres only one glitch: it mean you have to edit the menu and remove all the award recommendations. The idea is simple: use this command: bf2.gameLogic.sendRankEvent(player, rank, score) player is an player instance (use a for loop for all the players in the game and send them all the msae command) rank is the rank typ, this is what gets changed for every single eventtype (ie flag capped, flag stolen etc.) score can be anything you like, but i keep it at 0 Now the problem is: the menu shows an little icon with your rank in it, that needs to be removed, ill go searching for it. I hope you guys like it, ill see if i can make it work better. I dont think this misuse of the ranking award system will bother the game, since you cant get any awards anyway in this game using mods. edit: Theres the promotionsound too. Problem is, theres only one sound. So that has to be done by some other method. |
Author: | Superfuzz [ Sat Nov 12, 2005 7:17 pm ] |
Post subject: | |
Author: | Harry [ Sat Nov 12, 2005 7:21 pm ] |
Post subject: | |
Page 8 of 9 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |