Randomizing Objective Object Locations

Ask questions, discuss ideas, get answers

Re: Randomizing Objective Object Locations

Postby Classical Modder » Fri Mar 31, 2017 12:10 am

The only thing that comes to mind would be if you spawn those objectives at each map start via an in-game admin command such as !spawn objective (or something of the sort, depending on how you bind your admin command to the object to be spawned). The objectives would have different coordinates that have been set and determined before hand and depending on where you want the objective to spawn, you run the appropriate command for it (for example, !kitchen would spawn the kitchen objective).

As you may have guessed the downfall with that would be that you would have to type the command every time the map starts, i.e. its not automatic. To make this automatic then I guess you can just make a new CON file somewhere in your Settings folder and type in the appropriate code, however I have no idea how the game would know how to spawn a different objective each round.

Maybe you can make a conditional statement that runs objective A when the map round number is odd and objective B when it is even? Just a bunch of ideas lol sorry for the novel here.
{SoH} Clan Leader // http://sohclan.forumotion.com/
See my Strasbourg map project here.
GSC: diamondback67
Steam: diamondback67
Classical Modder
 
Posts: 361
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada

Re: Randomizing Objective Object Locations

Postby Swaffy » Fri Mar 31, 2017 3:03 am

I got some results while searching "random weapons".

viewtopic.php?f=6&t=1812

viewtopic.php?f=43&t=1749&p=12543

It may be sequential though. Worth a try. I think effects use a randomizer of some sort but I don't know how to use that.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Image
User avatar
Swaffy
 
Posts: 1662
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 12 guests