Page 7 of 22

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

Posted: Tue Dec 30, 2008 10:47 pm
by obiboba3po
aweeesome rep! (you should totally do that stunt tank map in here somewhere lol :lol: )

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

Posted: Tue Dec 30, 2008 11:15 pm
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.

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

Posted: Tue Dec 30, 2008 11:20 pm
by Nova Hawk
Wow, that is simply amazing! But will there be the 501st or a different legion?

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

Posted: Wed Dec 31, 2008 12:39 pm
by RepSharpshooter
I don't think it's worth the extra 220 mb, plus I want this to be GWL-rated.

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

Posted: Wed Dec 31, 2008 4:15 pm
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.

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

Posted: Wed Dec 31, 2008 4:47 pm
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.

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

Posted: Wed Dec 31, 2008 5:18 pm
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!

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

Posted: Wed Dec 31, 2008 5:43 pm
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

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

Posted: Wed Dec 31, 2008 5:47 pm
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.

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

Posted: Wed Dec 31, 2008 5:53 pm
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?

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

Posted: Wed Dec 31, 2008 7:17 pm
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.

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

Posted: Wed Dec 31, 2008 7:23 pm
by Smug
What percent is the map done? And/or release of beta or regular date.

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

Posted: Wed Dec 31, 2008 9:20 pm
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...

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

Posted: Thu Jan 01, 2009 4:18 pm
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...*

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

Posted: Thu Jan 01, 2009 10:26 pm
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?

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

Posted: Thu Jan 01, 2009 10:46 pm
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.

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

Posted: Fri Jan 02, 2009 5:56 pm
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.

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

Posted: Sat Jan 03, 2009 8:08 pm
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.

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

Posted: Sat Jan 03, 2009 10:28 pm
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...

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

Posted: Sat Jan 03, 2009 11:18 pm
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.