November 7, 201610 yr comment_316860 Hi guys, im playing around in the editor and have created a new freeplay map. im struggling to figure out how to connect my map to the correct event pool, all it does is load the test event pool. This is the debug log, i removed the test_event_pool to see what happend. [2016-11-07 23:46:59][QSF info] QSF successfully started 14797 entities of the map "em5/map/map10_metropolis/map10_metropolis.bin" (2656 ms) [2016-11-07 23:46:59][QSF info] QSF successfully loaded the map "em5/map/map10_metropolis/map10_metropolis.bin" (4121 ms) [2016-11-07 23:46:59][QSF info] Loading ingame HUD [2016-11-07 23:46:59][QSF info] QSF unloaded the old map in 0 ms [2016-11-07 23:46:59][QSF info] QSF successfully loaded the layers of the map in 0 ms [2016-11-07 23:46:59][QSF info] QSF successfully loaded the entities of the map in 3 ms [2016-11-07 23:46:59][QSF info] QSF successfully deserialized the map (4 ms) [2016-11-07 23:46:59][QSF info] QSF successfully started 16 entities of the map "em5/map/default/supervisor.bin" (47 ms) [2016-11-07 23:46:59][QSF info] QSF successfully loaded the map "em5/map/default/supervisor.bin" (52 ms) [2016-11-07 23:47:00][QSF info] Finished loading ingame HUD in 705 ms [2016-11-07 23:47:11][QSF error] Unable to open file 'em5/em5_eventpool/test/test_event_pool.json' for content hash calculation, exception caught: Systemet finner ikke angitt fil. [2016-11-07 23:47:11][QSF info] Game startup... [2016-11-07 23:47:11][QSF info] - Mode: "freeplay" [2016-11-07 23:47:11][QSF info] - Map: "em5/map/map10_metropolis/map10_metropolis" [2016-11-07 23:47:11][QSF info] QSF Lua 5.1.4 initialization [2016-11-07 23:47:12][QSF error] QSF failed to load the asset JSON file "em5/em5_eventpool/test/test_event_pool.json" with error: Systemet finner ikke angitt fil. i want it to load: "\em5_eventpool\freeplay\metropolis_freeplay_eventpools.json" instead. but i cant find out where to define this. Have any of you guys had any luck when it comes to this? I really want anything other then simple fires and medical calls Report
November 8, 201610 yr comment_316883 have no clue how to achive it. But maybe you want to modify the test_event_pool.json instead. Report
November 13, 201610 yr Author comment_316989 Yeah its what i ended up doing, il let you guys know if i find a solution to use another eventpool. Guessing the same goes for unitpool. but i havent started to fiddle with that Report
November 13, 201610 yr comment_317004 the eventpool should be: mapname_(freeplay_eventpool/or whatever pool) this is the lo which I got with the "testmap" [2016-11-13 22:05:36][QSF error] There is no event pool with the key: testmap_freeplay_eventpool [2016-11-13 22:05:36][QSF warning] The eventpool "testmap_freeplay_eventpool" is unknown. Loading default event pool same naming convention for the unitpool: testmap_freeplay_unitpool Hope that helps Report
December 22, 20169 yr Author comment_317578 Thanks Killerconsti, and sorry for late reply Been using log files more frequent and it helps alot. i have made a new freeplay map that is almost finished. i was wondering if you have made any progress in making a new campaign? you mentioned something about that in your minimod post. I want to make a simple campaign with a Harbor/airport fire in the new map, something simple, not scripting complex. Have tried messing with the em2016/em2017 campaign to see if i can get another campaign appear ingame. but no luck yet Report
December 23, 20169 yr comment_317593 I havent done a campaign yet. But I have done -new freeplay events -new gui elements in the main menu den-fellow from 16t finally told me how to start a new game from a button press. So by pressing this button you'll enter the freeplay munich map. You could now store just a global variable which would trigger your scenario em5::GameSessionConfiguration& gameSessionConfiguration = EM5_GAME.getGameSessionConfiguration(); em5::MapIdentifier mapIdentifier(0); // 0 for Munich map gameSessionConfiguration.setupForFreeplay(mapIdentifier); EM5_APPLICATION.triggerStartGame(); Unluckily if you want to do a new campaign there is a lot c++ required. It's like a movie script, you need to tell the game everything that happens -Set a Building on Fire and activate a hidden layer with rubbish and persons (optional) -deactivate freeplay (else new events will pop up if we used the setupForFreeplay function) -epic beginning clip -Register a Listener who will tell you once all fires are extinguished and no hurt person is anymore at the map. -scores if you want to do My last investigation was about to create a camera track (this can be done editor) but I definitly need a second look into this. picture from the current version 3.1 (even if iit says 2.7) which I have uploaded at 17. of December at the emergency-forum Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.