Home   Help Search Login Register  

Author Topic: role playing game system  (Read 872 times)

0 Members and 3 Guests are viewing this topic.

Offline foibosapolon

  • Members
  • *
  • I'm a llama!
role playing game system
« on: 30 Nov 2005, 18:27:31 »
I`d like to make mission with something like role playing game, as a greeny you will have low accuracy, low speed, low stamina and after some quests, or kills, you will jump on higher level and can choose skill,you want improve. Can anyone help? Thx.

LoTekK

  • Guest
Re:role playing game system
« Reply #1 on: 30 Nov 2005, 18:47:06 »
Since pretty much all the above attributes you're looking for are defined in config.cpp/bin, which is loaded at startup, you'll have to create one unit or weapon for each and every single permutation. Which is, as you might imagine, a whole hell of a lot of classing and subclassing.

Offline foibosapolon

  • Members
  • *
  • I'm a llama!
Re:role playing game system
« Reply #2 on: 30 Nov 2005, 20:56:20 »
sounds quite good, but, you know, i`m lama, how can I set the skill of player, for example, on 1.st level my accuracy will be poor? I mean if exist somenthing like setaccuracy, or setstrenght... and another abilities. i cant find it in tutorials. Thx very much

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:role playing game system
« Reply #3 on: 30 Nov 2005, 22:05:09 »
To make the player's aim wobble horribly (without making an addon), you need to 'setdammage' him to a negative damage level:

player setdammage -1

This will make him wobble as if he were at +1 damage (max damage). However, as soon as he takes damage, his aim will improve. If he gets healed, he will be placed at 0 damage.

Speed cannot be changed without altering animations (and thus making an addon). Stamina can't be changed at all, AFAIK.

There is a script in the ed depot ("tough units" or something similar) that will let units take more damage.

That's about all I can think of for 'level improvement' type stuff. All I can say is, OFP isn't well suited for this sort of thing.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline foibosapolon

  • Members
  • *
  • I'm a llama!
Re:role playing game system
« Reply #4 on: 01 Dec 2005, 14:15:03 »
thanks. not much, but... i know, that flashpoint isn`t build for that. but i`d like to try it.