-
Content Count
15 -
Joined
-
Last visited
-
Medals
Everything posted by Trip Hazzard
-
How to change time of day in a mission?
Trip Hazzard replied to mr_centipede's topic in Arma Reforger - Scenario Editing
I think I worked out where I'm going wrong with this. Note : I am not trying to create multiple game modes in a scenario. What I am trying to do is override the default properties of any parent GameMode entity prefabs in an attempt to control time of day and weather in a scenario. By creating a version of an prefab in my mod I can override the default properties of any existing prefabs in the parent project, but what I can't do is override properties that are explicitly set in an instance of the prefab in the world. Below you can see the object hierarchy for a GameMode_Plain prefab. Starting at the bottom, the ArmaReforger project has two prefabs : GameMode_Base and GameMode_Plain so I assume there's some inheritance happening there from Base to Plain. My mod introduces a GameMode_Plain prefab that overrides the default properties of the prefabs in the ArmaReforger project. GameMode_Plain.et (TripHazzardWeatherandTOD) is where I add and set the default properties for the SCR_TimeAndWeatherHandlerComponent component. This component doesn't exist in either of the ArmaReforger GameMode prefabs. My prefab is then overridden by an entity instance. An entity instance is a version of the entity prefab that has been inserted ( instantiated ) in the world. An entity instance will use the default components and properties provided by the underlying prefab hierarchy unless it is configured to override them. In this case, the instance also includes its own SCR_TimeAndWeatherHandlerComponent component and it is configured to override the default properties set by any preceding member of the prefab hierarchy, which is why my mod isn't able to override the weather and time of day settings using this method. This approach worked well when I applied it to AI Skill and Perception in the SlotAI entity as all of the scenarios that I've used that with have largely or entirely used default settings for SlotAI instances ( as far as I can tell ). If I tried it with a scenario with a SlotAI instance that overrides its default properties, my mod would stop working for that instance. It seems fair to assume that GameMode entity instances are highly likely to be configured with some explicit properties and/or components. As such this approach will not work. I would have to investigate scripting instead to alter the GameMode Properties once the scenario had loaded, or use a loading screen like the one employed by NotSocrates in the Escapists scenario. As it happens, time of day and weather are only really significant for some scenarios that I play online with friends and so I can just use Gamemaster mode to change the settings if the scenario chooses values that we're not happy with. I will continue to investigate a scripted solution as an academic exercise but this solves my immediate problem. Trip -
How to change time of day in a mission?
Trip Hazzard replied to mr_centipede's topic in Arma Reforger - Scenario Editing
Great guide! What you've written makes sense when creating a custom mission, but what I am trying to do isn't working. Any thoughts you might have as to why that is would be gratefully received. I'm using Combat Ops Everon as an example, but I'm trying to create a small mod that will override the default weather settings for any scenario. I've created a mod called Trip Hazzard - Weather and TOD ( ID : 61A2D4DD2642F958 ) and included a modified GameMode_Plain entity ( class : SCR_BaseGame_Mode ) in to which I have added an SCR_TimeAndWeatherHandlerComponent. I then set the Starting Hours to 7am and ensured that Random Starting Daytime, Random Starting Weather and Allow Header Settings are all UNTICKED. For good measure I have done the same with the GameMode_Base entity and the GameModeSF entity. GameMode_Plain is the game mode entity used in the Coop_CombatOps_Eden world for the prefab named GameMode_CO_Eden ( class : SCR_BaseGame_Mode ). This entity is Enabled, has Starting Hours set to 12am, and Random Starting Daytime, Random Starting Weather and Allow Header Settings are all TICKED. The mission header for Combat Ops Everon ( 26_CombatOpsEveron.conf ) has Override Scenario Time and Weather ticked, Starting Hours set to 8am, and Random Starting Daytime and Random Starting Weather both ticked. Whenever I restart Combat Ops Everon the start time and weather are randomised. I've tried explicitly setting m_bRandomStartingDaytime 0, m_bRandomStartingWeather 0, and m_bAllowHeaderSettings 0 in all three entities to ensure that they are unticked, and I've tried both duplicating and overriding the entities in my mod, but regardless I can't get the mod to override the mission. I have succeeded with something similar using the AISlot entity. I created a small mod called Trip Hazzard - Trainer ( ID : 6142D78E2E0701F3 ) that only includes the AISlot entity with AI Skill set to Rookie and Perception Factor set to 50%. It works as a training aid for new players or anyone looking for a slightly more relaxed experienced. Testing with a Perception Factor of 0% indicates that it successfully overrides the default ArmaReforger AISlot entity for any unit in any scenario using default settings. Any thoughts as to what I'm missing here? Regards -
How to change time of day in a mission?
Trip Hazzard replied to mr_centipede's topic in Arma Reforger - Scenario Editing
Thanks! I'll take a look 👍 -
How to change time of day in a mission?
Trip Hazzard replied to mr_centipede's topic in Arma Reforger - Scenario Editing
Alternatively @thy_ are you able to provide more details regarding how you implemented this fix? -
How to change time of day in a mission?
Trip Hazzard replied to mr_centipede's topic in Arma Reforger - Scenario Editing
@Blackheart_Six could you expand on how one might do this...? I'm pretty new to this but eager to learn :) Thanks Trip Hazzard -
Hi, Hope someone can help. I've just started ArmA and I have a problem with Beaten Dog (the first big mission). I've completed the sub-missions (sniping a convoy and destroying armour/stealing plans) and I'm now holding off an assault from the enemy. Everything goes swimmingly until I get told to pull out and board a 4x4 at which point every team member turns up and dutifully gets in the vehicle apart from number 9. We then sit there until get bored listening to a coversation something like this: 1: 9 get in the 4WD 9: Roger ...wait 10 seconds or so ... 9: Where are you? 1: [transmits coordinates] ...wait 10 seconds or so ... 9: Negative 4WD moves 5 yards and then stops 1: 9 get in the 4WD 9: Roger ...wait 10 seconds or so ... 9: Negative Go back to the top and start again. While this is providing me with plenty of time to contemplate the maening of life, the universe and everything it isn't leading to a rewarding gaming experience. Anyone else had this problem. Any idea where number 9 might be? In the mean time I'll be playing Rainbow Six: Vegas until the patch comes out.
-
The only advice I can give--based on very recent personal experience--is to ensure all your drivers are up to date. I had freeze problems (with a different set-up) and in the end it came down to the fact that I hadn't updated my graphics drivers. I also have XP (Home rather than Pro). If you haven't already done it, give it a shot.
-
Thanks for the update.
-
I've posted this on the .co.uk forum and haven't yet managed to solve it, so I thought I'd try here instead. I recently got a new SoundBlaster Audigy card and every time I try and use it in OFP it freezes the game and the PC such that I have to unplug the machine to reboot it. I've tried Codemasters' suggestion (reduced the hardware acceleration on the card and changed the priority of the ADCPM Codec) but it didn't work. Â I've tried it with XP reference drivers, the drivers that come with the Audigy card and Creative's new XP drivers with no siccess. Â I've upgraded XP with all the most recent Windows updates, and I've tried moving the card to diferent PCI slots (away from the AGP slot. Â None of these things work. If I play the game with original Santa Cruz Turtle Beach sound card, it works perfectly. Â I can play it with the Santa Cruz, but it sounds much better with the Audigy and I was looking forward to trying the FireWire port for netwrking gaming with my mate. Has anyone got any other ideas what might be causing this problem? For info (in case any one else reads this post) I have a Dell Dimension 8200 with the following spec: 1.8Ghz Intel 384 MB RDRAM 60GB HDD Nvidia GeForce 3 ti 200 Graphics Windows XP Home SoundBlaster Audigy Player Sound DirectX 8.1 I have OFP 1.3.
-
I think I've fixed this issue. I didn't realise until recently that my machine shipped with Microsoft reference drivers for the GeForce 3 Ti 200. I updated to the latest Nvidia DetonatorXP drivers and, fingers-crossed, it seems to working now. I even managed to start Red Hammer, which wouldn't work at all before. Sorry if I wasted anyone's time. I usually check all my drivers thoroughly. In this case, as it's a brand new machine, I assumed the drivers that shipped with it would be up to date. Live and learn. Thanks to those that offered suggestions.
-
I downloaded new creative XP drivers last week. I'll double-check they haven't added even newer ones tonight. I also just updated my Nvidia Detenator drivers as well (I didn't realise the machine came with older reference drivers), but I haven't had a chance to test that yet. I'm not sure it'll do any good as I'm not yet convinced that the problem lies with a conflict between the GeForce and Audigy cards. I read an article somewhere recently about APCI potentially causing problems when sharing IRQ, but again, I'm not sure if this is a problem. If it is, I doubt I'll do anything about it as it seems it'll require a complete overhaul of the system to disable the feature. Please keep those ideas coming. I'm open to suggestions right now.
-
I'm just replying to this to kick back on to the first page of the forum again. Come on guys! Surely someone out there has some ideas about what might be causing this. I'm open to suggestions.
-
Audigy Player. On another note, I've read a few bits and peices recently that suggest conflicts between Geforce video cards and SB Live!/Audigy sound cards. I'm not sure if this is the issue. My machine doesn't report any conflicts. I installed the Gold upgrade today and it froze on the autorun screen--the first time it's ever done that. It also froze when I tried to select the Red Hammer campaign. I'm going back to my Santa Cruz sound card until I can work out what the problem might be. I'm getting fed up with unplugging my machine so often.
-
I should have pointed out in my original post that I have scoured the forums extensively over the last week and I have checked the Avonlady's FAQ. I appreciate the answer though--even if it was "it works OK on mine".
-
I only get proper shadows if I run with 32-bit colour. If you're running with 16-bit colour, that may explain why the shadows look a bit naff.