

fiveohmike
Members-
Posts
39 -
Joined
-
Last visited
Personal Information
-
Flight Simulators
A10C, BS2
-
Hey guys, a few days in on MOOSE documentation. I am just exploring and setting up a more advanced training mission in NTTR So what I want to do is this. I want 8 zones in the map, with 4 units (late activated) in each zone that I want as template spawns inside the zone. Each of the 4 units represents a significant difference in waypoints. Each unit has a set of roughly 5 going in different directions to different cities. I have a total of 8 templates that I can randomly spawn as well. So with that, the problem I have is that I have 32 spawn units and each one is a separate SPAWN:New() so all 32 initially spawn and get tracked with my :InitLimits and scheduledSpawns What I want to do is only have 1 unit spawn in a random zone, but randomly pick from the 4 units in that zone (so it gets its waypoints) and use a random template. Not spawn all 4 at once. Once that unit is dead, have it respawn again from a random zone, and a random unit in that zone. Here are my unit lists ZoneTable = { ZONE:New( "Zone1" ), ZONE:New( "Zone2" ), ZONE:New( "Zone4" ), ZONE:New( "Zone5" ), ZONE:New( "Zone6" ), ZONE:New( "Zone7" ), ZONE:New( "Zone8" ) } Ground_Force_Template_1 = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L" } Ground_Units = { "G1", "G2", "G3", "G4", "G5", "G6", "G7", "G8", "G9", "G10", "G11", "G12", "G13", "G14", "G15", "G16","G17","G18","G19","G20","G21","G22","G23","G24","G25","G26","G27","G28","G29","G30","G31", "G32" } Each individual spawn looks like this: Spawn_Vehicle_1 = SPAWN:New( "G1" ): :InitRandomizeTemplate( Ground_Force_Template_1 ) :InitLimit( 8, 2 ) :InitRandomizeZones( ZoneTable ) :SpawnScheduled( 60, .8 ) Can I use the scheduler or some functions some how to achieve this randomization ? I was thinking maybe: function() do local UnitName = GroundUnits[ math.random( 1, 32 ) ] Spawn_Unit = SPAWN:New( UnitName ): :InitRandomizeTemplate( Ground_Force_Template_1 ) :InitRandomizeZones( ZoneTable ) :InitLimit( 8, 2 ) end But is A) even possible, and B if it is can I trigger the function to run on the death of that unit? Thanks,
-
Judging by the edge of envelope flight model of the M21, that is broken, why does anyone expect them to be able to get a biplane right?
-
Float this back to the surface. A big reason people are mad at M3.
-
+1 this is either a godawful joke, or a blatant money grab. They put M21 development on hold for this, leaving a lot of paying customers in the wind with a broken plane. If there "on the edge" flight characteristics with the M21 are anything to go on, this will be arcade or broken. This is really taking down the quality of the DCS universe, and the backlash here, their youtube page, reddit, their facebook page and closed communities is evident of that.
-
Legit question: Can you make great missions without LUA?
fiveohmike replied to fiveohmike's topic in Mission Editor
Thats perfect so we can still have some decent fun while learning the ME itself followed by learning LUA. I can program in Python and C decently so it should be quick to pick up LUA. -
Nvidia Surround - 3 Screens
fiveohmike replied to Gordon861's topic in PC Hardware and Related Software
Nice, I am an iracer myself! -
Legit question: Can you make great missions without LUA?
fiveohmike posted a topic in Mission Editor
Hey Guys, My buddy and I are playing A10 extensively. We want to get into mission building, but have some concerns around LUA. Can you make great missions without it? What are the advantages of using it? We are looking at making missions on our MP server but are running through the ones everyone has. We also want to make missions and open the servers up to other people. I want to learn LUA on the side but for now it will be without it. Thanks, -
Nvidia Surround - 3 Screens
fiveohmike replied to Gordon861's topic in PC Hardware and Related Software
Oh ya, that. I just have everything windowed to almost the maximum of a single screen and dont drag and drop -
Nvidia Surround - 3 Screens
fiveohmike replied to Gordon861's topic in PC Hardware and Related Software
I use surround exclusively when in Windows heh. Its great for my business uses (programming and a few other things) -
Nvidia Surround - 3 Screens
fiveohmike replied to Gordon861's topic in PC Hardware and Related Software
Well i decided to stop messing around and just play. So I went with: -
Nvidia Surround - 3 Screens
fiveohmike replied to Gordon861's topic in PC Hardware and Related Software
Thanks will take a look! -
Oh ya, with the two floating side tables
-
I just put my box to the side but its a full tower:
-
I use this for both DCS and car racing sims: