Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Death to Spies (http://forum.fulqrumpublishing.com/forumdisplay.php?f=91)
-   -   Mod/Patch/Enhancement (http://forum.fulqrumpublishing.com/showthread.php?t=3754)

AHO 12-26-2008 05:37 PM

Quote:

Originally Posted by Sgt.Schnitzel (Post 63174)
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 (Post 63174)
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 (Post 63174)
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 (Post 63174)
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.

forlik 12-26-2008 06:01 PM

Quote:

Originally Posted by AHO (Post 63217)
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 ;)

AHO 12-26-2008 06:08 PM

Quote:

Originally Posted by forlik (Post 63220)
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.

forlik 12-26-2008 06:21 PM

Quote:

Originally Posted by AHO (Post 63221)
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.

AHO 12-26-2008 06:23 PM

Quote:

Originally Posted by forlik (Post 63222)
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.

Sgt.Schnitzel 12-26-2008 06:35 PM

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.

AHO 12-26-2008 06:42 PM

Quote:

Originally Posted by Sgt.Schnitzel (Post 63224)
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 (Post 63224)
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 (Post 63224)
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.)

Sgt.Schnitzel 12-26-2008 06:46 PM

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.

AHO 12-26-2008 06:52 PM

1 Attachment(s)
Quote:

Originally Posted by Sgt.Schnitzel (Post 63226)
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 :o

--------------
Upd: I figured out how to add the burned model of the Blitz for the ZIS!
Take the modified vehicles.shadvs from the attachement. ;)

Sgt.Schnitzel 12-26-2008 06:54 PM

Quote:

Originally Posted by AHO (Post 63227)
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 :o

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?


All times are GMT. The time now is 03:07 PM.

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