Augustine: Despondent
Welcome to our Forums! Please login or register! You can introduce yourself here!







Augustine: Despondent

Welcome to the forums! We are the homeplace for Slender: Darkplaces, Augustine, Nightfall survival, and Revamped 1.


You are not connected. Please login or register

Im trying to create my own personal cheats for augvamped?

View previous topic View next topic Go down  Message [Page 1 of 1]

SirXeno

avatar
Major Grade 3
Major Grade 3
I don't know where to start to making a give player weapon code one that can be used during online play

Can anyone start me off

Shhhh...... don't tell Mexi What a Face
Mexi if you are reading this press the little X at the top of the browser....

Mexicouger

avatar
Noble
Noble
Here, I'll help you out.

Goto weapons.qc, and goto the function named ImpulseCommands.

Scroll down to my secret cheat, and before it, make this:
Code:

   case 200:
      self.weapon_1 = PISTOL;         //Put a pistol in the players first weaponslot
      self.ammo_pistol = PISTOL_MAXCLIP;
      self.exam_pistol = PISTOL_MAXAMMO;   //Give the player some ammo for the pistol
      W_SetWeaponStats(self);      //Update viewmodel and HUD
   break;

Just note, that if you aren't hosting, you can't use your own progs.dat. When you connect to a server, you automatically you use their progs.dat.




Contemplating on how to fix problems...
http://augustine.forumotion.com

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum