Data Realms Fan Forums
http://45.55.195.193/

4 quick questions
http://45.55.195.193/viewtopic.php?f=1&t=18955
Page 1 of 1

Author:  lazyfaith [ Thu Jun 10, 2010 8:39 pm ]
Post subject:  4 quick questions

Me and my friend are going to be making a mod and I've come up with a few questions we need to have answered so we can go through with it, if you could answer them then please do.

1. If an attacker has a short range weapon (e.g. it can only shoot by about a meter) will the AI realise this and get them really close to the target before firing?

2. Can you make it so the gibs of an actor disappear completely after, say, 2 seconds?

3. Is there a way, in a scene, to make it so that players can't order in guns or anything from the buying menu, even if they have money?

4. Can scenes be multiplayer? If so, how?

Author:  Petethegoat [ Thu Jun 10, 2010 8:49 pm ]
Post subject:  Re: A couple of quick questions

1. No. See: AI and diggers.
2. Yes, with a simple Lua script.
3. Not simply. You could delete anything that goes above a certain altitude, perhaps.
4. Yes. I believe it is as simple as adding a line to the mission activities, but there are probably more complications. Search.

Author:  MaximDude [ Thu Jun 10, 2010 8:51 pm ]
Post subject:  Re: 4 quick questions

1. No.
2. Yes, either with lua or without it.
3. Most likely yes, but it will involve lua.
4. Yes.
Code:
   PlayerCount = 1/2/3/4
   TeamOfPlayer1 = 0/1
   TeamOfPlayer2 = 0/1

In scene's .ini.
0 being red team and 1 being green team.
Not sure if can have 2 teams and AI team.

FUUU-- ninja'd. D:<

Author:  lazyfaith [ Thu Jun 10, 2010 9:01 pm ]
Post subject:  Re: 4 quick questions

Thanks both of you for the replies.

@MaximDude: We are actually looking to make more of a co-op mod. I assume I could use what you said to make it have 2 players on the same team against an AI team?

Author:  MaximDude [ Thu Jun 10, 2010 9:02 pm ]
Post subject:  Re: 4 quick questions

lazyfaith wrote:
Thanks both of you for the replies.

@MaximDude: We are actually looking to make more of a co-op mod. I assume I could use what you said to make it have 2 players on the same team against an AI team?


Yup.

Code:
   PlayerCount = 2
   TeamOfPlayer1 = 0
   TeamOfPlayer2 = 0

Author:  lazyfaith [ Thu Jun 10, 2010 9:05 pm ]
Post subject:  Re: 4 quick questions

Awesome, thanks very much. :grin:

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/