View unanswered posts | View active topics It is currently Mon Jan 06, 2025 10:33 pm



Reply to topic  [ 6 posts ] 
 4 quick questions 
Author Message
User avatar

Joined: Wed Jan 03, 2007 2:05 pm
Posts: 174
Reply with quote
Post 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?


Thu Jun 10, 2010 8:39 pm
Profile
User avatar

Joined: Mon Jun 15, 2009 4:02 pm
Posts: 905
Reply with quote
Post 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.


Thu Jun 10, 2010 8:49 pm
Profile WWW
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post 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:<


Thu Jun 10, 2010 8:51 pm
Profile
User avatar

Joined: Wed Jan 03, 2007 2:05 pm
Posts: 174
Reply with quote
Post 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?


Thu Jun 10, 2010 9:01 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post 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


Thu Jun 10, 2010 9:02 pm
Profile
User avatar

Joined: Wed Jan 03, 2007 2:05 pm
Posts: 174
Reply with quote
Post Re: 4 quick questions
Awesome, thanks very much. :grin:


Thu Jun 10, 2010 9:05 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.082s | 13 Queries | GZIP : Off ]