FORUM
MANUAL
GET TREMULOUS
Tremulous forum
May 21, 2013, 11:16:55 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Come Chat with us live! Learn how
HERE!
Home
Help
Search
Login
Register
T R E M U L O U S
>
Mods
>
Mod Releases
>
Gameplay Changing
>
Single Player Mod [CANCELED]
Pages: [
1
]
2
All
Go Down
Print
Author
Topic: Single Player Mod [CANCELED] (Read 5089 times)
Crava_Loft
Guest
Single Player Mod [CANCELED]
«
on:
August 13, 2010, 02:16:47 PM »
Project is canceled. Sorry.
downloads: [removed]
documentation: [removed]
I will release parts of the code after reviewing. I will do it when I have time.
«
Last Edit: August 22, 2010, 11:34:59 PM by Crava_Loft
»
Logged
+ OPTIMUS +
Turrets: +263/-164
Posts: 1092
Re: Single Player Mod
«
Reply #1 on:
August 13, 2010, 06:39:47 PM »
gj calming down +1
Logged
success is the ability to go from failure to failure without losing your enthusiasm
+SOUTH P4WN+
+portfolio+
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #2 on:
August 13, 2010, 08:45:51 PM »
[deleted]
«
Last Edit: August 20, 2010, 05:34:00 PM by Crava_Loft
»
Logged
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #3 on:
August 14, 2010, 05:57:53 PM »
[deleted]
«
Last Edit: August 20, 2010, 05:34:31 PM by Crava_Loft
»
Logged
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #4 on:
August 15, 2010, 01:39:10 PM »
[deleted]
«
Last Edit: August 20, 2010, 05:34:11 PM by Crava_Loft
»
Logged
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #5 on:
August 16, 2010, 12:31:41 AM »
[deleted]
«
Last Edit: August 20, 2010, 05:34:20 PM by Crava_Loft
»
Logged
Crava_Loft
Guest
Re: Single Player Mod -Alphad!
«
Reply #6 on:
August 16, 2010, 03:34:45 PM »
[deleted]
«
Last Edit: August 20, 2010, 05:34:42 PM by Crava_Loft
»
Logged
F50
Turrets: +16/-26
Posts: 740
Re: Single Player Mod
«
Reply #7 on:
August 16, 2010, 10:44:25 PM »
I'm pretty sure the sample mission layout is broken. Humans win everytime. Instantly.
EDIT: Hrm. It seems to be because it loads default_buildables.lua *after* loading the layout. Since that tremded console apparently doesn't allow me to run commands, and I don't have a tremded executable in that directory, I'm running "+map karith testfu" right off of the command line, which is probably why you didn't catch it.
EDIT2: Couldn't you make a diff from the most similar svn revision, instead of 2034? Most of the code in the patch is stuff completely unrelated to this, making the .patch useless.
«
Last Edit: August 16, 2010, 10:54:17 PM by F50
»
Logged
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #8 on:
August 17, 2010, 08:58:59 AM »
[deleted]
«
Last Edit: August 20, 2010, 05:34:52 PM by Crava_Loft
»
Logged
Asvarox
Turrets: +41/-35
Posts: 573
Re: Single Player Mod
«
Reply #9 on:
August 17, 2010, 02:40:37 PM »
is that lua in tremulous? omg hax
Is it possible to "port" tremulous.h to lua? I'd love to be able to play around with those numbers without having to recompile everytime
Logged
Quote from: J3lackStar on July 14, 2011, 08:14:42 PM
I MINE FULL WEREWOLFES
NOT SUCH HIPPIE THINGS
ape
Turrets: +1/-2
Posts: 11
Re: Single Player Mod
«
Reply #10 on:
August 17, 2010, 03:19:23 PM »
You cannot "port" tremulous.h ("port" doesn't make any sense in this context)
However if you wanted to change values on the fly, you'd need to add the appropriate hooks with lua (if you need an example, look through vcxzet's project page).
afaik tremulous.h values are stored within game.dll/qvm/so (and tremded?)
Logged
http://ape.afraid.org/
gimhael
Turrets: +70/-16
Posts: 546
Re: Single Player Mod
«
Reply #11 on:
August 17, 2010, 04:28:56 PM »
The constants in tremulous.h are only used to initialize variables in the game.qvm (see bg_misc.c), so you could change them on the fly if you have accessors to these variables.
Logged
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #12 on:
August 17, 2010, 07:48:59 PM »
[deleted]
«
Last Edit: August 20, 2010, 05:35:03 PM by Crava_Loft
»
Logged
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #13 on:
August 18, 2010, 12:32:55 AM »
[deleted]
«
Last Edit: August 20, 2010, 05:37:23 PM by Crava_Loft
»
Logged
UniqPhoeniX
Spam Killer
Turrets: +66/-32
Posts: 1376
Re: Single Player Mod
«
Reply #14 on:
August 18, 2010, 09:53:02 AM »
How about not having the info about what is available at each stage in each entity, but using a list of what is available that is changed for each stage?
Having fully scriptable entities would be awesome, but it should be intuitive and easy to edit too. For example instead of having something obscure like 'out_link=true' for repeater, instead have all the requirements listed for each buildable, and just have rep require NOT being in power range. If possible avoid creating new commands/variables/whatever, and make it as generic as possible, like a way to check if there is a specific buildable (which could be RC or even armoury) with same team as the player trying to build. And perhaps have team for a buildable taken from the player who built it, not set in the script
IMO modelindex should point to the .md3. Grouping related info together would also help, like mins & maxs -> bbox {-50, -50, -50} {50, 50, 50}, and having that and modelindex right after name & info.
Possibly have different states for entities, especially buildables, like when placed, it spawns with 10 hp and starts regenerating, has different shader etc; after a delay changes state to finished, has regen set to 0, plays spawn animation, becomes usable. If hp goes to 0, changes state to dying and after x sec blows up and is removed from the game.
Having some way to copy/import variables/state from another script would help group together common stuff.
«
Last Edit: August 18, 2010, 09:55:42 AM by UniqPhoeniX
»
Logged
Ingar's NetRadiant
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #15 on:
August 18, 2010, 02:35:29 PM »
[deleted]
«
Last Edit: August 20, 2010, 05:35:13 PM by Crava_Loft
»
Logged
UniqPhoeniX
Spam Killer
Turrets: +66/-32
Posts: 1376
Re: Single Player Mod
«
Reply #16 on:
August 18, 2010, 04:33:18 PM »
Quote from: Crava_Loft on August 18, 2010, 02:35:29 PM
model = "models/buildables/hive/hive.md3"
I can use bbox = {{-50, -50, -50},{50, 50, 50}}
Those 2 would be nice
Quote
I also thought about building animations when buildables are loaded from a layout script.
Is it possible to set when/which animations are played in the buildable/entity script? (This should still use the animation.cfg file for the exact frame numbers etc)
Quote
you can use game.import(filename) to load files if you look at testfu.dat it uses a few imports
I suppose this can be used next to other variables in a script, to import some generic/common ones?
Quote
I didn't understand you suggestion about stages.
is it something like
buildables_at_stages{S1={"egg","telenode"}, S2={"egg","telenode","acid_tube", "mgturret"}, S3={...}, ....}
? sounds more convenient
Something like that, but with less " if possible
Ideally stage changes would trigger a script which gives the reinforcements/evolved msg and changes the buildables/classes/equipment variables.
Quote
you need team field in buildables to determine which buildable belongs to which team (but it is also checked by buildWeapon so team can be removed from the scripting part, but it needs to exist in C part)
Umm... I meant that the team variable would be set when the building is built, to whatever team the player who built it is in.
Quote
and about out_link=true, this flag makes the buildable valid only outside of powered zones. I don't know what you mean??
I meant that it is not at all obvious what it does, and it would be better to have a more general way to check if the building is in/out of range of something else. Also all the requirements (nearby powersource (and it having enough bps) or lack of it, existence of RC, whatever else) should be grouped together.
«
Last Edit: August 18, 2010, 04:37:24 PM by UniqPhoeniX
»
Logged
Ingar's NetRadiant
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #17 on:
August 18, 2010, 09:23:19 PM »
[deleted]
«
Last Edit: August 20, 2010, 05:35:27 PM by Crava_Loft
»
Logged
DraZiLoX
Turrets: +24/-24
Posts: 844
Re: Single Player Mod
«
Reply #18 on:
August 19, 2010, 05:44:44 AM »
Quote from: Crava_Loft on August 18, 2010, 09:23:19 PM
I think I will ragequit again :/
Noes!
Logged
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #19 on:
August 19, 2010, 11:10:10 AM »
[deleted]
«
Last Edit: August 20, 2010, 05:35:45 PM by Crava_Loft
»
Logged
UniqPhoeniX
Spam Killer
Turrets: +66/-32
Posts: 1376
Re: Single Player Mod
«
Reply #20 on:
August 19, 2010, 12:11:31 PM »
You've already implemented a lot of useful stuff, don't just quit
Logged
Ingar's NetRadiant
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #21 on:
August 19, 2010, 08:19:39 PM »
[deleted]
«
Last Edit: August 20, 2010, 05:35:56 PM by Crava_Loft
»
Logged
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #22 on:
August 20, 2010, 12:47:16 PM »
[deleted]
^-- what it says
«
Last Edit: August 20, 2010, 05:36:45 PM by Crava_Loft
»
Logged
rotacak
Turrets: +39/-64
Posts: 761
Re: Single Player Mod
«
Reply #23 on:
August 20, 2010, 06:23:17 PM »
Omfg, why I reading this [deleted] spam-noob.
Logged
>>> Third Team MOD <<<
|
Tremulous servers
R Unlimited CZ
and
R Funserver CZ
|
Ambush MOD
|
Tremball MOD
your face
Community Moderators
Turrets: +109/-407
Posts: 3533
really your face here
Re: Single Player Mod
«
Reply #24 on:
August 20, 2010, 07:41:53 PM »
Quote from: rotacak on August 20, 2010, 06:23:17 PM
Omfg, why I reading this [deleted] spam-noob.
this.
how about an admin make it so f0rqu3 can't delete his own posts.
Logged
{NoS}
Y
our
F
ace
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
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #25 on:
August 20, 2010, 08:20:16 PM »
hint: I don't delete them
Logged
jez
Turrets: +4/-2
Posts: 130
Re: Single Player Mod
«
Reply #26 on:
August 20, 2010, 08:47:35 PM »
Quote from: Crava_Loft on August 20, 2010, 08:20:16 PM
hint: I don't delete them
orly?
Quote
« Last Edit: Today at 05:34:00 PM by Crava_Loft »
Logged
Crava_Loft
Guest
Re: Single Player Mod
«
Reply #27 on:
August 20, 2010, 09:10:00 PM »
hint 2: it says edited.
Logged
Plague Bringer
Turrets: +147/-187
Posts: 3811
Re: Single Player Mod
«
Reply #28 on:
August 21, 2010, 03:04:38 AM »
Quote from: your face on August 20, 2010, 07:41:53 PM
Quote from: rotacak on August 20, 2010, 06:23:17 PM
Omfg, why I reading this [deleted] spam-noob.
this.
how about an admin make it so f0rqu3 can't delete his own posts.
The removal of the delete feature is actually because of an issue between the original Lava_Croft (who is probably creepin' this right meow) and I. The removal of the edit feature is silly...
BUT...
Agree? I suppose. It seems kinda totalitarian to enact a ban on something like that for just one person. It'd be nice if Crava would actually
leave
after deleting his posts, though. Otherwise it's just trolling.
Yeah, agree.
Logged
U R A Q T
F50
Turrets: +16/-26
Posts: 740
Re: Single Player Mod
«
Reply #29 on:
August 21, 2010, 05:03:34 AM »
Quote from: Plague Bringer on August 21, 2010, 03:04:38 AM
It'd be nice if Crava would actually
leave
after deleting his posts, though. Otherwise it's just trolling.
Indeed. Does having 90+% of your posts consisting of "[deleted]" constitute being a (well I guess he isn't a bot) spam-er?
Logged
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law
Pages: [
1
]
2
All
Go Up
Print
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> General Discussion
=> Troubleshooting
=> Feedback
=> Official Servers
-----------------------------
Community
-----------------------------
=> Servers
===> Server Admin Contacts
=> Clans
===> Individual Clan Threads
=> Strategies and Tactics
=> Mod Ideas and Desires
=> Off Topic
-----------------------------
Media
-----------------------------
=> Mapping Center
=> Map Releases
=> Modeling Center
=> Other Tremulous Media
-----------------------------
Mods
-----------------------------
=> Modding Center
=> Mod Releases
===> HUDs
===> Gameplay Changing
===> Non-Gameplay Changing
===> Tools and Utilities
Loading...