PDA

View Full Version : Commands



Gazitron
04-25-2010, 10:13 PM
1. Hi I want to use aLevelStages parameter but I need some examples of commands. Can I put here commands from level.def? Or it will be a script?

For example those:

!TakeDamageMult(f)

!DeviationDiffMult(f)
!CoopDeviationDiffMult(f)
!MovingTargetDeviationDiffMult(f)
!LeaningTargetDeviationDiffMult(f)
!DuelHitProbability(f)
!TimeBtwPistolHits(f)
!TimeBtwRifleHits(f)
!TimeBtwRifleIndianHits(f)
!TimeBtwBowHits(f)
!TimeBtwGatlingHits(f)
!MinPlayerHideTime(f)
!PlayerMissTime(f)

etc.



2. And very important thing:
I want to assist some keys (F1-F12 via map parameters dialog) and I want for example give to player weapon_derringer by pressing F1 BUT I WANT TO WRITE IT as script or command only!
Will it be like that: addweapon(weapon_derringer_beta)?

Thank you.

seir
04-26-2010, 06:23 AM
1. This script contains only variables for game code. Most of them as useless. You need to experiment with those settings. This is a programmers job so I can't tell you how it works.

BTW. "LevelStages" is developer tool. You'll need non-releases dev tools to work with that.

2. In dev menu it was possible but in release version I don't think so...

BTW. There is no way to release the dev version od game...

Gazitron
04-26-2010, 01:04 PM
Thank you Seir =)

I will try to experiment with that =)