This post is to big, I've had to split it into the first two posts.
This is not a thread where you should post big tutorials, but all those small discoveries that aren't important enough for their own tutorial, or their own thread.
I hope you all contribute if you find out something new
Please do not post any comments/suggestions in this thread, only post tips/tricks.
Please add you comments/suggestions in this thread
I've made a complete restructure of this thread, I hope you like it...
I've also had an idea, and that is that in this thread, you can also post links to other threads (or even a single post in a thread) in the forum that could be of usefull for many people... As long as this thread isn't getting to messy I hope it will work...
Let me know what you all think of the restructuring and if you have any other ideas/suggestions in this thread
My original post, tips about object manipulation/selection hotkeys, and hold/fetch
How to set Time of Day with the flowgraph by Sandhesten [url=http://www.crymod.com/thread.php?threadid=11796&hilightuser=8457]
Try to avoid the done port[/url] by Cry-Huss[url=http://www.crymod.com/thread.php?threadid=10532&hilightuser=8457]
Try to avoid renaming and space between the names[/url] by Cry-Huss - 26.11.2007[url=http://www.crymod.com/thread.php?threadid=11112&hilightuser=8457]
Why does my boat sink?[/url] by Cry-Huss
Multiple Mappers 1 Map
How to play your custom SP/MP map in the full version by Cry-Alex - 20.11.2007
Exporting Mission For Multiplayer by c4Te - 20.11.2007
Multiple people working on one map? Ways? by Sandhesten- 20.11.2007
How to rename a level by Sandhesten - 02.12.2007 *NEW*
Difference between geom ent, ent, prefab etc - 05.12.2007 *NEW*
screenshot - 06.12.2007 *NEW*
Multiplayer custom map disconnecting friend
Flow Graphs in multiplayer by Cry-Huss
How do I repack .pak's, i edited guns like ak and stuff by Cry-Alex - 20.11.2007
Launching MOD as game by Cry-Alex - 20.11.2007
Editor ingame hotkeys (WYSIWYP) by StrikerBack - 20.11.2007
CTRL + G doesn't work by James-Ryan - 20.11.2007
How to set Time of Dayby Sandhesten- 21.11.2007
Saving Custom Materials? by Sandhesten- 22.11.2007 Color Selection by Tzeentch - 20.11.2007
Console commands, Screenshots by nova- - 20.11.2007
A few tips to keep memory consumption lower by Sandhesten - 20.11.2007
A few tips about geometry and creating buildings for better performance. by MWLL|Criminal - 20.11.2007
How to disable thirdperson view for vehicles by triggerman
Video Capturing by Sandhesten - 20.11.2007
Bullet Camera by Sandhesten - 20.11.2007
Hiding hud/interface/helpers/stats, Objects following terrain surface,Objects following terrain surface by Kaelis - 20.11.2007
Is there a Flow Graph Node that detects where the player is looking? by Cry-Huss
Disable the sound in-editor-test-game? by Cry-Huss - 26.11.2007
[FIX] Materials not saving
Last edited by Radiantor on 09.05.2008, 23:41, edited 63 times in total.
How to place a mounted MG: by Sandhesten - 20.11.2007
How to trigger an explosion by Sandhesten - 20.11.2007
How to trigger an explosion + hud countdown timer by Sandhesten - 20.11.2007
How to add a fire by Sandhesten - 21.11.2007
Creating an Elevator
Pickable and pushable by Cry-Huss
Placing Items On Tables Etc. by Cry-Huss
Enemy tanks - how to go about this? by Sandhesten - 20.11.2007
Flight navigation by Sandhesten - 20.11.2007
How to properly get a helicopter to land by Sandhesten - 20.11.2007
How to make a helicopter with paratroopers by S;upreme_Pizza - 20.11.2007[url=http://www.crymod.com/thread.php?threadid=11902&hilightuser=8457]
Ai follow player (taking also a vehicle if player does)[/url] by Cry-Huss - 26.11.2007 [url=http://www.crymod.com/thread.php?threadid=11850&hilightuser=8457]
Why are my tanks driving into trees?[/url] by Cry-Huss - 26.11.2007
Force player exit vehicle by Cry-Huss - 26.11.2007
Detecting when player leaves a vehicle by Cry-Huss - 26.11.2007
Many AI related questions and answers See answers by Sandhesten - 20.11.2007
How to make the AI to move to a position while fightingby Sandhesten- 22.11.2007
How to make A.I. follow player on foot? by Sandhesten - 20.11.2007
How to add a sharkby Sandhesten (Scroll up?) - 20.11.2007
How to give AI flashlight/laser sight by Sandhesten - 20.11.2007
How to Making AI act as pet dog by Cry-Huss - 20.11.2007
AI Ignore / Perception Scale by Cry-Huss - 26.11.2007
Terrain, Vegetation, Environment:
ZeroG, Space Environment by Sandhesten - 20.11.2007
DEMs (or Digital Elevation Models)by Radcliff - 20.11.2007
Manipulate the terrain color in an external programby Sandhesten - 20.11.2007
Import/export terrain texture by chaos[bv] - 20.11.2007
Underwater vegetationby Cry-Alex - 21.11.2007
How to do wind by VShader - 21.11.2007
Road surfaces by Cry-Huss - 26.11.2007
Leveling vegetation by Sandhesten - 02.12.2007 *NEW*
Brushes, Geom Entities, Solids:
Difference between Geom entities, Entities, Prefabs by Sandhesten - 26.11.2007
Invisible wall / Level border by Cry-Huss - 26.11.2007
Last edited by Radiantor on 07.12.2007, 13:00, edited 5 times in total.
DEMs (or Digital Elevation Models) are topographic representations of a real-life geographical area. In game design, the most important thing to note is that they are NOT heightmaps in and of themselves. They must be converted as such. Here's how I do it.
1. Import the DEM into a program called Landserf. You can download it here. NOTE: DO NOT use Internet Explorer to download Landserf. I have no idea why, but by default, Internet Explorer converts .jar files to .zip archives, and renaming doesn't work, so this will pretty much destroy your installation file. There are other programs available that will convert DEMs, such as 3DEM, but I've never used them.
2. Export to a .RAW format.
3. Import the .RAW in Photoshop.
4. Convert to grayscale mode (Image/Mode/Grayscale.)
5. Convert to RGB Color. (Image/Mode/RGB Color)
6. Export as a 24-bit bitmap.
7. Import the bitmap into Sandbox.
The result won't be overly spectacular by itself, but it's a good starting point. There will be some jaggedness, but this can be corrected with a Modify/Smooth Slope in the terrain editor. Then, after some optimization with Sandbox's terrain modification tools, you will have a truly breathtaking terrain. It's not a good way to create islands, since most DEMs cover a wide area, but large landmasses will be no problem.
On the topic of creating realistic terrains - heres a great deal of links covering terrain generation/creation software: http://www.vterrain.org/Packages/Artificial/index.html
Since most people seem to have missed or forgotten this one: typing into console 'cl_hud=0' removes hud, 'cl_hud=1' brings it back. Shift+Space hides/shows helpers (all the colourful lines and icons shown by the editor by default). You can hide solids (the invisible walls for level boundaries that are displayed as red transparent boxes) by going into fourth tab in RollupBar (little screen icon on the toolbar on the right side of the screen) and checking 'Solids' in 'Hide by Category' group. To hide performance stats, go into Tools->User Commands->displayInfo. This way you can make clean screenshots without even going into game mode.
Objects following terrain surface:
If you want an object you selected to follow the terrain while moving it around, toggle the 'Follow Terrain' snap/constraint, but instead of clicking and dragging one of the axes/planes, click and drag the objects icon.
Alternatively, toggle 'Align Object To The Surface Normal' in the Object toolbar (5th button on 2nd top toolbar). Mind you that the object will rotate to match the terrain surface alignment.
You can modify how fast you mouse scroll zooms the view in Preferences->Movement. Useful for rapid zooming out/moving. You can also configure the multiplier for shift movement speed-up.
You can see and set all kinds of variables used by the editor by right clicking onto console edit box (the thing you type console commands into).
Last edited by Kaelis on 10.11.2007, 03:27, edited 4 times in total.
> ai_IgnorePlayer 1
obviously, this will make the AI completely ignore you.
> all the console commands sorted in a text file, extract using 7zip
edit: see the crymod wiki instead
> If you want to scale something in the editor you should always try to scale all sides with the same value.
> If you cannot select an object, then try holding down the Spacebar. Small, easily selectable boxes will appear.
Numpad enter -- Tweak menu, use numpad to navigate, plus/minus keys to change values
, (comma) -- Pause physics
. (period) -- advance one step while physics are paused
> to get NPC/etc debug info: while in editor and in game switch to weapon #7 (press 7) (cmd=debug)
While it is on, left clicking while aiming at an AI will display even more info.
Aim away from the AI and left click to turn the display off.
> to change the game difficulty to hard in the editor
for more, see: Crytek\CrySPDemo\Game\Config
C:\Documents and Settings\USERNAME\My Documents\my games\crysis_sp_demo\ScreenShots
you can also use this for making very large screenshots. this feature can be buggy (picture quality wise).
e_screenshot_quality 100 (100 is a bit better, but perhaps not always)
Last edited by nova- on 22.09.2008, 04:55, edited 12 times in total.
Massive Airstrike Explosions (Crysis): http://youtube.com/watch?v=fujOmrPKokM&fmt=18
IRC @ #sandbox2 at /server Gigenet.IL.US.GameSurge.net
As the section on top is still a bit confusing:
You can manipulate the terrain color in an external program. I used this to overlay a satelite image from google earth onto my terrain for reference.
Go to Terrain - Export/Import Texture Map
Select the portion of the terrain map (this is actually the far-away-lod-texture of the default texture layer) you wan't to replace by clicking the corresponding tile in the overview on the left. You can also select more than one tile by click-dragging over some of them.
Then click either import or export, the will both do an export when you use the dialog for the first time. If you had selected a file prior to this, you have to click export.
A image file of your terrain texture is created, according to the resolution(s) of the tile(s) you selected. Feel free to modify this image in an external tool or replace it completely with another image.
Then go back to the import/export dialog, again select the tiles you want to replace and, with the filename still displayed in the textbox, click import. The texture is replaced by the contents of the file, the view is updated when you close the dialog.
You can replace any tile(s) with the selected file, not only the one(s) you used to export. Just make sure to select those tile(s) that make up the exact same resolution as the image. You can even alter the resolution in your external tool and then import to another tile or more tiles, as long as resolutions match. You can do more than one modify-in-external-tool/import cycle without having to do the whole export thing first, as long as the filename stays the same.
The resolution of the tiles can by changed (one by one) with the 'change tile resolution' button at the bottom of the 'layer painter' rollout.
When exporting/Importing textures from a map Such as "Island" or any other Crytek map import/export only to the Surface Type Editor and not the base layers. If imported to base layers you will no longer be able to texture correctly.
For Example: you choose Beach_sand.dds as your base layer texture and you have forest_ground_leaves_brown and then tried to texture you will get a random texture like fern leaves or a mountain texture. This is caused by importing the base layers from crytek maps.
If there is an event or enity you would like to investigate further by looking
at the flowgraph, but don't see "Open" in the flowgraph section for the entity
- Click on the entity (eg/ a trigger you want to know more about)
- In the "Flow Graph" section of the entity properties (Rollup Bar) click on "List"
This will show you the name of any associated Flow Graph for that entity.
Just click on the name of the FG and there you go
(1st edit for spelling)
2nd Edit: Forgot to mention the really easy way... just right click on an entity
and if there are any FlowGraphs attached to it you will see in context menu.
Last edited by intrepidbiped on 26.11.2007, 04:38, edited 2 times in total.