A Few Questions to start

Status
Not open for further replies.
Level 3
Joined
Oct 7, 2009
Messages
28
So I've been slowly working on an idea for a while and I've decided give up on my using it as a muse to learn to program from scratch and instead breath some new life into it by actually making something I can play.

So to that end I thought I'd ask a few questions before I paint myself into a corner with this project. Time isn't quiet on my side these days.

So here they are:
1. Is it possible to create an object that can be attacked but not destroyed?
  • Giving the object high health and armor is one way but its pretty unprofessional
-
2. Is it possible to after an attack roll is rolled have the target object moved a distance depending on the result of the damage roll?

3. Is it possible to modify the damage roll at the time of rolling? ie On one attack you decide to add say bonus a, next attack add bonus b.

3b. Is it possible to have the players make those decisions?

4. Is it possible to have the damage rolls displayed and done in d6 format.

Those are it for now. I have the outline drawn up and have created the map but sadly my knowledge of triggering is a bit lacking.
 
Level 3
Joined
Oct 9, 2008
Messages
61
1. Is it possible to create an object that can be attacked but not destroyed?
  • Giving the object high health and armor is one way but its pretty unprofessional

Give the object high health and do like this:
  • Health Regen
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • Unit - Set life of Object to 100.00%
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
You can do the second and fourth question without rolling, with a damage detection system.
(At map init, pick all units in the playable map area and add to a trigger the event "Unit - Picked unit takes damage
Then, when a unit enters playable map area, do the same for the unit entering it - this is for all units which still have to spawn)

In that trigger, activate a knockback system (you can either find it here, or create one yourself... it isn't that hard with hashtables).
In the same trigger, put the actions "Floating text, show Integer(Damage Dealt), expires in 3 seconds
Move Floating text over 30 to 90 degrees (or something)

The second and third question need to be triggered
And if you really want those, you need to trigger an entire damage-system.
 
Level 3
Joined
Oct 7, 2009
Messages
28
Thank you for the replies I had thought that might be the case. Sadly triggering a whole system is a little beyond me at this point. So as I practise I'll have to wet appetites with a slightly simpler RPG.
 
Status
Not open for further replies.
Top