What would you do if the source was released, and you were an epic C++ god?
+7
Sting Auer
Project64mugen
madbob2
JHaskly
Kedji
bwansy
Chris220
11 posters
Page 2 of 2
Page 2 of 2 • 1, 2
Re: What would you do if the source was released, and you were an epic C++ god?
well i doesnt really matter i suck with sarcasm in real life due to my aspergers.
well, we're pretty sure it's aspergers. I was evaluated in san fransisco and they said that I was on the autistic spectrum, and htat it was most likely aspergers.
well, we're pretty sure it's aspergers. I was evaluated in san fransisco and they said that I was on the autistic spectrum, and htat it was most likely aspergers.
Sting Auer- Hover
- Posts : 170
Join date : 2010-09-19
Location : Aw crap i think I'm lost.
Chris220- Moderator
- Posts : 58
Join date : 2010-07-15
Age : 31
Location : Right behind you
Re: What would you do if the source was released, and you were an epic C++ god?
lol that is funny. Never herd of that one.
Sting Auer- Hover
- Posts : 170
Join date : 2010-09-19
Location : Aw crap i think I'm lost.
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Re: What would you do if the source was released, and you were an epic C++ god?
I would add ragdolls. LOTS OF RAGDOLLS.
lolrigid- Tank
- Posts : 61
Join date : 2010-11-21
Location : At the cn tower
Re: What would you do if the source was released, and you were an epic C++ god?
I'd consolidate Trim, Rudder, and Chip into one chip, and add "bomb" chips- these chips would have similar attributes to arm chips, save that when they are triggered (either by damage, or by a trigger VAL reaching "option") they break (both off the model, and the chip itself shattering) and release an explosion. The explosion would do (option) damage and exert (option) force on chips within a radius proportional to (option).
Then I would cackle gleefully and make VTOL bombers.
Then I would cackle gleefully and make VTOL bombers.
Rainman- Tank
- Posts : 80
Join date : 2011-02-14
Age : 31
Location : New England, US
Re: What would you do if the source was released, and you were an epic C++ god?
no. just no.
i've hacked myself a 12.8m automatic gun. its overpowered. if that happened to bombs it would be a game-breaker.
anyway, i do have a 400+ chip "bomb", which uses 2M arms, and can disconnect players online because of its lag factor
i've hacked myself a 12.8m automatic gun. its overpowered. if that happened to bombs it would be a game-breaker.
anyway, i do have a 400+ chip "bomb", which uses 2M arms, and can disconnect players online because of its lag factor
RA2lover- Walker
- Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil
Re: What would you do if the source was released, and you were an epic C++ god?
Yeah, as I wrote that I began wondering if that's part of the reason the game doesn't have explosives. They'd be way too easy to spam and abuse...
Hmm... What do you mean "hacked" for your 12.8mil autocannon, you figured out a clever way for extreme rates of fire or you actually altered the game code? If it's the former, I'm intrigued and wish tosteal your ideas learn this technique in order to fight the Japanese bulletspam cannon menace...
Hmm... What do you mean "hacked" for your 12.8mil autocannon, you figured out a clever way for extreme rates of fire or you actually altered the game code? If it's the former, I'm intrigued and wish to
Rainman- Tank
- Posts : 80
Join date : 2011-02-14
Age : 31
Location : New England, US
Re: What would you do if the source was released, and you were an epic C++ god?
i used Cheat Engine(aka second method) for that. hint: the energy value is a float. it needs to be set to the energy value of the arm or a greater value, then frozen. i'll leave the adress scanning up for you though.
as for the bulletspam cannons, they just make a "chaingun", which moves arm chips so that they dont intersect when firing, fires, and switches to the next arm, allowing for higher firerates.
bulletspam cannons wont be enough though, especially against satelite vehicles.
as for the bulletspam cannons, they just make a "chaingun", which moves arm chips so that they dont intersect when firing, fires, and switches to the next arm, allowing for higher firerates.
bulletspam cannons wont be enough though, especially against satelite vehicles.
RA2lover- Walker
- Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil
Re: What would you do if the source was released, and you were an epic C++ god?
I've seen satellite vehicles shot down by spamcannons though; the model shooting them down was a microtank with a spamcannon turret that had a near-vertical maximum traverse.
And while I'd guessed the spamcannons operated something like that, for the life of me I don't know how to code for something like that. Any tips? If I could master the art of the spamcannon, I'd be unstopppable...
And while I'd guessed the spamcannons operated something like that, for the life of me I don't know how to code for something like that. Any tips? If I could master the art of the spamcannon, I'd be unstopppable...
Rainman- Tank
- Posts : 80
Join date : 2011-02-14
Age : 31
Location : New England, US
Re: What would you do if the source was released, and you were an epic C++ god?
Lua _G[] function. it basically reveals the variable within its argument(a string).
you can concatenate strings and numbers by using the ".." operator. this allows for less pain when wiring controls to all of the arms.
for instance, the code below sets variables
to 100000 with minimal effort. Inviso-text test: Yay for filling up the post space with useless text!
PS:an actual lua function was used to create that wall of text
you can concatenate strings and numbers by using the ".." operator. this allows for less pain when wiring controls to all of the arms.
for instance, the code below sets variables
to 100000 with minimal effort. Inviso-text test: Yay for filling up the post space with useless text!
- Code:
for x=1,500 do
_G["POWER"..x] = 100000
end
PS:an actual lua function was used to create that wall of text
Last edited by RA2lover on Sat Mar 05, 2011 2:58 pm; edited 2 times in total
RA2lover- Walker
- Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil
Re: What would you do if the source was released, and you were an epic C++ god?
So.... what you just wrote allows for queuing up a whole lot of arms to one firing key, or is it for overcoming the _E() recharge time? But what about the process of making the chips flip in and out of firing position without intersecting for the Japanese spamcannons?
You'll have to forgive me, I'm a quick study and I follow the logic of programming languages well, but I still don't really know much about Lua.
You'll have to forgive me, I'm a quick study and I follow the logic of programming languages well, but I still don't really know much about Lua.
Rainman- Tank
- Posts : 80
Join date : 2011-02-14
Age : 31
Location : New England, US
Re: What would you do if the source was released, and you were an epic C++ god?
it just sets all variables to 100000, for no effect at all. what's interesting about _G[] is that it can work along with if statements and other structures.
i think the variables' limits should do it.
the function just controls the guns' angles, without controlling its firing. another for operator which checks for the arm angles(and optionally the _E() of the arms, as long as you name each one) to fire the gun and get the loaded gun variable to change its value.
- Code:
function guncontrol(gun, numguns, prefix, suffix, step)
--changes guns' angles by moving them at step degrees per frame
for n=1,numguns do
if n == gun then
_G[prefix..n..suffix] = _G["G1_"..n..suffix] - step
else
_G[prefix..n..suffix] = _G[prefix..n..suffix] + step
end
end
end
i think the variables' limits should do it.
the function just controls the guns' angles, without controlling its firing. another for operator which checks for the arm angles(and optionally the _E() of the arms, as long as you name each one) to fire the gun and get the loaded gun variable to change its value.
RA2lover- Walker
- Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil
Page 2 of 2 • 1, 2
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum