Postby olivius74 » 04 Oct 2015, 14:19
Promised last question (for this week ) on SDK.
Don't really want to boring you...
I wonder ...but how did you manage to teach yourself alone everything you know!
Me I have trouble "intuiter" and feelings the thing in this tool and try such and such a thing...
It seems that I managed to attach the two objects (flag and a red sphere) with Shape ,
and set size in properties.
But now not clear in Russian tutorial .
So reading tuto by Bangalore :
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Adding or editing the spawn objects.
After you finished, save your scene in Level Editor, and choose Compile -> Make Game.
This command will output a new level.spawn and a new level.game file, with all of your modifications
(and some other things, if the map has any, sound environments, static sound sources, static particles,
environment modificator areas, but now these are unimportant).
It’s always good to save your work as a separate level file, so the vanilla maps will be untouched.
!!!Pay attention to always save your map with .level extension in the end, so in this case I saved the map succesfully as:
l01_escape_mod.level, but I failed with just: l01_escape_mod.
Now just comes some xrAI work, and we are ready.
1.) For the first time, run all the 3 batches, exclusively in this order (later, you don’t need to run the make_level_graphs.bat and make_game_graph.bat, because after the first run, all the necessary graph files will be there):
1. make_level_graphs.bat: updates in each SDK vanilla SP map folder the level.graph and level.gct.raw files
2. make_game_graph.bat: merges level.graph files, according to the game_levels.ltx, creates level.gct files and produces a new game.graph
3. make_all_spawn.bat: merges level.spawn files, according to the game_levels.ltx, and creates a new all.spawn, according to the new game.graph (1 minute, and it’s ready)
These files you will need to copy from C:\Program Files\X-Ray SDK\level_editor\gamedata to the mods gamedata:
gamedata\spawns\all.spawn
gamedata\game.graph
Because of the new game.graph, from gamedata\levels\ we need from all 18 SP map folder:
level.graph
level.gct.raw
level.gct
Start a new game, and enjoy your spawn.
2.) After the first testing, you can jump back to level editor, and add new spawn objects, and after Compile -> Make Game, you need just run the spawn maker command, make_all_spawn.bat, and start a new game to test again.
Have fun!
Credits
written by: Bangalore
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
So,
Do I need all step 1 or ( like seems many files are there yet ),after Make Game I just have to make all_spawn.bat ?