Welcome,
Guest
. Please
login
or
register
.
April 18, 2025, 05:38:26 PM
News:
tastyspleen.net discord server:
http://discord.tastyspleen.net
Home
Forum
Help
TinyPortal
Search
Calendar
Login
Register
tastyspleen::quake 2 community
»
Forum
»
The Tech Junkie Boards
»
0x1337c0de
»
Making Q2 SP mod, code fails to compile
« previous
next »
Print
Pages:
1
2
[
3
]
Go Down
Author
Topic: Making Q2 SP mod, code fails to compile (Read 11535 times)
EmeraldTiger
Jr. Member
Posts: 78
Rated:
Re: Making Q2 SP mod, code fails to compile
«
Reply #30 on:
March 25, 2011, 03:58:53 PM »
I`ll be... it`s actually working! Thanks so much QwazyWabbit! If it weren`t for you I would have never got this annoying problem fixed!
Only thing now is that I need to find out how to define the knockback.
Here`s some brownies for you:
Enjoy!
«
Last Edit: March 25, 2011, 04:00:27 PM by EmeraldTiger
»
Logged
EmeraldTiger
Jr. Member
Posts: 78
Rated:
Re: Making Q2 SP mod, code fails to compile
«
Reply #31 on:
March 25, 2011, 04:50:27 PM »
I found this tutorial, which seems to be most like what I want to do:
http://webadvisor.aupr.edu/noc/Othertutorials/qdevels/-%20Push'em%20Around%20.html
While it does mention how to put it in g_cmds.c, which I successfully managed, it never told me how to implement the function in a weapon, which makes it rather confusing. How can I take the function he describes here and put it in a weapon?
I also want to work on the Conservation power-up (prevents you from using up ammo) next, so if anyone knows how I could get around to implementing that, that`d be great.
«
Last Edit: March 25, 2011, 05:05:00 PM by EmeraldTiger
»
Logged
EmeraldTiger
Jr. Member
Posts: 78
Rated:
Re: Making Q2 SP mod, code fails to compile
«
Reply #32 on:
March 25, 2011, 07:41:39 PM »
Well I`ve been using slugs for the ammo so I decided to add a new ammo type, but my compiler is so picky! I added the definition, the prototypes in g_local.h, and even defined things like max ammo, etc. why is it that even though I "follow the rules" it doesn`t obey?
I`m thinking of making a new thread where people can help me out with coding. I`ll implement the code myself but I will definitely need help all the way to define functions, etc. to complete the mod (unless someone is willing to contribute their code, then all you need is the concepts)
«
Last Edit: March 25, 2011, 07:46:38 PM by EmeraldTiger
»
Logged
Print
Pages:
1
2
[
3
]
Go Up
« previous
next »
tastyspleen::quake 2 community
»
Forum
»
The Tech Junkie Boards
»
0x1337c0de
»
Making Q2 SP mod, code fails to compile
El Box de Shoutamente
Last 10 Shouts:
|iR|Focalor
April 02, 2025, 02:47:07 AM
Yotematoi
February 14, 2025, 12:41:48 PM
|iR|Focalor
February 13, 2025, 07:31:24 AM
I was on DM this morning for the first time in a pretty long time. Seemed fine to me.
0rbisson
February 13, 2025, 04:54:21 AM
DM server is fucked. 2 point blank rockets from spawn and lava damage and player survived? WTF?" Also someone has fucked with the spawn points, every single time no matter how big the map you spawn right in front of the person who killed you last
rikwad
February 08, 2025, 10:48:18 PM
Seattle FFA now has working HTTP downloads. Thanks Unholy!
RIP Pepp ✟
-Unh0ly-
February 03, 2025, 01:20:14 AM
vvvALL WEAPS HAVE MUZZLE FLASH vvvv
-Unh0ly-
February 03, 2025, 01:03:56 AM
NEW UNHOLY QUAKE 2!!!!
https://drive.google.com/file/d/1E76HYyMapGvP6gUgy04Mve2UsZEL0bb0/view?usp=sharing
|iR|Focalor
December 25, 2024, 12:15:35 AM
|iR|Focalor
December 25, 2024, 12:06:54 AM
RailWolf
December 23, 2024, 09:15:50 AM
Fixed the image for you =)
And Die Hard is a great Christmas movie
Show 50 latest
User
Welcome,
Guest
. Please
login
or
register
.
April 18, 2025, 05:38:26 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search