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
  #1  
Old 09-10-2009, 10:58 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
Default

Have I done this right?

Level.CreateWorldItem( "wear:GermanYellow" , "equipment" , -60.064407, 0.906136, 555.986816, 0.0, 0.0, 0.0, 'id_wear1' );
Reply With Quote
  #2  
Old 09-10-2009, 11:05 AM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 538
Default

Quote:
Originally Posted by Liz Shaw View Post
Have I done this right?

Level.CreateWorldItem( "wear:GermanYellow" , "equipment" , -60.064407, 0.906136, 555.986816, 0.0, 0.0, 0.0, 'id_wear1' );
This seems correct. But I did not test it. Are the new clothes shown
correctly? Maybe you have to correct the y-coordianate manually.

Note: the id at the end must be unique, so if you create another
item via this command it must have a different name.

PS: Why don't you post some screens shots of your work,
I'm very interessted in your results...
Reply With Quote
  #3  
Old 09-10-2009, 12:32 PM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
Default

Quote:
Originally Posted by AHO View Post
This seems correct. But I did not test it. Are the new clothes shown
correctly? Maybe you have to correct the y-coordianate manually.

Note: the id at the end must be unique, so if you create another
item via this command it must have a different name.

PS: Why don't you post some screens shots of your work,
I'm very interessted in your results...
They don't show up, and I'm trying to place them on the bed like what you did. How do I manually adjust the y-coordinate. And as a confirmation, is "GermanYellow" the warden's uniform?
Reply With Quote
  #4  
Old 09-10-2009, 12:48 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 538
Default

Quote:
Originally Posted by Liz Shaw View Post
1They don't show up, and I'm trying to place them on the bed like what you did. 1 /2 How do I manually adjust the y-coordinate. 3 And as a confirmation, is "GermanYellow" the warden's uniform?
It is not shown? Then you did something wrong

1. The game engine makes strange things, sometimes the spawned
item is in or under the ground. So try to change the y-coordinate
manually (the digit)
2. Just change the Number
3. Yes it is, just search in folder \players\ for the file if you are not sure
Reply With Quote
  #5  
Old 09-10-2009, 02:14 PM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
Default

I got the warden's uniform to show up on the bed, but there's something wrong... I think I made up to three duplicates of the uniform in the same position.
Reply With Quote
  #6  
Old 09-17-2009, 02:31 PM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
Default

How do I only make one warden's uniform appear on the bed instead of multiple uniforms in the same position?

Also, I tried to add a chef's uniform in the Embassy kitchen. However, when I attempted to test it, the level loads with Strogov in his camouflage clothes, without his weapons, under fire.
Reply With Quote
  #7  
Old 09-17-2009, 07:24 PM
forlik's Avatar
forlik forlik is offline
Approved Member
 
Join Date: Nov 2008
Location: Minsk, Belarus
Posts: 450
Default

Quote:
Originally Posted by Liz Shaw View Post
How do I only make one warden's uniform appear on the bed instead of multiple uniforms in the same position?
Use one command Level.CreateWorldItem("wardenUniform", ...) instead of multiple.

Quote:
Originally Posted by Liz Shaw View Post
Also, I tried to add a chef's uniform in the Embassy kitchen. However, when I attempted to test it, the level loads with Strogov in his camouflage clothes, without his weapons, under fire.
Very strange. Is it a result of Level.CreateWorldItem("chefUniform", ...) command? Or you was trying to modify SWD file using hex-editor?
Reply With Quote
  #8  
Old 09-17-2009, 11:33 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 538
Default

Quote:
Originally Posted by Liz Shaw View Post
How do I only make one warden's uniform appear on
the bed instead of multiple uniforms in the same position?
Only spawn your new item in function Level.OnLoaded() or the item
will duplicated every time you load a save game.


Quote:
Originally Posted by Liz Shaw View Post
Also, I tried to add a chef's uniform in the Embassy kitchen. However, when
I attempted to test it, the level loads with Strogov in his camouflage clothes, without his weapons, under fire.
This occurs, if there is a syntax error in the scripts e.g. missing ")" or ";" etc.
You can check the error message in the console's log
Reply With Quote
Reply

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 10:00 AM.


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