View Single Post
  #171  
Old 12-26-2008, 05:37 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 538
Default

Quote:
Originally Posted by Sgt.Schnitzel View Post
Ok how did you do that? How did you place a vehicle on the map? What file did you edit? Tell me the exact filename.
I added a spawning command to the main script file of the level (demoday.lua).
The command is

"Level.CreateWorldItem( "bike_bmw" , "vehicle" ,-2070.00 , -128.00 , -3500.00 , 0.0, 0.0, 0.0, 'id_veh' );"


Quote:
Originally Posted by Sgt.Schnitzel View Post
Edit1: What hex editor are you using? You are editing the .Shadvs files, right? I tried to edit these files with a hex editor but the game kept on crashing.
I have a SHADVS de/compiler.

Quote:
Originally Posted by Sgt.Schnitzel View Post
for example. I tried fixing the problem with the Zis-5 truck. If you've noticed it doesn't have a destroyed model when it blows up. If you were to try to blow it up you will see an explosion but it will stay in one piece. I tried to give it the destroyed model of Blitz truck in the vehicle.shadvs file but the game crashed.
Which level? Did you made other mods or fixes? Please let me know, so
I can add it to my Enhacement Addon.

Update:// The ZIS is only in training mission. I was not meant to be blown up


Quote:
Originally Posted by Sgt.Schnitzel View Post
I think it had something to do with my hex editor, What hex editor are you using?
I use HexWorksop, but not for modifying SHADVS. You cannot modify
SHADVS files correctly with a hex editor.

Last edited by AHO; 12-26-2008 at 05:46 PM.
Reply With Quote