Bricktop 68 Report post Posted January 8, 2018 Does anyone have a script to harvest these or know the class names? 2 nzjocko and Hooty reacted to this Quote Share this post Link to post Share on other sites
0 salival 755 Report post Posted January 8, 2018 1 hour ago, Bricktop said: Does anyone have a script to harvest these or know the class names? Based off this commit that @ebayShopperpushed a while ago, you should be able to harvest them now: https://github.com/EpochModTeam/DayZ-Epoch/commit/496681cd9b14a61661c3c571a29d72d315f2158b All you should need to do is be near the plants and right click your knife 1 1 Hooty and Bricktop reacted to this Quote Share this post Link to post Share on other sites
0 Hooty 215 Report post Posted January 8, 2018 Anyone know the class name for the sun flower. I Kinda wanna make random sun flower epoch event xD. 1 Bricktop reacted to this Quote Share this post Link to post Share on other sites
0 salival 755 Report post Posted January 8, 2018 6 minutes ago, Hooty said: Anyone know the class name for the sun flower. I Kinda wanna make random sun flower epoch event xD. MAP_pumpkin 1 Bricktop reacted to this Quote Share this post Link to post Share on other sites
0 Hooty 215 Report post Posted January 8, 2018 1 minute ago, salival said: MAP_pumpkin Thats the sunflower? Quote Share this post Link to post Share on other sites
0 salival 755 Report post Posted January 8, 2018 22 minutes ago, Hooty said: Thats the sunflower? Fuck, maybe less epoch more sleep MAP_p_Helianthus 1 1 Bricktop and DIO reacted to this Quote Share this post Link to post Share on other sites
0 Hooty 215 Report post Posted January 8, 2018 Lol I was like wtf @salival must be tired. Quote Share this post Link to post Share on other sites
0 Bricktop 68 Report post Posted January 8, 2018 8 hours ago, Hooty said: Anyone know the class name for the sun flower. I Kinda wanna make random sun flower epoch event xD. This is what I want to do too. Pumpkin and Sunflower "events" like the random weed farms I'm going to make them high value black market items like the hemp. This should cause a little chaos and confusion - I hope anyway :D ===================== Also... If I understand this right I don't need click actions for these two plants as it's a default option on the knife right? 1 Hooty reacted to this Quote Share this post Link to post Share on other sites
0 oldmatechoc 390 Report post Posted January 8, 2018 On 1/9/2018 at 12:32 AM, Bricktop said: This is what I want to do too. Pumpkin and Sunflower "events" like the random weed farms I'm going to make them high value black market items like the hemp. This should cause a little chaos and confusion - I hope anyway :D ===================== Also... If I understand this right I don't need click actions for these two plants as it's a default option on the knife right? Give this a crack. (sorry untested should work though) Spoiler private [ "_event_marker","_spawnChance", "_spawnMarker", "_spawnRadius", "_textMark", "_item", "_marker", "_start_time", "_wait_time", "_spawnRoll", "_position", "_flwr_pos", "_text_marker","_hint","_Sunflowerplants" ]; _spawnChance = 0.50; _markerRadius = 350; _textMark = true; _wait_time = 3600 ; _start_time = time; _spawnRadius = 5000; _spawnMarker = 'center'; // CHECK IF ALREADY RUNNING if (isNil "epoch_event_running") then { epoch_event_running = false; }; if (epoch_event_running) exitWith { diag_log("Event already running"); }; // CHANCE _spawnRoll = random 1; if (_spawnRoll > _spawnChance and !_textMark) exitWith {}; // LOCATION _position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos; diag_log(format["Spawning Sunflower Farm at %1", _position]); _event_marker = createMarker [ format ["Sunflower_event_marker_%1", _start_time], _position]; _event_marker setMarkerShape "ELLIPSE"; _event_marker setMarkerColor "ColorGreen"; _event_marker setMarkerAlpha 0; //change to 0.5 for visiblity _event_marker setMarkerSize [(_markerRadius + 50), (_markerRadius + 50)]; _flwr_pos = [_position,0,(_markerRadius - 100),10,0,2000,0] call BIS_fnc_findSafePos; if (_textMark) then { _text_marker = createMarker [ format ["Sunflower_event_text_marker_%1", _start_time], _flwr_pos]; _text_marker setMarkerShape "ICON"; _text_marker setMarkerType "mil_dot"; _text_marker setMarkerColor "ColorGreen"; _text_marker setMarkerAlpha 0.5; _text_marker setMarkerText "Sunflower!"; }; diag_log(format["Creating Sunflower Farm at %1", _flwr_pos]); createVehicle ["MAP_p_Helianthus",[(_flwr_pos select 0) + 7, (_flwr_pos select 1) - 16,-0.64],[], 0, "CAN_COLLIDE"]; createVehicle ["MAP_p_Helianthus",[(_flwr_pos select 0) - 7, (_flwr_pos select 1) - 16,-0.64],[], 0, "CAN_COLLIDE"]; createVehicle ["MAP_p_Helianthus",[(_flwr_pos select 0) + 7, (_flwr_pos select 1) + 16,-0.64],[], 0, "CAN_COLLIDE"]; createVehicle ["MAP_p_Helianthus",[(_flwr_pos select 0) - 7, (_flwr_pos select 1) + 16,-0.64],[], 0, "CAN_COLLIDE"]; // MESSAGECLIENT _hint = parseText format[ "<t align='center' color='#FFC400' shadow='2' size='1.75'>I Smell Sunflowers!!</t> <br/> <t align='center' color='#ffffff'>Radio chatter of a Sunflower Farm! Check your Map for the Location!</t>" ]; customRemoteMessage = ['hint', _hint]; publicVariable "customRemoteMessage"; diag_log(format["Sunflower Farm Setup, waiting for %1 seconds", _wait_time]); sleep _wait_time; epoch_event_running = false; deleteMarker _event_marker; if (_textMark) then { deleteMarker _text_marker; }; 2 Bricktop and Hooty reacted to this Quote Share this post Link to post Share on other sites
0 Bricktop 68 Report post Posted January 8, 2018 3 minutes ago, oldmatechoc said: Give this a crack. (sorry untested should work though) Reveal hidden contents private [ "_event_marker","_spawnChance", "_spawnMarker", "_spawnRadius", "_textMark", "_item", "_marker", "_start_time", "_wait_time", "_spawnRoll", "_position", "_flwr_pos", "_text_marker","_hint","_Sunflowerplants" ]; _spawnChance = 0.50; _markerRadius = 350; _textMark = true; _wait_time = 3600 ; _start_time = time; _spawnRadius = 5000; _spawnMarker = 'center'; // CHECK IF ALREADY RUNNING if (isNil "epoch_event_running") then { epoch_event_running = false; }; if (epoch_event_running) exitWith { diag_log("Event already running"); }; // CHANCE _spawnRoll = random 1; if (_spawnRoll > _spawnChance and !_textMark) exitWith {}; // LOCATION _position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos; diag_log(format["Spawning Sunflower Farm at %1", _position]); _event_marker = createMarker [ format ["Sunflower_event_marker_%1", _start_time], _position]; _event_marker setMarkerShape "ELLIPSE"; _event_marker setMarkerColor "ColorGreen"; _event_marker setMarkerAlpha 0; //change to 0.5 for visiblity _event_marker setMarkerSize [(_markerRadius + 50), (_markerRadius + 50)]; _flwr_pos = [_position,0,(_markerRadius - 100),10,0,2000,0] call BIS_fnc_findSafePos; if (_textMark) then { _text_marker = createMarker [ format ["Sunflower_event_text_marker_%1", _start_time], _flwr_pos]; _text_marker setMarkerShape "ICON"; _text_marker setMarkerType "mil_dot"; _text_marker setMarkerColor "ColorGreen"; _text_marker setMarkerAlpha 0.5; _text_marker setMarkerText "Sunflower!"; }; diag_log(format["Creating Sunflower Farm at %1", _flwr_pos]); createVehicle ["MAP_p_Helianthus ",[(_flwr_pos select 0) + 7, (_flwr_pos select 1) - 16,-0.64],[], 0, "CAN_COLLIDE"]; createVehicle ["MAP_p_Helianthus ",[(_flwr_pos select 0) - 7, (_flwr_pos select 1) - 16,-0.64],[], 0, "CAN_COLLIDE"]; createVehicle ["MAP_p_Helianthus ",[(_flwr_pos select 0) + 7, (_flwr_pos select 1) + 16,-0.64],[], 0, "CAN_COLLIDE"]; createVehicle ["MAP_p_Helianthus ",[(_flwr_pos select 0) - 7, (_flwr_pos select 1) + 16,-0.64],[], 0, "CAN_COLLIDE"]; // MESSAGECLIENT _hint = parseText format[ "<t align='center' color='#FFC400' shadow='2' size='1.75'>I Smell Sunflowers!!</t> <br/> <t align='center' color='#ffffff'>Radio chatter of a Sunflower Farm! Check your Map for the Location!</t>" ]; customRemoteMessage = ['hint', _hint]; publicVariable "customRemoteMessage"; diag_log(format["Sunflower Farm Setup, waiting for %1 seconds", _wait_time]); sleep _wait_time; epoch_event_running = false; deleteMarker _event_marker; if (_textMark) then { deleteMarker _text_marker; }; Thanks man! - I was just working on this now You've saved me some time :) Testing now ... Quote Share this post Link to post Share on other sites
0 Bricktop 68 Report post Posted January 10, 2018 ok I can harvest the pumpkins and I get seeds I then craft the seeds in to plants with the option "Craft pumpkin plant" + fertilizer and water bottle I then get the option to "plant pumpkin plant" I plant the plant but it's not what it should be (Looks like a grave) PLUS - I have no option to harvest the new grown plants ================== This is the same with the hemp - Harvest plant / craft seeds / craft plant / plant plant / plant grows but I CAN NOT harvest new plant (Looks like a fern) ================== I have not tested the sunflowers yet ... ================== I'm not sure what I missed or if this is just not sorted out but any suggestions would be appreciated. This is what I get after growing a new hemp plant This is what I get after planting a pumpkin plant Thanks Quote Share this post Link to post Share on other sites
0 L3G0 29 Report post Posted February 8, 2018 https://github.com/Legodev/DayZ-Epoch-Origins-Combined-Survival Here you can find my assets. -I also invested some Minutes to search my old planting files for you, maybe someone can make use of them. https://github.com/Legodev/DayZ-Epoch-Origins-Combined-Survival/tree/master/src/missionfiles/planting - I even searched my old code that meant to be in dayz epoch but never was finished after vbawol said there won't be an next update of dayz epoch. https://github.com/Legodev/DayZ-Epoch-Origins-Combined-Survival/tree/master/src/oldpatches The planting files are taken from an old mission file, i don't think that they are the correct ones for the assets, they basically where the ones i used during development as i had no custom client files. So maybe the files requite the following in your init.sqf: // planting DZE_PlantingreUsePlant = true; DZE_PlantingUpgradeWaterlevel = 5; DZE_PlantingUpgradeDistance = 5; DZE_PlantingFertilizer = "FoodCanUnlabeled"; DZE_PlantingPumpkinSeed = "ItemBook3"; DZE_PlantingPumpkinPlant = "ItemEmerald"; DZE_PlantingPumpkinObjects = ["Grave","MAP_pumpkin2","MAP_pumpkin"]; DZE_PlantingHempSeed = "ItemBook4"; DZE_PlantingHempPlant = "ItemAmethyst"; DZE_PlantingHempObjects = ["MAP_c_fern","MAP_p_heracleum","fiberplant"]; // BUT: please don't expect any help from me, this was 3 years ago, i barely now anything about what i did back then, thats why everything i commited for you guys is not ordered in any way. Sorry for that! Quote Share this post Link to post Share on other sites
0 l1nkrx7 6 Report post Posted April 27, 2018 anyone get this working Quote Share this post Link to post Share on other sites
Does anyone have a script to harvest these or know the class names?
Share this post
Link to post
Share on other sites