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 06:57 PM

3 Attachment(s)
Quote:

Originally Posted by Sgt.Schnitzel (Post 63228)
I gave up too quickly. XD

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

Yes, you must edit the equipment.shadvs of a level.
I did this before for my addon.


Quote:

Originally Posted by Sgt.Schnitzel (Post 63228)
edit1: ok how? did u edit the vehicle.shadvs file?

See my updated post! I edited it with the SHADVS decompiler I mentioned.
----
Update://

I tested the modified vehicles.shadvs and it functions.
See attached pictures.

Sgt.Schnitzel 12-26-2008 07:15 PM

Yeah! I just tested it too and it works brilliant!!!

Well I pmed hykao for the decompiler.

AHO 12-26-2008 07:20 PM

Quote:

Originally Posted by Sgt.Schnitzel (Post 63230)
Yeah! I just tested it too and it works brilliant!!!

Well I pmed hykao for the decompiler.

One ugly thing is that you can see at the backside of the burned
truck these metal poles (I dunno how they are called ;))

Sgt.Schnitzel 12-26-2008 07:30 PM

Quote:

Originally Posted by AHO (Post 63231)
One ugly thing is that you can see at the backside of the burned
truck these metal poles (I dunno how they are called ;))

Yeah but its better then nothing. We can also create new vehicle slots. So that we can have a Mercedes car but in grey with the German military cross to go alongside the black civilian Mercedes.

http://www.ipmsstockholm.org/magazin...oen11cv_01.jpg

also does anyone know how to find the player's start point coordinates?

edit1: We need to create a universal coding guide with all known codes listed.

AHO 12-26-2008 07:35 PM

Quote:

Originally Posted by Sgt.Schnitzel (Post 63232)
Yeah but its better then nothing. We can also create new vehicle slots. So that we can have a Mercedes car but in grey with the German military cross to go alongside the black civilian Mercedes.

I see, I did the same with new NPCs.
Did you made any modifications till yet?

Quote:

Originally Posted by Sgt.Schnitzel (Post 63232)
also does anyone know how to find the player's start point coordinates?

Yes, but it is a little complicated.

Quote:

Originally Posted by Sgt.Schnitzel (Post 63232)
edit1: We need to create a universal coding guide with all known codes listed.

I have my project file (Excel sheet) with the most important scriping
things and all NPC IDs. I could send it to you. But it is completly
written in German.

----------------------------------------------------------------------------------------
Who is "we" ?
Where is the picture from? Do you have a model viewer?

Sgt.Schnitzel 12-26-2008 07:41 PM

Quote:

Originally Posted by AHO (Post 63234)
I see, I did the same with new NPCs.
Did you made any modifications till yet?

No but I'm trying to make a new skin for the Mercedes. But instead of replacing the black one. I want to create a new one to go alongside it so that we can have both.

Quote:

Originally Posted by AHO (Post 63234)
Yes, but it is a little complicated.

Is it in the .map file?

Quote:

Originally Posted by AHO (Post 63234)
I have my project file (Excel sheet) with the most important scriping
things and all NPC IDs. I could send it to you. But it is completly
written in German.

----------------------------------------------------------------------------------------
Who is "we" ?
Where is the picture from? Do you have a model viewer?

No the pic is just an example.

AHO 12-26-2008 07:46 PM

Quote:

Originally Posted by Sgt.Schnitzel (Post 63235)
Is it in the .map file?

Perhaps but I don't know where. Perhaps forlik knows, he is the
map file (swd) master ;)

I use the following method to get a position and spawn something:

Quote:

Originally Posted by Method for Spawning something
1. I save the current postion of the player with console command
"PL_SavePos"
2. The file "_default.pos" is created in DtS folder
3. I open it with HexWorshop and export it as hex dump text file
4. I take the coordinates for x,y,z and put it into the base converter tool
from hex worksop

Now I have the coordinates.

5. I put the command for spawning items into the scriptfile in function
"OnLoaded"
The command is e.g.

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

Arguments:
1. Name of the object
2. Name of the object's class
3-5 x,y and z coordinates
6-8 I dunno. Is always 0.0
9 ID of the created object for further use in script.

Note:
The function Level.CreateWorldItem() is normally used for spawning weapons,
ammo, equipment and back packs,
but it works well with vehicles. You can also spawn NPCs but these don't
move and if you shoot them, the game crashes.

The classes and object names are taken from the template class shadvs files
e.g.
actors.shadv
vehicles.shadvs etc.

They are identical to the console commands for spawning.


AHO 12-26-2008 07:50 PM

Tasks
 
Something other: Long ago I posted in this thread:
http://forum.1cpublishing.eu/showthread.php?t=4096
that I'm able to create completely new mission tasks.
Nobody replied my question.

Should I add new tasks to existing level mission?
If yes which one and in which level?


-----------------------------------------------------
Quote:

Originally Posted by Sgt.Schnitzel (Post 63228)
I Is it possible to add items to the inventory screen b4 a mission?

You can also exchange the equipment.shadvs files with each other. If I rember correctly the level
"Removal" (Concentration Camp) has the biggest file with the most weapons.

The levels Training, Hotel and Ambassy does not have a equipment.shadvs, But If you modify the
briefing.shadvs of these levels, you can add the feature of weapon/equipment selction.
I tested this and it worked fine...

Sgt.Schnitzel 12-26-2008 08:29 PM

Damn! >(

I tried reskinning the Command car and look what happened!

http://i289.photobucket.com/albums/l...des290_DtS.jpg

Does anyone know a free and good paint program?

AHO 12-26-2008 08:41 PM

Quote:

Originally Posted by Sgt.Schnitzel (Post 63242)
Damn! >(
I tried reskinning the Command car and look what happened!

Funny :) What went wrong?

Quote:

Originally Posted by Sgt.Schnitzel (Post 63242)
Does anyone know a free and good paint program?

As long I know Gimp should be good and it's Open Source. But I
Never used it.


All times are GMT. The time now is 09:11 AM.

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