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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 12-26-2008, 07:46 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
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.
Reply With Quote
 

Thread Tools
Display Modes

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 08:24 AM.


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