Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Death to Spies

Death to Spies Stealth action. Professional spy working for the Soviet counterintelligence service executes dangerous operations in the heart of German territory.

Reply
 
Thread Tools Display Modes
  #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
  #172  
Old 12-26-2008, 06:01 PM
forlik's Avatar
forlik forlik is offline
Approved Member
 
Join Date: Nov 2008
Location: Minsk, Belarus
Posts: 450
Default

Quote:
Originally Posted by AHO View Post
You cannot modify SHADVS files correctly with a hex editor.
Why not? I did it before tool from hykao was received. It's not easy, but it's not impossible
Reply With Quote
  #173  
Old 12-26-2008, 06:08 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 538
Default

Quote:
Originally Posted by forlik View Post
Why not? I did it before tool from hykao was received. It's not easy, but it's not impossible
Just editing current values. But you cannot add new entries like with
the de/compiler, due to the fact that the hierarchical structure is not
clear in hex mode.
Reply With Quote
  #174  
Old 12-26-2008, 06:21 PM
forlik's Avatar
forlik forlik is offline
Approved Member
 
Join Date: Nov 2008
Location: Minsk, Belarus
Posts: 450
Default

Quote:
Originally Posted by AHO View Post
Just editing current values. But you cannot add new entries like with the de/compiler, due to the fact that the hierarchical structure is not clear in hex mode.
Look at the first screen in my thread. To create it I add 11 new values (DtS mission names) to strings.shadvs
But I repeat, much more easy way is using tools from hykao.
Reply With Quote
  #175  
Old 12-26-2008, 06:23 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 538
Default

Quote:
Originally Posted by forlik View Post
Look at the first screen in my thread. To create it I add 11 new values (DtS mission names) to strings.shadvs
But I repeat, much more easy way is using tools from hykao.
I see. But when I tried to add an complete entry of an NPC to the
actors.shadvs file the NPC was not visible for the engine. The NPC
entries contain many nested folders.

The strings.shadvs and ui.shadvs are not complex in structure.
What I mean is, more complex SHAVS files cannot be edited via
hex edit, as long you do not know the beginning and end of a nested
block.
Reply With Quote
  #176  
Old 12-26-2008, 06:35 PM
Sgt.Schnitzel Sgt.Schnitzel is offline
Approved Member
 
Join Date: Nov 2007
Posts: 57
Default

Where can we find these tools?

Download link?

Edit1: From what file did you learn of the spawn script you showed me earlier?

I've never seen that kind of script before.
Reply With Quote
  #177  
Old 12-26-2008, 06:42 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
Where can we find these tools?
Download link?
There is no link. I have got received it from hykao via email. Ask him,
he knows the coder of this tool.

Quote:
Originally Posted by Sgt.Schnitzel View Post
Edit1: From what file did you learn of the spawn script you showed me earlier?
I analyzed all LUA script files of the game.

Quote:
Originally Posted by Sgt.Schnitzel View Post
I've never seen that kind of script before.
It's a game scripting language called LUA. The DtS engine uses it for
1. Every game mission. 2. for general purposes (Jobs, Triggers, Anchors etc.)
Reply With Quote
  #178  
Old 12-26-2008, 06:46 PM
Sgt.Schnitzel Sgt.Schnitzel is offline
Approved Member
 
Join Date: Nov 2007
Posts: 57
Default

I know that Lua is a type of script. Blitzkreig uses it. I'm talking about the spawn script which you showed me in blue. I can't find any examples of this spawn code in any of the Lua files.
Reply With Quote
  #179  
Old 12-26-2008, 06:52 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
I know that Lua is a type of script. Blitzkreig uses it. I'm talking about the spawn script which you showed me in blue. I can't find any examples of this spawn code in any of the Lua files.
Look at:
\level\posolstvo\posolstvo.lua
\level\training\training.lua
\level\rolik_svalka\svalka.lua
\level\hotel\anchors\PutDocsAnchor.lua

I dunno why you cannot find it

--------------
Upd: I figured out how to add the burned model of the Blitz for the ZIS!
Take the modified vehicles.shadvs from the attachement.
Attached Files
File Type: zip Vehicle.zip (3.9 KB, 7 views)

Last edited by AHO; 12-26-2008 at 06:55 PM.
Reply With Quote
  #180  
Old 12-26-2008, 06:54 PM
Sgt.Schnitzel Sgt.Schnitzel is offline
Approved Member
 
Join Date: Nov 2007
Posts: 57
Default

Quote:
Originally Posted by AHO View Post
Look at:
\level\posolstvo\posolstvo.lua
\level\training\training.lua
\level\rolik_svalka\svalka.lua
\level\hotel\anchors\PutDocsAnchor.lua

I dunno why you cannot find it
I gave up too quickly. XD

Is it possible to add items to the inventory screen b4 a mission?

edit1: ok how? did u edit the vehicle.shadvs file?

edit2:do you know what script indicates the player's start point and his coordinates?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.