razorback Posted June 30, 2011 Posted June 30, 2011 Awesome idea! ..drives me crazy looking for english to polish and english to french translations online only to end up being laugh at. Quote
Ch11m33y aka. ChiLLy<3 Posted July 6, 2011 Posted July 6, 2011 No Last Stand No Grenade launchers No Marty Last Stand kielletty Grenade Launcher kielletty Martyrdom kielletty theres the rules in finnish but i dont think u actually do to much with them as u actually cant get the game in finnish so basicly ppl would get confused if we used other words.... (kielletty = not allowed/against the rules) Quote
Reptile* Posted July 7, 2011 Posted July 7, 2011 Noob like me I have no idea what Last Stand and Martydom means ingame. So those finnish rules ain't work I think... Just my 2 cents Quote
rolf Posted July 7, 2011 Posted July 7, 2011 In CoD4 you make 'classes', you have up to 5 in which you define some perks (more health, ammo, nades, damage, etc, about 20 in total). Two of those are Last stand and Martyrdom. These are perks you have to choose yourself, in your class, to be able to use those. So, you have seen the words at least once. This doesn't hold for grenade launcher though, a default class has a grenade launcher. Quote
Ch11m33y aka. ChiLLy<3 Posted July 8, 2011 Posted July 8, 2011 yea so the rules in finnish cant be in another form because it wouldnt help anyone as they wouldnt know what the heck the rules mean so just the word "kielletty" is enough Quote
pawuszka96 Posted July 11, 2011 Posted July 11, 2011 In my Polish version of Cod 4 Last Stand = Ostatni bastion Grenade launcher = Granatnik Marty(martyrdom) = Męczennik Quote
LA_Kings_Fan Posted July 17, 2011 Posted July 17, 2011 Yep we need the Polish rules I've noticed this guy "IVAR" or "Ivar-Something ?" playing a few times lately, and he ALWAYS uses Last Stand and/or Marty. I warned him a couple times last night as only 6 or 8 of us were on the HC server, and I think I was the only =F|A= member, the system finally auto-booted him, but he was back playing by the next map. I asked him if he spoke English, and he replied No he speaks Polish, and I doubt I'll remember pawuska's commands above, so !rulesP or whatever would be great ! Quote
rolf Posted July 20, 2011 Posted July 20, 2011 (edited) config/rules.cfg: [english] nogl = "No grenade launchers allowed" nols = "^6No last stand allowed" nomartyr = "No martyrdom allowed" [french] nogl = "Pas De Lance Grenade" nols = "^6Pas De Baroud D'honneur" nomartyr = "Pas De Martyre" plugins/multilanguage-rules.php: <?php $multilanguage_rules = new multilanguage_rules(); $mod->registerCommand("rules", false, "rules", $multilanguage_rules); $mod->registerCommand("r", '~^r \S+$~i', "r", $multilanguage_rules); class multilanguage_rules { private $rules = array(); private $mod; private $logging; public function __construct() { $this->mod = &$GLOBALS['mod']; $this->logging = &$GLOBALS['logging']; $this->rules = parse_cfg_file($this->configDir . "config/rules.cfg", true); $this->logging->write(MOD_NOTICE, "Config loaded: rules.cfg"); print_r($this->rules); } public function rules($guid, $parameters) { $this->r($guid, array("english")); } public function r($guid, $parameters) { if(isset($this->rules[$parameters[0]])) { foreach($this->rules[$parameters[0]] as $rule) { $this->mod->rconSay($rule); } return true; } foreach ($this->rules as $key) { if(isset($key[$parameters[0]])) { $this->mod->rconSay($key[$parameters[0]]); } } } } ?> Furthermore: Add rules and r to allow the commands to players in config/groups.cfg and remove the "old" plugin for !rules. And the commands for !nogg etc can be removed If we hear a grenade launcher, we can simply say !r nogl and we 'hope' that someone catches his/her own language. If we see a notorious DesDélinquantsFRENCH, we say !r french. Can't be easier. Execpt for !french perhaps... Anyway, this was more something for myself (holidays ), to see if I didn't forget how to program, but it might be useful for FA [edit] forgot a bit of text Edited July 20, 2011 by rolf Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.