* October 01, 2014, 10:18:42 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1] 2  All   Go Down
  Print  
Author Topic: Building  (Read 12676 times)
rotacak


Turrets: +39/-64
Posts: 761


« on: September 06, 2007, 05:16:31 PM »

Hi,
I want try enable build like in screenshot below. It's easy/hard/impossible?
What I must change in source? Can someone help?

I know, this is bug in Uncreation, but I want try it in all maps (with jetpacks etc).



Another thing is enable build eggs on walls, OM on walls and ceilings etc.

Thanx for reply.
Logged

your face
Community Moderators
*

Turrets: +111/-408
Posts: 3588


really your face here


WWW
« Reply #1 on: September 06, 2007, 05:18:28 PM »

whaaaa???  how did u do that?  thats awesome!!!!  can u do it w/out mods or anything?   :O
Logged

{NoS}Your Face
Quote from: codercon
Tremulous is probally the best freeware you will ever play. whats better then being a humman gunning down aliens or an alied killing soem humans.
(11:53:30 AM) Koragg: Oh god all channels red
rotacak


Turrets: +39/-64
Posts: 761


« Reply #2 on: September 06, 2007, 05:28:10 PM »

Without mod. Take jetpack, fly upthere and build. If you found right place, buildings fall down. It's fun.
Logged

your face
Community Moderators
*

Turrets: +111/-408
Posts: 3588


really your face here


WWW
« Reply #3 on: September 06, 2007, 05:31:00 PM »

ooo, kewl, ive gotta try that...
Logged

{NoS}Your Face
Quote from: codercon
Tremulous is probally the best freeware you will ever play. whats better then being a humman gunning down aliens or an alied killing soem humans.
(11:53:30 AM) Koragg: Oh god all channels red
Overdose


Turrets: +52/-47
Posts: 395

This is my Personal Text (it's better than yours)


« Reply #4 on: September 06, 2007, 10:12:47 PM »

Doesn't benmachine's mod allow you to build things on walls/ceilings?
Logged

Chocolate Milk.
rotacak


Turrets: +39/-64
Posts: 761


« Reply #5 on: September 07, 2007, 01:34:15 AM »

Yes, but that is very big and complicated patch with many changes.

I can build egg on wall, but egg falls down :-( Can't found what I must change for function like acid/hive.
Logged

n00b pl0x


Turrets: +55/-168
Posts: 2415



« Reply #6 on: September 07, 2007, 02:10:01 AM »

being able to build eggs on walls would probably make the process of spawning from eggs even more buggy.
Logged

will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?
rotacak


Turrets: +39/-64
Posts: 761


« Reply #7 on: September 07, 2007, 01:45:56 PM »

Quote from: "n00b pl0x"
being able to build eggs on walls would probably make the process of spawning from eggs even more buggy.


Why? Eggs have square dimensions, so it's should be ok. If not then I just remove that. And "even more buggy"? Now it's buggy?

BTW, I found where to change it. It's in bg_misc.c file.

I still need help with first question.
Logged

==Troy==


Turrets: +65/-67
Posts: 440


« Reply #8 on: September 07, 2007, 02:25:33 PM »

It is possible to build those on pretty much every map. You just need to be VERY accurate  with placement (decimal point of an angle if not less) and have 2 buildable surfaces in the proximity. for most maps it is not true, but for example on arachnid you can build so that the turrets fall down the vent above alien base. I cant do it with ping, but managed to get it working once on a local Wink

Oh and with the eggs, you are being spawned above the egg, not in the hitbox of it.
Logged
benmachine

*
*

Turrets: +99/-76
Posts: 915



WWW
« Reply #9 on: September 07, 2007, 05:19:47 PM »

The towering bug is, I think a consequence of this one:
http://bugzilla.icculus.org/show_bug.cgi?id=3305
Basically, under some rare circumstances, the place where the buildable tests are carried out is not the place where the buildable is... placed. And buildables placed in mid-air try to clamp to a surface by accelerating towards their base - in most cases, downwards. They come to rest against the floor below, or anything else below - you could probably get one to land on your head. Anyway, in summary this bug is probably still in SVN, not even the precise cause is known let alone the fix, but it can only occur in rare circumstances. Anecdotally, I've heard diagonal boundary lines help.

edit: what you'd have to do to allow this in normal play I'm not sure. Probably it'd involve changing tracemasks or the r.contents of some buildables so they appeared to the server similar to the structural brushes of the map.
Logged

benmachine
rdizzle


Turrets: +1/-1
Posts: 187


« Reply #10 on: September 07, 2007, 06:02:16 PM »

you can do this on many angled surfaces.  e.g. the cannons in pushcannon.

of course, nobuild tends to solve the problem Tongue
Logged
yetshi


Turrets: +4/-6
Posts: 188


« Reply #11 on: September 08, 2007, 09:13:09 AM »

so far ive been able to do that on every single map with the exception of atcs.

call it totempoling.
Logged

rotacak


Turrets: +39/-64
Posts: 761


« Reply #12 on: September 08, 2007, 05:11:44 PM »

Quote from: "benmachine"
Basically, under some rare circumstances, the place where the buildable tests are carried out is not the place where the buildable is... placed.


Yes, but this is not that case. All turrets are exactly there where they are :-)

Quote from: "benmachine"

edit: what you'd have to do to allow this in normal play I'm not sure. Probably it'd involve changing tracemasks or the r.contents of some buildables so they appeared to the server similar to the structural brushes of the map.


I think that is easy. But I am not C coder, so it's hard for me. Must be changed only one thing - allow build turret into air.

Now is detected place for buildable on map, if it's free place (square place with buildable dimensions), you can build.

If is other buildable on that place, you can't build.

But, it should be changed to: If is other buildable on that place, get what buildable it is, get their height and check free place on map floor coordinates + height blocking buildable (above that building). If it's free place, you can build there (practicaly in air).

That's all. But I don't know where and how add height number to checking place for buildable :-(

Sorry for my bad english.
Logged

techhead


Turrets: +77/-73
Posts: 1496

I like playing Tremulous, but who here doesn't???


WWW
« Reply #13 on: September 08, 2007, 06:24:30 PM »

On a tangent, someone should make a patch so that building models will not pass through map surfaces. Similar to building on a ledge so it looks like it falls down, its really annoying when the model sticks out of the map. Although this was designed so that buildings on angles floors and such will lie flat, this ideally wouldn't interfere with that function. If you want to see an example of this, build a turret on almost any railing. See Karith, Transit, Nexus 6, UTCS, SectorB17, or Meep if you can't find a railing.
Logged

I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!
kevlarman

*

Turrets: +291/-295
Posts: 2737



« Reply #14 on: September 08, 2007, 06:47:20 PM »

Quote from: "techhead"
On a tangent, someone should make a patch so that building models will not pass through map surfaces. Similar to building on a ledge so it looks like it falls down, its really annoying when the model sticks out of the map. Although this was designed so that buildings on angles floors and such will lie flat, this ideally wouldn't interfere with that function. If you want to see an example of this, build a turret on almost any railing. See Karith, Transit, Nexus 6, UTCS, SectorB17, or Meep if you can't find a railing.
uh this has been fixed for ages.
Logged

Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----
techhead


Turrets: +77/-73
Posts: 1496

I like playing Tremulous, but who here doesn't???


WWW
« Reply #15 on: September 08, 2007, 07:03:30 PM »

Really?
Thats nice to know.
One last question: Is the fix client-side or server-side?
Logged

I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!
jal


Turrets: +8/-7
Posts: 249


« Reply #16 on: September 08, 2007, 10:18:40 PM »

12fps Sad
Logged
n00b pl0x


Turrets: +55/-168
Posts: 2415



« Reply #17 on: September 08, 2007, 10:25:22 PM »

Quote from: "rotacak"
And "even more buggy"? Now it's buggy?


where have you been

you can get outside of like 3 maps with eggs
Logged

will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?
benmachine

*
*

Turrets: +99/-76
Posts: 915



WWW
« Reply #18 on: September 08, 2007, 11:04:29 PM »

Quote from: "n00b pl0x"
Quote from: "rotacak"
And "even more buggy"? Now it's buggy?


where have you been

you can get outside of like 3 maps with eggs


That's a map bug, not an egg bug.
Logged

benmachine
kevlarman

*

Turrets: +291/-295
Posts: 2737



« Reply #19 on: September 08, 2007, 11:17:05 PM »

Quote from: "techhead"
Really?
Thats nice to know.
One last question: Is the fix client-side or server-side?
it's a cgame fix, so it's impossible to fix on pure 1.1 servers (the vast majority of servers), you will notice that you can't reproduce the bug on servers like trem.tjw.org that force you to download an updated cgame.
Logged

Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----
Undeference
Tremulous Developers
*

Turrets: +122/-45
Posts: 1220


Ingar and carry on.


WWW
« Reply #20 on: September 09, 2007, 07:04:09 AM »

Quote from: "rotacak"
Hi,
I want try enable build like in screenshot below. It's easy/hard/impossible?
What I must change in source? Can someone help?

I know, this is bug in Uncreation, but I want try it in all maps (with jetpacks etc).
You would basically remove a few lines from G_CanBuild() and change a line or two in BG_PositionBuildableRelativeToPlayer() too.

But why? Please tell me you intend to use this on server with massive build point and player counts...
Logged

Need help? Ask intelligently. If you find a solution on your own, please share it so others can benefit.

Thats what we need, helpful players, not more powerful admins.
Looking for more Tremulous maps?
Plague Bringer


Turrets: +147/-187
Posts: 3812


« Reply #21 on: September 09, 2007, 02:28:59 PM »

Quote from: "Undeference"
Quote from: "rotacak"
Hi,
I want try enable build like in screenshot below. It's easy/hard/impossible?
What I must change in source? Can someone help?

I know, this is bug in Uncreation, but I want try it in all maps (with jetpacks etc).
You would basically remove a few lines from G_CanBuild() and change a line or two in BG_PositionBuildableRelativeToPlayer() too.

But why? Please tell me you intend to use this on server with massive build point and player counts...
It's obviously a measure against the flying alien.
Logged

U R A Q T
rotacak


Turrets: +39/-64
Posts: 761


« Reply #22 on: September 09, 2007, 04:18:38 PM »

Quote from: "Undeference"
Quote from: "rotacak"
Hi,
I want try enable build like in screenshot below. It's easy/hard/impossible?
What I must change in source? Can someone help?

I know, this is bug in Uncreation, but I want try it in all maps (with jetpacks etc).
You would basically remove a few lines from G_CanBuild() and change a line or two in BG_PositionBuildableRelativeToPlayer() too.

Can you help me with that lines? I found that functions before, but I don't know how to change them.

Quote from: "Undeference"
But why? Please tell me you intend to use this on server with massive build point and player counts...

For fun. Builders can build more interesing creations and aliens can destroyed that easilly (chainreactions). It's something new in still same game. And if this will be unplayable, then is allways possible to remove it. Or make special vote for this.
Logged

Undeference
Tremulous Developers
*

Turrets: +122/-45
Posts: 1220


Ingar and carry on.


WWW
« Reply #23 on: September 12, 2007, 08:56:08 PM »

Quote from: "Undeference"
Please tell me you intend to use this on server with massive build point and player counts...
that was sarcasm, btw. but apparently a 999 or so bp server allows building at weird angles (too bad they didn't let you stack stuff)

something like this:
Code:
Index: bg_misc.c
===================================================================
--- bg_misc.c   (revision 983)
+++ bg_misc.c   (working copy)
@@ -5216,7 +5216,7 @@
   //so buildings drop to floor
   VectorMA( targetOrigin, -128, playerNormal, targetOrigin );
 
-  (*trace)( tr, entityOrigin, mins, maxs, targetOrigin, ps->clientNum, MASK_DEADSOLID );
+  (*trace)( tr, entityOrigin, mins, maxs, targetOrigin, ps->clientNum, MASK_PLAYERSOLID );
   VectorCopy( tr->endpos, entityOrigin );
   VectorMA( entityOrigin, 0.1f, playerNormal, outOrigin );
   vectoangles( forward, outAngles );
Index: g_buildable.c
===================================================================
--- g_buildable.c       (revision 983)
+++ g_buildable.c       (working copy)
@@ -2781,13 +2781,6 @@
   minNormal = BG_FindMinNormalForBuildable( buildable );
   invert = BG_FindInvertNormalForBuildable( buildable );
 
-  //can we build at this angle?
-  if( !( normal[ 2 ] >= minNormal || ( invert && normal[ 2 ] <= -minNormal ) ) )
-    reason = IBE_NORMAL;
-
-  if( tr1.entityNum != ENTITYNUM_WORLD )
-    reason = IBE_NORMAL;
-
   //check there is enough room to spawn from (presuming this is a spawn)
   if( G_CheckSpawnPoint( -1, origin, normal, buildable, NULL ) != NULL )
     reason = IBE_NORMAL;
if you remove the "//check there is enough room" part, you might end up with people spawning inside walls and stuff which can be annoying
Logged

Need help? Ask intelligently. If you find a solution on your own, please share it so others can benefit.

Thats what we need, helpful players, not more powerful admins.
Looking for more Tremulous maps?
techhead


Turrets: +77/-73
Posts: 1496

I like playing Tremulous, but who here doesn't???


WWW
« Reply #24 on: September 12, 2007, 10:58:50 PM »

Once I hopped into devmap and dropped as many medistations as I could stack down the side of volcano, had some chain-reaction fun fun afterwards. Came out to around 1700, but lost the screenshot.
Logged

I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!
soultcer


Turrets: +0/-0
Posts: 23


« Reply #25 on: September 13, 2007, 03:12:59 PM »

--
« Last Edit: June 05, 2011, 11:24:45 AM by soultcer » Logged
rotacak


Turrets: +39/-64
Posts: 761


« Reply #26 on: September 13, 2007, 10:12:46 PM »

Quote from: "Undeference"

something like this:

Thank you very much. This is exactly what I need.

But there is one bug:


Hitboxes are on right place, but second armoury model (or any second model) is always inside first armoury model :-( Do you know why?

BTW, is possible transport variable from g_main.c to bg_misc.c? "extern  vmCvar_t  variable;" don't work.
Logged

Shadowgandor


Turrets: +61/-66
Posts: 826


« Reply #27 on: September 21, 2007, 07:12:49 PM »

this might be a noobish comment but couldn't you already build eggs on walls and ceilings???
Logged

CreatureofHell


Turrets: +430/-126
Posts: 2398

Ash Nazg Durbatulūk, Ash Nazg Gimbatul.


WWW
« Reply #28 on: September 22, 2007, 11:13:22 AM »

Eggs, acid tubes, trappers and hives yes. Others: No.
Logged


Quote
<Timbo> posting on the trem forums rarely results in anything good
benmachine

*
*

Turrets: +99/-76
Posts: 915



WWW
« Reply #29 on: September 22, 2007, 11:37:37 AM »

Eggs can only be built on ceilings.
Logged

benmachine
Pages: [1] 2  All   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!