A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »[Request] Firefight script.

Author Topic: [Request] Firefight script. (15 messages, Page 1 of 1)
Moderators: Dennis

Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Feb 6, 2011 12:48 PM    Msg. 1 of 15       
Hey all,

I have recently found an interest in firefights and I'm wondering how to script one. I would like to have a points system, like the one in portent, but I have no clue how to achieve that. If no one else does I would then try to make a regular firefight, like mudslide-skirmish. Any help or suggestions are appreciated, thanks!


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Feb 6, 2011 12:50 PM    Msg. 2 of 15       
Moooseguy can help with the points system but i'll send you my script via the pm's if u want


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Feb 6, 2011 12:52 PM    Msg. 3 of 15       
If you have no knowledge of variables at all, this is going to be one long ride for ya :P

Pseudocode:
Have a variable that stores the amount of points the player has
Whenever the player does something that consumes points, decrement the variable by a certain amount
Whenever the player completes a wave or gets a certain number of kills, increment the variable by a certain amount

That's the basic gist of it. It's how you wish to implement this that matters.


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Feb 6, 2011 12:54 PM    Msg. 4 of 15       
Quote: --- Original message by: Gamma927
Whenever the player completes a wave or gets a certain number of kills, increment the variable by a certain amount



How do u do that?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Feb 6, 2011 12:57 PM    Msg. 5 of 15       
(set variable (+ variable increment))


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Feb 6, 2011 12:58 PM    Msg. 6 of 15       
Quote: --- Original message by: Gamma927
If you have no knowledge of variables at all, this is going to be one long ride for ya :P

Pseudocode:
Have a variable that stores the amount of points the player has
Whenever the player does something that consumes points, decrement the variable by a certain amount
Whenever the player completes a wave or gets a certain number of kills, increment the variable by a certain amount

That's the basic gist of it. It's how you wish to implement this that matters.

I have no knowledge of variables whatsoever. I kinda get what your saying, but it still looks like a foreign language to me. Could you be more specific on how I go around on setting one up please?


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Feb 6, 2011 01:00 PM    Msg. 7 of 15       
Quote: --- Original message by: Gamma927
(set variable (+ variable increment))

example???

Pepzee do u want teh script?


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Feb 6, 2011 01:09 PM    Msg. 8 of 15       
Quote: --- Original message by: Muscl3r
Quote: --- Original message by: Gamma927
(set variable (+ variable increment))

example???

Pepzee do u want teh script?

Sure, I'll take whatever I can get at the moment, until I can create something better.


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Feb 6, 2011 01:19 PM    Msg. 9 of 15       
ok then

Do you want the script for one round (5 waves) or one set (15 waves + 1 bonus round) ?


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Feb 6, 2011 01:23 PM    Msg. 10 of 15       
Quote: --- Original message by: Muscl3r
ok then

Do you want the script for one round (5 waves) or one set (15 waves + 1 bonus round) ?

One set, I guess.


Xoronatus
Joined: Dec 6, 2010

Taking a break


Posted: Feb 6, 2011 01:52 PM    Msg. 11 of 15       
I'm working on a firefight too . It's great that the CE community is taking an interest in quality firefight.


anonymous_2009
Joined: Jun 13, 2009


Posted: Feb 6, 2011 01:57 PM    Msg. 12 of 15       
It's rather pointless seeming as AI don't sync online so your stuck playing on your bill...


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Feb 6, 2011 03:14 PM    Msg. 13 of 15       
Quote: --- Original message by: anonymous_2009
It's rather pointless seeming as AI don't sync online so your stuck playing on your bill...

This is meant to be single player.

I still wish I knew how to add in a points system though. I looked through the scripting bible and I didn't really find anything. Anyone know how to add in a points system?


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: Feb 6, 2011 03:39 PM    Msg. 14 of 15       
You guys need a tutorial on programming.


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Feb 6, 2011 04:00 PM    Msg. 15 of 15       
Quote: --- Original message by: pepzee
Quote: --- Original message by: anonymous_2009
It's rather pointless seeming as AI don't sync online so your stuck playing on your bill...

This is meant to be single player.

I still wish I knew how to add in a points system though. I looked through the scripting bible and I didn't really find anything. Anyone know how to add in a points system?
A points system uses a variable that tracks your points, and the d40 countdown timer or HUD messages to display it. The timer and variables are explained in the bible.
If you have script questions you can xfire me at slappythepirate, or even better drop a PM.
Make sure I know it's you.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 12:44 PM 125 ms.
A Halo Maps Website