Battle Arena 2.0

Working on a new map? Have a new mod out for swbf2?! Post an announcement of the up-coming release here.

Moderator: Moderators

Locked
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by obiboba3po »

aweeesome rep! (you should totally do that stunt tank map in here somewhere lol :lol: )
User avatar
Fluffy_the_ic
Hoth Battle Chief
Hoth Battle Chief
Posts: 3223
Joined: Thu Jan 24, 2008 7:03 pm
xbox live or psn: fluffytherc
Location: she/her
Contact:

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by Fluffy_the_ic »

You could take some screenies and mess around with them to make them like the Arena's Action News. lol crappy joke right there.
Nova Hawk
Banned
Posts: 4089
Joined: Mon Sep 22, 2008 3:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: MW3 BF3

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by Nova Hawk »

Wow, that is simply amazing! But will there be the 501st or a different legion?
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by RepSharpshooter »

I don't think it's worth the extra 220 mb, plus I want this to be GWL-rated.
JPI Dictator4life
2nd Lieutenant
2nd Lieutenant
Posts: 409
Joined: Wed Feb 06, 2008 8:07 pm

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by JPI Dictator4life »

RepSharpshooter wrote:Scrolling images like before. I'm thinking of putting some web comics in there, or real comics. Maybe some more funny pictures. If anyone has any suggestions just throw them out and I'll put them in. :)
Maybe you should put in a few pictures of network shows, like family guy, NBC, Nick, and of course, the Battle Arena map.
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by RepSharpshooter »

Yay, I wrote a LUA function to add/subtract points to any player at will. :)

For those who care:
Hidden/Spoiler:
function addPointsToChar(character, dpoints)

--=======================================
-- Point changes taken from zerted's DM mode script
--=======================================
local Player_Stats_Points = {
{ point_gain = 0 }, --// PS_GLB_KILL_AI_PLAYER = 0,
{ point_gain = 0 }, --// PS_GLB_KILL_HUMAN_PLAYER,
{ point_gain = 0 }, --// PS_GLB_KILL_HUMAN_PLAYER_AI_OFF,
{ point_gain = 0 }, --// PS_GLB_KILL_SUICIDE,
{ point_gain = 0 }, --// PS_GLB_KILL_TEAMMATE,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_INFANTRY_VS_VEHICLE,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_LIGHT_VS_HEAVY,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_LIGHT_VS_MEDIUM,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_HEAVY_VS_LIGHT,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_HEAVY_VS_MEDIUM,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_MEDIUM_VS_LIGHT,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_MEDIUM_VS_HEAVY,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_ATAT,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_EMPTY,
{ point_gain = 0 }, --// PS_GLB_HEAL,
{ point_gain = 0 }, --// PS_GLB_REPAIR,
{ point_gain = 0 }, --// PS_GLB_SNIPER_ACCURACY,
{ point_gain = 0 }, --// PS_GLB_HEAVY_WEAPON_MULTI_KILL,
{ point_gain = 0 }, --// PS_GLB_RAMPAGE,
{ point_gain = 0 }, --// PS_GLB_HEAD_SHOT,
{ point_gain = 0 }, --// PS_GLB_KILL_HERO,
{ point_gain = 0 }, --// PS_CON_CAPTURE_CP,
{ point_gain = 0 }, --// PS_CON_ASSIST_CAPTURE_CP,
{ point_gain = 0 }, --// PS_CON_KILL_ENEMY_CAPTURING_CP,
{ point_gain = 0 }, --// PS_CON_DEFEND_CP,
{ point_gain = 0 }, --// PS_CON_KING_HILL,
{ point_gain = 0 }, --// PS_CAP_PICKUP_FLAG,
{ point_gain = 0 }, --// PS_CAP_DEFEND_FLAG,
{ point_gain = 0 }, --// PS_CAP_CAPTURE_FLAG,
{ point_gain = 0 }, --// PS_CAP_DEFEND_FLAG_CARRIER,
{ point_gain = 0 }, --// PS_CAP_KILL_ENEMY_FLAG_CARRIER,
{ point_gain = 0 }, --// PS_CAP_KILL_ALLY_FLAG_CARRIER,
{ point_gain = dpoints }, --// PS_Diet Dr. Pepper_DESTROY_ASSAULT_OBJ,
{ point_gain = 0 }, --// PS_ESC_DEFEND,
{ point_gain = 0 }, --// PS_DEF_DEFEND,
}

--save the new points
ScriptCB_SetPlayerStatsPoints( Player_Stats_Points )

--clean up some memory --is this needed as its about to go out of scope?
Player_Stats_Points = nil

AddAssaultDestroyPoints(character)

--now try to update him in our record.
local u
local gotheem
gotheem = false
for u = 1, table.getn(playerpoints) do
if playerpoints.ptr = character then
playerpoints.points = playerpoints.points + dpoints
gotheem = true
end
end
if gotheem == false then
guy = {ptr = character, points = dpoints}
table.insert(playerpoints, guy}
end

end



This means that I can implement the betting system! I'm going to make "place wager" buttons where you can bet a certain amount of your points, and get paid back if the team you picked wins.

And maybe at the shooting gallery, it can charge you points to play, but you can win more back if you are a good shooter. Or maybe free of charge, it's undecided.
User avatar
destructo_bot
Chief Warrant Officer
Chief Warrant Officer
Posts: 329
Joined: Sun Aug 10, 2008 3:14 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Orkney, a place of... well... farming. Scotland FTW!

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by destructo_bot »

RepSharpshooter wrote: And maybe at the shooting gallery, it can charge you points to play, but you can win more back if you are a good shooter. Or maybe free of charge, it's undecided.
if you did that would it be possible to make it so it has a free "practice" mode, which is just target practice, and a pay to get in mode where you can win points?

keep up the good work Rep :mrgreen: <- love that smilie!
Nova Hawk
Banned
Posts: 4089
Joined: Mon Sep 22, 2008 3:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: MW3 BF3

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by Nova Hawk »

JPI Dictator4life wrote:
RepSharpshooter wrote:Scrolling images like before. I'm thinking of putting some web comics in there, or real comics. Maybe some more funny pictures. If anyone has any suggestions just throw them out and I'll put them in. :)
Maybe you should put in a few pictures of network shows, like family guy, NBC, Nick, and of course, the Battle Arena map.
And my favorite, Home Improvement. 8) That would be funny if there were some Disney Channel shows playing. :D
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by Maveritchell »

RepSharpshooter wrote:Yay, I wrote a LUA function to add/subtract points to any player at will. :)

For those who care:
Hidden/Spoiler:
function addPointsToChar(character, dpoints)

--=======================================
-- Point changes taken from zerted's DM mode script
--=======================================
local Player_Stats_Points = {
{ point_gain = 0 }, --// PS_GLB_KILL_AI_PLAYER = 0,
{ point_gain = 0 }, --// PS_GLB_KILL_HUMAN_PLAYER,
{ point_gain = 0 }, --// PS_GLB_KILL_HUMAN_PLAYER_AI_OFF,
{ point_gain = 0 }, --// PS_GLB_KILL_SUICIDE,
{ point_gain = 0 }, --// PS_GLB_KILL_TEAMMATE,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_INFANTRY_VS_VEHICLE,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_LIGHT_VS_HEAVY,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_LIGHT_VS_MEDIUM,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_HEAVY_VS_LIGHT,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_HEAVY_VS_MEDIUM,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_MEDIUM_VS_LIGHT,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_MEDIUM_VS_HEAVY,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_ATAT,
{ point_gain = 0 }, --// PS_GLB_VEHICLE_KILL_EMPTY,
{ point_gain = 0 }, --// PS_GLB_HEAL,
{ point_gain = 0 }, --// PS_GLB_REPAIR,
{ point_gain = 0 }, --// PS_GLB_SNIPER_ACCURACY,
{ point_gain = 0 }, --// PS_GLB_HEAVY_WEAPON_MULTI_KILL,
{ point_gain = 0 }, --// PS_GLB_RAMPAGE,
{ point_gain = 0 }, --// PS_GLB_HEAD_SHOT,
{ point_gain = 0 }, --// PS_GLB_KILL_HERO,
{ point_gain = 0 }, --// PS_CON_CAPTURE_CP,
{ point_gain = 0 }, --// PS_CON_ASSIST_CAPTURE_CP,
{ point_gain = 0 }, --// PS_CON_KILL_ENEMY_CAPTURING_CP,
{ point_gain = 0 }, --// PS_CON_DEFEND_CP,
{ point_gain = 0 }, --// PS_CON_KING_HILL,
{ point_gain = 0 }, --// PS_CAP_PICKUP_FLAG,
{ point_gain = 0 }, --// PS_CAP_DEFEND_FLAG,
{ point_gain = 0 }, --// PS_CAP_CAPTURE_FLAG,
{ point_gain = 0 }, --// PS_CAP_DEFEND_FLAG_CARRIER,
{ point_gain = 0 }, --// PS_CAP_KILL_ENEMY_FLAG_CARRIER,
{ point_gain = 0 }, --// PS_CAP_KILL_ALLY_FLAG_CARRIER,
{ point_gain = dpoints }, --// PS_Diet Dr. Pepper_DESTROY_ASSAULT_OBJ,
{ point_gain = 0 }, --// PS_ESC_DEFEND,
{ point_gain = 0 }, --// PS_DEF_DEFEND,
}

--save the new points
ScriptCB_SetPlayerStatsPoints( Player_Stats_Points )

--clean up some memory --is this needed as its about to go out of scope?
Player_Stats_Points = nil

AddAssaultDestroyPoints(character)

--now try to update him in our record.
local u
local gotheem
gotheem = false
for u = 1, table.getn(playerpoints) do
if playerpoints.ptr = character then
playerpoints.points = playerpoints.points + dpoints
gotheem = true
end
end
if gotheem == false then
guy = {ptr = character, points = dpoints}
table.insert(playerpoints, guy}
end

end



This means that I can implement the betting system! I'm going to make "place wager" buttons where you can bet a certain amount of your points, and get paid back if the team you picked wins.

And maybe at the shooting gallery, it can charge you points to play, but you can win more back if you are a good shooter. Or maybe free of charge, it's undecided.


Nice work, you just reset the whole points .lua, basically. I'm sure you've noticed that the way you set this up means that you get no points for anything except what you assign, though, right?

Either way, clever.
User avatar
GangsterJawa
Sith
Sith
Posts: 1319
Joined: Tue Nov 18, 2008 7:37 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In the refrigerator, behind the mayonnaise, next to the ketchup, and to the left of the coleslaw

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by GangsterJawa »

destructo_bot wrote:
RepSharpshooter wrote: And maybe at the shooting gallery, it can charge you points to play, but you can win more back if you are a good shooter. Or maybe free of charge, it's undecided.
if you did that would it be possible to make it so it has a free "practice" mode, which is just target practice, and a pay to get in mode where you can win points?<- love that smilie!
How would this hypothetical "practice" be different than the normal mode?
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by Taivyx »

GangsterJawa wrote:
destructo_bot wrote:
RepSharpshooter wrote: And maybe at the shooting gallery, it can charge you points to play, but you can win more back if you are a good shooter. Or maybe free of charge, it's undecided.
if you did that would it be possible to make it so it has a free "practice" mode, which is just target practice, and a pay to get in mode where you can win points?<- love that smilie!
How would this hypothetical "practice" be different than the normal mode?
I would assume destructo_bot means that it does not subtract/add to your point totals.

Very clever work Rep, you seem to consistently add new dimensions to this game.
Smug
Corporal
Corporal
Posts: 158
Joined: Sun Nov 16, 2008 1:47 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: New...what was is again....Hmm....
Contact:

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by Smug »

What percent is the map done? And/or release of beta or regular date.
User avatar
GangsterJawa
Sith
Sith
Posts: 1319
Joined: Tue Nov 18, 2008 7:37 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In the refrigerator, behind the mayonnaise, next to the ketchup, and to the left of the coleslaw

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by GangsterJawa »

Taivyx wrote:
GangsterJawa wrote:
destructo_bot wrote:
RepSharpshooter wrote: And maybe at the shooting gallery, it can charge you points to play, but you can win more back if you are a good shooter. Or maybe free of charge, it's undecided.
if you did that would it be possible to make it so it has a free "practice" mode, which is just target practice, and a pay to get in mode where you can win points?<- love that smilie!
How would this hypothetical "practice" be different than the normal mode?
I would assume destructo_bot means that it does not subtract/add to your point totals.
Yes, but then why wouldn't you just do regular mode and why would you bother with practice? Unless you lose points if you miss...
User avatar
destructo_bot
Chief Warrant Officer
Chief Warrant Officer
Posts: 329
Joined: Sun Aug 10, 2008 3:14 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Orkney, a place of... well... farming. Scotland FTW!

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by destructo_bot »

GangsterJawa wrote:
Taivyx wrote:
GangsterJawa wrote:
destructo_bot wrote:
RepSharpshooter wrote: And maybe at the shooting gallery, it can charge you points to play, but you can win more back if you are a good shooter. Or maybe free of charge, it's undecided.
if you did that would it be possible to make it so it has a free "practice" mode, which is just target practice, and a pay to get in mode where you can win points?<- love that smilie!
How would this hypothetical "practice" be different than the normal mode?
I would assume destructo_bot means that it does not subtract/add to your point totals.
Yes, but then why wouldn't you just do regular mode and why would you bother with practice? Unless you lose points if you miss...
or if you lost points, like paying, to get in, and it had a time limit before you were teleported out, and that it would be quite hard to regain enough points, by hitting the targets within the time limit, to get back what you spent to get in and then earn more points on top of that, effectivley making a 'profit' so you couldnt use it to get +infinite points, but if you sucked then you could use the practice mode to get bettter without losing or gaining any points. :faint: *breathes...*
Smug
Corporal
Corporal
Posts: 158
Joined: Sun Nov 16, 2008 1:47 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: New...what was is again....Hmm....
Contact:

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by Smug »

Ok, by the looks of this map, it is ready to be relased, and btw did you figure out how to do that "points betting" thing u mentioned in a previous page?
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by RepSharpshooter »

It is NOT ready to be released nor are you to do decide that, and the answer to your question is on the current page.
Smug
Corporal
Corporal
Posts: 158
Joined: Sun Nov 16, 2008 1:47 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: New...what was is again....Hmm....
Contact:

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by Smug »

I am aware, I am just saying that this map looks awesome enough to be relased, I am not inquiring that you release it right now, for I am sure you have updates to make, and such.
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by RepSharpshooter »

Ah sorry :oops: I was going to say, I have more work to do yet :) Like a made an LCD display for the betting system, with two onscreen options. It will also flash *betting disabled* during or after a match.
User avatar
Ping
Sith
Sith
Posts: 1398
Joined: Thu Sep 18, 2008 4:19 pm
Location: College

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by Ping »

RepSharpshooter wrote:Ah sorry :oops: I was going to say, I have more work to do yet :) Like a made an LCD display for the betting system, with two onscreen options. It will also flash *betting disabled* during or after a match.
A display for the betting system? I thought that was impossible (but what do I know, I'm brand new to modding). Too bad you couldn't make the LCD display live footage from the Battle area...
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: Battle Arena 2.0 (hunt mode) and Hoth King of the Hill

Post by RepSharpshooter »

A lot of the marvels in the battle arena 2.0 system are made possible by some simple LUA tricks and brunt force. For example, the scoreboard is made by 40 different models, and the LCD is made of 4. When you put them all together, the end result is a seamless, seemingly working piece of technology.
Locked