Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Drifty

Pages: [1]
1
Questions & Suggestions / General store button exclusion
« on: Aug 28, 2015, 07:51 AM »
isnt this supposed to work ?

StoreOwners.sqf

Code: [Select]
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
// @file Name: storeOwners.sqf
// @file Author: AgentRev, JoSchaap, His_Shadow

// Notes: Gun and general stores have position of spawned crate, vehicle stores have an extra air spawn direction
//
// Array contents are as follows:
// Name, Building Position, Desk Direction (or [Desk Direction, Front Offset]), Excluded Buttons
storeOwnerConfig = compileFinal str
[
["GenStore1", 6, 240, ["genObjects"]],
["GenStore2", 6, 250, ["genObjects"]],
["GenStore3", 6, 45, ["genObjects"]],
["GenStore4", 0, 265, ["genObjects"]],
["GenStore5", 5, 350, ["genObjects"]],
["GenStore6", 5, 350, ["head", "uniform", "vest", "backpack", "genItem", "customPlayerItems"]],

["GunStore1", 1, 0, []],
["GunStore2", 1, 75, []],
["GunStore3", 6, 135, []],
["GunStore4", 1, 65, []],

// Buttons you can disable: "Land", "Armored", "Tanks", "Helicopters", "Boats", "Planes"
["VehStore1", 1, 75, []],
["VehStore2", 6, 45, ["Boats"]],
["VehStore3", 4, 250, ["Boats"]],
["VehStore4", 5, 155, ["Boats"]],
["VehStore5", 0, 190, ["Planes"]]
];



im trying to create a store to sell only base part

since i added some building which are extra big if i make them spawn it in general store it will block the city or even block the player from getting out of the building

and also is it possible to remove the marquer of general store (i'll add them manualy in the editor) just to use a specific name for base building stores !

thanks in advance ! Drifty

2
Questions & Suggestions / Re: server main_config.sqf problem
« on: Aug 22, 2015, 03:07 PM »
Carefully check each line in the file and make sure it ends with a semicolon.

You're probably already using it but I *strongly* recommend using Notepad++ and SQF syntax highlighting to help keep your scripts in tact.

https://notepad-plus-plus.org/

http://www.armaholic.com/page.php?id=8680

Working with Arma scripts was a nightmare before I discovered these tools.


hahaha damn i failed here i dont know why i had another one placed here kind of buzzed me thanks for pointing me my mistake here was editing the wrong on deleted it now so no more mistake !

god i hate night shift

thanks hahaha

3
Questions & Suggestions / Re: server main_config.sqf problem
« on: Aug 22, 2015, 01:38 AM »
I replaced it with the original one thats why im confused ! Thats kind of weird

4
Questions & Suggestions / server main_config.sqf problem
« on: Aug 21, 2015, 11:45 PM »
hi there i changed config into main_config.sqf from "armaserver root\mpmissions\A3Wasteland_settings\main_config.sqf"  and also tried to edit it directly from the mission pbo

but since first change i made the server seems not to use the new one i set (money is last config i used not the new one i entered) yes i did close the server before edit .... also took a look at the file and evrything was set to what i wish but when i went into the server it was using previous config .... any cache file somewhere for that or whatever ... ?


thanks for your help. Drifty

5
Questions & Suggestions / Re: Modification questions
« on: Aug 17, 2015, 11:57 PM »
I disabled A3 ATMs in default config and added all mine in editor that way I have correct 1s I want and in places I want.

Nice i'll do that !

6
Questions & Suggestions / Re: Modification questions
« on: Aug 17, 2015, 03:11 PM »
i'll write it there because it think i did not use the correct button for sending pm (creampie)

if i call classes.sqf in playersetupgear.sqf do i need to remove all gear setting in playersetupgear.sqf ? if not where is the best place to call classes.sqf

would it be more simple for me to use your addon in playersetupgear.sqf directly ?


thanks again !


7
Questions & Suggestions / Re: Modification questions
« on: Aug 17, 2015, 12:24 PM »
Good thanks alot ! Sorry for the code in a standart writing im at work on my phone it was quite a lazy move

8
Questions & Suggestions / Re: Modification questions
« on: Aug 17, 2015, 11:59 AM »
No as i said i want to keep the function but i dont want all of them just some of

You said rev added some that we could remove but like i said the server im actually playing removed majority of the atm not only on map but also physically

if i can't its not a problem they will just be "secret" one but i would prefer to remove some and keep the others

Thanks

9
Questions & Suggestions / Re: Modification questions
« on: Aug 17, 2015, 11:50 AM »
default would stand for indi ?

By entering code between bracket you mean something like this ?


_side = switch (playerSide) do
   {
      case BLUFOR: {// insert class and weapon
// insert class and weapon ?
Etc };
      case OPFOR:  {// insert class and weapon ? };
                default {// insert class and weapon ? };


   };


Sorry as said my english isnt perfect i just want to make sur i understand sorry if i take your time for this
 

10
Questions & Suggestions / Re: Modification questions
« on: Aug 17, 2015, 10:18 AM »
First one you can fiddle with here
https://github.com/A3Wasteland/ArmA3_Wasteland.Altis/blob/master/client/functions/playerSetupGear.sqf#L46-L62

Heres an older post regarding adding stores (any)
http://forums.a3wasteland.com/index.php?topic=176.0

See my post here (second post)
http://forums.a3wasteland.com/index.php?topic=1950.msg12429#msg12429
I prefer this way, however i haven't tested this extensively but it seems to work fine
Dont forget to add your store in storeOwners.sqf, which you have to do using whichever method you use.

For the atms, Rev added a few that you will be able to remove in the editor (they are in mission.sqm)
The list you found, which i guess is this
https://github.com/A3Wasteland/ArmA3_Wasteland.Altis/blob/master/mapConfig/atmPositions.sqf
is if i understood it right is only for placing the markers, the ATMs themselves is in the vanilla "map" also and you cannot remove them. I believe if you disable the ATMs in the settings the markers disappears and the functionality is removed

Thanks ! For the atms i dont want to remove them all and your right for the mapconfig i removed the marker of the atm i dont want but i cant remove the physical atm i know they removed them in the server i play ( ultra a3wasteland ...etc ...) thats what im looking for

11
Questions & Suggestions / Re: Modification questions
« on: Aug 17, 2015, 09:50 AM »
As you seems way more advanced than me into this mod do you know if its possible to give different item for different classes but would also differ from each faction ? Like 9mm smg for ind 6.5 for op and blue ?

This would maybe help to have less ind in server and also in my point of view ind would have "lower budget" for start ( not actual start money but cheaper gear) than faction since faction represent a military organisation

Oo and thanks for the share i will tale a look at it when i will be home ;)

12
Questions & Suggestions / Re: Modification questions
« on: Aug 17, 2015, 09:16 AM »
Thanks for the reply ;) i will wait for your edit :)

I did not search a lot for gunstore but for the atm in the mapconfig there is like 40+ atm and in the mission file there is not more than 10 i searched alot and did not find out how to remove them

Also in the mission editor in arma they seems not listed on map ...

Thanks , drifty

13
Questions & Suggestions / Re: store prices
« on: Aug 17, 2015, 08:08 AM »
I think he want to list the store object by price or he want to edit the listing to his liking ?

14
Questions & Suggestions / Modification questions
« on: Aug 17, 2015, 06:24 AM »
Hi guys im new here and to arma 3 server configuration i loved a3 wasteland and i would like to modify some things from the oroginal v1.2 package

If some could help me to find the correct file to edit for the followings

-edit the class spawn gear ( sniper medic engineer) to give each different stuff

-remove atms i found some atm location in missions file but there is a list of 40+ and i cant find them all to remove the one i dont need

-how to add gunstores ?

If someone could help me to find out it would be much appreciated !

Thanks , drifty

Ps: sorry for my english it is not my native language

Pages: [1]