Jump to content

Tetixx

Member
  • Content Count

    10
  • Joined

  • Last visited

  • Medals

Everything posted by Tetixx

  1. Awesome. Thank you very much man. 👌
  2. Btw, where do you find the night vision goggles in your vass eden mod?
  3. Hey man, any idea how to make the money system of ravage work for this? Ravage has a simple money system. the money is physical, you put it in your inventory. classname is "rvg_money" EDIT: I did a bit of tinkering fn_VASShandler sqf and did this: /* Author: 7erra <https://forums.bohemia.net/profile/1139559-7erra/> Description: VASS calls this function when certain events happen. Add your own code to change behaviour. (Similar to BIS_fnc_callScriptedEventHandler) Parameter(s): 0: STRING - Mode in which the functions is called 1: ARRAY - Passed arguments Returns: See sub functions */ params ["_mode",["_this",[]]]; switch _mode do { case "getMoney":{ /* Description: VASS wants to know how much money the unit has Parameter(s): 0: OBJECT - Unit whose money is requested Has to return: NUMBER - Unit's money */ params ["_unit"]; /* EXAMPLE */ ({_x isEqualTo "rvg_money"} count magazines _unit) }; case "setMoney":{ /* Description: VASS changes the amount of money the player has Parameter(s): 1: OBJECT - Unit whose money will be changed 0: NUMBER - Amount of money changed (can be positive or negative) Has to return: Nothing */ params ["_unit", "_change"]; /* EXAMPLE */ _unit addMagazines ["rvg_money", _change]; }; }; With that I got to show my current ravage money in my inventory on the shop, it shows the difference if you buy something, etc. but it doesnt remove a certain amount of ravage money in my inventory after I buy. for example, I have 1,200 rvg money. I buy a a gun priced at 200. The shop lets me buy it because I have 1,200 rvg money. But then after I buy, it my money is still at 1,200 instead of 1,000. Any idea? (Sorry, not so good in scripting. I only got to write the script above through bits and pieces searching on google. UPDATE: Got it. Borrowed this code from HallyG of HAL's shop. case "setMoney":{ /* Description: VASS changes the amount of money the player has Parameter(s): 1: OBJECT - Unit whose money will be changed 0: NUMBER - Amount of money changed (can be positive or negative) Has to return: Nothing */ params ["_unit", "_funds"]; /* EXAMPLE */ if (_funds < 0) then { for "_i" from 1 to (abs _funds) do { _unit removeItem "rvg_money"; }; } else { _unit addMagazines ["rvg_money", _funds]; }; }; };
  4. Tetixx

    [R3F] Logistics

    Hey guys. Any idea how to make the player not walk when placing stuff from the creation factory? Like enable the player to run. Currently it forces the player to walk.
  5. Tetixx

    GF Ravage Heros Money Reward

    Thank you so much man! Thanks for the time. Glad you helped me out.
  6. Tetixx

    GF Ravage Heros Money Reward

    Thanks for the solution! Although I know you put this somewhere in the sqf file, I dont know which line to put this in specifically. I apologize, I'm a bit of a bum when it comes to scripts.
  7. Tetixx

    GF Ravage Heros Money Reward

    Oh I didn't notice it was made for SP. But thank you! Hoping you could come up with a solution.
  8. Tetixx

    GF Ravage Heros Money Reward

    Hey bro, the kill counter also counts for the player if he dies or respawns. Any way to fix this? Thanks btw
  9. Operation Kingfish Addons: POLPOX Artwork, whiplash and direone statics, ussocom, cup terrain
  10. War Photography Addons used: POLPOX Artwork Supporter, Whiplash static anims, CFP, CUP, DHI Uniforms & Equipment, DIREONE'S combat and relax poses, NATO weapons & vehicles, Philippine factions mod, RHS, RUSVDV, spec4gear, TFR static poses, ussocom massi, Project OPFOR, Kunduz and Zargabad maps Ambush De Oppresso Liber Calm before the storm Joint Excercises For The Motherland! Flight Deck Patrol Sneaky Local help
×