Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mapping grass
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#3
RE: Mapping grass

nemesis567 is correct; the easiest way to do this is to open the map file in your notepad editor and replace occurrences of Collide="True" to Collide="False". The trick is to make sure you only change that property for grass objects.

Follow these steps
1) Back up your map. Always do this when messing with the map file outside the LevelEditor.

2) Find your grass's FileID. To do this, open your map file in your notepad editor and do a search for the keyphrase FileIndex_StaticObjects. Look through all the lines under that category which are grass static objects, since you may have placed multiple types. Those indexes are the ones you want to change.

3) Do a ctrl+F Find & Replace for all instances of Collide="true" FileIndex="<GRASS_OBJ_INDEX>", changing true to fase. Leave the index alone. Replace <GRASS_OBJ_INDEX> with the FileID you found in step 2. Repeat for all indexes of grass static objects in your map.

If you can't get it to work, send your map file to me, I'll do it for ya. But get into this kind of search and replace function, it helps me a lot when building maps. I actually do it quite often.

(This post was last modified: 03-04-2012, 05:31 AM by palistov.)
03-04-2012, 05:30 AM
Find


Messages In This Thread
Mapping grass - by Stepper321 - 03-03-2012, 04:15 PM
RE: Mapping grass - by nemesis567 - 03-03-2012, 04:34 PM
RE: Mapping grass - by palistov - 03-04-2012, 05:30 AM
RE: Mapping grass - by Stepper321 - 03-04-2012, 11:25 AM



Users browsing this thread: 1 Guest(s)