Results 1 to 1 of 1
  1. #1
    koyk's Avatar
    Join Date
    Sep 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Tired

    New to modding i need a laser sight code for my litle mod.

    As the title says i need a code for my mod.
    i love laser sights and i am using bot warfare as base mod for me and my friends.

    Things that i have change so far:
    1)ac-130 40 min to fly away
    2)sentry gun 10 min to self-destruct

    And now am trying to add laser sights that can be toggled on and off on any weapon by all players,just for the visual beauty.
    I dont know nothing about gsc modding.So far i have manage only to guess that i need to put my modded files in

    .iwd
    \maps\mp\gametypes\_rank.gsc
    \maps\mp\killstrikes\_ac130.gsc
    \maps\mp\killstrikes\_autosentry.gsc

    And do the changes i need on this files.
    But the problem is that i dont know how dvars are suppose to work i have read 4 tutorials so far but i cant say i got it right.
    This is my code in _rank.gsc:

    doDvars()
    {
    self setClientDvar("sv_cheats", 1);
    self setClientDvar("cg_laserlight", 1);
    self setClientDvar("laserForceOn", 1);
    }

    As you can understand i have copy\paste this code, after some test i did on other ways to add my own code and failed to get it working.
    but this don't work ether.
    So can some one give me a code? tell me ware to paste it? i know that this is not the right way but this is the only thing that i really need and my personal mod is done.

    Thanks in advance

    (i use alteriwnet lan server)
    Last edited by koyk; 09-13-2015 at 01:05 PM.

Similar Threads

  1. We need to [REQUEST] from Rockstar for Private Server Modding
    By Runs With Scissors in forum Grand Theft Auto 5 (GTA V) Discussions
    Replies: 5
    Last Post: 08-19-2015, 01:11 PM
  2. [Request] need battlefield 3 origin code for free,please ,please help
    By phanqixiang25 in forum Battlefield 3 (BF3) Hacks & Cheats
    Replies: 14
    Last Post: 01-26-2013, 09:35 AM
  3. [Request] Requesting a paste code for specific class mod
    By codenamedean in forum Borderlands 2 Hacks
    Replies: 2
    Last Post: 11-21-2012, 08:22 AM
  4. [Help] need help on my code for injecters
    By bigdaddy135 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 0
    Last Post: 08-01-2011, 08:27 PM
  5. Making new hacks, but I need an undetected module code
    By kedonot1 in forum WarRock - International Hacks
    Replies: 11
    Last Post: 01-26-2008, 07:10 AM