Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2009-12-03 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
December 03, 2009, 10:54:18 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Join the new Facebook Warcraft-Source.com Group! It has been currently opened!
Join!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Toggle Mod for Eventscripts Python  (Read 74 times)
Frequency
Level 1 Trained Beginner
*
Offline Offline

United States United States

Posts: 28



« on: December 02, 2009, 07:49:12 PM »

Player Toggle Settings Mod Beta v0.1
Posted by: Frequency on 2009-12-02 12:50:14.

Requirements:
    Description:
      This mod is going to be basically all configurations available for players in a game.  In this version, players may toggle in and out of third person view and they may enable hudhint messages that either show how much hp is left on the enemy their attacking or how much damage they inflict every shot.  This is the Beta version and it is in working condition.  If there are any problems, contact me and I will find the solution.  I hope you guys enjoy this mod, there will be more to come in future versions!

    Download:
    http://addons.eventscripts.com/addons/download/togglemod

    Installation:
    Add the addons folder to your cstrike folder.
    Add the line es_load togglemod in your autoexec.cfg

    (Make sure your winzip program is set to view folders)

    Version Notes:
    • Beta v0.1 -
    1.) Hudhint Toggle
    2.) View Toggle
    3.) Console Command List

    Coming Soon:
    • Beta v0.2 -
    « Last Edit: Today at 07:17:21 AM by Frequency » Logged

    Frequency
    Level 1 Trained Beginner
    *
    Offline Offline

    United States United States

    Posts: 28



    « Reply #1 on: Today at 01:39:15 AM »

    Any comments, I would appreciate any suggestions for Beta v0.2
    Logged

    Frequency
    Level 1 Trained Beginner
    *
    Offline Offline

    United States United States

    Posts: 28



    « Reply #2 on: Today at 02:50:45 AM »

    Player Toggle Settings Mod Updated!
    Version: Beta v0.1
    Updated on: 2009-12-02 20:49:27
    Version Notes:
    Beta v0.1 -

    1.) Hudhint Toggle
    2.) View Toggle
    3.) Console Command List


    ** Fixed forgotten import usermsg
    ** Changed delayed to a gamethread version
    ** Made downloading a bit more user friendly
    « Last Edit: Today at 03:49:08 AM by Frequency » Logged

    CA.Berettonawak
    Le renommé méconnu...
    Watchdogs
    Level 7 Expert
    *****
    Offline Offline

    France France

    Posts: 2759


    Big Berettonawak is watching you...


    WWW
    Bifkids
    « Reply #3 on: Today at 12:05:07 PM »

    My comment: Here your code will work properly if only one player is connected to the server, but with more than this, it will interefere.
    If one player chooses thirdperson, it will change the value of "changeview" for everyone.
    To fix this problem, check the Python wiki about dictionnaries:
    http://docs.python.org/library/stdtypes.html#dict
    (and, of course, make a dictionnary containing every player)
    Logged

    Quote from: N0life
    Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
    Quote from: myself
    i love tuna juice Cheesy
    Quote from: Pietro
    =CA= Pietro: back
    =CA= Pietro: sorry, was downstair sharing my chocolate with my cat
    =CA= Pietro: you should see his face when he ate it xD
    Quote from: myself
    =CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
    Frequency
    Level 1 Trained Beginner
    *
    Offline Offline

    United States United States

    Posts: 28



    « Reply #4 on: Today at 04:16:26 PM »

    My comment: Here your code will work properly if only one player is connected to the server, but with more than this, it will interefere.
    If one player chooses thirdperson, it will change the value of "changeview" for everyone.
    To fix this problem, check the Python wiki about dictionnaries:
    http://docs.python.org/library/stdtypes.html#dict
    (and, of course, make a dictionnary containing every player)

    Would not happen since it is only targeted at the user (user = es.getcmduserid()), however, I think I see what you are talking about... with the variable changing, it would change the variable for everyone else if that is what you mean... didn't have this problem before, but I will try and fix it...
    Logged

    Pages: [1]   Go Up
      Print  
     
    Jump to:  

    Last 7 Shouts:
    December 02, 2009, 09:04:43 PM
    New Mod Available to allow Player Configuration  Settings in Game:

    http://warcraft-source.com/board/index.php/topic,8954.0.html
    December 02, 2009, 08:31:47 PM
    You should waste* some time in school
    December 02, 2009, 07:45:33 PM
    video games is waisting time....who disagree?
    December 01, 2009, 11:00:50 PM
    Bedtime, nighty ! Smiley
    November 30, 2009, 07:16:39 PM
    yello Cheesy
    November 30, 2009, 06:34:01 PM
    hellow^^
    Recent
    [Today at 10:07:27 PM]

    [Today at 08:48:41 PM]

    [Today at 08:10:58 PM]

    [Today at 08:05:33 PM]

    [Today at 05:21:46 PM]

    [Today at 04:52:38 PM]

    [Today at 04:16:26 PM]

    [Today at 02:55:11 PM]

    [Today at 02:45:07 PM]

    [Today at 02:29:26 PM]
    Theme switch

    Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
    TinyPortal v0.9.8 © Bloc
    Valid XHTML 1.0! Valid CSS!
    Page created in 0.143 seconds with 25 queries.